Author Topic: vdpau on ion330  (Read 5970 times)

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
vdpau on ion330
« on: December 04, 2009, 08:08:34 pm »
I have an md running on an ion330. When I'm trying to run any HD-movie, the TV stays black, I can hear sound for about 5 seconds, then the player crashes. Is there a way to check what happens?

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: vdpau on ion330
« Reply #1 on: December 04, 2009, 09:36:07 pm »
Try looking at /var/log/pluto/XX_Xine_Player.log, on the MD, and see if anything shows there (where XX is the device # that Xine_player starts with on the MD).  I don't know if it will contain anything useful or not.
J.

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: vdpau on ion330
« Reply #2 on: December 04, 2009, 10:26:20 pm »
What format are the files you are playing in?  After reading your post I checked my ION 330.  My ripped .dvd files play fine with vdpau and my .mp4 files play (no proper handling of 5.1 AAC).  Some of my .mkv files play just fine and some have no video or audio, just a black screen.  I believe that xine has known issues with some .mkv format files.

J.

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: vdpau on ion330
« Reply #3 on: December 04, 2009, 10:29:14 pm »
well, some of them are mkv, but I've played those before even on lmce 7.10 without vdpau.

niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: vdpau on ion330
« Reply #4 on: December 05, 2009, 09:26:19 pm »
And you have enabled "auto" or "vdpau" as hardware acceleration in webadmin for the MD in question here?

/niz23

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: vdpau on ion330
« Reply #5 on: December 06, 2009, 02:43:35 pm »
okay, it seems I posted the same problem in two threads, I'm sorry...I will continue here.
I've set the hardware acceleration first to vdpau, tried and when it didn't work with those files, I set it to auto.
So far I can only play those files with xv- but with noticeable framedropping
I tried with one of my movies- this one is an mkv- and put a snip from the xineplayer log here. After that I have to reset the Md or else I can't play anything anymore.
Quote
1   12/06/09 13:32:53   Spawn_Device.sh 49 (spawning-device)14232 Dev: 49; Already Running list: 35,36,38,37,42,40,50,44,49,45,[1;00m
1   12/06/09 13:32:53   Spawn_Device.sh 49 (spawning-device)[1;00m14232 Device 49 was marked as 'running'. Not starting[1;00m
1   12/06/09 13:32:53   Spawn_Device.sh 49 (spawning-device)   [1;00m14232 Dev: 49; Exiting because not starting[1;00m
05   12/06/09 13:37:11.192      [33;1mXine_Player::CMD_Play_Media() called for id 1001 filename: /home/public/data/videos/(sda1)-CORE [30]/Movies/1408.mkv ()[0m <0xb6e60b90>
05   12/06/09 13:37:11.194      [33;1mXine_Player::CMD_Play_Media() stopping PSS[0m <0xb6e60b90>
05   12/06/09 13:37:11.195      [33;1mXine_Stream_Factory::GetStream streamID is 0[0m <0xb6e60b90>
05   12/06/09 13:37:12.218      [33;1mCreated new stream with ID=1001 deint 0  100 0[0m <0xb6e60b90>
05   12/06/09 13:37:12.218      [33;1mXine_Player::CMD_Play_Media() set stream 1001 as last rendering to screen.[0m <0xb6e60b90>
05   12/06/09 13:37:12.219      [33;1mXine_Player::CMD_Play_Media() called for id 1001 filename: /home/public/data/videos/(sda1)-CORE [30]/Movies/1408.mkv () with corresponding stream 0xb4b005a0.[0m <0xb6e60b90>
05   12/06/09 13:37:12.945      [33;1mOpening media without chapters/title position: 'file:///home/public/data/videos/(sda1)-CORE [30]/Movies/1408.mkv' [0m <0xb6e60b90>
05   12/06/09 13:37:13.730      [33;1mXine_Stream::changePlaybackSpeed no running seekers found[0m <0xb6e60b90>
05   12/06/09 13:37:13.730      [33;1mXine engine set new zoom level to X:100, Y:100[0m <0xb6e60b90>
05   12/06/09 13:37:13.737      [33;1mRead media A/V information: [A/52 5.1]/[H264/AVC (vdpau), 1008x416] => [dolby digital 5]/[63:26][0m <0xb06ffb90>
05   12/06/09 13:37:13.738      [33;1mXine_Player::EVENT_Playback_Started(streamID=1001) <= AV info[0m <0xb06ffb90>
05   12/06/09 13:37:13.738      [33;1mRead media A/V information: [A/52 5.1]/[H264/AVC (vdpau), 1008x416] => [dolby digital 5]/[63:26][0m <0xb06ffb90>
05   12/06/09 13:37:13.738      [33;1mXine_Player::EVENT_Playback_Started(streamID=1001) <= AV info[0m <0xb06ffb90>
05   12/06/09 13:37:13.739      [33;1mRead media A/V information: [A/52 5.1]/[H264/AVC (vdpau), 1008x416] => [dolby digital 5]/[63:26][0m <0xb06ffb90>
05   12/06/09 13:37:13.739      [33;1mXine_Player::EVENT_Playback_Started(streamID=1001) <= AV info[0m <0xb06ffb90>
05   12/06/09 13:37:23.732      [33;1m[ID: 1001]  CHAPTER:0 POS:10336 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 0 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:23.732      [33;1mRead media A/V information: [A/52 5.1]/[H264/AVC (vdpau), 1008x416] => [dolby digital 5]/[63:26][0m <0xb6e60b90>
05   12/06/09 13:37:23.732      [33;1mXine_Player::EVENT_Playback_Started(streamID=1001)[0m <0xb6e60b90>
05   12/06/09 13:37:24.733      [33;1m[ID: 1001]  CHAPTER:0 POS:11104 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:24.735      [33;1mXine_Player::CMD_Play_Media() ended for filename: /home/public/data/videos/(sda1)-CORE [30]/Movies/1408.mkv with stream 0xb4b005a0.[0m <0xb6e60b90>
05   12/06/09 13:37:25.734      [33;1m[ID: 1001]  CHAPTER:0 POS:11872 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:26.735      [33;1m[ID: 1001]  CHAPTER:0 POS:13120 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:27.736      [33;1m[ID: 1001]  CHAPTER:0 POS:13888 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:28.737      [33;1m[ID: 1001]  CHAPTER:0 POS:14624 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:29.738      [33;1m[ID: 1001]  CHAPTER:0 POS:16128 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:30.739      [33;1m[ID: 1001]  CHAPTER:0 POS:16896 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:31.740      [33;1m[ID: 1001]  CHAPTER:0 POS:18400 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:32.741      [33;1m[ID: 1001]  CHAPTER:0 POS:18912 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:33.742      [33;1m[ID: 1001]  CHAPTER:0 POS:19680 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:34.744      [33;1m[ID: 1001]  CHAPTER:0 POS:21184 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:35.744      [33;1m[ID: 1001]  CHAPTER:0 POS:21952 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:36.745      [33;1m[ID: 1001]  CHAPTER:0 POS:21952 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:37.746      [33;1m[ID: 1001]  CHAPTER:0 POS:21952 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:38.747      [33;1m[ID: 1001]  CHAPTER:0 POS:21952 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:39.748      [33;1m[ID: 1001]  CHAPTER:0 POS:21952 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:40.750      [33;1m[ID: 1001]  CHAPTER:0 POS:21952 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:41.751      [33;1m[ID: 1001]  CHAPTER:0 POS:21952 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:42.751      [33;1m[ID: 1001]  CHAPTER:0 POS:21952 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:6746527 (seek 0) t.c. ctr 1 freq 1,[0m <0xafcfdb90>
05   12/06/09 13:37:42.848      [33;1mXine_Player::CMD_Stop_Media() with corresponding stream id 1001 0xb4b005a0.[0m <0xb6e60b90>
05   12/06/09 13:37:42.848      [33;1mXine_Stream::changePlaybackSpeed no running seekers found[0m <0xb6e60b90>


niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: vdpau on ion330
« Reply #6 on: December 07, 2009, 10:04:06 am »
Sorry. But the output you provided do not say anything useful.

You need to have the ssh client logging output before you start playing the file.
Otherwise I cannot see what Xine try to do with the file when you open it.

Unfortunately Xine have problems with several mkv files I have.
A fix for mkv is included in libxine-1.2 which we cannot use for several reasons.
I have not looked if it´s possible to backport the mkv fix in 1.2.

/niz23

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: vdpau on ion330
« Reply #7 on: December 07, 2009, 06:37:33 pm »
Is this more helpful? I did a screening as you said:
Quote
video jump
FLUSH draw pts: 7470
FLUSH draw pts: 11250
FLUSH draw pts: 15030
FLUSH draw pts: 18810
FLUSH draw pts: 22500
FLUSH draw pts: 26280
FLUSH draw pts: 30060
FLUSH draw pts: 33750
FLUSH draw pts: 37530
vo_vdpau: enabled features: inverse_telecine=0
vo_vdpau: disable noise reduction.
vo_vdpau: disable sharpness.
vo_vdpau: vdpau_update_csc: hue=0.000000, saturation=1.000000, contrast=1.000000, brightness=0.000000, color_standard=0
vo_vdpau: skip_chroma = 0
play_internal ...done
video_out: throwing away image with pts 421296019 because it's too old (diff : 6553).
video_out: throwing away image with pts 421293002 because it's too old (diff : 9570).
video_out: throwing away image with pts 421296755 because it's too old (diff : 5817).
set_speed 0
audio_alsa_out: Reset call failed. (err=-77:File descriptor in bad state)
audio_alsa_out: Drain call failed. (err=-11:Resource temporarily unavailable)
The last three lines appear, when I call up the menu to close playback. After that I have to reboot the MD, because otherwise no video will play

niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: vdpau on ion330
« Reply #8 on: December 07, 2009, 07:23:03 pm »
Look like libxine is unable to create any output form the file you try to play.

Atm I´m building an updated libxine with backported mkv demuxer from upcoming libxine-1.2.
It look like it build fine, but I have to test to see how well it work.

/niz23

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: vdpau on ion330
« Reply #9 on: December 07, 2009, 08:55:40 pm »
sounds good to me, thank you very much

maverick0815

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 858
    • View Profile
Re: vdpau on ion330
« Reply #10 on: December 09, 2009, 07:24:13 am »
regarding videoplayback I am experiencing an instability issue besides mkv-files. I don't know if this is perhaps related to the nvidia-drivers or the vdpau-libraries. Like last night- I was watching some TV and then wanted to watch a few episodes of my favourite series. The first file played fine, the second behaved just like I described with the mkv-files. I had to reboot the MD twice before it would eventually play the file.

niz23

  • Guru
  • ****
  • Posts: 361
    • View Profile
Re: vdpau on ion330
« Reply #11 on: December 09, 2009, 11:16:38 am »
My backport of Matroska demuxer from libxine 1.2 seem to work fine.
The tests I have done allow me to play all mkv I have on my core.
Several of them can not be played with the version of libxine we have now.

Further tests need to be done to make sure stability is good enough.

/niz23

krys

  • Addicted
  • *
  • Posts: 583
    • View Profile
Re: vdpau on ion330
« Reply #12 on: December 09, 2009, 03:30:07 pm »
Niz23,
I would be willing to test this out on my system if the process isn't to difficult for me to undertake.
Let me know.
thanks,
Krys