1 |
I am trying to get a 32-bit game (specifically, Neverwinter Nights) to |
2 |
run at an acceptable frame rate. I have x11-base/xorg-x11-6.8.2-r6 and |
3 |
x11-base/x11-drm-20051028 installed and the following (among much |
4 |
else, of course) in my /etc/X11/xorg.conf: |
5 |
|
6 |
Section "Module" |
7 |
Load "dri" |
8 |
EndSection |
9 |
Section "Device" |
10 |
Identifier "** ATI Radeon" |
11 |
Driver "radeon" |
12 |
|
13 |
# http://forums.gentoo.org/viewtopic-t-303091.html: |
14 |
Option "AGPMode" "4" |
15 |
EndSection |
16 |
Section "dri" |
17 |
Mode 0666 |
18 |
EndSection |
19 |
|
20 |
The graphics card is a Radeon 9250 and works perfectly (as in, better |
21 |
frame rates than the monitor can handle) in 2D and 64-bit 3D. After |
22 |
several lengthy Google and web forum searches I came across a post [1] |
23 |
suggesting that I do: |
24 |
|
25 |
export LIBGL_DRIVERS_PATH=/usr/X11R6/lib32/modules/dri |
26 |
|
27 |
before launching the binary. However, I don't have any such directory: |
28 |
/usr/X11R6/lib32/modules only contains a directory "extensions", and |
29 |
setting LIBGL_DRIVERS_PATH to that provides no improvement whatsoever. |
30 |
|
31 |
I also find the following in /var/log/Xorg.0.log: |
32 |
|
33 |
(==) RADEON(0): Write-combining range (0xd0000000,0x8000000) |
34 |
drmOpenDevice: node name is /dev/dri/card0 |
35 |
drmOpenDevice: open result is 7, (OK) |
36 |
drmOpenDevice: node name is /dev/dri/card0 |
37 |
drmOpenDevice: open result is 7, (OK) |
38 |
drmOpenByBusid: Searching for BusID pci:0000:01:00.0 |
39 |
drmOpenDevice: node name is /dev/dri/card0 |
40 |
drmOpenDevice: open result is 7, (OK) |
41 |
drmOpenByBusid: drmOpenMinor returns 7 |
42 |
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0 |
43 |
(II) RADEON(0): [drm] DRM interface version 1.0 |
44 |
(II) RADEON(0): [drm] drmSetBusid failed (7, pci:0000:01:00.0), Permission denied |
45 |
(EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI. |
46 |
(II) RADEON(0): Memory manager initialized to (0,0) (1024,8191) |
47 |
(II) RADEON(0): Reserved area from (0,768) to (1024,770) |
48 |
(II) RADEON(0): Largest offscreen area available: 1024 x 7421 |
49 |
(II) RADEON(0): Render acceleration enabled |
50 |
(II) RADEON(0): Acceleration enabled |
51 |
(II) RADEON(0): Using hardware cursor (scanline 770) |
52 |
(II) RADEON(0): Largest offscreen area available: 1024 x 7417 |
53 |
(II) RADEON(0): Direct rendering disabled |
54 |
|
55 |
Note the "permission denied" part. This is odd, because: |
56 |
|
57 |
$ ls -l /dev/dri/ |
58 |
total 0 |
59 |
crw-rw-rw- 1 root root 226, 0 Nov 29 09:52 card0 |
60 |
$ |
61 |
|
62 |
Any suggestions as to how to get 32-bit graphics acceleration to work |
63 |
without breaking my (currently working) 64-bit acceleration setup |
64 |
would be much appreciated. |
65 |
|
66 |
[1] http://nwn.bioware.com/forums/viewtopic.html?topic=451219&forum=72 |
67 |
|
68 |
-- |
69 |
Michael Kjörling, michael@××××××××.com - http://michael.kjorling.com/ |
70 |
* ASCII Ribbon Campaign: Against HTML Mail, Proprietary Attachments * |
71 |
* ..... No bird soars too high if he soars with his own wings ..... * |