12.23 on OpenChrome (VIA EPIA) - the rough guide

  • 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:6a6108cf2e3c6a14c33ccbb4f54e9411' 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>Yeah ! Seems to work by initial testing. :-)</p>\n<p>Here we go:</p>\n<p>1. Install 12.23 (obviously don\'t pick any NVidia drivers)</p>\n<p>2. yum install driconf</p>\n<p>3. Run driconf from under System &gt; Preferences</p>\n<p>4. On the image quality tab set the extra texture surfaces to ON, save and exit.</p>\n<p>5. Drop in your old xorg.conf (mine from MD4) but change driver name from \"via\" to \"openchrome\" (my SD PAL xorg is attached)</p>\n<p>6. If you running an UniChrome chip, skip this step. If you are running a Unichrome PRO chip, then edit /etc/X11/XvMCCOnfig changing it to libchromeXvMCPro.so.1 then save and exit.</p>\n<p>7. Reboot the box (or restart X)</p>\n<p>8. Machine starts X but drops back to last resolution (640x480 for me). Change the display preferences inside X - you will see your resolution and refresh rate is now listed.</p>\n<p>9. Play content and test.</p>\n<p>I found that CPU on my EN15000G (1.5GHz C7) was less than 30% with SD content. Still stutters on HD input as it tries downscaling it on the fly. Those of you with Openchromes that can do mpeg2 above 1024*1024 should see HD working.</p>\n<p>Cheers and thanks to all the hard working MythDora team !</p>\n<p>Ian</p>\n', created = 1369201871, expire = 1369288271, headers = '', serialized = 0 WHERE cid = '1:6a6108cf2e3c6a14c33ccbb4f54e9411' 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:06bdada9faf553480747445a3ac7897c' 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>I followed your instructions for my new install on my EN1300/CN700 board. The only change I made to your xorg.conf was changing the reference to CN400 to CN700 (I\'m not sure if this is just cosmetic, but I did it anyway). In order to get the XvMC (pro on my board) working under myth, I had to change the myth playback settings in: Utilities/Setup-&gt;Setup-&gt;TV Settings-&gt;Playback, skip a couple of pages to 3/8 Playback Profiles. I then changed the default playback profile to have:</p>\n<p>if res &gt; 1280 720 -&gt; ffmpeg &amp; xvideo<br />\nif res &gt; 0 0 -&gt; XvMC VLD &amp; XvMC</p>\n<p>The only slight issue that I now have is that the screen using your xorg.conf seems rather stretched in height/squashed in width and I can\'t work out why...</p>\n<p>Thanks for an excellent tutorial.</p>\n', created = 1369201871, expire = 1369288271, headers = '', serialized = 0 WHERE cid = '1:06bdada9faf553480747445a3ac7897c' 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:91fe672e64c087e606830ec23662400f' 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>No Problem ! </p>\n<p>Yes, you need to change the playback profile (I simply created a new one called Via) and choose Via XvMC as the decoder. xvmc-blit and chromakey. deselect OSD fade.</p>\n<p>Use Bob as your deinterlacer and disable the live preview stuff - it is cute, but if the screen is left at the watch recordings it plays the recording endlessly in the little preview window.</p>\n<p>Use Fill for the popups. Disable transparent boxes. It is faster. Hunt around to find these !</p>\n<p>The reference to CN400 in the xorg is just a name. My board is CN700 too.</p>\n<p>Note that the CN700 only does hardware acceleration to 1024 * 1024 and only MPEG2.</p>\n<p>I am still toying with the rules, but if you want it to play non-mpeg2 standard definition videos then your rules won\'t let it. </p>\n<p>Check <a href=\"http://www.mythtv.org/wiki/Playback_profiles\">http://www.mythtv.org/wiki/Playback_profiles</a></p>\n<p>I would have Via XvMC first with say &lt;=1024 &lt;=720 then<br />\nffmpeg and xvideo &gt;0 &gt;0</p>\n<p>Your mpeg2 videos below 1024 will play via XvMC<br />\nYour non-mpeg2 will fall through to ffmpeg<br />\nYour higher res videos will fall through to ffmpeg.</p>\n<p>Mind you, even the 1.5GHz C7 chokes playing HD, so maybe this is a mute argument ! </p>\n<p>That just covers the internal player. If you use Xine for anything than you need to alter the command line called to something like \"xine -pfhq -V xxmc --no-splash -r 4:3 %s\" (the -V xxmc is the relevant bit). I am sure there is something else you need to set in Xine by starting it outside of Myth and setting it. Can\'t remember - but a search should find it.</p>\n<p>I am using the VGA out, and the xorg settings are to match my (widescreen) TV so it sees 576p input. </p>\n<p>If you post what TV standard, what aspect TV you have (4:3 or 16:9), and what aspect the picture is delivered in, I can suggest some settings.</p>\n<p>I have found a number of settings that are redundant or incorrect in the newer openchrome driver. I have updated my xorg to get rid of the errors/warning in the logs. Also I turned on UseEvents (but I am not sure if it makes a difference). Updated at the first post !<br />\nIan</p>\n', created = 1369201871, expire = 1369288271, headers = '', serialized = 0 WHERE cid = '1:91fe672e64c087e606830ec23662400f' in /var/www/mythdora/html/includes/cache.inc on line 109.

