TVout on ATI Radeon 9200SE
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:1c2badca0212edf9fe93306d6f0c2a22' in /var/www/mythdora/html/includes/cache.inc on line 26.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: UPDATE cache_filter SET data = '<p>The basic xorg.conf in the MythDora install kinda worked for me to get tvout going, but not great.</p>\n<p>I had various issues along the way - inverted colour palettes, crappy overlay, menus unreadable, ...</p>\n<p>Anyway, I googled & tested my way to a functional xorg.conf and thought I\'d share to save others some of the trial and error.</p>\n<p>I can\'t guarantee all the lines in there are really needed, by the time I was done I had even more than what you see below. I cut out lots of stuff that was obviously not required and my x server still starts.</p>\n<p>Maybe it can be improved on, but I\'m happy with it as is! If you\'re not in North America remember to change the video standard to PAL or whatever your TV understands.</p>\n<p>I\'ll paste it below. Save the stuff between the lines as xorg.conf in your /etc/X11 directory. Remember to make a backup of your old one just in case this makes things worse for you.</p>\n<p>You can see if it works without rebooting, just press CTRL-ALT-BACKSPACE to restart the X server and wait for MythDora magic to log you back in to the mythtv user and Mythfrontend. If the x server doesn\'t restart, then you\'ll want to put back whatever you had before and start googling yourself!</p>\n<p>Once you\'ve got things working don\'t forget to make a backup copy in case you need to reinstall. ( I emailed it to myself on gmail, and now I\'m posting it to this forum!)</p>\n<p>Oh yes! If you read this forum on a windows machine and save your xorg.conf file on a windows machine first, don\'t forget to convert it to UNIX format after you copy it to your myth box. That\'s another mistake that can waste a fair amount of time! <br />\n<a href=\"http://linux.about.com/od/commands/l/blcmdl1_dos2uni.htm\">http://linux.about.com/od/commands/l/blcmdl1_dos2uni.htm</a></p>\n<p>Hope this helps someone!</p>\n<p>------</p>\n<p>Section \"Module\"<br />\nLoad \"dbe\" # Double buffer extension<br />\nSubSection \"extmod\"<br />\nOption \"omit xfree86-dga\" # don\'t initialise the DGA extension<br />\nEndSubSection<br />\nLoad \"type1\"<br />\nLoad \"freetype\"<br />\nLoad \"glx\" # libglx.a<br />\nLoad \"dri\" # libdri.a<br />\nEndSection</p>\n<p>Section \"ServerLayout\"<br />\n Identifier \"Default Layout\"<br />\n Screen 0 \"Screen0\" 0 0<br />\n InputDevice \"Keyboard0\" \"CoreKeyboard\"<br />\nEndSection</p>\n<p>Section \"InputDevice\"<br />\n Identifier \"Keyboard0\"<br />\n Driver \"kbd\"<br />\n Option \"XkbModel\" \"pc105\"<br />\n Option \"XkbLayout\" \"us\"<br />\nEndSection</p>\n<p># === ATI device section ===</p>\n<p>Section \"Device\"<br />\nIdentifier \"ATI Graphics Adapter\"<br />\nDriver \"fglrx\"<br />\nOption \"no_accel\" \"no\"<br />\nOption \"no_dri\" \"no\"<br />\nOption \"mtrr\" \"off\" # disable DRI mtrr mapper, driver has its own code for mtrr<br />\nOption \"DesktopSetup\" \"mirror\"<br />\nOption \"MonitorLayout\" \"AUTO, AUTO\"<br />\nOption \"ScreenOverlap\" \"0\"<br />\n# === TV-out Management ===<br />\nOption \"ForceMonitors\" \"crt1,tv\"<br />\nOption \"OverlayOnCRTC2\" \"1\"<br />\nOption \"NoTV\" \"no\"<br />\nOption \"TVStandard\" \"NTSC-M\"<br />\nOption \"VideoOverlay\" \"on\"<br />\nOption \"OpenGLOverlay\" \"off\"<br />\nOption \"UseFastTLS\" \"2\"<br />\nOption \"BlockSignalsOnLock\" \"on\"<br />\nOption \"UseInternalAGPGART\" \"yes\"<br />\nOption \"ForceGenericCPU\" \"no\"<br />\nScreen 0<br />\nEndSection</p>\n<p>Section \"Screen\"<br />\n Identifier \"Screen0\"<br />\n Device \"ATI Graphics Adapter\"<br />\n DefaultDepth 24<br />\n SubSection \"Display\"<br />\n Viewport 0 0<br />\n Depth 24<br />\n EndSubSection<br />\nEndSection</p>\n<p>Section \"ServerFlags\"<br />\nOption \"AIGLX\" \"off\"<br />\nEndSection</p>\n<p>Section \"Extensions\"<br />\nOption \"Composite\" \"False\"<br />\nEndSection</p>\n<p>Section \"dri\"<br />\n# Access to OpenGL ICD is allowed for all users:<br />\nMode 0666<br />\nEndSection</p>\n<p>------</p>\n', created = 1369027234, expire = 1369113634, headers = '', serialized = 0 WHERE cid = '1:1c2badca0212edf9fe93306d6f0c2a22' in /var/www/mythdora/html/includes/cache.inc on line 109.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:6a0d3715422cadddd398ddc2e3aaa8f8' in /var/www/mythdora/html/includes/cache.inc on line 26.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: UPDATE cache_filter SET data = '<p>Is this actually working for you? Your using the fglrx driver with accelerated video using TV-out. You should be hit by the ATI bug doing this. Since your using the 9200 series card, your stuck with using the 8.28-8 version driver. Are you in fact getting accelerated video? You can check simply by doing this at xterm</p>\n<p>$ fglrxinfo</p>\n<p>If you receive something like this</p>\n<p><strong>OpenGL vendor string: Mesa project: <a href=\"http://www.mesa3d.org\">www.mesa3d.org</a>.</strong> </p>\n<p>Then it\'s not working. But if it looks like this</p>\n<p><strong>OpenGL vendor string: ATI Technologies Inc. </strong></p>\n<p>Then it is working.</p>\n<p>\"Please ignore the man behind the curtain\"<br />\nDennis</p>\n', created = 1369027235, expire = 1369113635, headers = '', serialized = 0 WHERE cid = '1:6a0d3715422cadddd398ddc2e3aaa8f8' in /var/www/mythdora/html/includes/cache.inc on line 109.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:7ee834acd95a5efc693cacccaa73a62b' in /var/www/mythdora/html/includes/cache.inc on line 26.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: UPDATE cache_filter SET data = '<p>\"Please ignore the man behind the curtain\"<br />\nDennis</p>\n', created = 1369027235, expire = 1369113635, headers = '', serialized = 0 WHERE cid = '1:7ee834acd95a5efc693cacccaa73a62b' in /var/www/mythdora/html/includes/cache.inc on line 109.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:832207ad3d993f667670b577221d18c0' in /var/www/mythdora/html/includes/cache.inc on line 26.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: UPDATE cache_filter SET data = '<p>$ fglrxinfo<br />\ndisplay: :0.0 screen: 0<br />\nOpenGL vendor string: Mesa project: <a href=\"http://www.mesa3d.org\">www.mesa3d.org</a><br />\nOpenGL renderer string: Mesa GLX Indirect<br />\nOpenGL version string: 1.2 (1.5 Mesa 6.5.1)</p>\n<p>It looks like I\'m using the MESA stuff and not getting XV, but life is better anyway - menu overlays are crisp, GUI colours are right, and I\'m happy!</p>\n<p>With xorg.conf as above I get pretty much the same CPU utilization whether I tell it to use XVMC or not, which says you\'re right that I don\'t have XV.</p>\n<p>With \"Preferred MPEG2 decoder\" \"Standard XVMC\" - mythtfrontend 13-17%cpu<br />\nWith \"Preferred MPEG2 decoder\" \"Standard\" - mythfrontend 13-17%cpu</p>\n<p>I tried both transcoded Mpeg4 and LiveTV Mpeg2 direct from my PVR card and saw the CPU utilization for mythfrontend stay within those ranges.</p>\n<p>Before I started on this quest for a working xorg.conf, I was hitting 30-40% CPU. Now I no longer know what setting helped me get things back down to a reasonable 15%.</p>\n<p>But, it looks like I don\'t really need XV!</p>\n', created = 1369027235, expire = 1369113635, headers = '', serialized = 0 WHERE cid = '1:832207ad3d993f667670b577221d18c0' in /var/www/mythdora/html/includes/cache.inc on line 109.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:b833091339659a2ae85ea680457c3fae' in /var/www/mythdora/html/includes/cache.inc on line 26.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: UPDATE cache_filter SET data = '<p>\n<div class=\"quote-msg\">\n<div class=\"quote-author\">Quote:</div>\n<p>With \"Preferred MPEG2 decoder\" \"Standard XVMC\" - mythtfrontend 13-17%cpu</p></div>\n</p><p>ATI doesn\'t support XvMC so this setting won\'t do you any good anyway.</p>\n<p>\"Please ignore the man behind the curtain\"<br />\nDennis</p>\n', created = 1369027235, expire = 1369113635, headers = '', serialized = 0 WHERE cid = '1:b833091339659a2ae85ea680457c3fae' in /var/www/mythdora/html/includes/cache.inc on line 109.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:7ee834acd95a5efc693cacccaa73a62b' in /var/www/mythdora/html/includes/cache.inc on line 26.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: UPDATE cache_filter SET data = '<p>\"Please ignore the man behind the curtain\"<br />\nDennis</p>\n', created = 1369027235, expire = 1369113635, headers = '', serialized = 0 WHERE cid = '1:7ee834acd95a5efc693cacccaa73a62b' in /var/www/mythdora/html/includes/cache.inc on line 109.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:ac7e893ed2e5db62c3999dfe272f2c40' in /var/www/mythdora/html/includes/cache.inc on line 26.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: UPDATE cache_filter SET data = '<p>Still very odd though. You still should be getting hit with the ATI bug. Which is your picture should be very zoomed in like your looking at the top 2/3 of the picture. I use almost the same card and I\'m hit by it. I may use your xorg.conf just to see what it does anyway.</p>\n<p>\"Please ignore the man behind the curtain\"<br />\nDennis</p>\n', created = 1369027235, expire = 1369113635, headers = '', serialized = 0 WHERE cid = '1:ac7e893ed2e5db62c3999dfe272f2c40' in /var/www/mythdora/html/includes/cache.inc on line 109.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:7ee834acd95a5efc693cacccaa73a62b' in /var/www/mythdora/html/includes/cache.inc on line 26.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: UPDATE cache_filter SET data = '<p>\"Please ignore the man behind the curtain\"<br />\nDennis</p>\n', created = 1369027235, expire = 1369113635, headers = '', serialized = 0 WHERE cid = '1:7ee834acd95a5efc693cacccaa73a62b' in /var/www/mythdora/html/includes/cache.inc on line 109.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:6fdede6b2a82db881364efcff1629deb' in /var/www/mythdora/html/includes/cache.inc on line 26.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: UPDATE cache_filter SET data = '<p>Nope. It doesn\'t work for me. I\'m truly using accelerated video and my picture is still zoomed. Oh well, good try.</p>\n<p>\"Please ignore the man behind the curtain\"<br />\nDennis</p>\n', created = 1369027235, expire = 1369113635, headers = '', serialized = 0 WHERE cid = '1:6fdede6b2a82db881364efcff1629deb' in /var/www/mythdora/html/includes/cache.inc on line 109.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '1:7ee834acd95a5efc693cacccaa73a62b' in /var/www/mythdora/html/includes/cache.inc on line 26.
- user warning: Table './drupal_gding/cache_filter' is marked as crashed and should be repaired
query: UPDATE cache_filter SET data = '<p>\"Please ignore the man behind the curtain\"<br />\nDennis</p>\n', created = 1369027235, expire = 1369113635, headers = '', serialized = 0 WHERE cid = '1:7ee834acd95a5efc693cacccaa73a62b' in /var/www/mythdora/html/includes/cache.inc on line 109.
Submitted by acodring on June 15, 2007 - 6:29pm
The basic xorg.conf in the MythDora install kinda worked for me to get tvout going, but not great.
I had various issues along the way - inverted colour palettes, crappy overlay, menus unreadable, ...
Anyway, I googled & tested my way to a functional xorg.conf and thought I'd share to save others some of the trial and error.
I can't guarantee all the lines in there are really needed, by the time I was done I had even more than what you see below. I cut out lots of stuff that was obviously not required and my x server still starts.
Maybe it can be improved on, but I'm happy with it as is! If you're not in North America remember to change the video standard to PAL or whatever your TV understands.
I'll paste it below. Save the stuff between the lines as xorg.conf in your /etc/X11 directory. Remember to make a backup of your old one just in case this makes things worse for you.
You can see if it works without rebooting, just press CTRL-ALT-BACKSPACE to restart the X server and wait for MythDora magic to log you back in to the mythtv user and Mythfrontend. If the x server doesn't restart, then you'll want to put back whatever you had before and start googling yourself!
Once you've got things working don't forget to make a backup copy in case you need to reinstall. ( I emailed it to myself on gmail, and now I'm posting it to this forum!)
Oh yes! If you read this forum on a windows machine and save your xorg.conf file on a windows machine first, don't forget to convert it to UNIX format after you copy it to your myth box. That's another mistake that can waste a fair amount of time!
http://linux.about.com/od/commands/l/blcmdl1_dos2uni.htm
Hope this helps someone!
------
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
# === ATI device section ===
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
Option "no_accel" "no"
Option "no_dri" "no"
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
Option "DesktopSetup" "mirror"
Option "MonitorLayout" "AUTO, AUTO"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "ForceMonitors" "crt1,tv"
Option "OverlayOnCRTC2" "1"
Option "NoTV" "no"
Option "TVStandard" "NTSC-M"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "UseFastTLS" "2"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "yes"
Option "ForceGenericCPU" "no"
Screen 0
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
Section "Extensions"
Option "Composite" "False"
EndSection
Section "dri"
# Access to OpenGL ICD is allowed for all users:
Mode 0666
EndSection
------
|
Is this actually working for
Is this actually working for you? Your using the fglrx driver with accelerated video using TV-out. You should be hit by the ATI bug doing this. Since your using the 9200 series card, your stuck with using the 8.28-8 version driver. Are you in fact getting accelerated video? You can check simply by doing this at xterm
$ fglrxinfo
If you receive something like this
OpenGL vendor string: Mesa project: www.mesa3d.org.
Then it's not working. But if it looks like this
OpenGL vendor string: ATI Technologies Inc.
Then it is working.
"Please ignore the man behind the curtain"
Dennis
"Please ignore the man behind the curtain"
Dennis
MESA
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
It looks like I'm using the MESA stuff and not getting XV, but life is better anyway - menu overlays are crisp, GUI colours are right, and I'm happy!
With xorg.conf as above I get pretty much the same CPU utilization whether I tell it to use XVMC or not, which says you're right that I don't have XV.
With "Preferred MPEG2 decoder" "Standard XVMC" - mythtfrontend 13-17%cpu
With "Preferred MPEG2 decoder" "Standard" - mythfrontend 13-17%cpu
I tried both transcoded Mpeg4 and LiveTV Mpeg2 direct from my PVR card and saw the CPU utilization for mythfrontend stay within those ranges.
Before I started on this quest for a working xorg.conf, I was hitting 30-40% CPU. Now I no longer know what setting helped me get things back down to a reasonable 15%.
But, it looks like I don't really need XV!
Quote:With "Preferred MPEG2
With "Preferred MPEG2 decoder" "Standard XVMC" - mythtfrontend 13-17%cpu
ATI doesn't support XvMC so this setting won't do you any good anyway.
"Please ignore the man behind the curtain"
Dennis
"Please ignore the man behind the curtain"
Dennis
Still very odd though. You
Still very odd though. You still should be getting hit with the ATI bug. Which is your picture should be very zoomed in like your looking at the top 2/3 of the picture. I use almost the same card and I'm hit by it. I may use your xorg.conf just to see what it does anyway.
"Please ignore the man behind the curtain"
Dennis
"Please ignore the man behind the curtain"
Dennis
Nope. It doesn't work for
Nope. It doesn't work for me. I'm truly using accelerated video and my picture is still zoomed. Oh well, good try.
"Please ignore the man behind the curtain"
Dennis
"Please ignore the man behind the curtain"
Dennis