Failed to start xorg 1060 gtx

  • Hi

    Just got a new pc with an i3 6100 and a 1060 gtx.

    I tried using the usb stick qith libreelec 7.0.2 on that i used in my previous pc but I get a failed to start xorg error.

    Im not a linux wiz but feom what iv read this is down to gpu issues.

    I know the 1060 is reletevely new bit i thought there would be aome support. Will updating to an alpha/beta resolve this?

    Any help much appreciated.

  • Updated to 7.9 alpha and no luck.

    Full error message is:
    [FAILED] Failed to start Xorg Server
    See 'systemct1 status xorg.service' for details
    [DEPEND] Dependency failed for Fluxbox Window Manager

    Then everything else says [OK]. Any idea how I canbsyart debugging this?

    Feeling pretty stupid at the moment with a £600 HTPC that can't run libreelec =S.

  • It might be a simple case that (full) Nvidia GTX10xx support is not yet available in Linux. I'm having a GTX950 in my office PC, and even that is still not up to par.

    Try taking out the GTX1060 (for testing purposes), and have LibreELEC run on the internal Intel HD Graphics 530.

    IMO, a GTX1060 for LibreELEC only is a bit overkill. Other than that, Nvidia/AMD/Intel support for Linux in general is looking a bit stale lately.

    Just wondering... Any chance you can get a refund for that GTX1060?


  • It might be a simple case that (full) Nvidia GTX10xx support is not yet available in Linux. I'm having a GTX950 in my office PC, and even that is still not up to par.

    Try taking out the GTX1060 (for testing purposes), and have LibreELEC run on the internal Intel HD Graphics 530.

    IMO, a GTX1060 for LibreELEC only is a bit overkill. Other than that, Nvidia/AMD/Intel support for Linux in general is looking a bit stale lately.

    Just wondering... Any chance you can get a refund for that GTX1060?

    Thats gonna suck if theres no support I assumed there would be atleast some support. Is there anywhere I can check?

    I'll take out the gpu to test, if it worksnjust on the embedded gpu is there a way to force libreelec to use that instead of the 1060?

    To be honest I want to keep the gpu regardless as the machine is also dual boot so I can game on windows. The idea is its an all in one though, gaming + htpc + live tv. Its gonna be annoyijg if I have to get another box when I have an already overpowered one for libre.
    [hr]
    Ok, disabled the gpu in the bios and libre now boots using the onboard HD 530. I'm fine with that and having having 2x hdmi to the tv. Question is now is there a way to force libreelec to use the intel gpu rather than the nvidia one without having to change it in the bios?

    Edited once, last by ianuk2005` (August 21, 2016 at 9:28 PM).

  • libreelec krypton seems to have problems with two gfx cards. i had the same issue, because i have an onboard nvidia 8800 and a amd radeon 4xxx in my htpc.
    after installing krypton i also got the xorg failed to start error (never had this on previous versions), researched and tried for hours. like 1 out of 10 reboots it booted into kodi.
    i created a udev rule for the nvidia onboard gfx card like in this thread claimed and it works for me:
    LibreELEC

    Edited once, last by marv_el (August 21, 2016 at 9:38 PM).


  • libreelec krypton seems to have problems with two gfx cards. i had the same issue, because i have an onboard nvidia 8800 and a amd radeon 4xxx in my htpc.
    after installing krypton i also got the xorg failed to start error (never had this on previous versions), researched and tried for hours. like 1 out of 10 reboots it booted into kodi.
    i created a udev rule for the nvidia onboard gfx card like in this thread claimed and it works for me:
    LibreELEC

    Thanks for helping. I'm a bit of a linux noob, do I have to enter this via in putty via ssh?

    touch /storage/.config/udev.rules.d/96-nvidia.rules
    [hr]
    Think I have it solved.

    Changed bios settings to default to itegrated gpu as the main gpu, this works for libre I dont watch h265 or 4k so the 530 HD should be fine.

    This brought some trouble in windows. Had to set to 2nd screen only in monitor settings and audio output to the HDMI on my nvidia.

    Wacky driver issues appear to be over, this is on top of the hours I spent yesterday with windows driver issues lol.

    Got my new gaming htpc up and running, very happy!

    Thanks for the help guys.

    Edited once, last by ianuk2005` (August 21, 2016 at 11:13 PM).


  • libreelec krypton seems to have problems with two gfx cards. i had the same issue, because i have an onboard nvidia 8800 and a amd radeon 4xxx in my htpc.
    after installing krypton i also got the xorg failed to start error (never had this on previous versions), researched and tried for hours. like 1 out of 10 reboots it booted into kodi.
    i created a udev rule for the nvidia onboard gfx card like in this thread claimed and it works for me:
    LibreELEC

    If you wanted to use multiple GPU's in an LE box you'd need identical GPU devices or at least two cards that use the same GPU driver as the Xorg start process doesn't handle multiple active drivers. Even then you'd only get duplicate output as Kodi only outputs video to one display; there's no split screen modes available.


  • en-us

    According to nVidia release notes ^^ the 367.35 driver we use in v7.90.004 should support the GTX1060. If it's not too late I'd be interested in seeing some debug Xorg log output from the card.

    I've downgraded to 7.0.2 now, I can do a fresh alpha install later this week and pull the log though. Where's the log for xorg located?

  • You should be able to use the installer USB stick to install to another USB stick (it's dumb, don't ask) so you don't disturb the 7.0.2 install. You need to copy the default xorg-nvidia.conf from /etc/X11 to /storage/.config/xorg.conf and edit to set modedebug=true, then reboot and the now-debug and lengthy logfile will be in /var/log/Xorg.0.log.

  • I'm getting the same issue, and I don't have nVidia graphics, mine is Intel embedded i5 core

    It has been running happily for about 2 months and out of the blue today is no longer working, I run the latest stable, v. 8.2.4 I think

    The backtrace looks like this:

    [ 665.092067] Call Trace:

    [ 665.092076] ? dump_stack+0x5c/0x78

    [ 665.092080] ? __warn+0xb4/0xd0

    [ 665.092083] ? warn_slowpath_fmt+0x46/0x50

    [ 665.092088] ? intel_atomic_commit_tail+0xeab/0xeb0

    [ 665.092095] ? __switch_to+0x218/0x3f0

    [ 665.092100] ? wake_atomic_t_function+0x50/0x50

    [ 665.092104] ? intel_atomic_commit+0x373/0x440

    [ 665.092109] ? restore_fbdev_mode+0x146/0x290

    [ 665.092113] ? drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x70

    [ 665.092116] ? drm_fb_helper_set_par+0x24/0x50

    [ 665.092121] ? intel_fbdev_set_par+0xe/0x60

    [ 665.092126] ? fb_set_var+0x1fb/0x3e0

    [ 665.092131] ? __slab_free+0xa4/0x330

    [ 665.092135] ? fbcon_blank+0x2b3/0x2f0

    [ 665.092143] ? do_unblank_screen+0xd2/0x1a0

    [ 665.092148] ? vt_ioctl+0x4c4/0x1210

    [ 665.092153] ? tty_ioctl+0x312/0xbf0

    [ 665.092159] ? vga_arb_release+0xbf/0xd0

    [ 665.092164] ? dput+0xc3/0x250

    [ 665.092169] ? do_vfs_ioctl+0x8a/0x5c0

    [ 665.092173] ? task_work_run+0x79/0xa0

    [ 665.092177] ? SyS_ioctl+0x36/0x70

    [ 665.092182] ? entry_SYSCALL_64_fastpath+0x1a/0xa9

    [ 665.092184] ---[ end trace 777b3d813ed90dae ]---

    [ 675.279210] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:31:pipe A] flip_done timed out

    [ 685.306386] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:31:pipe A] flip_done timed out

    [ 695.333463] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:31:pipe A] flip_done timed out

    [ 705.360547] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:31:pipe A] flip_done timed out

    [ 705.828041] kodi.bin[1119]: segfault at 30 ip 0000000000000030 sp 00007ffdcecd6ad8 error 14 in kodi.bin[400000+14a8000]

    [ 717.734332] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR* [CRTC:31:pipe A] flip_done timed out