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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-23-10, 10:26 AM   #37
mattpier
Registered User
 
Join Date: May 2010
Posts: 5
Default Re: NVidia ION lockups in MythTV

I'm another w/the NT330i (foxconn) which is locking up hard. Only happens when using VDPAU. Happens with mplayer (less frequently) and mythtv (more often). When it locks up, the kernel sysrq key doesn't even respond. I'm not sure what else I can provide that has not already been, but I can try anything!

Fedora 12
2.6.32.12-115.fc12.x86_64 #1 SMP Fri Apr 30 19:46:25 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

(II) NVIDIA dlloader X Driver 195.36.24
....
(**) May 23 10:00:52 NVIDIA(0): Enabling RENDER acceleration
(II) May 23 10:00:53 NVIDIA(0): NVIDIA GPU ION (C79) at PCI:3:0:0 (GPU-0)
(--) May 23 10:00:53 NVIDIA(0): Memory: 524288 kBytes
(--) May 23 10:00:53 NVIDIA(0): VideoBIOS: 62.79.66.00.00
(--) May 23 10:00:53 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) May 23 10:00:53 NVIDIA(0): Connected display device(s) on ION at PCI:3:0:0:
(--) May 23 10:00:53 NVIDIA(0): SAMSUNG (CRT-0)
(--) May 23 10:00:53 NVIDIA(0): SAMSUNG (CRT-0): 300.0 MHz maximum pixel clock
(II) May 23 10:00:53 NVIDIA(0): Assigned Display Device: CRT-0
(II) May 23 10:00:53 NVIDIA(0): Validated modes:
(II) May 23 10:00:53 NVIDIA(0): "nvidia-auto-select+0+0"
(II) May 23 10:00:53 NVIDIA(0): Virtual screen size determined to be 1920 x 1080


thanks.

Last edited by mattpier; 05-23-10 at 10:31 AM. Reason: Added version details
mattpier is offline   Reply With Quote
Old 05-24-10, 03:36 PM   #38
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: NVidia ION lockups in MythTV

piotro, thanks for the scripts. I have a variant running right now with netconsole enabled, playing 15 seconds of a video and jumping into MythNews. I'll leave it running and see if I can repro the crash.
Stephen Warren is offline   Reply With Quote
Old 05-24-10, 04:47 PM   #39
Osho
Registered User
 
Join Date: May 2010
Posts: 4
Default Re: NVidia ION lockups in MythTV

Hi,

No lockups since last time but I was thinking...could these lockups be caused by how Linux sees the memory
that is shared between the IGP and the rest of the system?

I have definately allocated 512 Meg for the integrated 9400 in my BIOS,
but I see different amounts of memory allocated depending on how I look at it.


From lspci -v

03:00.0 VGA compatible controller: nVidia Corporation C79 [GeForce 9400] (rev b1)
Subsystem: nVidia Corporation Device cb79
Flags: bus master, fast devsel, latency 0, IRQ 20
Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
Memory at d0000000 (64-bit, prefetchable) [size=256M] <---- 256 MB?!
Memory at ee000000 (64-bit, prefetchable) [size=32M]
I/O ports at cf00 [size=128]
[virtual] Expansion ROM at e0000000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidia, nvidiafb



From Xorg.0.log

(--) PCI:*(0:3:0:0) 10de:086a:10de:cb79 nVidia Corporation C79 [GeForce 9400] rev 177
Mem @ 0xfb000000/16777216, 0xd0000000/268435456, 0xee000000/33554432,
-------------------------------- 256 MB? ---^
I/O @ 0x0000cf00/128, BIOS @ 0x????????/131072
.
.
.
(II) May 12 21:16:55 NVIDIA(0): NVIDIA GPU GeForce 9400 (C79) at PCI:3:0:0 (GPU-0)
(--) May 12 21:16:55 NVIDIA(0): Memory: 524288 kBytes



