Author |
Message |
sparky.watson
|
Posted: Fri Jan 19, 2007 9:27 pm |
|
Joined: Mon Oct 23, 2006 1:11 pm
Posts: 74
Location:
San Antonio, Texas
|
In /home/mythtv/.xsession-errors I get the following error message over and over:
2007-01-17 14:33:28.672 NVP: Timed out waiting for free video buffers.
I searched over at Mythtv wiki and found this resolution:
Quote: Resolution
There are two ways to resolve the issue. You can either disable glx in xorg.conf and turn off the glx effects in mythfrontend or you can use the nv driver which reportedly plays nicer with glx. My solution was to turn off glx. Follow these steps to turn off glx:
1. Launch mythfrontend 2. In Setup, turn off all glx and OpenGL effects 3. Quit mythfrontend 4. Edit xorg.conf by commenting out or removing the glx driver 5. Restart your xserver 6. Launch mythfrontend
Note that if you are unable to launch mythfrontend or navigate the front end menus, you can use the command line to turn off glx:
mythfrontend -O ThemePainter=qt
My question is, where in setup would I turn off glx and OpenGL effects? I've looked but no luck. I have commented the line: Quote: Load "glx" # GLX Extension.
in /etc/X11/xorg.conf. I killed the xserver which restated (is their a "better" method to restart the xserver?) I've restarted mythfrontend with -O ThemePainter=qt but it just froze again with the same message in .xsession-errors.
I don't have this problem with recorded programs only like TV.
_________________ AMD 3000+ MSI K8MM-V 512MB PC3200, 2TB SATA HD, GeForce 256MB 6200, DVD-RW, Hauppauage WinTV-PVR 150 (flakey with terrible video?) & 250 -- R7.4 (rdt) --
Last edited by sparky.watson on Tue Jan 23, 2007 9:28 pm, edited 1 time in total.
|
|
Top |
|
 |
sparky.watson
|
Posted: Tue Jan 23, 2007 3:37 pm |
|
Joined: Mon Oct 23, 2006 1:11 pm
Posts: 74
Location:
San Antonio, Texas
|
I'm still looking for some help with
Quote: 2. In Setup, turn off all glx and OpenGL effects
and this topic in general.
I've done the other steps listed with the exception of having to start mythfrontend with "-O ThemePainter=qt" since I'm not sure about step 2 above. However, I still get lock ups when watching live tv. It seems to be recording fine and I can watch recorded shows without problems.
Any ideas?
_________________ AMD 3000+ MSI K8MM-V 512MB PC3200, 2TB SATA HD, GeForce 256MB 6200, DVD-RW, Hauppauage WinTV-PVR 150 (flakey with terrible video?) & 250 -- R7.4 (rdt) --
|
|
Top |
|
 |
sparky.watson
|
Posted: Tue Jan 23, 2007 6:21 pm |
|
Joined: Mon Oct 23, 2006 1:11 pm
Posts: 74
Location:
San Antonio, Texas
|
Well, for some reason it appears I was wrong. Now it is also dying after just a few minutes of watching a recording. The top command shows:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12164 root 35 0 112m 105m 20m R 50.6 21.0 0:16.28 Xorg
3180 mythtv 39 0 7176 3452 3344 R 49.3 0.7 5483:23 x-window-manage
After the first crash watching the recording, I killed Xorg (via ssh from another box) and started watching it again. I checked top and x-window-manage was in the 90+% range and Xorg was only at 2-3%. After a few minutes of watching the recording, it freezes again. Same message in .xsession-errors. This time I killed both Xorg and x-window-manage and was able to watch the final 20-30 minutes of my recording without freezing.
_________________ AMD 3000+ MSI K8MM-V 512MB PC3200, 2TB SATA HD, GeForce 256MB 6200, DVD-RW, Hauppauage WinTV-PVR 150 (flakey with terrible video?) & 250 -- R7.4 (rdt) --
|
|
Top |
|
 |
MetroMike
|
Posted: Sat Jan 27, 2007 2:47 pm |
|
Joined: Wed Jan 03, 2007 10:08 am
Posts: 16
Location:
Vancouver Canada
|
I've been getting a similar problem while using a brand new PVR500 which I just picked up - since the 500 is essentially two 150s on one card, I suspect it may be part of the ivtv drivers causing this. I'm confident it's not my card because I just RMA'd it, and the replacement has the exact same problem.
This is extra frustrating for me because it seems to occasionally corrupt my database, and all sorts of wonky things happen when I restart the machine: a few times, the backend would freeze-up when I went to change tuner options, and once I even had MythWeb change the layout completely (so line-ups were showing in tables, just one long column down the page).
In all cases the only fix I could find was to restore from a backup. Things will sometimes run smoothly after this until I power down the machine, then it happens all over again.
_________________ -Mike
* Currently using 5E50, started with 5A16
* Soltek 75FRN2 with Athlon 2500, 1GB RAM
* Hauppauge WinTV PCI
* pcHDTV 5500
|
|
Top |
|
 |
