Author Topic: MediaDirector Fails to start  (Read 5972 times)

dan744

  • Newbie
  • *
  • Posts: 13
    • View Profile
MediaDirector Fails to start
« on: January 02, 2012, 05:26:31 pm »
Hi All,

After a week of attempts to install lmce, trying not to give up with all the issues, I had reached a stage where the media director boots from the core, and downloads the nvidia driver. However, it eventually hangs forever, and nothing happen. I checked the logs for Xorg, and can see errors with the nvidia driver.
I am using Nvidia GT 430, and expect to have HDMI Sound.
I am using LMCE 8.10.
Running a core on a pc, and a Media director on another one.

Is there a way to have the driver updated to the latest release of 290.10? I appreciate any help.

Thanks,

Dan

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: MediaDirector Fails to start
« Reply #1 on: January 02, 2012, 09:37:53 pm »
What are the errors?

Can you start the MD and then, as root on your core, (where XX is the MD number) and try the following;
Code: [Select]
ssh moonXX
dpkg --configure -a
apt-get install alsa-modules-`uname -r`
apt-get install nvidia-glx-260

Please post the results of this effort. If all goes successfully reboot the md (if it does not reboot itself) and see if it comes up.

*Note that surrounding uname -r are backticks (typically above the tab key), not single quotes.
« Last Edit: January 02, 2012, 09:41:24 pm by l3mce »
I never quit... I just ping out.

dan744

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: MediaDirector Fails to start
« Reply #2 on: January 03, 2012, 06:49:42 am »
Thanks l3mce for your reply.

The following is the output, (nvidia failed, attached also the sources.lst)

oot@moon31:~# dpkg --configure -a                   
root@moon31:~# apt-get install alsa-modules-`uname -r`
Reading package lists... Done                         
Building dependency tree                             
Reading state information... Done                     
The following NEW packages will be installed:         
  alsa-modules-2.6.27-17-generic                     
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2299kB of archives.                               
After this operation, 8442kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  alsa-modules-2.6.27-17-generic
Authentication warning overridden.
Get:1 deb.linuxmce.org intrepid/beta2 alsa-modules-2.6.27-17-generic 1.0.23+dfsg-0ubuntu1+2.6.27-17.46 [2299kB]
Fetched 2299kB in 23s (99.4kB/s)
Selecting previously deselected package alsa-modules-2.6.27-17-generic.
(Reading database ... 104679 files and directories currently installed.)
Unpacking alsa-modules-2.6.27-17-generic (from .../alsa-modules-2.6.27-17-generic_1.0.23+dfsg-0ubuntu1+2.6.27-17.46_i386.deb) ...
Setting up alsa-modules-2.6.27-17-generic (1.0.23+dfsg-0ubuntu1+2.6.27-17.46) ...
You should now stop all applications using sound devices
and reload all ALSA sound modules.

root@moon31:~# apt-get install nvidia-glx-260
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package nvidia-glx-260
root@moon31:~#



(xx as I am not allowed to post links)
Thanks l3mce,



dan744

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: MediaDirector Fails to start
« Reply #3 on: January 03, 2012, 06:51:28 am »
Hi l3mce,

I removed all the leading http: to avoid errors for not allowed to post any links.

The sources.lst:

deb /usr/pluto/deb-cache/ ./
deb debian.slimdevices.com/ stable  main
deb deb.linuxmce.org/ubuntu/ intrepid  beta2
deb old-releases.ubuntu.com/ubuntu/ intrepid  main restricted universe multiverse
deb //old-releases.ubuntu.com/ubuntu/ intrepid-security  main restricted multiverse universe
deb //old-releases.ubuntu.com/ubuntu/ intrepid-updates  main restricted multiverse universe
deb //packages.medibuntu.org/ intrepid  free non-free
deb-src //old-releases.ubuntu.com/ubuntu/ intrepid  main restricted multiverse universe
deb-src //old-releases.ubuntu.com/ubuntu/ intrepid-security  main restricted multiverse universe
deb-src //old-releases.ubuntu.com/ubuntu/ intrepid-updates  main restricted multiverse universe
deb //archive.ubuntu.com/ubuntu/ intrepid  main universe multiverse
deb //archive.ubuntu.com/ubuntu/ replacements_debian  main
deb //archive.ubuntu.com/ubuntu/ main  main non-free contrib
deb //deb.linuxmce.org/ubuntu/ 20dev_ubuntu  main



Thanks l3mce,



l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: MediaDirector Fails to start
« Reply #4 on: January 03, 2012, 07:17:18 am »
So sorry... was not paying attention...

