View Single Post
Old 04-03-09, 05:06 AM   #6
bluebenno
Registered User
 
Join Date: Mar 2009
Posts: 6
Default Re: VDPAU error "NNNN 60 5" and "NNNN 43 5"

Hi, Here are my findings. I have quite an adventure as guess what I was doing when the big blackout happened in Sydney - upgrading my BIOS! I'm very lucky I just lose my settings.


1) Does this problem reproduce on the latest drivers; please try both 180.41 and 185.13
Yes (both)

2) Please try upgrading your system BIOS (see motherboard/PC manufacturer)
Upgraded to latest - no change.

3) Please try upgrading your video BIOS (see motherboard/PC manufacturer for integrated GPUs, see video card manufacturer for plugin cards)
I haven't seen an upgrade for my card - it's a noname ebay special. 9400GT G86 core.

4) Does the problem happen 100% of the time. Does it only happen after hibernate/resume, or after cold power cycles and reboots too?
100% of the time

5) Are you running any OpenGL applications (or compositing managers) or any other applications that use video (Xv) or VDPAU? Can you try starting a bare X server (e.g. choose a cut-down X session from the X display manager, or quit X, log in via SSH, start X by running "sudo X", then run your VDPAU application from SSH too)

No. All testing done from vanilla session from ssh ( using vdpinfo ). Blackbox and TWM used as window managers.



6) Do you have any unusual PCI cards plugged in. Does the issue occur if you remove them?
Have TV card that has USB hub in it - I removed all cards still occurs.


7) Have you overclocked any of your CPU, RAM, or video card? Does the issue occur if you don't?
n/a don't overclock.


8) Anything else different/unusual about your setup?
It's a full size Aopen motherboard that tapes laptop cpu's, it has a T2700 in it.


9) Do you see any messages in your system log of the form "NVRM: Xid: ..."
No.


I do see this in syslog:

Apr 4 07:01:28 localhost kernel: NVRM: loading NVIDIA UNIX x86 Kernel Module 185.13 Thu Mar 12 17:57:13 PST 2009
Apr 4 07:03:54 localhost kernel: nvidia: module license 'NVIDIA' taints kernel.
Apr 4 07:03:54 localhost kernel: nvidia 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Apr 4 07:03:54 localhost kernel: NVRM: loading NVIDIA UNIX x86 Kernel Module 185.13 Thu Mar 12 17:57:13 PST 2009
Apr 4 07:06:15 localhost kernel: IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs

- there is some stuff about the shared IRQ on google.



Let me know if you want me to try anything - for sure I'm up for it :-)




Much thanks cheers Ben



edit................................

I've now tried the following drivers - none of them work!

180.06
180.08
180.11.02
180.11
180.16
180.18
180.25
180.27
180.29
180.44
185.13

Recall the error I'm getting is from 'vdpinfo' is:

Code:
 ./vdpinfo
display: :0.0   screen: 0
Error creating VDPAU device: 25


export VDPAU_TRACE=1
export VDPAU_NVIDIA_DEBUG=3

./vdpinfo
display: :0.0   screen: 0
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x9d95008, 0, -, -)
VDPAU nvidia: Error detected 1029 60  5
VDPAU nvidia: Backtrace:
01: /usr/lib/libvdpau_nvidia.so [0x34b33e]
02: /usr/lib/libvdpau_nvidia.so [0x34c1d9]
03: /usr/lib/libvdpau_nvidia.so [0x3b341b]
04: /usr/lib/libvdpau_nvidia.so [0x3959e8]
05: /usr/lib/libvdpau_nvidia.so [0x361f3b]
06: /usr/lib/libvdpau_nvidia.so(vdp_imp_device_create_x11+0x3d9) [0x34c8f9]
07: /usr/lib/libvdpau_trace.so(vdp_trace_device_create_x11+0x14c) [0x25ffec]
08: /usr/lib/libvdpau.so.1(vdp_device_create_x11+0xf3) [0x345773]
09: ./vdpinfo [0x804c448]
10: /lib/libc.so.6(__libc_start_main+0xe5) [0xd176e5]
11: ./vdpinfo [0x8048771]
VDPAU nvidia: Error detected 0 5425 
VDPAU nvidia: Backtrace:
01: /usr/lib/libvdpau_nvidia.so [0x34b33e]
02: /usr/lib/libvdpau_nvidia.so [0x34b409]
03: /usr/lib/libvdpau_nvidia.so(vdp_imp_device_create_x11+0x437) [0x34c957]
04: /usr/lib/libvdpau_trace.so(vdp_trace_device_create_x11+0x14c) [0x25ffec]
05: /usr/lib/libvdpau.so.1(vdp_device_create_x11+0xf3) [0x345773]
06: ./vdpinfo [0x804c448]
07: /lib/libc.so.6(__libc_start_main+0xe5) [0xd176e5]
08: ./vdpinfo [0x8048771]
    -> 25
Error creating VDPAU device: 25

Digging around that corresponds to "VDP_STATUS_RESOURCES The system does not have enough resources to complete the requested operation at this time. " stracing the program shows that it's hits th /proc/interupts and later on gets a bunch of Resource temporarily unavailable.

Code:
{ this is with driver 180.06 and kernel 2.6.29.1  } 