sparky.watson
|
Posted: Mon Jan 29, 2007 3:04 pm |
|
Joined: Mon Oct 23, 2006 1:11 pm
Posts: 74
Location:
San Antonio, Texas
|
Are you getting multiple
Quote: NVP: Timed out waiting for free video buffers.
errors in /home/mythtv/.xsession-errors?
I've had no problem with the database or anything else. I simply kill the Xorg process and in a short time I am back to the main MythTV menu.
I've only had this problem when watching live tv or watching a recording.
There must be someone who could offer some advice. Anyone? Help?
_________________ AMD 3000+ MSI K8MM-V 512MB PC3200, 2TB SATA HD, GeForce 256MB 6200, DVD-RW, Hauppauage WinTV-PVR 150 (flakey with terrible video?) & 250 -- R7.4 (rdt) --
|
|
Top |
|
 |
Martian
|
Posted: Mon Jan 29, 2007 4:18 pm |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
This sounds exactly like the problems I was having. xorg or the window-manager would jump to basically 100% CPU usage and the screen would freeze. Only a kill -9 over ssh would get me back. I even did a complete re-install only to have the same problems. Unfortunately my solution was to switch away from Knoppmyth but I'm hopeful that this issue will be resolved and I can come back!
Martian
_________________ ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote
Vizio 37" LCD HDTV (1080p)
Last edited by Martian on Sun Feb 04, 2007 11:41 pm, edited 1 time in total.
|
|
Top |
|
 |
sparky.watson
|
Posted: Wed Jan 31, 2007 11:05 am |
|
Joined: Mon Oct 23, 2006 1:11 pm
Posts: 74
Location:
San Antonio, Texas
|
Alright, this doesn't seem to be working so is there any one willing to help me understand how to go about doing this:
Quote: or you can use the nv driver which reportedly plays nicer with glx
_________________ AMD 3000+ MSI K8MM-V 512MB PC3200, 2TB SATA HD, GeForce 256MB 6200, DVD-RW, Hauppauage WinTV-PVR 150 (flakey with terrible video?) & 250 -- R7.4 (rdt) --
|
|
Top |
|
 |
