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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-19-07, 06:37 PM   #13
KenS
NVIDIA Corporation
 
Join Date: Apr 2007
Posts: 2
Default Re: Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)

This issue has been reproduced and the bug below has been opened to address it.

317365 Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)
KenS is offline   Reply With Quote
Old 05-20-07, 08:39 AM   #14
lloeki
Arch Linux
 
lloeki's Avatar
 
Join Date: Oct 2006
Posts: 122
Default Re: Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)

I built a 2.6.20-rc1 kernel, and the bug is present. well then, that saves me from trying rc2-7

for the record:
- the hacker readable changelog: ftp://ftp.kernel.org/pub/linux/kerne...Log-2.6.20-rc1
- linus's human readable 2.6.20-rc1 announcement transcript: http://pcburn.com/article.php?sid=1988

thanks to nvidia for taking care of this bug, I'm glad it could be reproduced.
lloeki is offline   Reply With Quote
Old 05-20-07, 05:16 PM   #15
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)

Does the problem persist if you extract the .run package with the -x command line option, change to the newly created directory, edit the file usr/src/nv/nv-vm.c to make the change below and then install the driver with ./nvidia-installer?

original:
#if defined(KERNEL_2_4) || defined(NV_CPA_DF_LIST_BUG)
#define NV_CPA_NEEDS_FLUSHING 1
#endif
modified:
#define NV_CPA_NEEDS_FLUSHING 1
zander is offline   Reply With Quote
Old 05-21-07, 01:18 AM   #16
Tunix
Registered User
 
Join Date: May 2007
Posts: 13
Default Re: Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)

@zander:
I could not reproduce the texture corruption bug with with the modified kernel module. Good work!
Tunix is offline   Reply With Quote
Old 05-21-07, 02:48 AM   #17
ctheo
Registered User
 
Join Date: Mar 2007
Posts: 74
Default Re: Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)

nothing changed for me
GeForce Go 6200 TurboCache
Attached Files
File Type: log nvidia-bug-report.log (117.6 KB, 125 views)
File Type: gz nv-vm.c.tar.gz (6.6 KB, 121 views)
ctheo is offline   Reply With Quote
Old 05-21-07, 03:32 AM   #18
lloeki
Arch Linux
 
lloeki's Avatar
 
Join Date: Oct 2006
Posts: 122
Default Re: Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)

zander, this seemed to have fixed it for me! (Go 7400, Arch Linux, kernel 2.6.21, nv 9755)
for the moment I tested doom3 and neverball, they have yet to exhibit any problem again!

for the record, I did:
- log in in vt1
- init 3 (to kill X)
- NVIDIA-Linux-x86_64-1.0-9755-pkg0.run -x
- cd NVIDIA-Linux-x86_64-1.0-9755-pkg0/usr/src/nv
- edit nv-vm.c as you suggested
- make
- make install
- modprobe nvidia
- init 5 (restarting X)

ctheo, make sure the kernel module is not in use (X not running) during the 'make install' and 'modprobe nvidia' parts.

so far so good, thanks a lot nvidia.
lloeki is offline   Reply With Quote
Old 05-21-07, 03:52 AM   #19
Tunix
Registered User
 
Join Date: May 2007
Posts: 13
Default Re: Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)

@ctheo:
Just to verify that the right kernel module has been loaded: Do you have both uninstalled the nvidia-glx-new and the linux-restricted-modules-2.6.20-15-generic package? The latter package has a strange mechanism to load the nvidia kernel module. It contains three different versions of it (nvidia_legacy=71.84, nvidia=96.31, nvidia_new=97.55) in form of object files which get linked to the final .ko-modules everytime the system starts. These modules are copied to /lib/modules/2.6.20-15-generic/volatile/ under the names nvidia_legacy.ko, nvidia.ko and nvidia_new.ko. The file /etc/modprobe.d/lrm-video causes modprobe to load the nvidia kernel module through the script /sbin/lrm-video.

Depending on the existence of either /lib/linux-restricted-modules/.nvidia_new_installed or /lib/linux-restricted-modules/.nvidia_legacy_installed this script either loads nvidia_legacy.ko or nvidia_new.ko (or nvidia.ko if none of the aforementionend files exist) into memory.

