crouton: X11 Fails to Start (Chromebook Flip C100, 45.0.2439.4 dev)

I am unable to run sudo startxfce4 on an Asus Chromebook Flip C100 (Minnie). X11 will fail to start and complain that it cannot find any screens.

[    77.186] (II) LoadModule: "modesetting"
[    77.187] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    77.187] (II) Module modesetting: vendor="X.Org Foundation"
[    77.187]    compiled for 1.15.0, module version = 0.8.1
[    77.187]    Module class: X.Org Video Driver
[    77.187]    ABI class: X.Org Video Driver, version 15.0
[    77.187] (II) UnloadModule: "modesetting"
[    77.187] (II) Unloading modesetting
[    77.187] (II) Failed to load module "modesetting" (already loaded, -1209214808)
[    77.187] (II) LoadModule: "fbdev"
[    77.187] (WW) Warning, couldn't open module fbdev
[    77.187] (II) UnloadModule: "fbdev"
[    77.187] (II) Unloading fbdev
[    77.187] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    77.187] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    77.187] (--) using VT number 7

[    77.198] (WW) Falling back to old probe method for modesetting
[    77.199] (EE) No devices detected.
[    77.199] (EE)
Fatal server error:
[    77.199] (EE) no screens found(EE)

I have a simple workaround:

sudo enter-chroot
sudo rm /dev/dri/card0
sudo mv /dev/dri/card1 /dev/dri/card0

This allows everything to startup correctly. I suspect this regression was introduced by:

https://code.google.com/p/chromium/issues/detail?id=477792 https://chromium.googlesource.com/chromiumos/third_party/kernel/+/d4ec95d83b3a3209f35b0c8d645aa51fcc9924e5^!/#F0


On a side note, I compiled xf86-video-armsoc. I managed to get es2gears running with hardware acceleration. This bug affects starting with fbdev and armsoc. The logs from above occur when starting with fbdev (aka, the default Crouton setup).

https://github.com/mmind/xf86-video-armsoc

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 41 (6 by maintainers)

Commits related to this issue

Most upvoted comments

@andysam151 First reboot your chomebook, then before doing anything do:

crosh> shell
chronos@localhost / $ ls -al /dev/dri

Post the output here. Then try again

chronos@localhost / $ sudo rm /dev/dri/card0
chronos@localhost / $ sudo mv /dev/dri/card1 /dev/dri/card0

Look careful at the commands above, because you had some typos in yours.

@DennisLfromGA It WORKS! Thanks Dennis! Although I should have tried something so obvious immediately. But thanks again anyway! unity is running again!

THANK YOU SO MUCH divx118 it worked