Kirjoittaja Aihe: Mythbuntu 9.10 ja vdpau  (Luettu 3522 kertaa)

Asmo Koskinen

  • Käyttäjä
  • Viestejä: 4443
    • Profiili
Mythbuntu 9.10 ja vdpau
« : 19.10.09 - klo:11.27 »

Minulla on frontend-koneena Intel/ION. Siinä on Mythbuntu 9.10, joka tukee 'vdpau'-ominaisuutta; Full HD-näyttö ei rasita prosessoreja. Kuvakaappaus ohessa. Frontend-kone on myös tavanomainen pöytäkone, sihen sen tehot riittävät hyvin.

Mythbuntu 9.10 käyttää mythtv-versiota 0.22.

"VDPAU Video renderer and decoder for hardware accelerated playback of H.264, MPEG-1/2, WMV, and VC-1"

http://packages.ubuntu.com/karmic/mythtv
http://www.mythtv.org/wiki/Release_Notes_-_0.22

Koodia: [Valitse]
[    0.002653] Performance Counters: Atom events, Intel PMU driver.
[    0.078318] CPU0: Intel(R) Atom(TM) CPU  330   @ 1.60GHz stepping 02
[    0.166263] CPU1: Intel(R) Atom(TM) CPU  330   @ 1.60GHz stepping 02
[    0.263115] CPU2: Intel(R) Atom(TM) CPU  330   @ 1.60GHz stepping 02
[    0.358208] CPU3: Intel(R) Atom(TM) CPU  330   @ 1.60GHz stepping 02

Koodia: [Valitse]
00:00.0 Host bridge: nVidia Corporation MCP79 Host Bridge (rev b1)
00:00.1 RAM memory: nVidia Corporation MCP79 Memory Controller (rev b1)
00:03.0 ISA bridge: nVidia Corporation MCP79 LPC Bridge (rev b2)
00:03.1 RAM memory: nVidia Corporation MCP79 Memory Controller (rev b1)
00:03.2 SMBus: nVidia Corporation MCP79 SMBus (rev b1)
00:03.3 RAM memory: nVidia Corporation MCP79 Memory Controller (rev b1)
00:03.5 Co-processor: nVidia Corporation MCP79 Co-processor (rev b1)
00:04.0 USB Controller: nVidia Corporation MCP79 OHCI USB 1.1 Controller (rev b1)
00:04.1 USB Controller: nVidia Corporation MCP79 EHCI USB 2.0 Controller (rev b1)
00:06.0 USB Controller: nVidia Corporation MCP79 OHCI USB 1.1 Controller (rev b1)
00:06.1 USB Controller: nVidia Corporation MCP79 EHCI USB 2.0 Controller (rev b1)
00:08.0 Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1)
00:09.0 PCI bridge: nVidia Corporation MCP79 PCI Bridge (rev b1)
00:0a.0 Ethernet controller: nVidia Corporation MCP79 Ethernet (rev b1)
00:0b.0 IDE interface: nVidia Corporation MCP79 SATA Controller (rev b1)
00:0c.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
00:10.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
00:15.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
00:16.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
00:17.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
00:18.0 PCI bridge: nVidia Corporation MCP79 PCI Express Bridge (rev b1)
03:00.0 VGA compatible controller: nVidia Corporation ION VGA (rev b1)

Backend-kone on Intel/Intel; siinä ei ole näyttöä kiinni. Digi-kortti on PCI-väylässä.

Koodia: [Valitse]
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
04:00.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)

Hyvin tuo yhdistelmä tuntuu toimivan. Jahka Mythbuntu Alternate RC tulee ulos, niin yritän tehdä ohjeen asennuksesta ja käytöstä Wikiin.

Ystävällisin terveisin Asmo Koskinen.

[ylläpito on poistanut liitteen]

tuke81

  • Käyttäjä
  • Viestejä: 1667
    • Profiili
Vs: Mythbuntu 9.10 ja vdpau
« Vastaus #1 : 19.10.09 - klo:16.11 »
Kuulostaa ihan hienolta projektilta, missäs ion boksissa on dualcore atomi? Varmaankin vie enempi prossua pelkkä digi-tv mpeggi kuin mitkään hd-pätkät, ne kun menee pelkän prossun voimalla.