Code: [Select]
ssh moon31
apt-get install nvidia-glx-195

It is possible your card is just too new... haven't seen it before... but if that will not run your HW, you are going to have to try 1004.
« Last Edit: January 03, 2012, 07:24:28 am by l3mce »
I never quit... I just ping out.

dan744

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: MediaDirector Fails to start
« Reply #5 on: January 03, 2012, 08:38:05 am »
Hi l3mce,

Before getting your reply, I tried to reboot the MD, and I was surprised that it started with the AV Wizard, which I completed succesfully with 1080p, although sound is not working now, but just trying complete this part. Then it started to update and perform different services restart on the core and md. After an hour, checking the logs on the MD, I found nothing is happening, with a message on the screen restarting core devices. So I rebooted the md. everything goes well, starting in 1080p, then a message on the screen: Starting device 33 OnScreen Orbiter, and for an hour again, nothing is happening!

Now, should I run the apt-get install nvidia command ?

Can I setup the sound over HDMI if it works ?

Thanks l3mce,



dan744

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: MediaDirector Fails to start
« Reply #6 on: January 03, 2012, 09:08:11 am »
Hi l3mce,

Another progress,

I passed that problem of the Orbiter not starting.

Now, I can see a screen with menus, seems to be the third option of the menus (opengl...). However, the mouse only responds, but no menu works, and seems to be frozen from the clock, which stopped as soon as it started.

I didn't run the apt-get for nvidia yet.

Cheers,


l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: MediaDirector Fails to start
« Reply #7 on: January 03, 2012, 03:48:39 pm »
I am not sure I understand.

Code: [Select]
ssh moon31
amixdigital=$(amixer | grep Simple | grep IEC | cut -d' ' -f4,5,6 | sort | uniq); for output in $amixdigital; do amixer sset $output unmute; done
apt-get install pluto-orbiter
apt-get install pluto-orbiter-gen
/usr/pluto/bin/RebootWithAVWizard.sh

Lets set the resolution to UI1 till we get everything figured out, and test your audio over HDMI again.
I never quit... I just ping out.

dan744

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: MediaDirector Fails to start
« Reply #8 on: January 03, 2012, 07:14:46 pm »
Hi l3mce,

Ok, I actually went a little further with the installation. Installed latest nvidia driver, 290.10, disabled the auto load of nvidia driver in the nvidia script (/usr/pluto/bin/nvidia_install..sh), then went through the setup, and chose hdmi, resolution 1080p, all went ok, and restarted the md, with no issues, which went started to display photos / slide show.
The problem now is sound. I try to play any movie, just nothing happens, and after looking at the Xine_Player.log :
Spawn_Device.sh 36 (spawning-device)    7653 Dev: 36; Exiting because not starting
05      01/03/12 16:00:17.635           Xine_Player::CMD_Play_Media() called for id 1001 filename: /home/public/data/videos/TheLionKing1.avi () <0xb63ffb90>
05      01/03/12 16:00:17.636           Xine_Player::CMD_Play_Media() stopping PSS <0xb63ffb90>
05      01/03/12 16:00:17.637           Xine_Stream_Factory::GetStream streamID is 0 <0xb63ffb90>
05      01/03/12 16:00:17.711           I'm unable to initialize m_pXine's 'auto' audio driver. <0xb63ffb90>
05      01/03/12 16:00:17.712           Stream audio/video initialization failed <0xb63ffb90>
05      01/03/12 16:00:17.712           Cannot create new stream with ID=1001 <0xb63ffb90>
05      01/03/12 16:00:17.712           Xine_Player::CMD_Play_Media() stream is NULL, aborting - init failure? <0xb63ffb90>
05      01/03/12 16:00:17.713           Xine_Player::CMD_Stop_Media() with corresponding stream id 1001 (nil). <0xb63ffb90>
05      01/03/12 16:00:17.713           Xine_Player::CMD_Stop_Media() stream is NULL, aborting - init failure? <0xb63ffb90>
05      01/03/12 16:02:55.392           Xine_Player::CMD_Play_Media() called for id 1002 filename: /home/public/data/videos/TheLionKing1.avi () <0xb63ffb90>


lspci gives:
root@moon31:/home/sysadmin# lspci
00:00.0 Host bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL Memory Controller Hub (rev 04)
00:01.0 PCI bridge: Intel Corporation 82915G/P/GV/GL/PL/910GL PCI Express Root Port (rev 04)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801FB/FW (ICH6/ICH6W) SATA Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation Device 0de1 (rev a1)
01:00.1 Audio device: nVidia Corporation Device 0bea (rev a1)
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
root@moon31:/home/sysadmin#


