DRI and linux compat...

Eric Schuele e.schuele at computer.org
Mon May 8 01:39:24 UTC 2006


Hello,

I'm trying to get a game running.  The game in question is 
NeverWinterNights though I don't think the problem is related to the 
game specifically.  The game does actually run.  It is just that it is 
so unbelievably slow.

It would appear as though I have no DRI within my linux-compat.  DRI is 
working outside of linux-compat.   I have been unable to find much on 
the web regarding this.  Basically this is as far as I've gotten:

[/compat/linux/usr/X11R6/bin] 
         root# setenv LIBGL_DEBUG verbose
[/compat/linux/usr/X11R6/bin] 
         root# ./glxinfo
libGL: XF86DRIGetClientDriverName: 5.0.3 radeon (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/radeon_dri.so
drmOpenByBusid: busid is pci:0000:01:00.0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
libGL error:
DDX DRI driver expected Radeon version 4.0.x but got version 5.0.3
libGL error: InitDriver failed
display: :0.0  screen:0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
     GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
     GLX_EXT_import_context, GLX_OML_swap_method, 
GLX_SGI_make_current_read,
     GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
     GLX_SGIX_fbconfig
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:

I'm guessing the my linux libGL does not like my radeon driver's 
version?  Any way to fool it?  (Since I'd rather not downgrade my radeon 
driver.)

I am running 6.1-Something as of yesterday.  I have never had this game 
working.  Just installed it today.  So its not like it stopped working 
at some point.

Not sure what else to post that might be useful.  But here's a few:

Ports of Interest
links-0.98,1                =  up-to-date with port
linux-XFree86-libs-4.3.99.902_7  =  up-to-date with port
linux-atk-1.8.0_2           =  up-to-date with port
linux-expat-1.95.7_1        =  up-to-date with port
linux-fontconfig-2.2.3_3    =  up-to-date with port
linux-glib2-2.4.8_2         =  up-to-date with port
linux-gtk2-2.4.14_4         =  up-to-date with port
linux-jpeg-6b.33_1          =  up-to-date with port
linux-nwnclient-1.66        =  up-to-date with port
linux-openmotif-2.2.4_2     =  up-to-date with port
linux-pango-1.6.0_2         =  up-to-date with port
linux-png-1.2.8_1           =  up-to-date with port
linux-realplayer-10.0.7.785.20060201  =  up-to-date with port
linux-sdl-1.2.5_2           =  up-to-date with port
linux-tiff-3.6.1_6          =  up-to-date with port
linux_base-8-8.0_14         =  up-to-date with port
linux_dri-4.4.0             =  up-to-date with port
linuxdoc-1.1_1              =  up-to-date with port
linuxpluginwrapper-20051113_2  =  up-to-date with port
xmms-esound-1.2.10_6        =  up-to-date with port
xorg-6.9.0                  =  up-to-date with port
xorg-clients-6.9.0_2        =  up-to-date with port
xorg-documents-6.9.0        =  up-to-date with port
xorg-fonts-100dpi-6.9.0_1   =  up-to-date with port
xorg-fonts-75dpi-6.9.0_1    =  up-to-date with port
xorg-fonts-cyrillic-6.9.0_1  =  up-to-date with port
xorg-fonts-encodings-6.9.0_1  =  up-to-date with port
xorg-fonts-miscbitmaps-6.9.0_1  =  up-to-date with port
xorg-fonts-truetype-6.9.0   =  up-to-date with port
xorg-fonts-type1-6.9.0      =  up-to-date with port
xorg-fontserver-6.9.0_1     =  up-to-date with port
xorg-libraries-6.9.0        =  up-to-date with port
xorg-manpages-6.9.0         =  up-to-date with port
xorg-nestserver-6.9.0       =  up-to-date with port
xorg-printserver-6.9.0_1    =  up-to-date with port
xorg-server-6.9.0_3         =  up-to-date with port
xorg-vfbserver-6.9.0_1      =  up-to-date with port

Some of Xorg.conf
Section "Module"
         Load  "dbe"
         Load  "dri"
         Load  "drm"
         Load  "extmod"
         Load  "glx"
         Load  "record"
         Load  "xtrap"
         Load  "freetype"
         Load  "type1"
EndSection
Section "DRI"
         Mode  0666
EndSection
Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor0"
         DefaultDepth  24
         DefaultFbBpp  32
         SubSection "Display"
                 #Depth  24
                 #FbBpp  32
                 Modes   "1024x768"
EndSubSection

root# kldstat
Id Refs Address    Size     Name
  1   10 0xc0400000 82d4a0   kernel
  2    1 0xc0c2e000 6c1c     snd_ich.ko
  3    2 0xc0c35000 27614    sound.ko
  4    1 0xc0c5d000 1c77c    kqemu.ko
  5    1 0xc0c7a000 6b710    acpi.ko
  6    1 0xc4db1000 1a000    linux.ko

Hardware is a Dell Inspiron 5100 2.6GHz.
drm0: <ATI Radeon LW RV200 Mobility 7500 M7> port 0xc000-0xc0ff mem 
0xe8000000-0xefffffff,0xfcff0000-0xfcffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe0000000 128MB
info: [drm] Initialized radeon 1.19.0 20050911

Any help is appreciated.

--
Regards,
Eric


More information about the freebsd-questions mailing list