write(1, "Create an device \n"..., 18Create an device 
)  = 18
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=63879, ...}) = 0
mmap2(NULL, 63879, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb8020000
close(4)                                = 0
open("/usr/lib/libvdpau_nvidia.so", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 8\0\0004\0\0\0\354"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=926436, ...}) = 0
mmap2(NULL, 929280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7f3d000
mmap2(0xb7f99000, 552960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x5b) = 0xb7f99000
close(4)                                = 0
open("/usr/lib/libXext.so.6", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@f\361J4\0\0\0\254"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=62812, ...}) = 0
mmap2(0x4af14000, 64188, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x4af14000
mmap2(0x4af23000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xe) = 0x4af23000
close(4)                                = 0
open("/lib/libpthread.so.0", O_RDONLY)  = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\370\275J4\0\0\0004"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0755, st_size=135836, ...}) = 0
mmap2(0x4abdb000, 102880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x4abdb000
mmap2(0x4abf1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x15) = 0x4abf1000
mmap2(0x4abf3000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4abf3000
close(4)                                = 0
mprotect(0x4abf1000, 4096, PROT_READ)   = 0
mprotect(0xb7f3d000, 376832, PROT_READ|PROT_WRITE) = 0
mprotect(0xb7f3d000, 376832, PROT_READ|PROT_EXEC) = 0
set_tid_address(0xb8030718)             = 6282
set_robust_list(0xb8030720, 0xc)        = 0
futex(0xbf845240, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0x4abdf300, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x4abdf740, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="e", ...})     = 0
munmap(0xb8020000, 63879)               = 0
futex(0xb801f9e0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"b\0\4\0\6\0\0\0NV-GLX\0\0"..., 16}], 1) = 16
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "\1\0\7\0\0\0\0\0\1\220\0\0\0\0\0\0\20\0\0\0\10\0\0\0\320\v\302\10\0\0\0\0"..., 4096) = 32
read(3, 0x80d789c, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"\220\1\1\0"..., 4}], 1)    = 4
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "\1\263\10\0\0\0\0\0\0\0\0\0&\367C\0034\331\216\277\231\251\367\266\20\201\20\267\200\364\301\10"..., 4096) = 32
read(3, 0x80d789c, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
shmat(0, 0, 0)                          = 0xb7f1c000
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"\220\16\2\0\0\0\0\0"..., 8}], 1) = 8
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "\1.\t\0\344g\0\0\220\237\1\0\0\0\0\0j#\25\10\204\263!\0104\331\216\277\231\251\367\266\340"..., 4096) = 4096
brk(0x811a000)                          = 0x811a000
read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 102320) = 102320
read(3, 0x80d789c, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
brk(0x8100000)                          = 0x8100000
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"b\16\5\0\t\0\0\0Composite\0\0\0"..., 20}], 1) = 20
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "\1\0\n\0\0\0\0\0\1\233\0\0\0\0\0\0\24\0\0\0\10\0\0\0\320\v\302\10\0\0\0\0"..., 4096) = 32
read(3, 0x80d789c, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"\220\2\2\0\0\0\0\0"..., 8}], 1) = 8
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "\1\331\v\0\0\0\0\0\2\0\0\0\0\0!\10\0\0\0\0j#\25\10\204\263!\0104\331\216\277"..., 4096) = 32
read(3, 0x80d789c, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
geteuid32()                             = 502
geteuid32()                             = 502
open("/dev/nvidiactl", O_RDWR|O_LARGEFILE) = 4
ioctl(4, 0xc04846d2, 0xbf82b260)        = 0
ioctl(4, 0xc0e046c8, 0xb801fc00)        = 0
ioctl(4, 0xc00c4622, 0xbf82b3e0)        = 0
ioctl(4, 0xc020462a, 0xbf82b3d0)        = 0
geteuid32()                             = 502
open("/dev/nvidia0", O_RDWR|O_LARGEFILE) = 5
ioctl(4, 0xc048464d, 0xbf82b0d0)        = 0
open("/proc/interrupts", O_RDONLY|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8044000
read(6, "           CPU0       CPU1       "..., 1024) = 1024
read(6, "us interrupts\nERR:          0\nMIS"..., 1024) = 46
read(6, ""..., 1024)                    = 0
read(6, ""..., 1024)                    = 0
close(6)                                = 0

interrupts maybe? { or complete red-herring }


Code:
# cat /proc/interupts
16:        177     122740   IO-APIC-fasteoi   uhci_hcd:usb2, HDA Intel, nvidia
[ snip ]

# dmesg | grep -i irq | grep 16
pci 0000:00:01.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:03.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
pci 0000:00:1c.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:06:04.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
uhci_hcd 0000:06:04.0: irq 16, io base 0x00003800
nvidia 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
IRQ 16/nvidia: IRQF_DISABLED is not guaranteed on shared IRQs
Poor little 16


BTW kernel config is:
CONFIG_HZ_300=y
CONFIG_HZ=300


- so I think my problem is slightly different as no version of the driver works for me.

Cheers Ben



================================================== ==============================================
update:

Bought a 'new' card from ebay. A 256mb Nvidia-Sparkle - Geforce 8400GS-256MB - dropped it in and VDPAU works off the bat. I'm happy to blame my old card, which was an eBay China special ( 9400GT with G86 core ).

Just want to say thanks again (to everyone!) for the software and support.

Last edited by bluebenno; 04-20-09 at 07:27 PM. Reason: VDPAU works for 'new' card
bluebenno is offline   Reply With Quote