and aplay -l :
root@moon31:/home/sysadmin# aplay -l
**** List of PLAYBACK Hardware Devices ****
root@moon31:/home/sysadmin#

and :
root@moon31:/home/sysadmin# cat /proc/asound/cards
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xdeefc000 irq 17
root@moon31:/home/sysadmin#

root@moon31:/home/sysadmin# alsa reload
Unloading ALSA sound driver modules: snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-seq snd-timer snd-seq-device snd-page-alloc.
Loading ALSA sound driver modules: snd-hda-intel snd-hda-codec snd-hwdep snd-pcm snd-seq snd-timer snd-seq-device snd-page-alloc.

root@moon31:/home/sysadmin# alsamixer
No mixer elems found

root@moon31:/home/sysadmin#

root@moon31:/home/sysadmin# lsmod grep -i nvidia
Usage: lsmod
root@moon31:/home/sysadmin# lsmod |grep -i nvidia
nvidia              10790608  52
i2c_core               31892  1 nvidia
agpgart                42184  2 nvidia,intel_agp
root@moon31:/home/sysadmin# lsmod |grep -i sound
soundcore              15328  1 snd
root@moon31:/home/sysadmin# lsmod |grep -i snd
snd_hda_intel          35968  0
snd_hda_codec         102016  1 snd_hda_intel
snd_hwdep              15492  1 snd_hda_codec
snd_pcm                86532  2 snd_hda_intel,snd_hda_codec
snd_seq                58352  0
snd_timer              29576  2 snd_pcm,snd_seq
snd_seq_device         15500  1 snd_seq
snd                    70436  7 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore              15328  1 snd
snd_page_alloc         16776  2 snd_hda_intel,snd_pcm
root@moon31:/home/sysadmin#

I am running AlsaMixer v1.0.18


Not sure if I should update the alsa, or change the alsa parameters ?

Thanks,

Dan



dan744

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: MediaDirector Fails to start
« Reply #9 on: January 03, 2012, 07:45:33 pm »
Just the output of the last two commands:
oot@moon31:/home/sysadmin# apt-get install pluto-orbiter
Reading package lists... Done
Building dependency tree
Reading state information... Done
pluto-orbiter is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@moon31:/home/sysadmin# apt-get install pluto-orbiter-gen
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package pluto-orbiter-gen

Cheers,

Dan

dan744

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: MediaDirector Fails to start
« Reply #10 on: January 03, 2012, 07:54:35 pm »
Hi l3mce,

Sorry to send you output on different posts, but I just forgot to include the first command you sent:
amixdigital=$(amixer | grep Simple | grep IEC | cut -d' ' -f4,5,6 | sort | uniq); for output in $amixdigital; do amixer sset $output unmute; done
root@moon31:/home/sysadmin# echo $amixdigital

root@moon31:/home/sysadmin#

as far as I can tell, amixer doesn't return any value.

Regards,

Dan
« Last Edit: January 03, 2012, 08:10:55 pm by dan744 »

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: MediaDirector Fails to start
« Reply #11 on: January 03, 2012, 08:59:48 pm »
Try removing the alsa-modules... it is going to get weird because you are using an unsupported driver, and frankly I don't even know how you are running 290 on 810.

apt-get remove alsa-modules-`uname -r`

You might try apt-get install alsa-base --reinstall


But from here on out you are kind of on your own. I can't try and figure out what is going on if you are using unsupported drivers. My goal is not so much to get you working, but to figure out bugs which makes things work for everyone. You are modifying install scripts and changing drivers around.
I never quit... I just ping out.

dan744

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: MediaDirector Fails to start
« Reply #12 on: January 04, 2012, 04:36:58 am »
I think, even if it works, I wouldn't go with a non supported solution.

I would go to the standard version, if audio could be supported.

For me it has been a very frustrating experience working for almost two weeks to get the system up and running. I am testing 4 computers, with different display cards. Still, I cannot say I had a working solution, as no sound, and no audio.

i can delete the md from the core, and restart over, but sound will be the issue, if I get the driver working again. is there anything extra that should be done ?

Do I need to backup the current config or machine?

Thanks,

Dan

« Last Edit: January 04, 2012, 04:38:50 am by dan744 »

dan744

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: MediaDirector Fails to start
« Reply #13 on: January 04, 2012, 04:00:58 pm »
Hi l3mce,

I started over again.

This time the process went smoother until the Wizard, where I chose 1080p and Voice over HDMI.

Now, the MD has restarted, and in the first screen, (I think Sarah talking ) There is no video, and no sound. (can only see a black box).

I installed the alsa modules, but the rest were already installed.