$ cat /proc/mtrr
reg00: base=0x100000000 ( 4096MB), size= 512MB, count=1: write-back
reg01: base=0x120000000 ( 4608MB), size= 256MB, count=1: write-back
reg02: base=0x000000000 ( 0MB), size= 2048MB, count=1: write-back
reg03: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
reg04: base=0x0c0000000 ( 3072MB), size= 256MB, count=1: write-back
reg05: base=0x0cff00000 ( 3327MB), size= 1MB, count=1: uncachable

$ dmesg|grep e820
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009e000 (usable)
[ 0.000000] BIOS-e820: 000000000009e000 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 0000000060000000 (usable)
[ 0.000000] BIOS-e820: 0000000060000000 - 0000000080000000 (reserved)
[ 0.000000] BIOS-e820: 0000000080000000 - 00000000cfee0000 (usable)
[ 0.000000] BIOS-e820: 00000000cfee0000 - 00000000cfee3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000cfee3000 - 00000000cfef0000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000cfef0000 - 00000000cff00000 (reserved)
[ 0.000000] BIOS-e820: 00000000f0000000 - 00000000f2000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
[ 0.000000] BIOS-e820: 0000000100000000 - 0000000130000000 (usable)
[ 0.000000] e820 update range: 0000000000000000 - 0000000000010000 (usable) ==> (reserved)
[ 0.000000] e820 update range: 00000000cff00000 - 0000000100000000 (usable) ==> (reserved)

Looks a bit strange with lspci reporting 256 MB, Xorg.log reporting both 512 MB and 256 MB allocated, or am I reading it wrong?

Regards
Magnus
Osho is offline   Reply With Quote
Old 05-25-10, 10:56 AM   #40
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: NVidia ION lockups in MythTV

lspci and the first Xorg.0.log excerpt report the size of something else, not video RAM size.

The second Xorg.0.log excerpt does report video RAM size (modulo the effects of Turbocache, so that still may not seem "correct" in all cases).

I don't know exactly what entity the MTRR or ACPI sizes refers to.

In short, none of those log entries appear to indicate any problem to me.
Stephen Warren is offline   Reply With Quote
Old 05-25-10, 10:27 PM   #41
mattpier
Registered User
 
Join Date: May 2010
Posts: 5
Default Re: NVidia ION lockups in MythTV

In a continuing effort to solve the NVIDIA ION hard locks (nt330i), I've updated to the nvidia beta drivers 256.25. Same hard lock up occur.

I can reproduce this 100% of the time by playing back a pre-recorded TV show (a CDB HD show) and hitting fast-forward a couple times.

I installed the mythtv debugging symbols, turned on VDPAU tracing and ran mythfrontend in gdb with "-v playback". Attached are 2 runs with all the stuff intermixed. I captured everything on another machine up to the point where the mythtv box hard locked. Maybe somebody can make heads or tails out of these logs.

Thanks.
Attached Files
File Type: bz2 run1.bz2 (20.1 KB, 91 views)
File Type: bz2 run2.bz2 (15.9 KB, 91 views)
mattpier is offline   Reply With Quote
Old 05-26-10, 10:27 AM   #42
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: NVidia ION lockups in MythTV

mattpier,

Thanks very much for helping investigate this. Unfortunately, VDPAU/MythTV traces aren't much of clue to the problem, since hard-hangs are kernel or hardware related.

Are you able to set up netconsole? That would help capture any kernel messages (panics, bug backtraces etc.) which might indicate the root-cause of this problem. See http://www.mjmwired.net/kernel/Docum...netconsole.txt for details.
Stephen Warren is offline   Reply With Quote
Old 05-26-10, 01:00 PM   #43
piotro
Registered User
 
Join Date: May 2007
Posts: 72
Default Re: NVidia ION lockups in MythTV

Quote:
Originally Posted by Stephen Warren View Post
piotro, thanks for the scripts. I have a variant running right now with netconsole enabled, playing 15 seconds of a video and jumping into MythNews. I'll leave it running and see if I can repro the crash.
Stephen,

