Re: DRI and linux compat...

2006-05-09 Thread Karol Kwiatkowski
On 08/05/2006 03:39, Eric Schuele wrote:
 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::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::01:00.0
 libGL error:
 DDX DRI driver expected Radeon version 4.0.x but got version 5.0.3
 libGL error: InitDriver failed
[...]
 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.
[...]
 Hardware is a Dell Inspiron 5100 2.6GHz.
 drm0: ATI Radeon LW RV200 Mobility 7500 M7 port 0xc000-0xc0ff mem
 0xe800-0xefff,0xfcff-0xfcff irq 11 at device 0.0 on pci1
 info: [drm] AGP at 0xe000 128MB
 info: [drm] Initialized radeon 1.19.0 20050911
 
 Any help is appreciated.

Hi Eric,

I asked about that @emulation some time ago. DRI under linux compat is
not working at the moment. Here's the original thread:

http://lists.freebsd.org/pipermail/freebsd-emulation/2006-April/001957.html

Since then I updated linux_base to fc-3_3, X libs to
linux-xorg-libs-6.8.2_1 but DRI is still not working (probably due to
outdated linux-dri but I'm not an expert).

HTH,

Karol

 Regards,
 Eric


-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: DRI and linux compat...

2006-05-09 Thread Eric Schuele

Karol Kwiatkowski wrote:

On 08/05/2006 03:39, Eric Schuele wrote:

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::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::01:00.0
libGL error:
DDX DRI driver expected Radeon version 4.0.x but got version 5.0.3
libGL error: InitDriver failed

[...]

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.

[...]

Hardware is a Dell Inspiron 5100 2.6GHz.
drm0: ATI Radeon LW RV200 Mobility 7500 M7 port 0xc000-0xc0ff mem
0xe800-0xefff,0xfcff-0xfcff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xe000 128MB
info: [drm] Initialized radeon 1.19.0 20050911

Any help is appreciated.


Hi Eric,

I asked about that @emulation some time ago. DRI under linux compat is
not working at the moment. Here's the original thread:

http://lists.freebsd.org/pipermail/freebsd-emulation/2006-April/001957.html


Ok...  Thanks for the info.  hopefully something will turn up after the 
release.




Since then I updated linux_base to fc-3_3, X libs to
linux-xorg-libs-6.8.2_1 but DRI is still not working (probably due to
outdated linux-dri but I'm not an expert).

HTH,

Karol


Regards,
Eric






--
Regards,
Eric
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DRI and linux compat...

2006-05-07 Thread Eric Schuele

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::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::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
MonitorMonitor0
DefaultDepth  24
DefaultFbBpp  32
SubSection Display
#Depth  24
#FbBpp  32
Modes   1024x768
EndSubSection

root# kldstat
Id Refs AddressSize Name
 1   10 0xc040 82d4a0   kernel
 21 0xc0c2e000 6c1c snd_ich.ko
 32 0xc0c35000 27614sound.ko
 41 0xc0c5d000 1c77ckqemu.ko
 51 0xc0c7a000 6b710acpi.ko
 61 0xc4db1000 1a000linux.ko

Hardware is a Dell Inspiron 5100 2.6GHz.
drm0: ATI Radeon LW RV200 Mobility 7500 M7 port 0xc000-0xc0ff mem 
0xe800-0xefff,0xfcff-0xfcff irq 11 at device 0.0 on pci1

info: [drm] AGP at 0xe000 128MB
info: [drm] Initialized radeon 1.19.0 20050911

Any help is appreciated.

--
Regards,
Eric