Mites OSD:t ja ylen tekstit tuolla yhdistelmällä toimii? Lukenut jostain että ainakin VA-APIlla oli vielä ongelmia ylentekstejen kanssa(vai koskikos se nyt mplayeriä ja VA-APIa...).
Miksi tehdä jotain helposti, kun sen voi tehdä vaikeastikin...

nm

  • Käyttäjä
  • Viestejä: 16250
    • Profiili
Vs: Mythbuntu 9.10 ja vdpau
« Vastaus #2 : 19.10.09 - klo:16.21 »
Kuulostaa ihan hienolta projektilta, missäs ion boksissa on dualcore atomi?

Esimerkiksi Asus Eee Box EB1012, EB1501 ja Asrock ION330.

Lainaus
Varmaankin vie enempi prossua pelkkä digi-tv mpeggi kuin mitkään hd-pätkät, ne kun menee pelkän prossun voimalla.

En tiedä MythTV:n toteutuksesta, mutta kyllä VDPAU purkaa MPEG-2-videota ihan hyvin, resoluutiosta riippumatta. Tosin huonolla signaalilla libavcodec on parempi (ei kaada katseluohjelmaa niin herkästi ja kuvassa näkyy vähemmän virheitä).
« Viimeksi muokattu: 19.10.09 - klo:16.23 kirjoittanut nm »

Asmo Koskinen

  • Käyttäjä
  • Viestejä: 4443
    • Profiili
Vs: Mythbuntu 9.10 ja vdpau
« Vastaus #3 : 22.10.09 - klo:20.38 »
Jahka Mythbuntu Alternate RC tulee ulos, niin yritän tehdä ohjeen asennuksesta ja käytöstä Wikiin.

http://www.mythbuntu.org/9.10/rc

Ystävällisin terveisin Asmo Koskinen.

Asmo Koskinen

  • Käyttäjä
  • Viestejä: 4443
    • Profiili
Vs: Mythbuntu 9.10 ja vdpau
« Vastaus #4 : 23.10.09 - klo:17.36 »
Voin katsoa TV:tä Frontend koneelta, joten perusasetukset ovat kunnossa. Mutta EIT on tyhjä...
There's no guide data available! Have you run mythfilldatabase?

Eikö kukaan? Käytössä on päivittäispaketit (Stable .22):

http://www.mythbuntu.org/auto-builds

Ystävällisin terveisin Asmo Koskinen.
« Viimeksi muokattu: 25.10.09 - klo:20.26 kirjoittanut Asmo Koskinen »

Asmo Koskinen

  • Käyttäjä
  • Viestejä: 4443
    • Profiili
Vs: Mythbuntu 9.10 ja vdpau
« Vastaus #5 : 07.11.09 - klo:11.11 »
Voin katsoa TV:tä Frontend koneelta, joten perusasetukset ovat kunnossa. Mutta EIT on tyhjä...
There's no guide data available! Have you run mythfilldatabase?
Eikö kukaan? Käytössä on päivittäispaketit (Stable .22):
http://www.mythbuntu.org/auto-builds

Kaikki muu toimii, mutta EIT ei vaan täyty kanavatiedoista. Voin kyllä tallentaa valitsemalla kanavan, päivän ja ajan. Vähän kökköä, kun ehti jo tottua EITin näppäryytteen.

Kaikki muu toimii koneesta toiseen, tässä ei-frontend-kone, pöytäkone - Mythweb/VLC:

http://www.arkki.info/howto/Ubuntu_Studio_Testing/MythTV_Mythweb.png



Kukaan muu ei siis käytä Ubuntu 8.10/MythTV 0.22 - kaapelilla?

Käytän tällaista channels.conf-tiedostoa, jolla vien tiedot kaapelista mythtv-setup-ohjelmalle.

sudo scan /usr/share/dvb/dvb-c/fi-vaasa-oncable > channels.conf

Koodia: [Valitse]
mythbuntu@mythtv-backend:~$ cat channels.conf
MTV 3:338000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:305:561:49
Sub:338000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:353:609:97
Nelonen:338000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:512:650:65
JIM:338000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:516:690:225
Urheilukanava:338000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:417:673:145
The Voice TV/TV Viisi:338000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:513:660:161
YLE FST5:402000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:514:670:81
YLE Teema:402000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:516:690:113
YLE TV1 :402000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:512:650:17
YLE TV2 :402000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:513:660:33
mythbuntu@mythtv-backend:~$

