Author Topic: Diskless MD - Xine not playing - Any advice?  (Read 6348 times)

Lexje

  • Guru
  • ****
  • Posts: 230
    • View Profile
Diskless MD - Xine not playing - Any advice?
« on: April 17, 2010, 11:40:44 pm »
Hi everyone,

Due to my own mistakes I had to setup LMCE completely from start.
I previously had my Revo R3600 running as a diskless MD.

In the new installation, the Revo works fine so it seems.
Unfortunately, when I try to play some media, Xine seems to die..

Any pointers at how to remedy / debug this situation?

Here's my log:
Code: [Select]
linuxmce@dcerouter:/usr/pluto/diskless/37/var/log/pluto$ cat 42_Xine_Player.log
05      04/17/10 21:21:33.760           Going to rotate logs... <0xb6dc6b90>
05      04/17/10 23:12:58.978           Xine_Player::CMD_Play_Media() called for id 1004 filename: /home/public/data/pvr/1006_20100412200                                 500.mpg () <0xb6dc6b90>
05      04/17/10 23:12:58.984           Xine_Player::CMD_Play_Media() stopping PSS <0xb6dc6b90>
05      04/17/10 23:12:58.985           Xine_Stream_Factory::GetStream streamID is 0 <0xb6dc6b90>
Return code: 134
3       04/17/10 23:13:00       42 (spawning-device)    Device died... count=2/50 dev=42
Sat Apr 17 23:13:00 CEST 2010 died
========== NEW LOG SECTION ==========
1       04/17/10 23:13:10       42 (spawning-device)    Starting... 3
1       04/17/10 23:13:10       42 (spawning-device)    Found ./Xine_Player
05      04/17/10 23:13:11.025           Xine_Player::GetConfig default zoom 100 <0xb7591970>
05      04/17/10 23:13:11.029           Custom xine functions status:  xine_seek=(nil), xine_start_trick_play=(nil), xine_stop_trick_play                                 =(nil). Trickplay and seeking support: absent <0xb7591970>
05      04/17/10 23:13:11.235           Count of screens at this display: 1 <0xb7591970>
05      04/17/10 23:13:11.236           XMapWindow returned: 1 <0xb7591970>
05      04/17/10 23:13:11.315           Xine_Player::CMD_Stop_Media() with corresponding stream id 1004 (nil). <0xb6d0fb90>
05      04/17/10 23:13:11.315           Xine_Player::CMD_Stop_Media() stream is NULL, aborting - init failure? <0xb6d0fb90>
linuxmce@dcerouter:/usr/pluto/diskless/37/var/log/pluto$ cat 42_Xine_Player.log
05      04/17/10 21:21:33.760           Going to rotate logs... <0xb6dc6b90>
05      04/17/10 23:12:58.978           Xine_Player::CMD_Play_Media() called for id 1004 filename: /home/public/data/pvr/1006_20100412200500.mpg () <0xb6dc6b90>
05      04/17/10 23:12:58.984           Xine_Player::CMD_Play_Media() stopping PSS <0xb6dc6b90>
05      04/17/10 23:12:58.985           Xine_Stream_Factory::GetStream streamID is 0 <0xb6dc6b90>
Return code: 134
3       04/17/10 23:13:00       42 (spawning-device)    Device died... count=2/50 dev=42
Sat Apr 17 23:13:00 CEST 2010 died
========== NEW LOG SECTION ==========
1       04/17/10 23:13:10       42 (spawning-device)    Starting... 3
1       04/17/10 23:13:10       42 (spawning-device)    Found ./Xine_Player
05      04/17/10 23:13:11.025           Xine_Player::GetConfig default zoom 100 <0xb7591970>
05      04/17/10 23:13:11.029           Custom xine functions status:  xine_seek=(nil), xine_start_trick_play=(nil), xine_stop_trick_play=(nil). Trickplay and seeking support: absent <0xb7591970>
05      04/17/10 23:13:11.235           Count of screens at this display: 1 <0xb7591970>
05      04/17/10 23:13:11.236           XMapWindow returned: 1 <0xb7591970>
05      04/17/10 23:13:11.315           Xine_Player::CMD_Stop_Media() with corresponding stream id 1004 (nil). <0xb6d0fb90>
05      04/17/10 23:13:11.315           Xine_Player::CMD_Stop_Media() stream is NULL, aborting - init failure? <0xb6d0fb90>
linuxmce@dcerouter:/usr/pluto/diskless/37/var/log/pluto$

