View previous topic :: View next topic |
Author |
Message |
r3pek Retired Dev
Joined: 17 Sep 2003 Posts: 568 Location: Lisbon - Portugal
|
Posted: Sat Nov 06, 2004 12:29 am Post subject: new NVIDIA driver (6629) |
|
|
here are the ebuilds to the new drivers....
http://r3pek.homelinux.org/nvidia-6629.tar.bz2
if you are using composite, you have to add this to xorg.conf:
Quote: | Option "AllowGLXWithComposite" "boolean"
Enables GLX even when the Composite X extension is loaded.
ENABLE AT YOUR OWN RISK. OpenGL applications will not
display correctly in many circumstances with this setting
enabled. Default: GLX is disabled when Composite is
loaded.
|
ATENTION
This file is no more in my server. Please use the portage version.
Last edited by r3pek on Wed Mar 30, 2005 8:04 pm; edited 1 time in total |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Sat Nov 06, 2004 12:32 am Post subject: |
|
|
nice, hope they'll be even better then 6111 is now.
Thanks for the ebuilds. _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Sat Nov 06, 2004 12:48 am Post subject: |
|
|
Unfortunately these ebuilds still use kmod, which is being removed.
Im (today) going to move 6111 into stable, and remove the kmod usage, this will also prompt the removal of many older versions from the tree. This new version will become the testing version of the nvidia packages.
Please be patient, it might take 24hrs to get it into the tree, but it will be there ASAP. |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Sat Nov 06, 2004 1:03 am Post subject: |
|
|
first results:
200 fps more in glxgears.
Compiles fine... I'll test it with ut2004 now.
*edit: what a pity. No real noticible difference in ut2004.
Might differ from game to game though. I'll try some others tommorrow. _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
|
firephoto Veteran
Joined: 29 Oct 2003 Posts: 1612 Location: +48° 5' 23.40", -119° 48' 30.00"
|
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Sat Nov 06, 2004 6:27 am Post subject: Tip: Styles can be applied quickly to selected text. |
|
|
Im quite impressed with what ive seen so far, except for one thing...
It appears to not build correctly if you are NOT using KBUILD to send the kernel modules to a different location. For those of you that have it working, did you compile your kernel objects to somewhere other than /usr/src/linux (if you dont have a clue what im asking you didnt)?
If you didnt does the module work for you?
EDIT : Forget that seems there is a problem with the 2.6.10 release candidated
Last edited by cyfred on Sat Nov 06, 2004 8:09 am; edited 2 times in total |
|
Back to top |
|
|
paulisdead Guru
Joined: 10 Apr 2002 Posts: 510 Location: Seattle, WA
|
Posted: Sat Nov 06, 2004 6:49 am Post subject: |
|
|
Doom3 seems to have a nice speed boost to it for me. Went from about 30FPS on the timedemo 1600x1200 high quality, to 49.9FPS with these new drivers. Thanks for the early ebuild. _________________ "we should make it a law that all geeks have dates" - Linus |
|
Back to top |
|
|
TheGreatPhilHansen Tux's lil' helper
Joined: 27 Sep 2002 Posts: 89
|
Posted: Sat Nov 06, 2004 8:35 am Post subject: |
|
|
Wow,
On my system, Doom3 went from roughly 23 fps average on a timedemo in 1024x768 and high to 36 fps. I'm positive that is a bit faster than I was getting in Windows. These drivers are very sweet. I can now play Doom3 with confidence. |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
|
Back to top |
|
|
Apexman Tux's lil' helper
Joined: 07 Apr 2004 Posts: 141
|
Posted: Sat Nov 06, 2004 11:07 pm Post subject: |
|
|
cyfred wrote: |
Im (today) going to move 6111 into stable |
Sorry for offtopic, but this patch works better with swsusp2, than that one in portage-tree (power-suspend-2.6.9-changes.patch). Maybe you will do something with this |
|
Back to top |
|
|
IntergalacticWalrus Guru
Joined: 07 Jan 2003 Posts: 513 Location: Montreal QC (Canada)
|
Posted: Sat Nov 06, 2004 11:09 pm Post subject: |
|
|
cyfred wrote: | http://www.nvnews.net/vbulletin/showthread.php?t=39882 |
Nice to see the Linux devs are pursuing their Holy Crusade to screw up all of us nVidia users. It's only a matter of time before nVidia decides Linux is too much of a bother to support thanks to its ever-changing module structure and the devs' hateful attitude towards everything non GPL (this isn't just closed-source, other licenses are being locked out too, like VMWare's network modules).
(cropped up the rest of my rant, it was unfitting for this topic)
Last edited by IntergalacticWalrus on Sun Nov 07, 2004 3:44 am; edited 1 time in total |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Sat Nov 06, 2004 11:50 pm Post subject: |
|
|
OK in revision to what I said above... After doing some digging, the patch is intended to be reversed (or at least thats the whats been said), and at the moment only 2.6.10_rc1-mm* is affected.
If you're using one of those kernels any udev binary kernel stuff will be broken unless you hack up linux/drivers/base/class_simple.c and remove the _GPL export -- Im not advising you do this, In fact I would STRONGLY recommend use of development-sources until such time that the patch is removed from mm-sources.
Changes will be in the tree shortly.
Apexman : Ill look into the patch, but for the time being whats there with some slight revisions to actually wake up properly will be used. If I understand nvidia swsusp suport is more an AGP driver issue. |
|
Back to top |
|
|
devsk Advocate
Joined: 24 Oct 2003 Posts: 3003 Location: Bay Area, CA
|
Posted: Sun Nov 07, 2004 12:21 am Post subject: |
|
|
Apexman wrote: | cyfred wrote: |
Im (today) going to move 6111 into stable |
Sorry for offtopic, but this patch works better with swsusp2, than that one in portage-tree (power-suspend-2.6.9-changes.patch). Maybe you will do something with this |
does this patch make suspend 2 work with 6629 drivers? software suspend 2 doesn't work with plain 6629 drivers. X just sits on CPU 100% doing gettimeofday. |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Sun Nov 07, 2004 2:09 am Post subject: |
|
|
OK
nvidia-kernel-1.0.6629 (and glx) are now in cvs keywords as ~arch
nvidia-kernel-1.0.6111-r3 (and glx0 are now in cvs as STABLE.
Lets see where this goes.
Things of note (applies to both unless explicitly stated)
- 6629 now uses its own gl.h / glext.h file (pending that it works for people)
- mm-sources currently is not supported for 2.6.10-rc1 (pending reversal of above)
- kmod.eclass is being deprecated, so has been removed, koutput is still supported
- there is a marketedable speed improvedment from 6111 -> 6629 (and some improvement with 2.6.10-rc1 over 2.6.9)
Thats about all i can think of for now.
(devsk : If you read nvidia's notes (at least as I interpret them) swsusp isnt supported because of agp buginess, you can maybe get around it by using the NvAGP agp driver they supply, however there is no garuntees). |
|
Back to top |
|
|
Legoguy Apprentice
Joined: 22 Dec 2003 Posts: 166 Location: Edmonton, Alberta, Canada
|
Posted: Sun Nov 07, 2004 5:45 am Post subject: |
|
|
I should note that for some reason, for me, the latest masked opengl-update did not link libglx.so to /usr/X11R6/lib/modules/extensions/, it instead (tried) to link it to /usr/lib/modules/extensions/. So you're going to have to manually link that if you come across the same problem.
Also note that the new driver has a new option that by default disables glx if the composite extension is enabled. To enable GLX + Composite (at your own risk), add this to the device section of xorg.conf: Code: | Option "AllowGLXWithComposite" "true" |
|
|
Back to top |
|
|
Apexman Tux's lil' helper
Joined: 07 Apr 2004 Posts: 141
|
Posted: Sun Nov 07, 2004 6:57 am Post subject: |
|
|
devsk wrote: |
does this patch make suspend 2 work with 6629 drivers? software suspend 2 doesn't work with plain 6629 drivers. X just sits on CPU 100% doing gettimeofday. |
Not exactly this patch, but the same trick in nv.c
But with this drivers I had broken console after resume
If you don't cry without console
Code: |
--- NVIDIA-Linux-x86-1.0-6629-pkg1.orig/usr/src/nv/nv.c 2004-11-03 23:53:00.000000000 +0200
+++ NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c 2004-11-07 07:58:58.963915872 +0200
@@ -3348,8 +3348,9 @@
break;
default:
- nv_printf(NV_DBG_WARNINGS, "NVRM: ACPI: unsupported event: %d\n", state);
- return -1;
+ nv_printf(NV_DBG_INFO, "NVRM: ACPI: received resume event\n");
+ status = rm_power_management(nv, 0, NV_PM_ACPI_RESUME);
+ break;
}
if (status != RM_OK)
|
save it in nvidia-kernel/files/1.0.6629/power-suspend.patch
(playing in portdir_overlay is very good idea )
and add
Code: |
epatch ${FILESDIR}/${PV}/power-suspend.patch
|
somewhere to src_unpack() in ebuild
in xorg.conf
Code: |
Section "Device"
Identifier "Video0"
Driver "nvidia"
Option "NvAgp" "0"
# other options if needed...
EndSection
|
in hibernate.conf
Code: |
...
### xhacks
LeaveXBeforeSuspend yes
nVidiaHack no
|
Ta-da
[edit]
Switching to vesafb-tng solved the problem with console...
Turning off fb support also should help, I think...
[/edit]
Last edited by Apexman on Sun Nov 14, 2004 8:45 am; edited 3 times in total |
|
Back to top |
|
|
TecHunter Tux's lil' helper
Joined: 15 Feb 2003 Posts: 124
|
Posted: Sun Nov 07, 2004 7:37 am Post subject: |
|
|
hi, I just emerged this version of nvidia-kernel. But when I startx, just got the black screen. And even after I switch to the lastest stable version, I still got the same black screen.
I'm using 2.6.9-nitro1 with 4k kernel stack _________________ Gentoo is GREAT!!! |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Sun Nov 07, 2004 7:43 am Post subject: |
|
|
Legoguy : I think that might be because you are not using xorg 6.8.0-r2 but can you confirm that please.
TechHunter : Can you provide any relevent information from your logs, (dmesg |tail, /var/log/kernel/current, Xorg.0.log, etc...) ; Also can you post your device section in your xorg.conf. |
|
Back to top |
|
|
TecHunter Tux's lil' helper
Joined: 15 Feb 2003 Posts: 124
|
Posted: Sun Nov 07, 2004 8:43 am Post subject: |
|
|
I just unset 4k kernel stack option, and recompile the kernel. Now the nvidia-kernel-6629 works fine. But the 2.6.9-nitro1's framebuffer support seems broken now _________________ Gentoo is GREAT!!! |
|
Back to top |
|
|
hardcore l33t
Joined: 01 Nov 2003 Posts: 626 Location: MSU, MI
|
Posted: Sun Nov 07, 2004 10:31 am Post subject: |
|
|
Why am I not able to emerge nvidia-glx-6629 when I use xfree? I know that it's depreciated, but I do not want to move to x.org yet. _________________ Nothing can stop me now, cuz I just don't care. |
|
Back to top |
|
|
cyfred Retired Dev
Joined: 23 Aug 2002 Posts: 596
|
Posted: Sun Nov 07, 2004 11:19 am Post subject: |
|
|
OK if you feel xfree should still be supported by nvidia-glx-1.0.6629 email me "cyfred[at]gentoo.org"
with plausible reasons, my thinking (for general information) is that as 6629 is in the unstable keyword range it doesnt need to support xfree, which is deprecated (or will be soon), and is in the stable keyword range.
TechHunter: 4K stacks works fine for me in 2.6.9-mm1 and 2.6.10-rc1, what can you tell us from logs / settings? |
|
Back to top |
|
|
Gavrila Apprentice
Joined: 08 Jun 2003 Posts: 275
|
Posted: Sun Nov 07, 2004 12:45 pm Post subject: |
|
|
Is it normal that If glxgears is on foreground then my fps rate is 3000.00 and if I put the window in background it is 11000.000(like 4 times more) ???
If not what could it be?
I'm on latest nitro, with nvidia GEFORCE 4 TI 4200 _________________ Jabber ID: Gavrila@jabber.org |
|
Back to top |
|
|
Lasker Guru
Joined: 17 Jul 2002 Posts: 445
|
Posted: Sun Nov 07, 2004 12:52 pm Post subject: Re: new NVIDIA driver (6629) |
|
|
r3pek wrote: | here are the ebuilds to the new drivers....
http://r3pek.homelinux.org/nvidia-6629.tar.bz2
if you are using composite, you have to add this to xorg.conf:
Quote: | Option "AllowGLXWithComposite" "boolean"
Enables GLX even when the Composite X extension is loaded.
ENABLE AT YOUR OWN RISK. OpenGL applications will not
display correctly in many circumstances with this setting
enabled. Default: GLX is disabled when Composite is
loaded.
|
|
I'm using the new drivers from the official tree, but the above option leads to an
"Extension "AllowGLXWithComposite" is unrecognized" in/var/log/Xorg.0.log
I've tried the line in- and outside of the composite extension block in xorg.conf with no difference.
X don't start in this case. Since I can't see any point in using the nvidia drivers without glx, I have to
disable the composite extension.
Btw, with a low level system like mine (1Ghz Athlon t-bird, GeForce2 GTS ) there is absolutely no
performance boost, neither in glxgears nor in Doom3 timedemo.
Thus for me, with the loss of composite, the new drivers are pretty pointless. |
|
Back to top |
|
|
r3pek Retired Dev
Joined: 17 Sep 2003 Posts: 568 Location: Lisbon - Portugal
|
Posted: Sun Nov 07, 2004 1:12 pm Post subject: |
|
|
AllowGLXWithComposite is not an extension!
you have to put the option in the Device section of the Nvidia Card. |
|
Back to top |
|
|
Cintra Advocate
Joined: 03 Apr 2004 Posts: 2111 Location: Norway
|
Posted: Sun Nov 07, 2004 1:15 pm Post subject: |
|
|
Wow!
Those gears are almost invisible...
p4pe root # glxgears
15138 frames in 5.0 seconds = 3027.600 FPS
16928 frames in 5.0 seconds = 3385.600 FPS
16914 frames in 5.0 seconds = 3382.800 FPS
16935 frames in 5.0 seconds = 3387.000 FPS
Good going Nvidia!
mvh _________________ "I am not bound to please thee with my answers" W.S. |
|
Back to top |
|
|
|