This may cause that a home brew kernel module won't be loaded. To be sure that the right module is loaded verify that the restricted-modules package has been removed and that none of mentioned files in /lib/linux-restricted-modules/ exist.

Last edited by Tunix; 05-21-07 at 03:57 AM. Reason: Typos
Tunix is offline   Reply With Quote
Old 05-21-07, 05:36 AM   #20
ctheo
Registered User
 
Join Date: Mar 2007
Posts: 74
Default Re: Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)

Quote:
Originally Posted by Tunix
@ctheo:
Just to verify that the right kernel module has been loaded: Do you have both uninstalled the nvidia-glx-new and the linux-restricted-modules-2.6.20-15-generic package? The latter package has a strange mechanism to load the nvidia kernel module. It contains three different versions of it (nvidia_legacy=71.84, nvidia=96.31, nvidia_new=97.55) in form of object files which get linked to the final .ko-modules everytime the system starts. These modules are copied to /lib/modules/2.6.20-15-generic/volatile/ under the names nvidia_legacy.ko, nvidia.ko and nvidia_new.ko. The file /etc/modprobe.d/lrm-video causes modprobe to load the nvidia kernel module through the script /sbin/lrm-video.

Depending on the existence of either /lib/linux-restricted-modules/.nvidia_new_installed or /lib/linux-restricted-modules/.nvidia_legacy_installed this script either loads nvidia_legacy.ko or nvidia_new.ko (or nvidia.ko if none of the aforementionend files exist) into memory.

This may cause that a home brew kernel module won't be loaded. To be sure that the right module is loaded verify that the restricted-modules package has been removed and that none of mentioned files in /lib/linux-restricted-modules/ exist.
well, I like gksudo gedit "/etc/default/linux-restricted-modules-common"
and add DISABLED_MODULES="nv"
anyways I reinstalled the ubuntu feisty fawn and will try one more time running:
./NVIDIA-Linux-x86-1.0-9755-pkg1.run -x
edit ./NVIDIA-Linux-x86-1.0-9755-pkg1/usr/src/nv/nv-vm.c
and ./NVIDIA-Linux-x86-1.0-9755-pkg1/nvidia-installer

##EDIT##

artifacts are gone

##2nd EDIT##

artifacts are still here...

I'll try removing restricted modules package

##3rd EDIT##

artifacts are gone (games tested torcs, neverball, neverputt) after completely removing (purge) linux-restricted-modules-common and linux-restricted-modules-generic rather than using "/etc/default/linux-restricted-modules-common" option (can we say where is bug in the "/etc/default/linux-restricted-modules-common" file?)
Attached Files
File Type: gz nvidia-bug-report.log.tar.gz (36.0 KB, 117 views)
ctheo is offline   Reply With Quote

Old 05-21-07, 01:08 PM   #21
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)

Thanks for performing the test. It looks like the problem is a regression in the Linux kernel's global_flush_tlb() interface on some processors. We'll inbestigate how to best address this bug.
zander is offline   Reply With Quote
Old 06-12-07, 04:33 AM   #22
lloeki
Arch Linux
 
lloeki's Avatar
 
Join Date: Oct 2006
Posts: 122
Default Re: Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)

This seems fixed as of 100.14.09.

'Release Highlights' says nil about that. Would have it been overkill to say 'fixed texture artifacting with some cpu/gpu configuration on kernel 2.6.20 and up' in there ?
I feel like this is really the kind of simple thing that would improve nvidia's work image, let alone being both hintful and helpful to users.

Anyway, thanks a lot.
lloeki is offline   Reply With Quote
Old 06-12-07, 11:30 AM   #23
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Texture corruption on Quadro NVS 110M (beginning with kernel 2.6.20)

Yes, 100.14.09 includes a workaround for a global_flush_tlb() bug present in >= Linux 2.6.20. Since it is a workaround for a kernel bug, rather than a fix for an NVIDIA graphics driver bug, the change isn't considered a highlight by itself; it falls under the "improve interaction with newer kernels" category.
zander 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
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 01:19 AM.


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