Thanks for your help!

Erwin

lmwashere

  • Veteran
  • ***
  • Posts: 79
    • View Profile
Re: Diskless MD - Xine not playing - Any advice?
« Reply #1 on: April 20, 2010, 07:23:18 am »
I had the same issue with xine not playing any of my media. Not sure if there is an easy way to fix it but I was having some other issues as well so I downloaded the 4-8 snapshot and reinstalled. Everything works beautifully on hybrid and MD now. I have been holding off on doing any updates since then though as I have read about some complications.

Sorry it's not an easy fix, but it worked for me. I like the idea that Beeker had about creating an image of your system when it's working, and then when things run amuck you just put that image back on your machine and your up and running an a few minutes.


pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Diskless MD - Xine not playing - Any advice?
« Reply #2 on: April 20, 2010, 11:52:14 am »
does  it also happens with audio? Did you give a try to mplayer?
it can be related with the samba update. take a look at /etc/samba/smb.conf and see if the unix extension = no. if it states yes, change to no (core/hybrid AND md), restart samba.
This is what comes in mind now.
« Last Edit: April 20, 2010, 02:13:34 pm by pw44 »

Lexje

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: Diskless MD - Xine not playing - Any advice?
« Reply #3 on: April 20, 2010, 02:01:08 pm »
I downloaded the 4-8 snapshot and reinstalled. Everything works beautifully on hybrid and MD now.

I like the idea that Beeker had about creating an image of your system when it's working, and then when things run amuck you just put that image back on your machine and your up and running an a few minutes.
Thanks for your reply;
Maybe a stupid question, but what do you mean with 4-8 snapshot?

I would also be interested in Beeker's idea of creating an image as back-up. Do you have a pointer to where this is discussed / solved? (Did search on Beeker, but found no apparent post related to creating a back-up image)

Thanks a lot,

Erwin

Lexje

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: Diskless MD - Xine not playing - Any advice?
« Reply #4 on: April 20, 2010, 02:37:10 pm »
does  it also happens with audio? Did you give a try to mplayer?
it can be related with the samba update. take a look at /etc/samba/smb.conf and see if the unix extension = no. if it states yes, change to no (core/hybrid) AND md, restart samba.
This is what comes in mind now.

Hi pw44,

Thanks for replying, this happened with all types of media.
I deleted the MD and recreated a new one.
This works now, but I'm having issues in getting my ION properly configured with the AVWizard - each time I change my audio to s/pdif, the AVWizard reverts all previous selections and starts from 0...
- I'm not sure, but right now I'm having problems selecting the correct audio card.

Not sure how I got this working previously, but it seems I can't do
Code: [Select]
cat /proc/asound when I'm chrooted into the diskless MD

Anybody any clues as to how to debug diskless MD audio?

Thanks,

Erwin

THEVILLAIN

  • Regular Poster
  • **
  • Posts: 41
    • View Profile
Re: Diskless MD - Xine not playing - Any advice?
« Reply #5 on: April 20, 2010, 03:53:00 pm »
your sound drivers maybe not be installed properly.

# cat /var/log/dmesg | grep -iE 'snd|audio|sound|hda'
# lsmod | grep snd

Check out the ALSA instructions on how to install and compile the source.

Example for Intel HDA onboard chipsets.
http://www.alsa-project.org/main/index.php/Matrix:Module-hda-intel

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Diskless MD - Xine not playing - Any advice?
« Reply #6 on: April 20, 2010, 05:05:25 pm »
Quote
This works now, but I'm having issues in getting my ION properly configured with the AVWizard - each time I change my audio to s/pdif, the AVWizard reverts all previous selections and starts from 0...
- webadmin -> devices -> media directors.  Under the media director with the issues, select "Manual configuration" as the sound device. reboot MD.
- Also see system settings (under KDE) sounds.
- update alsa.
- under kde -> terminal -> alsamixer: umute all.

regarding xine not playing any media, it was reported after an upgrade, where samba was updated. changing yes to no in unix extension directive in smb.conf file solved the issue.

lmwashere

  • Veteran
  • ***
  • Posts: 79
    • View Profile
Re: Diskless MD - Xine not playing - Any advice?
« Reply #7 on: April 22, 2010, 05:15:06 pm »
as for the snapshots, someone has been nice enough to post updated LMCE install DVD's here: http://linuxmce.iptp.org/snapshots/

Beeker's post is here: http://forum.linuxmce.org/index.php?topic=9946.0