Yeah ! Seems to work by initial testing. :-)

Here we go:

1. Install 12.23 (obviously don't pick any NVidia drivers)

2. yum install driconf

3. Run driconf from under System > Preferences

4. On the image quality tab set the extra texture surfaces to ON, save and exit.

5. Drop in your old xorg.conf (mine from MD4) but change driver name from "via" to "openchrome" (my SD PAL xorg is attached)

6. If you running an UniChrome chip, skip this step. If you are running a Unichrome PRO chip, then edit /etc/X11/XvMCCOnfig changing it to libchromeXvMCPro.so.1 then save and exit.

7. Reboot the box (or restart X)

8. Machine starts X but drops back to last resolution (640x480 for me). Change the display preferences inside X - you will see your resolution and refresh rate is now listed.

9. Play content and test.

I found that CPU on my EN15000G (1.5GHz C7) was less than 30% with SD content. Still stutters on HD input as it tries downscaling it on the fly. Those of you with Openchromes that can do mpeg2 above 1024*1024 should see HD working.

Cheers and thanks to all the hard working MythDora team !

Ian

AttachmentSize
xorg.conf_.txt4.76 KB

Excellent...

I followed your instructions for my new install on my EN1300/CN700 board. The only change I made to your xorg.conf was changing the reference to CN400 to CN700 (I'm not sure if this is just cosmetic, but I did it anyway). In order to get the XvMC (pro on my board) working under myth, I had to change the myth playback settings in: Utilities/Setup->Setup->TV Settings->Playback, skip a couple of pages to 3/8 Playback Profiles. I then changed the default playback profile to have:

if res > 1280 720 -> ffmpeg & xvideo
if res > 0 0 -> XvMC VLD & XvMC

The only slight issue that I now have is that the screen using your xorg.conf seems rather stretched in height/squashed in width and I can't work out why...

Thanks for an excellent tutorial.

No Problem ! Yes, you need

No Problem !

Yes, you need to change the playback profile (I simply created a new one called Via) and choose Via XvMC as the decoder. xvmc-blit and chromakey. deselect OSD fade.

Use Bob as your deinterlacer and disable the live preview stuff - it is cute, but if the screen is left at the watch recordings it plays the recording endlessly in the little preview window.

Use Fill for the popups. Disable transparent boxes. It is faster. Hunt around to find these !

The reference to CN400 in the xorg is just a name. My board is CN700 too.

Note that the CN700 only does hardware acceleration to 1024 * 1024 and only MPEG2.

I am still toying with the rules, but if you want it to play non-mpeg2 standard definition videos then your rules won't let it.

Check http://www.mythtv.org/wiki/Playback_profiles

I would have Via XvMC first with say <=1024 <=720 then
ffmpeg and xvideo >0 >0

Your mpeg2 videos below 1024 will play via XvMC
Your non-mpeg2 will fall through to ffmpeg
Your higher res videos will fall through to ffmpeg.

Mind you, even the 1.5GHz C7 chokes playing HD, so maybe this is a mute argument !

That just covers the internal player. If you use Xine for anything than you need to alter the command line called to something like "xine -pfhq -V xxmc --no-splash -r 4:3 %s" (the -V xxmc is the relevant bit). I am sure there is something else you need to set in Xine by starting it outside of Myth and setting it. Can't remember - but a search should find it.

I am using the VGA out, and the xorg settings are to match my (widescreen) TV so it sees 576p input.

If you post what TV standard, what aspect TV you have (4:3 or 16:9), and what aspect the picture is delivered in, I can suggest some settings.

I have found a number of settings that are redundant or incorrect in the newer openchrome driver. I have updated my xorg to get rid of the errors/warning in the logs. Also I turned on UseEvents (but I am not sure if it makes a difference). Updated at the first post !
Ian