Olen yrittänyt tämän virheilmoituksen (?) perusteella googlata, mutta ei vain tule vastaan mitään käyttökelpoista.

Source 1 configured to use only the broadcasted guide data. Skipping.

Koodia: [Valitse]
mythbuntu@mythtv-backend:~$ sudo mythfilldatabase --update
[sudo] password for mythbuntu:
2009-11-07 11:10:12.817 Using runtime prefix = /usr
2009-11-07 11:10:12.817 Using configuration directory = /home/mythbuntu/.mythtv
2009-11-07 11:10:12.818 Empty LocalHostName.
2009-11-07 11:10:12.818 Using localhost value of mythtv-backend
2009-11-07 11:10:12.835 New DB connection, total: 1
2009-11-07 11:10:12.843 Connected to database 'mythconverg' at host: localhost
2009-11-07 11:10:12.843 Closing DB connection named 'DBManager0'
2009-11-07 11:10:12.844 Connected to database 'mythconverg' at host: localhost
2009-11-07 11:10:12.849 Current MythTV Schema Version (DBSchemaVer): 1244
2009-11-07 11:10:12.855 New DB connection, total: 2
2009-11-07 11:10:12.856 Connected to database 'mythconverg' at host: localhost
2009-11-07 11:10:12.858 Source 1 configured to use only the broadcasted guide data. Skipping.
2009-11-07 11:10:12.863 Data fetching complete.
2009-11-07 11:10:12.863 Adjusting program database end times.
2009-11-07 11:10:12.864     0 replacements made
2009-11-07 11:10:12.864 Marking generic episodes.
2009-11-07 11:10:12.865     Found 0
2009-11-07 11:10:12.865 Fudging non-unique programids with multiple parts.
2009-11-07 11:10:12.866     Found -1
2009-11-07 11:10:12.867 Marking repeats.
2009-11-07 11:10:12.870     Found 0
2009-11-07 11:10:12.870 Unmarking new episode rebroadcast repeats.
2009-11-07 11:10:12.871     Found 0
2009-11-07 11:10:12.872 Marking episode first showings.
2009-11-07 11:10:12.873     Found 0
2009-11-07 11:10:12.873 Marking episode last showings.
2009-11-07 11:10:12.875     Found 0
2009-11-07 11:10:12.880
===============================================================
| Attempting to contact the master backend for rescheduling.  |
| If the master is not running, rescheduling will happen when |
| the master backend is restarted.                            |
===============================================================
2009-11-07 11:10:12.893 MythContext: Connecting to backend server: 192.168.1.103:6543 (try 1 of 1)
2009-11-07 11:10:12.895 Using protocol version 50
2009-11-07 11:10:13.143 Received a remote 'Clear Cache' request
2009-11-07 11:10:13.145 mythfilldatabase run complete.
2009-11-07 11:10:13.145 DataDirect: Deleting temporary files
mythbuntu@mythtv-backend:~$

Ystävällisin terveisin Asmo Koskinen.
« Viimeksi muokattu: 07.11.09 - klo:11.16 kirjoittanut Asmo Koskinen »

nm

  • Käyttäjä
  • Viestejä: 16250
    • Profiili
Vs: Mythbuntu 9.10 ja vdpau
« Vastaus #6 : 07.11.09 - klo:12.07 »
Olen yrittänyt tämän virheilmoituksen (?) perusteella googlata, mutta ei vain tule vastaan mitään käyttökelpoista.

Source 1 configured to use only the broadcasted guide data. Skipping.

En käytä MythTV:tä, mutta eikö mythfilldatabase-työkalua tarvita vain silloin kun ohjelmaopas haetaan netistä? DVB:n EIT/EPG:tä käytettäessä backend päivittää tiedot itse.


Lainaus
Käytän tällaista channels.conf-tiedostoa, jolla vien tiedot kaapelista mythtv-setup-ohjelmalle.

sudo scan /usr/share/dvb/dvb-c/fi-vaasa-oncable > channels.conf

Ongelmasi taitaa johtua näistä erillisellä työkalulla skannatuista kanavatiedoista. Katso: http://www.mythtvtalk.com/forum/installation-issues/4905-missing-dvb-epg-oulu-finland.html#post19483

Asmo Koskinen

  • Käyttäjä
  • Viestejä: 4443
    • Profiili
