Gentoo Archives: gentoo-amd64

From: Brett Johnson <brett@××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] 32-bit-app 3D acceleration on amd64
Date: Thu, 01 Dec 2005 14:04:34
Message-Id: 438F0267.1070008@blzj.com
In Reply to: [gentoo-amd64] 32-bit-app 3D acceleration on amd64 by Michael Kjorling
1 Michael Kjorling wrote:
2
3 > export LIBGL_DRIVERS_PATH=/usr/X11R6/lib32/modules/dri
4 >
5 >before launching the binary. However, I don't have any such directory:
6 >/usr/X11R6/lib32/modules only contains a directory "extensions", and
7 >setting LIBGL_DRIVERS_PATH to that provides no improvement whatsoever.
8 >
9 >
10 >
11 This was a fix for the ATI DRI (closed source) drivers, not the xorg
12 DRI drivers. Also, after upgrading to the latest ATI drivers, I had
13 to remove this setting the get 3D support working again.
14
15 >drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
16 >(II) RADEON(0): [drm] DRM interface version 1.0
17 >(II) RADEON(0): [drm] drmSetBusid failed (7, pci:0000:01:00.0), Permission denied
18 >(EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.
19 >
20 >
21 I know it's considered bad mojo to run X as root, but what I do in these
22 situations shut down all X servers, log into the console as root and run
23
24 X > x.log 2>&1
25
26 Once I get the lovely grey checkered screen, kill the server
27
28 <CTRL> + <ALT> + <BACKSPACE>
29
30 I then review the x.log and /var/log/Xorg.0.log for errors. If you still
31 see "Permission denied", then the problem is most likely with a missing
32 driver/module (which is what I am guessing is your problem).
33
34 If there are no permission errors, I then run
35
36 startx
37
38 as root, and look at the glxinfo output. You should see a line like:
39
40 direct rendering: Yes
41
42 Once you see that, you know you have 3D support working as root, then
43 repeat the tests as a noraml user.
44
45 Since I have a Radeon 9800XT, I can not use the Xorg DRI drivers for 3D
46 support. As I mentioned earlier, I recently upgraded my ATI drivers, and
47 3D support stopped working for my normal user account. I went through the
48 procedure above, and found 3D support worked for root. After double checking
49 all kernel settings, rebuilding all modules, I finally decided to remove the
50 LIBGL_DRIVERS_PATH, and 3D support started working for my normal user again.
51 I know this is not the same problem, but it may help you in troubleshooting.
52
53 In addition to the xorg.conf and Xorg.0.log files you have posted, you may
54 want check the output of dmesg, and double check your kernel settings in
55 Device Drivers -> Character Devices (AGP and DRI), and do a lsmod to make
56 sure all the correct drivers are loaded.
57
58 Regards,
59 Brett
60
61 --
62 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] 32-bit-app 3D acceleration on amd64 Sebastian Redl <sebastian.redl@×××××××××××.at>