Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-15-07, 12:46 PM   #1
AngelescuO
Registered User
 
Join Date: Dec 2006
Posts: 5
Default A question please (does work for anybody ?)

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 !
AngelescuO is offline   Reply With Quote
Old 10-15-07, 08:25 PM   #2
norbot
Registered User
 
Join Date: Feb 2007
Posts: 9
Default Re: A question please (does work for anybody ?)

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.
norbot is offline   Reply With Quote
Old 10-16-07, 01:21 PM   #3
SirDice
Registered User
 
Join Date: Jul 2005
Posts: 79
Default Re: A question please (does work for anybody ?)

Quote:
Originally Posted by AngelescuO
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.
I have bolded the probable cause

The linux xorg-libraries need to be the same version as the native freebsd ones.
SirDice is offline   Reply With Quote
Old 10-20-07, 12:07 PM   #4
AngelescuO
Registered User
 
Join Date: Dec 2006
Posts: 5
Default Re: A question please (does work for anybody ?)

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.
AngelescuO is offline   Reply With Quote
Old 10-21-07, 03:27 PM   #5
norbot
Registered User
 
Join Date: Feb 2007
Posts: 9
Default Re: A question please (does work for anybody ?)

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.
norbot is offline   Reply With Quote
Old 10-22-07, 10:49 AM   #6
AngelescuO
Registered User
 
Join Date: Dec 2006
Posts: 5
Default Re: A question please (does work for anybody ?)

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 !
AngelescuO is offline   Reply With Quote
Old 10-31-07, 08:19 PM   #7
norbot
Registered User
 
Join Date: Feb 2007
Posts: 9
Default Re: A question please (does work for anybody ?)

Quote:
Originally Posted by AngelescuO
Hi norbot !

Does report at you compat/linux/usr/X11R6/bin/glxinfo " direct rendering:yes" ?

If so what driver you use and what videocard ?
Sorry for the delayed response. Haven't check the forum in a while ):

For me, the Linux glxinfo does report direct rendering as "yes".

I use the 100.14.19 driver on a 7600GS.
norbot is offline   Reply With Quote
Old 11-05-07, 05:06 AM   #8
Chronos_
Registered User
 
Chronos_'s Avatar
 
Join Date: Sep 2007
Posts: 7
Default Re: A question please (does work for anybody ?)

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
Now execute "/usr/compat/linux/sbin/ldconfig" changing the path to wherever your linuxulator is installed. This is usually also called by the abi rc script at boot if linux_enable is set in rc.conf so a reboot will also achieve the same thing.

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)
Apologies for the long-windedness. It took me a while to sort this out myself in between getting my local package repository updated from xorg 7.2 to 7.3 and making sure everything is stable. Doom3 (I use it for benchmarking) also works in this configuration, so I assume most other Linux binaries will.
__________________
-.. . -.-. .... .-. --- -. --- ... ...-.-

Last edited by Chronos_; 11-09-07 at 06:29 AM.
Chronos_ is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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 Archived News Items 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

All times are GMT -5. The time now is 01:04 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.