Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47745 - Nvidia opengl shows some random polygon "noise", dmesg shows call trace.
Summary: Nvidia opengl shows some random polygon "noise", dmesg shows call trace.
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on: 51524
Blocks:
  Show dependency tree
 
Reported: 2004-04-13 12:47 UTC by Priit Laes (IRC: plaes)
Modified: 2004-07-20 17:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2004-04-13 12:47:19 UTC
Opengl rendering displays weird polygon "noise".

Reproducible: Always
Steps to Reproduce:
1. Reload nvidia module
2. Start X
3. Start playing tuxracer
4. Tuxracer hangs in a moment
5. Then press ESC many-many times, until system reacts
6. Exit tuxracer or try to play - the rectangles are dirty.

Actual Results:  
The rectangles are "dirty" - displayed some kind of weird random polygon noise.

Expected Results:  
Nice beautiful OpenGL display :D

Badness in pci_find_subsys at drivers/pci/search.c:167
Call Trace:
 [<c0239668>] pci_find_subsys+0xe8/0xf0
 [<c023969f>] pci_find_device+0x2f/0x40
 [<c02394a8>] pci_find_slot+0x28/0x50
 [<e0bba1fb>] os_pci_init_handle+0x35/0x62 [nvidia]
 [<e0bd400f>] _nv001243rm+0x1f/0x24 [nvidia]
 [<e0d1a8c5>] _nv000816rm+0x2f5/0x384 [nvidia]
 [<e0c830dc>] _nv003801rm+0xd8/0x100 [nvidia]
 [<e0d1a3ff>] _nv000809rm+0x2f/0x34 [nvidia]
 [<e0c83f00>] _nv003816rm+0xf0/0x104 [nvidia]
 [<e0c84c77>] _nv000013rm+0x77/0x84 [nvidia]
 [<e0c8461b>] _nv003780rm+0x1df/0x2c8 [nvidia]
 [<e0c84427>] _nv000012rm+0x43/0x58 [nvidia]
 [<e0c843e4>] _nv000012rm+0x0/0x58 [nvidia]
 [<e0bc7e4c>] _nv001219rm+0xa8/0x124 [nvidia]
 [<e0bb7a94>] nv_kern_rc_timer+0x0/0x37 [nvidia]
 [<e0bd8666>] rm_run_rc_callback+0x36/0x4c [nvidia]
 [<e0bb7aa8>] nv_kern_rc_timer+0x14/0x37 [nvidia]
 [<c0127b46>] update_process_times+0x46/0x60
 [<c0127c4b>] run_timer_softirq+0xcb/0x1b0
 [<c0127e1f>] do_timer+0xdf/0xf0
 [<c0123910>] do_softirq+0x90/0xa0
 [<c010d0ad>] do_IRQ+0xfd/0x130
 [<c010b4f4>] common_interrupt+0x18/0x20
0: nvidia: trying to map 0xd7cf5000 to kernel space, but we're in an interrupt
or holding a spinlock

Happened with xfree and also xorg-x11.
Comment 1 Andrew Bevitt 2004-04-16 04:23:55 UTC
Can you give us a little more info on your system..
output of : emerge info
your video card type

Also can you include the relevent information about your AGP drivers, is the kernel doing this or nvidias module (if you dont know post the output of lspci -v the section that relates to your AGP)
Comment 2 Priit Laes (IRC: plaes) 2004-04-17 07:42:27 UTC
Sorry for the delay, it isn't my machine.

Video Card - Geforce FX 5600

pets@pets pets $ emerge info
Portage 2.0.50-r5 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4)
=================================================================
System uname: 2.6.4 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.7
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon-xp -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.uninett.no/pub/linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/breakmygentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d acl acpi adns aim alsa apache2 avi berkdb bidi bonobo canna cdr cjk crypt cscope cups curl dga dvd dvdr encode fam fdftk fftw flac flash foomaticdb gd gdbm gif ginac gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib innodb ipv6 jabber java jikes jpeg lcms ldap lesstif libgda libwww mad mcal mikmod mmx motif mozilla mpeg mpi msn mysql nas ncurses netcdf nls oggvorbis opengl oscar oss pam pda pdflib perl plotutils png ppds python qt quicktime readline ruby samba sasl scanner sdl slang slp snmp socks5 speex spell sqlite sse ssl tcltk tcpd tetex theora tiff truetype unicode usb wmf wxwindows x86 xinerama xml xml2 xmms xosd xv yahoo zlib"