MetroMike
|
Posted: Sun Feb 04, 2007 8:33 pm |
|
Joined: Wed Jan 03, 2007 10:08 am
Posts: 16
Location:
Vancouver Canada
|
I replaced my pvr500 after I originally encountered this problem. It was a brand new card and the problem was so strange and difficult to diagnose that I figured it was a hardware failure.
I've had the replacement card running fantastically for the last 2 weeks on the default install of knoppmyth.
Last night, I finally did an apt-get upgrade.
My system is once again hosed.
(oh, by the way, I am fairly confident my database corruption is from doing a hard-reset - I didn't have another computer up at the time to SSH in and shutdown properly)
I'm not sure what exactly is causing the CPU usage catastrophy, but I know from my month-long endeavors that a re-install won't fix it. Maybe one of the firmware updates are corrupted or incompatible with another package.
Anyways, consider this a bump.
Anyone figured out how to correct this? Or do I have to move away from Knoppmyth?
_________________ -Mike
* Currently using 5E50, started with 5A16
* Soltek 75FRN2 with Athlon 2500, 1GB RAM
* Hauppauge WinTV PCI
* pcHDTV 5500
|
|
Top |
|
 |
MetroMike
|
Posted: Mon Feb 05, 2007 2:21 am |
|
Joined: Wed Jan 03, 2007 10:08 am
Posts: 16
Location:
Vancouver Canada
|
Further Update:
I managed to get my machine working! I don't know if it will stay up or not, but I'll repost if it goes down again.
I was thinking again about the problems with Hauppauge cards and VIA chipsets. The motherboard I am using in this new box is a K8M800, and although I haven't determined if it contains any of the problem chipsets, it does fit some of the other criteria listed (namely, VIA chipset, non-Intel architecture)
When I first read the Hauppauge warning, several weeks ago, I was not sure it applied to me. I followed the instructions anyway. Looking in my BIOS I could only find 1 of the three settings they recommend changing:
Disable CPU to PCI write buffer Ensure latency timer settings are set to 12 or less Enable AGP Fastwrite
AGP Fastwrite was the setting I found. When enabling that didn't change anything, I assumed there was something else wrong.
Tonight I spent a good half-hour poking around in my BIOS, trying to find the other two settings. I didn't find them, but I did notice several other settings relating to my PCI bus were disabled. I enabled a few of them (something I'm not prone to do - I don't like messing with BIOS settings I am unfamiliar with).
Low and behold, the freeze ups are gone. I don't know if I'm staving off the innevitable but I'm going to stress test the machine to be sure. Previously once the machine starts freezing, it's never able to stay up for more than about 6 minutes without a freeze. I've had it up now for a couple hours without a single freeze.
Keeping my fingers crossed... if this doesn't work I'm gonna have to switch to MythDora (I hear this problem isn't affecting that build) or buy another MoBo
_________________ -Mike
* Currently using 5E50, started with 5A16
* Soltek 75FRN2 with Athlon 2500, 1GB RAM
* Hauppauge WinTV PCI
* pcHDTV 5500
|
|
Top |
|
 |
Martian
|
Posted: Tue Feb 06, 2007 10:55 am |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
Any chance you would be willing to share with us the exact BIOS setting you changed? It would be great if others could experiment with it as well.
Martian
_________________ ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote
Vizio 37" LCD HDTV (1080p)
|
|
Top |
|
 |
tjc
|
Posted: Tue Feb 06, 2007 9:30 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
MetroMike wrote: Last night, I finally did an apt-get upgrade.
This is almost never a good idea, KnoppMyth has got enough customized packages and dependencies that upgrading from the debian repositories is a great way to hose the system.
|
|
Top |
|
 |
MetroMike
|
Posted: Fri Feb 09, 2007 12:29 am |
|
Joined: Wed Jan 03, 2007 10:08 am
Posts: 16
Location:
Vancouver Canada
|
Yeah, learned that one the hard way. I'm an admin however... I like to keep everything updated.
I don't know if that's posted somewhere already or not - I'm having an unusualy hard time locating information when it comes to the forums, and knoppmyth in general.
Let me preface this by saying I DO NOT KNOW WHAT THESE SETTINGS ARE FOR. (if someone wants to enlighten me, I'm all eyes)
As a general rule, I don't like changing any bios settings without knowing what they do beforehand. I was desperate though, and they looked harmless enough.
This is a K8M800 based motherboard
Under advanced chipset features:
>AGP & P2P Bridge Control
>> Enabled AGP Master 1 WS Write
>> Enabled AGP Master 1 WS Read
> LDT & PCI Bus Control
>> Enabled PCI1 Master 0 WS Write
>> Enabled PCI2 Master 0 WS Write
Truth is, I went back in to my BIOS the next day to see if I could narrow down which setting was fixing the lockup. I've re-disabled all 4 of these settings, and still haven't gotten a lockup. Course, I re-installed and haven't run an apt-get upgrade.
Ok, so I don't know what the deal is with these BIOS settings. Maybe they helped the card flick an internal switch back, maybe it's just a placebo.
Now I've got another problem related to this pvr500, starting a new post regarding it.
-Mike
_________________ -Mike
* Currently using 5E50, started with 5A16
* Soltek 75FRN2 with Athlon 2500, 1GB RAM
* Hauppauge WinTV PCI
* pcHDTV 5500
|
|
Top |
|
 |
Daved
|
Posted: Fri Feb 09, 2007 8:50 am |
|
Joined: Thu Jan 11, 2007 1:37 pm
Posts: 42
|
Quote: Enabled AGP Master 1 WS Write Increases AGP writing Quote: Enabled AGP Master 1 WS Read Increases AGP reading I think by default these are disabled. Quote: Enabled PCI1 Master 0 WS Write Execute write requests to PCI immediately, no wait states Quote: Enabled PCI2 Master 0 WS Write
Same as above..
|
|
Top |
|
 |
Martian
|
Posted: Fri Feb 09, 2007 12:04 pm |
|
Joined: Wed Feb 08, 2006 6:13 pm
Posts: 480
Location:
IN
|
Basically all of those options increase AGP bus performance at the potential risk to stability. You will want to be sure your graphics card supports those options before you blindly enable them. Most cards GeForce 4 and later cards do support them although I don't really see much point in enabling them on a Myth system unless you also use it for gaming.
Martian
_________________ ABIT NF-M2 nView | Athlon 64 X2 3800+ | 2GB DDR2 800 | HDHomerun | GeForce 6150 (onboard) | WD 640 GB SATA HD | DVD-RW (sata) | StreamZap IR receiver with Logitech Harmony remote
Vizio 37" LCD HDTV (1080p)
|
|
Top |
|
 |