|
|
#1 | |
|
Registered User
Join Date: Dec 2006
Posts: 5
|
Hi !
I have Xorg 7.3 and the latests nvidia driver ( all versions). The linux part contain : linux-xorg-libs-6.8.2 linux_base-fc-4_10 linux_dri-7.0. Works for anyone the latest nvidia driver in linux emulation ( for linux 3d programs) ? Today i have tried with a 6600GT card and it won't worked yesterday with a 4MX 4000 and it won't worked also. With both drivers 94.63.01 and 100.14.19 the driver reports in linux mode: NVIDIA direct rendering failed , trying indirect rendering. Thanks a lot ! |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Feb 2007
Posts: 9
|
I had a similar issue but not the same. After upgrading to Xorg 7.3 and the new driver, all my Linux executables failed with an error about incompatible OS/ABI (can't remember the exact text). Re-installing the Linux base port and other dependencies fixed it (portupgrade -f linux-\*). I don't understand the root cause, unfortunately.
|
|
|
|
|
|
|
#3 | |
|
Registered User
Join Date: Jul 2005
Posts: 79
|
Quote:
![]() The linux xorg-libraries need to be the same version as the native freebsd ones. |
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Dec 2006
Posts: 5
|
If this is the problem i s the first time when i have found this.
I never have the same version for linux libraries as in freebsd libraries and it was working. |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Feb 2007
Posts: 9
|
I am also using Linux Xorg 6.8 libraries with the FBSD 7.3 server. Seems to work just fine for me. As I understand it, the ABI changes are between the server and the driver, rather than between the client and the server. The old libraries should (and do) work.
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Dec 2006
Posts: 5
|
Hi norbot !
You have saed that you use also Linux xorg-6.8 libraires and Xorg-7.3. It works also for me but not as it should work. At me /compat/linux/usr/X11R6/bin/glxinfo reports "direct rendering:no" . Does report at you compat/linux/usr/X11R6/bin/glxinfo " direct rendering:yes" ? If so what driver you use and what videocard ? Despite that direct rendering is reported as no it works in some way but with less fps. Thanks a lot ! |
|
|
|
|
|
|
#7 | |
|
Registered User
Join Date: Feb 2007
Posts: 9
|
Quote:
For me, the Linux glxinfo does report direct rendering as "yes". I use the 100.14.19 driver on a 7600GS. |
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Sep 2007
Posts: 7
|
EDIT: The original post was WRONG. /compat/linux/sbin/ldconfig -r /compat/linux works fine. I suspect it is linux_dri causing the issue I saw. So I've updated the instructions:
First, REMOVE linux_dri with pkg_deinstall -f linux_dri followed by pkgdb -F just in case it was required by anything. it should delete the dependency with an "irrelevant" message. Then portupgrade -f nvidia-driver to make sure the libGL.so in ${LINUXBASE}/usr/lib is the nvidia variant symlinked to libGL.so.100.14.19. Your ${LINUXBASE}/usr/lib (usually /usr/compat/linux/usr/lib) should look like this (ignore libGLU for a moment, it's not relevant at this point): Code:
/usr/compat/linux/usr/lib $ ls -l | grep libGL lrwxr-xr-x 1 root wheel 18 3 Nov 19:01 libGL.so.1 -> libGL.so.100.14.19 -r--r--r-- 1 root wheel 609200 3 Nov 19:01 libGL.so.100.14.19 lrwxrwxrwx 1 root wheel 31 4 Nov 23:55 libGLU.so.1 -> ../../usr/X11R6/lib/libGLU.so.1 lrwxr-xr-x 1 root wheel 22 3 Nov 19:01 libGLcore.so.1 -> libGLcore.so.100.14.19 -r--r--r-- 1 root wheel 10080488 3 Nov 19:01 libGLcore.so.100.14.19 OK, that's the Linux side sorted. Now you'll probably want to check for missing bits like libGLU. Use ldd on your Linux binaries to check, but DO NOT reinstall linux_dri as it will bugger up your libs. The downside of this is that you don't get the Linux version of glxinfo to test that all this works. However, it works for me on three boxen. A good indicator of a working state Linuxulator with nvidia-driver is this sort of output from ldd (with the Linux version of Eternal Lands as an example; the FreeBSD client segfaults all the time for me, whether built from the port or from el's CVS. It needs linux-libGLU from ports): Code:
~/.elc/el $ ldd ./el.x86.linux.bin
./el.x86.linux.bin:
libGL.so.1 => /usr/lib/libGL.so.1 (0x2833e000)
libpthread.so.0 => /lib/obsolete/linuxthreads/libpthread.so.0 (0x283d5000)
libz.so.1 => /usr/lib/libz.so.1 (0x28428000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x2843b000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x28517000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28597000)
libc.so.6 => /lib/obsolete/linuxthreads/libc.so.6 (0x285a1000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x286c1000)
libm.so.6 => /lib/obsolete/linuxthreads/libm.so.6 (0x28794000)
libdl.so.2 => /lib/libdl.so.2 (0x287ba000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x287be000)
libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x29156000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x29158000)
/lib/ld-linux.so.2 (0x2831f000)
__________________
-.. . -.-. .... .-. --- -. --- ... ...-.- Last edited by Chronos_; 11-09-07 at 06:29 AM. |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiseat X with two cards: used to work, now segfaulting | Artefact2 | NVIDIA Linux | 10 | 06-26-12 05:22 PM |
| Ask Stack: What is the best way to divide work between developers? | News | Latest Tech And Game Headlines | 0 | 06-10-12 02:10 AM |
| 295.40 Does not Work Had to downgrade to 295.33 | Archmbc | NVIDIA Linux | 4 | 05-03-12 02:38 PM |
| Can't get FSAA to work | krow | NVIDIA Linux | 6 | 09-17-02 08:03 AM |