FreeBSD 5.2: could not load OpenGL subsystem
Hi group Having installed /usr/ports/games/linux-enemyterritory/ I (of course) want to run it, but get: loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libGL.so.1: cannot open shared object file: No such file or directory failed ... Sys_Error: GLimp_Init() - could not load OpenGL subsyst Some info: pkg_info -W /usr/X11R6/lib/libGL.so.1 /usr/X11R6/lib/libGL.so.1 was installed by package XFree86-libraries-4.3.0_6 glxinfo name of display: :0.0 Xlib: extension XFree86-DRI missing on display :0.0. display: :0 screen: 0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 ... /etc/X11/XF86Config ... Section Module Load dbe Load dri Load extmod Load glx Load record Load xtrap Load speedo Load type1 EndSection ... Driver nv VendorName nVidia Corporation BoardName NV11 [GeForce2 MX/MX 400] /var/log/XFree86.0.log ... (II) LoadModule: glx (II) Loading /usr/X11R6/lib/modules/extensions/libglx.a (II) Module glx: vendor=The XFree86 Project compiled for 4.3.0, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.2 (II) Loading sub module GLcore (II) LoadModule: GLcore (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a (II) Module GLcore: vendor=The XFree86 Project compiled for 4.3.0, module version = 1.0.0 ABI class: XFree86 Server Extension, version 0.2 (II) Loading extension GLX glxgears Xlib: extension XFree86-DRI missing on display :0.0. 688 frames in 5.0 seconds = 137.600 FPS 820 frames in 5.0 seconds = 164.000 FPS So how do I get OpenGL working? br db ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.2: could not load OpenGL subsystem
On Fri, Jan 23, 2004 at 03:07:45PM +0100, db wrote: Hi group Having installed /usr/ports/games/linux-enemyterritory/ I (of course) want to run it, but get: loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libGL.so.1: cannot open shared object file: No such file or directory failed ... Sys_Error: GLimp_Init() - could not load OpenGL subsyst Some info: pkg_info -W /usr/X11R6/lib/libGL.so.1 /usr/X11R6/lib/libGL.so.1 was installed by package XFree86-libraries-4.3.0_6 You need a linux OpenGL shlib to go with your Linux executable. You need to have: /usr/compat/linux/usr/lib/libGL.so.1 Usually that's installed by the linux_base* port. Except that the emulators/linux_base-8 port has been stripped down to just the hard minimum, so it doesn't contain any of the X11R6 stuff --- that's a change from earlier Linux emulation ports. Try installing the x11/linux-XFree86-libs port to go along with it. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: FreeBSD 5.2: could not load OpenGL subsystem
On Fri, Jan 23, 2004 at 03:07:45PM +0100, db wrote: Hi group Having installed /usr/ports/games/linux-enemyterritory/ I (of course) want to run it, but get: loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libGL.so.1: cannot open shared object file: No such file or directory failed ... Sys_Error: GLimp_Init() - could not load OpenGL subsyst snip ... Driver nv VendorName nVidia Corporation BoardName NV11 [GeForce2 MX/MX 400] If you have an nvidia card, you need to install x11/nvidia-driver and use the nvidia driver in your XF86Config instead of nv to get OpenGL working. So how do I get OpenGL working? Also have a look at http://www.soulwax.net/nvidia/ , it contains useful info for using nvidia cards on FreeBSD and gaming. Good luck, Karel. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.2: could not load OpenGL subsystem
-- Original Message -- Date: Fri, 23 Jan 2004 14:40:49 + From: Matthew Seaman [EMAIL PROTECTED] To: db [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: FreeBSD 5.2: could not load OpenGL subsystem Usually that's installed by the linux_base* port. Except that the emulators/linux_base-8 port has been tripped down to just the hard minimum, so it doesn't contain any of the X11R6 stuff --- that's a change from earlier Linux emulation ports. Try installing the x11/linux-XFree86-libs port to go along with it. Ok, tried installing with portinstall: === Installing for linux-XFree86-libs-4.3.0_1 === linux-XFree86-libs-4.3.0_1 conflicts with installed package(s): linux_base-7.1_5 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/x11/linux-XFree86-libs. *** Error code 1 Stop in /usr/ports/x11/linux-XFree86-libs. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall28025.0 make -DFORCE_PKG_REGISTER reinstall ** Fix the installation problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! x11/linux-XFree86-libs(install error) What should I do now? br db ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.2: could not load OpenGL subsystem
-- Original Message -- Date: Fri, 23 Jan 2004 16:15:28 +0100 From: Karel J. Bosschaart [EMAIL PROTECTED] To: db [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: FreeBSD 5.2: could not load OpenGL subsystem If you have an nvidia card, you need to install x11/nvidia-driver and use the nvidia driver in your XF86Config instead of nv to get OpenGL working. Ok, I'll try that, if the linux-XFree86-libs thing doesn't work :-) br db ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.2: could not load OpenGL subsystem
On Fri, Jan 23, 2004 at 04:11:49PM +0100, [EMAIL PROTECTED] wrote: -- Original Message -- Date: Fri, 23 Jan 2004 14:40:49 + From: Matthew Seaman [EMAIL PROTECTED] To: db [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: FreeBSD 5.2: could not load OpenGL subsystem Usually that's installed by the linux_base* port. Except that the emulators/linux_base-8 port has been tripped down to just the hard minimum, so it doesn't contain any of the X11R6 stuff --- that's a change from earlier Linux emulation ports. Try installing the x11/linux-XFree86-libs port to go along with it. Ok, tried installing with portinstall: === Installing for linux-XFree86-libs-4.3.0_1 === linux-XFree86-libs-4.3.0_1 conflicts with installed package(s): linux_base-7.1_5 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/x11/linux-XFree86-libs. *** Error code 1 Stop in /usr/ports/x11/linux-XFree86-libs. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall28025.0 make -DFORCE_PKG_REGISTER reinstall ** Fix the installation problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! x11/linux-XFree86-libs(install error) What should I do now? OK. Scratch that idea. You don't want linux-XFree86-libs with linux_base-7.1_5. However, on reviewing earlier messages in the thread I notice you're running an NVIDIA graphics adapter using the default X11 'nv' driver -- and that doesn't give you any sort of accelerated 3D graphics support at all. Instead, install the x11/nvidia-driver port. This is a port of the linux code for driving NVIDIA cards, and it overwrites the X11R6 supplied libGL.so.1 shlib with it's own version. Read the docs carefully and be prepared to fiddle about with kernel configuration in order to get things working. As the driver is linux code already, linux programs should be able to run with it just fine. (Just remember to re-install the NVIDIA drivers if ever you upgrade XFree86-libs) Also make sure you don't have 'Load dri' in your /etc/X11/XF86Config, but that you do have 'Load glx', and check /var/log/XFree86.0.log to see if the X server is having problems. There's a whole thread on this precisely issue starting with: http://lists.freebsd.org/pipermail/freebsd-questions/2003-November/025013.html which you should certainly look at. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: FreeBSD 5.2: could not load OpenGL subsystem
On Fri, 23 Jan 2004 16:01:53 + Matthew Seaman [EMAIL PROTECTED] wrote: Instead, install the x11/nvidia-driver port. This is a port of the linux code for driving NVIDIA cards, and it overwrites the X11R6 supplied libGL.so.1 shlib with it's own version. Read the docs carefully and be prepared to fiddle about with kernel configuration in order to get things working. As the driver is linux code already, linux programs should be able to run with it just fine. (Just remember to re-install the NVIDIA drivers if ever you upgrade XFree86-libs) Yep, now it works, thanks! :-) br db ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]