Vs: Mythbuntu 9.10 ja vdpau
« Vastaus #7 : 07.11.09 - klo:12.22 »
Ongelmasi taitaa johtua näistä erillisellä työkalulla skannatuista kanavatiedoista. Katso: http://www.mythtvtalk.com/forum/installation-issues/4905-missing-dvb-epg-oulu-finland.html#post19483

Poistin kanavat, ajoin mythtv-setupin läpi - no luck.

"Last mythfilldatabase run started on 2009-11-07 12:18 and ended on 2009-11-07 12:18. Successful.
There's no guide data available! Have you run mythfilldatabase?"

Tuo siis muutama minuutti sitten...

Mitään virheilmoituksia ei tule; Live TV toimii, mutta kanavatiedot eivät vain toimi. Pitänee palata Ubuntu 9.04:ään.

Ystävällisin terveisin Asmo Koskinen.

Asmo Koskinen

  • Käyttäjä
  • Viestejä: 4443
    • Profiili
Vs: Mythbuntu 9.10 ja vdpau
« Vastaus #8 : 07.11.09 - klo:17.31 »
Poistin kanavat, ajoin mythtv-setupin läpi - no luck.

"Last mythfilldatabase run started on 2009-11-07 12:18 and ended on 2009-11-07 12:18. Successful.
There's no guide data available! Have you run mythfilldatabase?"

Pitänee palata Ubuntu 9.04:ään.

Aika ilkeää - Ubuntu 9.04:n omat mythtv-paketit toimivat (!?).

"Last mythfilldatabase run started on 2009-11-07 17:17 and ended on 2009-11-07 17:17. Successful.
There's guide data until 2009-11-14 15:15 (7 days)."

Tein aivan samoin kuin ennenkin - ajoin kanavat channels.conf tiedostosta mythtv-setup-ohjelman läpi mysql-tietokantaan. En siis käyttänyt mitään mythv:n omia scannereita.

Tein asennukset käyttäen ensin Server-levyä, siitä vain ssh-palvelin. Ja sitten minimaalisen Server-asennuksen päälle paketti 'mythtv-backend-master'. Backend-koneella ei tarvita työpöytää tai muuta graafisuutta. Mahdolliset säädöt tehdään toiselta koneelta 'ssh -X'-putkella, jossa ajetaan 'sudo mythtv-setup'.

Nyt vielä pitää asentaa frontend-koneelle uusiksi sama Ubuntu 9.04/mythfrontend-versio kuin on käytössä backend-koneella.

Voi olla, että VDPAU:n kanssa tulee ongelmia, mutta se on sitten sen ajan murhe. Tärkeämpää on saada DVR-puoli kuntoon Live TV:n rinnalle.

Ohessa vielä ruutukaappaus täyteen ahdetuista kanavista.

Ystävällisin terveisin Asmo Koskinen. 

[ylläpito on poistanut liitteen]

Asmo Koskinen

  • Käyttäjä
  • Viestejä: 4443
    • Profiili
Vs: Mythbuntu 9.10 ja vdpau
« Vastaus #9 : 07.11.09 - klo:19.13 »
Aika ilkeää - Ubuntu 9.04:n omat mythtv-paketit toimivat (!?).

Nyt vielä pitää asentaa frontend-koneelle uusiksi sama Ubuntu 9.04/mythfrontend-versio kuin on käytössä backend-koneella.

Voi olla, että VDPAU:n kanssa tulee ongelmia, mutta se on sitten sen ajan murhe. Tärkeämpää on saada DVR-puoli kuntoon Live TV:n rinnalle.

Jos uskallan, niin voisin koettaa näitä myöhemmin frontend-koneella. Backend-koneeseen en koske ennen ensi kesää (Ubuntu 10.04 LTS).

"If you're after stability, currently 0.21-fixes with my VDPAU backport is more stable/usable than trunk.

Jean-Yves"

http://ubuntuforums.org/showthread.php?t=1270348

http://www.mythtv.org/wiki/VDPAU#MythTV_0.21-fixes_and_Ubuntu_repository

Ystävällisin terveisin Asmo Koskinen.

Asmo Koskinen

  • Käyttäjä
  • Viestejä: 4443
    • Profiili
Vs: Mythbuntu 9.10 ja vdpau
« Vastaus #10 : 07.11.09 - klo:20.01 »
Nyt vielä pitää asentaa frontend-koneelle uusiksi sama Ubuntu 9.04/mythfrontend-versio kuin on käytössä backend-koneella.