oot@moon71:~# apt-get install alsa-modules-`uname -r`                         
Reading package lists... Done                                                 
Building dependency tree                                                       
Reading state information... Done                                             
The following NEW packages will be installed:                                 
  alsa-modules-2.6.27-17-generic                                               
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.                 
Need to get 2299kB of archives.                                               
After this operation, 8442kB of additional disk space will be used.           
WARNING: The following packages cannot be authenticated!                       
  alsa-modules-2.6.27-17-generic                                               
Authentication warning overridden.                                             
Get:1 http://deb.linuxmce.org intrepid/beta2 alsa-modules-2.6.27-17-generic 1.0.23+dfsg-0ubuntu1+2.6.27-17.46 [2299kB]
Fetched 2299kB in 24s (92.4kB/s)                                                                                                                   
Selecting previously deselected package alsa-modules-2.6.27-17-generic.                                                                             
(Reading database ... 104697 files and directories currently installed.)                                                                           
Unpacking alsa-modules-2.6.27-17-generic (from .../alsa-modules-2.6.27-17-generic_1.0.23+dfsg-0ubuntu1+2.6.27-17.46_i386.deb) ...                   
Setting up alsa-modules-2.6.27-17-generic (1.0.23+dfsg-0ubuntu1+2.6.27-17.46) ...                                                                   
You should now stop all applications using sound devices                                                                                           
and reload all ALSA sound modules.                                                                                                                 

root@moon71:~# apt-get install nvidia-glx-195         
Reading package lists... Done                         
Building dependency tree                             
Reading state information... Done                     
nvidia-glx-195 is already the newest version.         
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@moon71:~# amixer
amixer: Mixer attach default error: No such file or directory
root@moon71:~# apt-get install pluto-orbiter
Reading package lists... Done
Building dependency tree
Reading state information... Done
pluto-orbiter is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@moon71:~# apt-get install pluto-orbiter-gen
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package pluto-orbiter-gen
root@moon71:~# /usr/pluto/bin/RebootWithAVWizard.sh

Broadcast message from root@moon71
        (/dev/pts/0) at 16:55 ...

The system is going down for reboot NOW!
root@moon71:~#

lspci :
01:00.0 VGA compatible controller: nVidia Corporation Device 0de1 (rev a1)
        Subsystem: XFX Pine Group Inc. Device 300d                       
        Flags: bus master, fast devsel, latency 0, IRQ 16                 
        Memory at df000000 (32-bit, non-prefetchable) [size=16M]         
        Memory at d0000000 (64-bit, prefetchable) [size=128M]             
        Memory at d8000000 (64-bit, prefetchable) [size=32M]             
        I/O ports at dc80 [size=128]                                     
        Expansion ROM at def00000 [disabled] [size=512K]                 
        Capabilities: [60] Power Management version 3                     
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
        Capabilities: [78] Express Endpoint, MSI 00                                   
        Capabilities: [b4] Vendor Specific Information <?>                             
        Capabilities: [100] Virtual Channel <?>                                       
        Capabilities: [128] Power Budgeting <?>                                       
        Capabilities: [600] Vendor Specific Information <?>                           
        Kernel modules: nvidia, nvidiafb                                               

01:00.1 Audio device: nVidia Corporation Device 0bea (rev a1)
        Subsystem: XFX Pine Group Inc. Device 300d           
        Flags: bus master, fast devsel, latency 0, IRQ 17   
        Memory at deefc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

aplay: Nothing found...

root@moon71:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
root@moon71


Could you please advise how to proceed from here ?

Thanks,


l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: MediaDirector Fails to start
« Reply #14 on: January 04, 2012, 07:01:31 pm »
Looking into it. Will get back to you as soon as I can figure something out or need help figuring it out.

*Ok... I am a bit stumped and want to say that if alsa cannot find the hardware with the kernel modules installed, the newer hardware MAY just not work on 810...

First, make sure any native drivers are turned off in your bios for onboard sound... but since aplay -l isn't finding them, I don't know that this is an issue.

Try the following, even though aplay -l is NOT showing up (it may never).

Code: [Select]
aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wavCycle through 1,3 1,5 1,7 1,8 1,9 with the same command and see if the command plays.

If one of those works, let me know so I can try to make a patch which will figure this out automatically, and add a line to /etc/pulse/client.conf after the alsa-sink line:
Code: [Select]
#load-module module-alsa-sink
load-module module-alsa-sink device=hw:1,X

replacing X with the one that may have worked. Reboot.

« Last Edit: January 07, 2012, 02:59:07 am by l3mce »
I never quit... I just ping out.