View previous topic :: View next topic |
Author |
Message |
zeronullity Tux's lil' helper
Joined: 16 Oct 2010 Posts: 103
|
Posted: Sun Nov 11, 2012 4:35 pm Post subject: NVidia prepacked bins vs NVidia gentoo poor performance |
|
|
Using the same driver version 304.64 64-bit with 32-bit libs
I get excellent performance with prepackaged NVidia .bin drivers without any issues...
Using gentoo's NVIDIA drivers I get a weird colored screen right before KDM start.. [what a bad video card might display on boot]
also KDM will not start with preload enabled in rc startup using Gentoo version but with NVIDIA .bin it will.
Performance using glxgears is similar... however FPS using a game based on ID3 engine 32-bit [OpenGL]
I get 333 fps almost solid with prepackaged bin. And with gentoo's NVidia driver I get like 1/2 or 1/3 of that.
I'm assuming this has to do with compiler flags? My current flags are -march=native -O2 -pipe, nothing
to crazy for most packages. Obviously the .bin is doing something Gentoo is not... and it's causing system issues.
In the past I've always used a prepackaged .bin however I was hoping to get this to work.. so I wouldn't have to do updates
separately.
Also.. glxinfo shows same info for both .bin & gentoo's version & the xorg.conf is same for both.
Sorry, I wrote this on no sleep so hopefully you'll understand my insanity & poor grammer.
Perhaps this is better suited for Kernel & Hardware, I'll let the moderators decide & move if needed. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Nov 11, 2012 4:48 pm Post subject: |
|
|
zeronullity,
If you use the nVidia provided .bin files directly, you get to keep the pieces but Gentoo is about choice, so thats OK.
Gentoo uses the same .bins, with some odds and ends Gentoo needs too. That the performace is different, means you are doing something wrong.
When you go back to the gentoo nvida-drivers, what does Code: | eselect opengl list | show ?
What about cat /proc/mounts ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
zeronullity Tux's lil' helper
Joined: 16 Oct 2010 Posts: 103
|
Posted: Sun Nov 11, 2012 4:51 pm Post subject: |
|
|
I remember eselect showing nvidia as being selected, including OpenCL with nvidia being selected.
However I did not check /proc/mounts with the Gentoo driver version.. what exactly am I looking for? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Nov 11, 2012 4:56 pm Post subject: |
|
|
zeronullity,
/tmp must not be mounted with the noexec option.
Thats a feature of nvidia-drivers (the .bin actually) that most users would call a bug.
Nobody should ever need to run anything in /tmp but the nvidia binary bob does. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
zeronullity Tux's lil' helper
Joined: 16 Oct 2010 Posts: 103
|
Posted: Sun Nov 11, 2012 5:00 pm Post subject: |
|
|
cat /proc/mounts
tmpfs /tmp tmpfs rw,relatime,size=12582912k,mode=777 0 0
mount
tmpfs on /tmp type tmpfs (rw,relatime,size=12582912k,mode=777)
That look correct? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Nov 11, 2012 6:23 pm Post subject: |
|
|
zeronullity,
Thats OK.
The more paranoid among us like to set restrictive options where we can as it helps to keep nasty things from doing anything if they do get in. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Nov 11, 2012 6:33 pm Post subject: Re: NVidia prepacked bins vs NVidia gentoo poor performance |
|
|
Would be interesting to see if a 64-bit game (e.g. darkplaces) has the same slowdown. |
|
Back to top |
|
|
zeronullity Tux's lil' helper
Joined: 16 Oct 2010 Posts: 103
|
Posted: Sun Nov 11, 2012 6:50 pm Post subject: |
|
|
I'll try to do some more testing later.. I just wanted to make sure it wasn't a known issue with a fix first.. I'll try to check NVidia's compile log vs Gentoos
and see what I can find. Also I noticed on Gentoo's guide for NVidia... it says to install VESA.. however VESA was never officially supported by NVidia and
only works by chance. [unless this has changed in recent versions] I have only VGA installed. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Nov 11, 2012 6:53 pm Post subject: |
|
|
zeronullity,
Thats not changed. Only the plain text VGA console is supported. However, VESA seems to mostly work too _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
zeronullity Tux's lil' helper
Joined: 16 Oct 2010 Posts: 103
|
Posted: Sun Nov 11, 2012 8:16 pm Post subject: |
|
|
It appears that the issue with PRELOAD is unrelated.
running /etc/init.d/preload stop then rm /var/lib/preload.state fixes the issue each time the .bin
& gentoo drivers are switched. I assume it has something to do with file locations & stale depencencies.
Something else interesting about the time the kernel is loading NVidia module ".bin" I see a small "glitch" after
it loads... but nothing like what I see fullscreen before gentoo's driver loads Xorg/KDM. Also I noticed when emerging nvidia-drivers
it gives an error that I should run make oldconfig && make proper... which have I done without any change to that error message
or the problem I'm having, the install continues and installs fine. I'm not to certain it's related however, I'll try testing 64-bit
performance with ID3 next and see what I can find that might be causing the issue. |
|
Back to top |
|
|
|