Huh, nyt on taas kaikki kunnossa - Karmic oli tässä tapauksessa hätiköity harha-askel.

Ohessa vielä yksi ruutukaappaus frontend-koneesta. Ruutukaappaus on otettu scrot-ohjelmalla. Tuolla saisin otettua kaikista säädöistäkin kuvat, kunhan saan aikaiseksi aloittaa ohjeen teon.

Ystävällisin terveisin Asmo Koskinen.

[ylläpito on poistanut liitteen]

Asmo Koskinen

  • Käyttäjä
  • Viestejä: 4443
    • Profiili
Vs: Mythbuntu 9.10 ja vdpau
« Vastaus #11 : 07.11.09 - klo:20.30 »
Jos uskallan, niin voisin koettaa näitä myöhemmin frontend-koneella. Backend-koneeseen en koske ennen ensi kesää (Ubuntu 10.04 LTS).

No jaa - hyvin nuo asentuivat.

Koodia: [Valitse]
mythbuntu@mythtv-frontend:~$ dpkg --list | grep mythtv
ii  mythtv-common                              2:0.21.0+fixes-22228-openglvdpau2-0ubuntu0 A personal video recorder application (commo
ii  mythtv-frontend                            2:0.21.0+fixes-22228-openglvdpau2-0ubuntu0 A personal video recorder application (clien
ii  mythtv-theme-blootube                      1:0.21.0-0ubuntu1                          The Blootube MythTV theme
ii  mythtv-theme-blootube-osd                  1:0.21.0-0ubuntu2                          The Blootube MythTV OSD
ii  mythtv-theme-blootube-wide                 1:0.21.0-0ubuntu1                          The Blootube MythTV theme (widescreen)
ii  mythtv-theme-blootubelite-wide             1:0.21.0-0ubuntu1                          The Blootube Lite MythTV theme (widescreen)
ii  mythtv-theme-glass-wide                    0.20080908-0ubuntu2                        The Glass MythTV theme (widescreen)
ii  mythtv-theme-gray-osd                      0.21.0-0ubuntu2                            The Gray-OSD MythTV Theme
ii  mythtv-theme-isthmus                       0.21.0-0ubuntu2                            The Isthmus MythTV Theme
ii  mythtv-theme-iulius                        0.21.0-0ubuntu2                            The Iulius MythTV Theme
ii  mythtv-theme-iulius-osd                    0.21.0-0ubuntu2                            The Iulius-OSD MythTV Theme
ii  mythtv-theme-minimalist-wide               0.21.0-0ubuntu2                            The Minimalist Wide MythTV Theme
ii  mythtv-theme-mythbuntu                     0.20080421                                 default MythTV theme used in Mythbuntu
ii  mythtv-theme-mythcenter                    0.21.0-0ubuntu2                            The MythCenter MythTV Theme
ii  mythtv-theme-mythcenter-wide               0.21.0-0ubuntu2                            The MythCenter Wide MythTV Theme
ii  mythtv-theme-neon-wide                     1:0.21.0-0ubuntu4                          The Neon MythTV theme (widescreen)
ii  mythtv-theme-projectgrayhem                1:0.21.0-0ubuntu1                          The Project Grayhem MythTV theme
ii  mythtv-theme-projectgrayhem-osd            1:0.21.0-0ubuntu2                          The Project Grayhem MythTV OSD
ii  mythtv-theme-projectgrayhem-wide           1:0.21.0-0ubuntu2                          The Project Grayhem MythTV theme (widescreen
ii  mythtv-theme-retro                         0.21.0-0ubuntu2                            The Retro MythTV Theme
ii  mythtv-theme-retro-osd                     0.21.0-0ubuntu2                            The Retro-OSD MythTV Theme
ii  mythtv-theme-titivillus                    0.21.0-0ubuntu2                            The Titivillus MythTV Theme
ii  mythtv-theme-titivillus-osd                0.21.0-0ubuntu2                            The Titivillus-OSD MythTV Theme
ii  mythtv-themes                              0.21.0-0ubuntu2                            Additional themes metapackage for MythTV
ii  mythtv-transcode-utils                     2:0.21.0+fixes-22228-openglvdpau2-0ubuntu0 Utilities used for transcoding MythTV tasks
mythbuntu@mythtv-frontend:~$

Jep. Tämä oli tässä tällä kertaa 8)

Ystävällisin terveisin Asmo Koskinen.