|
NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster? |
|
Thread Tools | Display Modes |
|
|||
acceleration of my graphics card
hello,
I have a graphics card ATI Radeon 7000 VE, I would like to activate 2D or 3D acceleration, because my desktop is Xfce4 and moving objects is very slow, for example xterm, mousepad etc ... My proliant HPC has two Xeon E5540 processors, 16 threads, I use NetBSD 7.0.2 for AMD64, with as pkgsrc2071Q3 as a reference. in which file can I activate the hardware acceleration of my graphics card? Regards Philippe |
|
|||
In a terminal
$ glxinfo and look to see if direct rendering is active. drm(4) Quote:
Quote:
Last edited by shep; 25th November 2017 at 03:14 AM. Reason: nman showing NBSD5 page |
|
|||
Quote:
Code:
hpc-apolon# glxgears Error: couldn't open display (null) hpc-apolon# glxgears Quote:
this is the X's directory = /etc/pkgsrc/X11 Code:
hpc-apolon# ls fs proxymngr twm xinit xsm lbxproxy rstart xdm xserver hpc-apolon# |
|
|||
I just installed 7.0.2 amd64 and used the monolithic xorg that came with the install media. Without an xorg.conf and intel video, I have direct rendering out of the box.
There are 2 options for xorg: modular vs monolithic. Which one are you using? My initial post had an error, to see if direct rendering is active the command is $ glxinfo .
|
|
|||
Quote:
Code:
0 0 Slow 0x0ec 0 dc 0 16 0 r y . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None 0x0ed 0 dc 0 16 0 r y . 5 6 5 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x0ee 0 dc 0 16 0 r y . 5 6 5 0 . . 0 24 8 0 0 0 0 0 0 None 0x0ef 0 dc 0 16 0 r y . 5 6 5 0 . . 0 24 8 16 16 16 0 0 0 Slow 0x0f0 0 dc 0 16 0 r . . 5 6 5 0 . . 0 32 0 0 0 0 0 0 0 None 0x0f1 0 dc 0 16 0 r . . 5 6 5 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x0f2 0 dc 0 16 0 r y . 5 6 5 0 . . 0 32 0 0 0 0 0 0 0 None 0x0f3 0 dc 0 16 0 r y . 5 6 5 0 . . 0 32 0 16 16 16 0 0 0 Slow 0x0f4 0 dc 0 16 0 r y . 5 6 5 0 . . 0 32 0 0 0 0 0 0 0 None 0x0f5 0 dc 0 16 0 r y . 5 6 5 0 . . 0 32 0 16 16 16 0 0 0 Slow [1] Segmentation fault (core dumped) glxinfo hpc-apolon# I may have made a mistake I recognize it but I will try to compile a kernel with the reference i386 pkgsrc2017Q3, it is thought like a machine hibrid! I read this link https://www.netbsd.org/docs/guide/en/chap-kernel.html, what I did: 1 / $ cp GENERIC PHIPO001KERNEL $ nano PHIPO001KERNEL I disabled all AGP ports, chose the option for my Radeon graphics card 2 / $ cd ../compile/PHIPO001KERNEL $ make depend $ make But alas the compilation did not complete, with full of errors AGP, here is my output Code:
../../../../external/bsd/drm2/dist/drm/radeon/btc_dpm.c: At top level: ../../../../external/bsd/drm2/dist/include/drm/drm_agpsupport.h:14:20: error: 'drm_free_agp' declared 'static' but never defined [-Werror=unused-function] static inline void drm_free_agp(struct agp_bridge_data *, struct agp_memory *, int); ^ ../../../../external/bsd/drm2/dist/include/drm/drm_agpsupport.h:15:19: error: 'drm_bind_agp' declared 'static' but never defined [-Werror=unused-function] static inline int drm_bind_agp(struct agp_bridge_data *, struct agp_memory *, unsigned); ^ ../../../../external/bsd/drm2/dist/include/drm/drm_agpsupport.h:16:19: error: 'drm_unbind_agp' declared 'static' but never defined [-Werror=unused-function] static inline int drm_unbind_agp(struct agp_bridge_data *, struct agp_memory *); ^ cc1: all warnings being treated as errors *** Error code 1 Stop. make: stopped in /usr/src/sys/arch/amd64/compile/PHIPO001KERNEL hpc-apolon# |
|
|||
Quote:
Quote:
You are making this more complicated than it needs to be. I installed this image because it has the latest patches/security fixes. This image includes xorg sets. I have been told that most pkgsrc packagers use the monolithic xorg to compile package binaries. You may want to avoid a custom kernel until you get your setup working. You're just adding another variable which can go wrong. Last edited by shep; 25th November 2017 at 02:45 PM. |
|
|||
thanks you shep i'll try your link tomorrow !
|
|
|||
hello,
I installed NetBSD 7.0.2 + patch i386 and pkgsrc2017Q3 for i386, I had problems with the pkgin package manager, to install an Xfce4 desktop. I went into "mode" compilation and manually compile Xfce4, with the manager xf86-video-vesa, I have a desktop that appears but it's not very user-friendly, trying to install xf86-video-ati I meet this error that I can not get around. here is my output Code:
checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking if RANDR is defined... yes checking if RENDER is defined... yes checking if XV is defined... yes checking if DPMSExtension is defined... yes checking for LIBDRM... no configure: error: Package requirements (libdrm >= 2.4.78) were not met: Package dependency requirement 'libdrm >= 2.4.78' could not be satisfied. Package 'libdrm' has version '2.4.59', required version is '>= 2.4.78' Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBDRM_CFLAGS and LIBDRM_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/x11/xf86-video-ati *** Error code 1 Stop. make: stopped in /usr/pkgsrc/x11/xf86-video-ati hpc-meteo# Regards Philippe |
|
|||
Quote:
You should be able to startx, with 3D acceleration, after successful installation of the image I pointed to above. And you should not need an xorg.conf. |
|
|||
yes shep,
it works after a new installation. I compile xfce4-desktop and xfce4-session, I get an empty desktop with a menu with some items but nothing of interest! pkgin install xfce4 does not work, however, I have introduced the correct reference! I think this distribution is not very good for use. with a classic distribution I have a good result. Should you compile other pkgsrc to have a correct desktop! |
|
|||
Quote:
I also wonder about the pkgsrc developer environment. In my opinion, there should be a freeze on the Quarterly packages and a period of bug fixing. Users could then use packages that would not be more than 3 to 4 months out of date. |
|
|||
I understand that there are programming errors in the makefile of pkgsrc2017Q3, but then what is the pkgsrc to use in production
|
|
|||
Quote:
|
|
|||
you mean that FreeBSD owns 80% of the global WEB hosting park and the rest is OpenBSD .
I thought that some engineering schools still have VAX under NetBSD, so I was wrong! You can confirm it! |
|
|||
One way to get a sense of NetBSD priorities is to look at the pkgsrc builds. The last pkgsrc vax build was 7.0_2016Q1/ 4/13/16, 5:00:00 PM
NetBSD pkgsrc/vax |
|
|||
hello,
I installed the distribution again that shep advised me. I finally chose to use the NetBSD-702-patch, but this time I use the opensource referential 2017Q2 as well as pkgsrc2017Q2 with some bugs to work around. the desktop works well but the objects are moving slowly on the desktop, moreover the X server does not support the xorg.conf file! Switching between my two video cards is automatic! I would like to activate the acceleration 2 or 3 D by automatic switching, to have a faster effect of objects on the desktop. I read a little documentation on the internet: I know that there is a dynamic file configuration with end to "conf.d" |
|
|||
I would recommend that you do this in a step wise fashion. The install image I pointed you to has a basic window manager: twm. After the initial install, configuration of networking and adding a user test the following:
1) login in as user 2) cp /etc/X11/xinit/xinitrc ~/.xinitrc 3) startx 4) Test mouse/keyboard 5) run glxinto in one of the xterms and see if you have direct rendering 6) less /var/log/Xorg.0.log and look at the configuration. If things did not go well, copy the log and post here. Once you have a working X windows with 3D graphics, then install your desktop. Also, the pkgsrc breakage occurred the last couple of weeks for 2017Q2, That is broken. I think 2017Q1 should work. |
|
|||
Hi shep,
I can not find pkgsrc2017Q1 on the internet, you know a link to download it with term "tar.gz". Thank you for your help greetings Philippe |
|
|||
Hi,
I found and deployed pkgsrc2017Q1, install XFCE4, the Desktop is a little faster but it could be better: faster, more I'm not the desired screen resolution 1280 * 1024, it would be 1440 * 900. |
|
|||
x86_64 pkgsrc 7.0_2017Q1 are archived here
The wrong resolution is commonly seen with the vesa video driver. If you are sure your are running the radeon video driver, resolutions can be changed on the fly with xrandr(1) Running xrandr, with no options, displays the current screen size and the sizes that are available. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2D Graphics acceleration in X | virtuvoos | OpenBSD General | 10 | 18th October 2013 02:40 PM |
Hardware AMD claims 'fastest graphics card in the world' | J65nko | News | 17 | 10th March 2011 12:15 PM |
HOWTO: Working Intel Graphics Card Setup | vermaden | FreeBSD Installation and Upgrading | 2 | 3rd July 2009 07:59 PM |
Good graphics card for FreeBSD? | Sunnz | FreeBSD General | 12 | 4th May 2009 01:44 PM |
Is 3d acceleration available with Intel GMA 3100 (AM64)? | ghost77 | FreeBSD General | 5 | 12th January 2009 11:18 AM |