0000:00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1) (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 32
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        Memory behind bridge: e4000000-e5ffffff
        Prefetchable memory behind bridge: d0000000-dfffffff
 
0000:02:00.0 VGA compatible controller: nVidia Corporation NV31 [GeForce FX 5600] (rev a1) (prog-if 00 [VGA])
        Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 5
        Memory at e4000000 (32-bit, non-prefetchable)
        Memory at d0000000 (32-bit, prefetchable) [size=256M]
        Capabilities: [60] Power Management version 2
        Capabilities: [44] AGP version 3.0
Comment 3 Andrew Bevitt 2004-05-10 20:40:38 UTC
Please test nvidia-kernel-5336-r3 (preferably with 2.6.6 kernel, but not essential) and report back please.
Comment 4 Andrew Bevitt 2004-05-21 09:08:53 UTC
http://dev.gentoo.org/~cyfred/nvidia-kernel-1.0.5336-r3.tar.bz2
Please try the ebuild inside this tarball, extract this archive to PORTDIR_OVERLAY/media-video/  and the emerge the ebuild in the overlay... 

Does the problem persist?
Comment 5 Priit Laes (IRC: plaes) 2004-05-22 12:58:55 UTC
Problem still exists with 2.6.4 kernel... I'll try to upgrade it to 2.6.6. But it has this damn nforce ide controller :( so don't know if I'll get it working.

0: nvidia: trying to map 0xd7cf5000 to kernel space, but we're in an interrupt or holding a spinlock
Badness in pci_find_subsys at drivers/pci/search.c:167
Call Trace:
 [<c0239668>] pci_find_subsys+0xe8/0xf0
 [<c023969f>] pci_find_device+0x2f/0x40
 [<c02394a8>] pci_find_slot+0x28/0x50
 [<e0d3b288>] os_pci_init_handle+0x39/0x68 [nvidia]
 [<e0bcf85f>] _nv001243rm+0x1f/0x24 [nvidia]
 [<e0d16115>] _nv000816rm+0x2f5/0x384 [nvidia]
 [<e0c7e92c>] _nv003801rm+0xd8/0x100 [nvidia]
 [<e0d15c4f>] _nv000809rm+0x2f/0x34 [nvidia]
 [<e0c7f750>] _nv003816rm+0xf0/0x104 [nvidia]
 [<e0c804c7>] _nv000013rm+0x77/0x84 [nvidia]
 [<e0c7fe6b>] _nv003780rm+0x1df/0x2c8 [nvidia]
 [<e0c7fc77>] _nv000012rm+0x43/0x58 [nvidia]
 [<e0c7fc34>] _nv000012rm+0x0/0x58 [nvidia]
 [<e0bc369c>] _nv001219rm+0xa8/0x124 [nvidia]
 [<e0d38ab5>] nv_kern_rc_timer+0x0/0x37 [nvidia]
 [<e0bd3eb6>] rm_run_rc_callback+0x36/0x4c [nvidia]
 [<e0d38ac8>] nv_kern_rc_timer+0x13/0x37 [nvidia]
 [<c0127c4b>] run_timer_softirq+0xcb/0x1b0
 [<c0127e1f>] do_timer+0xdf/0xf0
 [<c0123910>] do_softirq+0x90/0xa0
 [<c010d0ad>] do_IRQ+0xfd/0x130
 [<c010b4f4>] common_interrupt+0x18/0x20
 
Badness in pci_find_subsys at drivers/pci/search.c:167
Call Trace:
 [<c0239668>] pci_find_subsys+0xe8/0xf0
 [<c023969f>] pci_find_device+0x2f/0x40
 [<c02394a8>] pci_find_slot+0x28/0x50
 [<e0d3b288>] os_pci_init_handle+0x39/0x68 [nvidia]
 [<e0bcf85f>] _nv001243rm+0x1f/0x24 [nvidia]
 [<e0c80a5d>] _nv003797rm+0xa9/0x128 [nvidia]
 [<e0ced4a1>] _nv001490rm+0x55/0xe4 [nvidia]
 [<e0d16154>] _nv000816rm+0x334/0x384 [nvidia]
 [<e0c7e92c>] _nv003801rm+0xd8/0x100 [nvidia]
 [<e0d15c4f>] _nv000809rm+0x2f/0x34 [nvidia]
 [<e0c7f750>] _nv003816rm+0xf0/0x104 [nvidia]
 [<e0c804c7>] _nv000013rm+0x77/0x84 [nvidia]
 [<e0c7fe6b>] _nv003780rm+0x1df/0x2c8 [nvidia]
 [<e0c7fc77>] _nv000012rm+0x43/0x58 [nvidia]
 [<e0c7fc34>] _nv000012rm+0x0/0x58 [nvidia]
 [<e0bc369c>] _nv001219rm+0xa8/0x124 [nvidia]
 [<e0d38ab5>] nv_kern_rc_timer+0x0/0x37 [nvidia]
 [<e0bd3eb6>] rm_run_rc_callback+0x36/0x4c [nvidia]
 [<e0d38ac8>] nv_kern_rc_timer+0x13/0x37 [nvidia]
 [<c0127c4b>] run_timer_softirq+0xcb/0x1b0
 [<c0127e1f>] do_timer+0xdf/0xf0
 [<c0123910>] do_softirq+0x90/0xa0
 [<c010d0ad>] do_IRQ+0xfd/0x130
 [<c010b4f4>] common_interrupt+0x18/0x20
 
0: nvidia: trying to map 0xd7cf5000 to kernel space, but we're in an interrupt or holding a spinlock
Comment 6 Priit Laes (IRC: plaes) 2004-05-22 13:39:38 UTC
Ok... same problem with 2.6.6 :(

0: nvidia: trying to map 0xd7ed0e00 to kernel space, but we're in an interrupt or holding a spinlock
Badness in pci_find_subsys at drivers/pci/search.c:167
Call Trace:
 [<c021cf29>] pci_find_subsys+0xe9/0x100
 [<c021cf58>] pci_find_device+0x18/0x20
 [<c021cd79>] pci_find_slot+0x19/0x40
 [<e0d39c27>] os_pci_init_handle+0x31/0x5f [nvidia]
 [<e0bce85f>] _nv001243rm+0x1f/0x24 [nvidia]
 [<e0d15115>] _nv000816rm+0x2f5/0x384 [nvidia]
 [<e0c7d92c>] _nv003801rm+0xd8/0x100 [nvidia]
 [<e0d14c4f>] _nv000809rm+0x2f/0x34 [nvidia]
 [<e0c7e750>] _nv003816rm+0xf0/0x104 [nvidia]
 [<e0c7f4c7>] _nv000013rm+0x77/0x84 [nvidia]
 [<e0c7ee6b>] _nv003780rm+0x1df/0x2c8 [nvidia]
 [<e0c7ec77>] _nv000012rm+0x43/0x58 [nvidia]
 [<e0c7ec34>] _nv000012rm+0x0/0x58 [nvidia]
 [<e0bc269c>] _nv001219rm+0xa8/0x124 [nvidia]
 [<e0d37768>] nv_kern_rc_timer+0x0/0x32 [nvidia]
 [<e0bd2eb6>] rm_run_rc_callback+0x36/0x4c [nvidia]
 [<e0d37779>] nv_kern_rc_timer+0x11/0x32 [nvidia]
 [<c0120cea>] run_timer_softirq+0xca/0x190
 [<c011d239>] __do_softirq+0x79/0x80
 [<c011d266>] do_softirq+0x26/0x30
 [<c0107aab>] do_IRQ+0xfb/0x130
 [<c0106048>] common_interrupt+0x18/0x20
 [<e0d38844>] nv_unlock_rm+0x2a/0x3d [nvidia]
 [<e0bcfd62>] _nv001223rm+0x12/0x18 [nvidia]
 [<e0bbdc18>] _nv000917rm+0x18c/0x1ac [nvidia]
 [<e0bbded8>] _nv000916rm+0x2a0/0x2d0 [nvidia]
 [<e0bd399f>] _nv000899rm+0x99f/0xf70 [nvidia]
 [<c014c85b>] bh_lru_install+0x9b/0xd0
 [<c014c8eb>] __find_get_block+0x5b/0xc0
 [<c01960c6>] search_by_key+0x636/0xdd0
 [<c0196910>] search_for_position_by_key+0xb0/0x3c0
 [<c01969ea>] search_for_position_by_key+0x18a/0x3c0
 [<c01824bb>] make_cpu_key+0x4b/0x60
 [<c01957c0>] pathrelse+0x20/0x30
 [<c0182bbf>] _get_block_create_0+0x63f/0x700
 [<c01840ec>] reiserfs_get_block+0x11cc/0x1240
 [<e0d2fddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<c026f2d8>] as_add_request+0x168/0x1c0
 [<c026fd29>] as_set_request+0x19/0x70
 [<c026fd10>] as_set_request+0x0/0x70
 [<c02680c5>] elv_set_request+0x15/0x20
 [<c0267ea8>] __elv_add_request+0x28/0x40
 [<e0c9aaf2>] _nv003621rm+0x1a/0x20 [nvidia]
 [<e0d313b8>] _nv000183rm+0x750/0x774 [nvidia]
 [<e0c9a34b>] _nv001532rm+0x1f/0x28 [nvidia]
 [<e0c9ab31>] _nv003619rm+0x19/0x20 [nvidia]
 [<e0bc440a>] _nv001344rm+0x22/0x6c [nvidia]
 [<e0bc440a>] _nv001344rm+0x22/0x6c [nvidia]
 [<e0c9a48b>] _nv001556rm+0x5b/0x6c [nvidia]
 [<e0c9a48b>] _nv001556rm+0x5b/0x6c [nvidia]
 [<e0bc4595>] _nv001338rm+0x1d/0x24 [nvidia]
 [<e0bc440a>] _nv001344rm+0x22/0x6c [nvidia]
 [<e0c9a48b>] _nv001556rm+0x5b/0x6c [nvidia]
 [<e0d2fddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<e0bc4595>] _nv001338rm+0x1d/0x24 [nvidia]
 [<e0d2fddf>] _nv000176rm+0x57/0x3ec [nvidia]
 [<c0115e1a>] recalc_task_prio+0x8a/0x1b0
 [<c03a672e>] schedule+0x32e/0x5a0
 [<c032373e>] __kfree_skb+0x6e/0xe0
 [<c0325069>] memcpy_toiovec+0x29/0x50
 [<c036e46a>] unix_stream_recvmsg+0x1fa/0x410
 [<c0320200>] sock_aio_read+0xb0/0xd0
 [<e0bd2bd1>] rm_ioctl+0x19/0x20 [nvidia]
 [<c0344641>] tcp_clean_rtx_queue+0x41/0x3a0
 [<e0d376bf>] nv_kern_ioctl+0x31e/0x361 [nvidia]
 [<c015ac70>] __pollwait+0x0/0xc0
 [<c015b31d>] sys_select+0x22d/0x480
 [<c0344641>] tcp_clean_rtx_queue+0x41/0x3a0
 [<c015a5a9>] sys_ioctl+0xe9/0x240
 [<c011ca8c>] sys_gettimeofday+0x2c/0x70
 [<c0105edb>] syscall_call+0x7/0xb
 [<c0344641>] tcp_clean_rtx_queue+0x41/0x3a0

atkbd.c: Keyboard on isa0060/serio0 reports too many keys pressed.
0: nvidia: trying to map 0xd7cf5000 to kernel space, but we're in an interrupt or holding a spinlock

Could it be tuxracer problem?
Comment 7 Andrew Bevitt 2004-05-22 20:10:37 UTC
This almost looks like a duplicate of bug #51524 .. but this one is reporting random GL display problems, not a general X not starting problem so im adding a depend and _hoping_ that when / if whatever is causing those errors is fixed the GL stuff will also work.

Priit no its definately not an exclusive tuxracer problem.
Comment 8 Andrew Bevitt 2004-06-02 16:23:55 UTC
bug 51524 mentions solving the problem by increasing the Wattage of ones PSU.

What is the current output level of your PSU? 
Comment 9 Priit Laes (IRC: plaes) 2004-06-10 09:42:51 UTC
Currently it's 300W. 
Comment 10 Andrew Bevitt 2004-06-12 00:07:34 UTC
@Priit : Yeah 300W is most likely going to cause problems, um if its at all possible try something 400W+, only if it is possible... Im looking for some fact sheets on the cards to see what sort of power consumption is really true but havent found much but conjecture just yet...
Comment 11 Andrew Bevitt 2004-07-01 00:53:55 UTC
Please try bug 55714
The new version of nvidia-kernel / nvidia-glx
Comment 12 Priit Laes (IRC: plaes) 2004-07-01 11:03:12 UTC
Running with the new nvidia drivers still gives this issue, but the kernel oops does not occur anymore.

Seems to be a problem with a buggy graphics card or a underpowered machine :(
Comment 13 Andrew Bevitt 2004-07-20 17:06:00 UTC
Marking as cantfix as really we can not do anything about it... 

Summarily 
1) Try a more powerful PSU 
2) Bug nvidia about it
3) Use the newest drivers cause they at least dont oops.