Author Topic: Failed to start X on MD (new 10.04 install)  (Read 2078 times)

gtsupport

  • Veteran
  • ***
  • Posts: 147
    • View Profile
Failed to start X on MD (new 10.04 install)
« on: October 10, 2011, 04:22:57 pm »
Hi,

Been giving 10.04 a real thorough go the last couple of days, and it seems to be OK, so I decided to migrate over from 8.10.
I've just run the Diskless_SetupTBZ.sh and booted my MD.  Unfortunately after seeming to boot fine, it stops with the "Failed to start X" error.
I've checked the /var/log/xorg.0.log file and the only error is right at the end :-
(II) Primary Device is: PCI 03@00:00:0
(WW) Falling back to old probe method for v4l
(EE) No devices detected.

Fatal server error:
no screens found

The MD is a Zotac Mag which worked ootb with my 8.10 install.  Should I update the video drivers, or something??  Bearing in mind this is the first time its booted from the newly created image, nothing's been messed with.  I did try the usual apt-get update, and apt-get upgrade, but nothing new was installed, so I guess those commands have already been run in the install script.
The onboard graphics is an Nvidia Ion, so its nothing too new or fancy.

Any suggestions as to where to look next??

Cheers.
LinuxMCE - If it was easy, everybody would be doing it!!

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #1 on: October 10, 2011, 08:03:10 pm »
Chances are your xorg.conf is hosed. Also you will probably be missing some key software. From the core chroot into the MD, do and apt-get update/upgrade. Make sure the latest nvidia driver is installed and run nvidia-xconfig.

gtsupport

  • Veteran
  • ***
  • Posts: 147
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #2 on: October 10, 2011, 08:41:31 pm »
I have tried the apt-get update and upgrade, several reboots, but with no luck.  I did grab a copy of the Nvidia drivers from their site, but have held off installing them in case any of the devs want me to provide further details.  As this was a brand new install on the core, and the first run of the diskless image I would have thought it should have worked straight away.  I have also copied the xorg.conf file from my working 8.10 install just in case that can be of use.  I'll give the new Nvidia drivers a go tonight after the wife goes to bed and post results.

Thanks for the tips.

Matt.
LinuxMCE - If it was easy, everybody would be doing it!!

kyfalcon

  • Guru
  • ****
  • Posts: 390
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #3 on: October 10, 2011, 09:19:34 pm »
it is what I had to do to get my zotac boxes working correctly. the setup diskless script isn't pulling all the needed packages. You may even have to do a apt-get -f

gtsupport

  • Veteran
  • ***
  • Posts: 147
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #4 on: October 10, 2011, 10:48:47 pm »
Which Nvida drivers did you use in the end kyfalcon?

I've just installed the NVIDIA-Linux-x86-285.05.09.run files without success.  I did the apt-get -f update, and apt-get -f upgrade which took ages, and grabbed quite a lot of extra stuff.  Also ran the nvidia-xconfig which has updated my xorg.conf and xorg.conf.pluto.avwizard files.  Have I missed something out along the way?
LinuxMCE - If it was easy, everybody would be doing it!!

bugui

  • Veteran
  • ***
  • Posts: 69
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #5 on: October 11, 2011, 03:45:21 am »
I did the following procedure and i get it work.

1) Download Newest Nvidia drivers from here

2) Open module blacklist as admin

gksudo gedit /etc/modprobe.d/blacklist.conf

Add these lines and save:

blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv

3) Uninstall any previously installed Nvidia drivers:

sudo apt-get --purge remove nvidia-*

4) Reboot your computer

5) When an error message pops up saying that Ubuntu cannot load Nvidia drivers, choose Exit to terminal (Exit to console)

6) Login and cd to the directory where you saved your file

7)Install drivers

sudo sh NVIDIA-Linux-x86_XXXXX....

8) reboot MD system

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #6 on: October 11, 2011, 06:13:21 am »
I have a trac ticket on this #1285 im working through. Something is happening when the nvidia driver is installed on the first boot which causes this. If you chroot on your core to the diskless fs and install the driver it boots correctly.

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #7 on: October 12, 2011, 02:32:03 am »
A fix has been committed and I've verified it on this issue #1285, as soon as the next package compile occurs it will be available to everyone. (usually in about a day or so)

To take advantage of this, you'll need to do an apt-get update; apt-get upgrade and re-run the /usr/pluto/bin/Diskless_CreateTBZ.sh file.

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #8 on: October 12, 2011, 04:22:03 pm »
fyi - package compilation process has run - the fix is now available.

gtsupport

  • Veteran
  • ***
  • Posts: 147
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #9 on: October 13, 2011, 07:41:12 pm »
Great, thanks Murdock.  Got my MD up and running using the fix in this thread.

Onwards and upwards!!
 :)
LinuxMCE - If it was easy, everybody would be doing it!!

bugui

  • Veteran
  • ***
  • Posts: 69
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #10 on: October 16, 2011, 08:55:35 am »
If you upgrade the md w/ apt-get update & apt-get upgrade.....
if that task needs to upgrade the "pluto-nvidia-drivers" package... you should note that lmce change the /etc/X11/xorg.conf file changing the
Driver from (Driver "nvidia") to (Driver "nv"), when you reboot the MD system  you will see a message and you cannot see the UI2 because a openglx problem.

Try changing againg the /etc/X11/xorg.conf file to Driver "nvidia" and reboot again


Thanks
Bugui

Sigg3.net

  • Veteran
  • ***
  • Posts: 64
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #11 on: October 16, 2011, 05:24:26 pm »
Anyone get the alpha blended UI running on their Zotacs? I am using the overlay (without transparency) on my ATI and Nvidia cards since they lag way too much using the proprietary drivers. I will be gaming on the systems through the Kubuntu desktop so the proprietary drivers are a must at the moment:P

gtsupport

  • Veteran
  • ***
  • Posts: 147
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #12 on: October 17, 2011, 05:30:49 pm »
Hi Sigg3.net

I've just created the diskless image for my MD, which is a Zotac Ion.  It ran all the usual setup steps, and is working fine with UI2 and alphablending.  I didn't even have to upgrade the Nvidia driver, so thats an improvement on previous attempts.

Matt.
LinuxMCE - If it was easy, everybody would be doing it!!

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: Failed to start X on MD (new 10.04 install)
« Reply #13 on: October 24, 2011, 07:43:05 pm »
I continue to have issues with media 'tearing' when leveraging UI2 with alpha, I'm perfectly happy with plain jane UI2.

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2929
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: Failed to start X on MD (new 10.04 install)
« Reply #14 on: October 24, 2011, 08:08:49 pm »
I do not think you can get away from tearing with UI2 and alpha.