FYI: Some time ago I launch series of 1000 cycles EnterMythNews->BrowseSomeNews->Exit.
All was fine.
In my case hang is always when myth is refreshing news.
At every launch of MythNews, myth checks how long in past last launch was. If period is greater than NewsUpdateFrequency (default 30 min) - RSS feeds are downloaded. If it is shorter - rss are taken from cache (files on local storage) and no network traffic is generated.
If You want to simulate MythNews with network traffic - I suggest access MythNews not shorter than NewsUpdateFrequency.

Good lack.
piotro is offline   Reply With Quote
Old 05-26-10, 06:33 PM   #44
mattpier
Registered User
 
Join Date: May 2010
Posts: 5
Default Re: NVidia ION lockups in MythTV

Quote:
Originally Posted by Stephen Warren View Post
mattpier,
Are you able to set up netconsole? That would help capture any kernel messages (panics, bug backtraces etc.) which might indicate the root-cause of this problem. See http://www.mjmwired.net/kernel/Docum...netconsole.txt for details.
I can set up netconsole. Will that output anything different than what's put to dmesg/syslog, as there is nothing in those that indicates anything. I just installed the debug-kernel, but it really didn't output anything new. Anybody know of a kernel param/other to increase logging?

Thanks.
mattpier is offline   Reply With Quote

Old 05-27-10, 11:40 AM   #45
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: NVidia ION lockups in MythTV

netconsole will show the same thing as dmesg. The problem with dmesg is that if the kernel crashes, the dmesg may not get written to disk, since the dmesg data gets sent to the disk cache which doesn't get flushed. With netconsole, the messages (or at least most of them) will hopefully make it to the network before the kernel completely gives up, and hence can be logged.

On Ubuntu karmic, I've had to run "dmesg -n 8" to increase verbosity for netconsole to be useful.
Stephen Warren is offline   Reply With Quote
Old 06-04-10, 08:51 AM   #46
piotro
Registered User
 
Join Date: May 2007
Posts: 72
Default Re: NVidia ION lockups in MythTV

Quote:
Originally Posted by Stephen Warren View Post
piotro, thanks for the scripts. I have a variant running right now with netconsole enabled, playing 15 seconds of a video and jumping into MythNews. I'll leave it running and see if I can repro the crash.
Stephen,

How it is going with crash repro ?

br
piotro is offline   Reply With Quote
Old 06-04-10, 03:35 PM   #47
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: NVidia ION lockups in MythTV

I've been running MythTV in a loop playing video and viewing MythNews for perhaps 10 days now. I have seen no system/GPU stability issues. Unfortunately, MythTV segfaults a lot and/or stops processing remote control sockets properly, so overnight tests rarely run more than an hour or two after I go home. Anyway, the tests have been running pretty much all day during the work week for that time, with no issue. Obviously, I'm not tripping over whatever condition is causing your problems. I don't think there's any point my continuing the current test I'm running. Sorry.
Stephen Warren is offline   Reply With Quote
Old 06-05-10, 05:02 AM   #48
piotro
Registered User
 
Join Date: May 2007
Posts: 72
Default Re: NVidia ION lockups in MythTV

Quote:
Originally Posted by Stephen Warren View Post
I've been running MythTV in a loop playing video and viewing MythNews for perhaps 10 days now. I have seen no system/GPU stability issues.
Hmm...
So I have few questions:

-did You setup tests with MythNews refreshing feeds (effectively = launching MythNews) with period longer than NewsUpdateFrequency (default is 30min).

-if above is true, what exactly system You are using (if it possible pls list ALL packages/versions).

Basically I'm stuck as Myth devs stated my MythNews hangs are hw/operating system related.
If You have stable MythNews with refreshing feeds, I will try modify my system to be as close as possible to Yours assuming Yours sw is reference as stability is concerned. Will see - maybe my issues are result of combination hw+nv.drv+sw
piotro 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


All times are GMT -5. The time now is 05:48 AM.


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