dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc?si=1
BSD 3-Clause "New" or "Revised" License
8.57k stars 1.24k forks source link

Fatal Server Error: NO Screens Found #1978

Closed xxdebionxx closed 8 years ago

xxdebionxx commented 9 years ago

HI, I am trying to get Linux (Crouton) to get onto my Hisense Chromebook laptop. It worked once but I had to reset it due to some errors, and now everytime I try to: sudo startxfce4 it will do this: chronos@localhost / $ sudo startxfce4 Entering /mnt/stateful_partition/crouton/chroots/precise... /usr/bin/startxfce4: Starting X server

X.Org X Server 1.13.0 Release Date: 2012-09-05 X Protocol Version 11, Revision 0 Build Operating System: Linux 2.6.42-54-highbank armv7l Ubuntu Current Operating System: Linux localhost 3.14.0 #1 SMP Tue Jul 14 22:43:27 PDT 2015 armv7l Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=8ff9b3c8-a71a-7646-b9e3-4ba23a365503/PARTNROFF=1 hashtree=PARTUUID=8ff9b3c8-a71a-7646-b9e3-4ba23a365503/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=9719acbaea1575882157ee330a52665bdaed9ccf salt=d51eb1f6f9b40a6401c78da015055fc4bff6cee1be0bb89397dcd790cc6fa276" noinitrd vt.global_cursor_default=0 kern_guid=8ff9b3c8-a71a-7646-b9e3-4ba23a365503
Build Date: 05 November 2013 03:23:26PM xorg-server 2:1.13.0-0ubuntu6.5~precise1 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.30.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Wed Jul 29 12:29:03 2015 (==) Using system config directory "/usr/share/X11/xorg.conf.d" Initializing built-in extension Generic Event Extension Initializing built-in extension SHAPE Initializing built-in extension MIT-SHM Initializing built-in extension XInputExtension Initializing built-in extension XTEST Initializing built-in extension BIG-REQUESTS Initializing built-in extension SYNC Initializing built-in extension XKEYBOARD Initializing built-in extension XC-MISC Initializing built-in extension SECURITY Initializing built-in extension XINERAMA Initializing built-in extension XFIXES Initializing built-in extension RENDER Initializing built-in extension RANDR Initializing built-in extension COMPOSITE Initializing built-in extension DAMAGE Initializing built-in extension MIT-SCREEN-SAVER Initializing built-in extension DOUBLE-BUFFER Initializing built-in extension RECORD Initializing built-in extension DPMS Initializing built-in extension X-Resource Initializing built-in extension XVideo Initializing built-in extension XVideo-MotionCompensation Initializing built-in extension XFree86-VidModeExtension Initializing built-in extension XFree86-DGA Initializing built-in extension XFree86-DRI Initializing built-in extension DRI2 Loading extension GLX

Fatal server error: no screens found (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information. (EE) Server terminated with error (1). Closing log file. /usr/bin/xinit: giving up /usr/bin/xinit: unable to connect to X server: No such file or directory /usr/bin/xinit: server error Unmounting /mnt/stateful_partition/crouton/chroots/precise..

So I honestly have looked everywhere and it completely is mind blowing that I cannot get around to find out what to honestly do. It is all written but not in the best of understanding language. If someone could help that would be amazing, Please Help. Thank You P.S. I have the Latest Jerry Chromebook update installed.

thecroutonman commented 9 years ago

I have the same issue--even tried powerwashing and clean reinstall. Was working fine until the last chromeos update. Now trying a chromeos downgrade--I'll post if it works.

xxdebionxx commented 9 years ago

thanks, I was thinking of doing that myself

thecroutonman commented 9 years ago

Downgrading chromeos and then re-installing worked. Here's a link: http://www.chromestory.com/2014/11/chromebooks-get-options-downgrade-operating-system/ Also, you can prevent chromeos auto updates as described here: https://productforums.google.com/forum/#!topic/chromebook-central/KZoIpuuYHeo (see last comment)

xxdebionxx commented 9 years ago

thanks so much man! super big help :+1: :smile:

DennisLfromGA commented 9 years ago

Good info. @thecroutonman, thanx. ( Is that kind'a like 'The Shell Answer Man' ? ;)

thecroutonman commented 9 years ago

No--like "the muffin man"!

thecroutonman commented 9 years ago

After downgrade of ChromeOS and complete re-install, unity on crouton is working again. I've had one occurrence of the same error (no screens) which suggests it may involve a timing issue. I got that error every time before the downgrade, but only once so far after it. I just tried again and it worked the second time.

cpollack09 commented 9 years ago

Signed up just to say thanks for this solution. Was driving me crazy.

amenfashion commented 9 years ago

I'm still having this exact issue even after downgrading. Tried updating crouton. Any ideas on what I could try next? This is what the error log says:

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.

[ 2141.379] Initializing built-in extension MIT-SCREEN-SAVER 2141.405 Failed to load module "fbdev" (module does not exist, 0) 2141.409 Failed to load module "fbdev" (module does not exist, 0) 2141.423 No devices detected. 2141.423 2141.423 no screens found(EE) 2141.423 2141.423 Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information. 2141.423 2141.439 Server terminated with error (1). Closing log file.

crouton: version 1-20150730171703~master:f8fdfb0c release: trusty architecture: armhf xmethod: xorg targets: xfce host: version 7077.111.0 (Official Build) stable-channel veyron_jerry kernel: Linux localhost 3.14.0 #1 SMP Tue Jul 28 16:27:00 PDT 2015 armv7l armv7l armv7l GNU/Linux freon: yes

UPDATE: I found a solution for this issue: #1938 has some instructions that worked for me.

thecroutonman commented 9 years ago

Here is corresponding output from my (downgraded, update disabled) version: ... crouton: version 1-20150716185530~master:aba2c948 release: precise architecture: armhf xmethod: xorg targets: unity host: version 6946.86.0 (Official Build) stable-channel veyron_jerry kernel: Linux localhost 3.14.0 #1 SMP Tue Jul 14 00:19:13 PDT 2015 armv7l armv7l armv7l GNU/Linux freon: yes No Chromium OS X server is available.

So, it looks like I am using an earlier version than you got to by downgrading. (Not sure if you can do a double downgrade)

As far as the instructions from #1938 you reference, here's what I see for video devices: crosh> shell chronos@localhost / $ sudo enter-chroot Entering /mnt/stateful_partition/crouton/chroots/precise... (precise)dain@localhost:~$ ls -l /dev/dri total 0 crw-rw---- 1 root video 226, 0 Aug 1 09:36 card0 crw-rw---- 1 root video 226, 64 Jul 31 22:27 controlD64

Is that what you saw? I don't think the command sudo mv /dev/dri/card1 /dev/dri/card0 referenced in #1938 will work for me unless card1 is created when card0 is rm'd.

amenfashion commented 9 years ago

No, this is what it shows me:

$ ls -l /dev/dri total 0 crw-rw---- 1 root video 226, 0 Aug 3 22:24 card0 crw-rw---- 1 root video 226, 1 Aug 3 22:24 card1 crw-rw---- 1 root video 226, 64 Aug 3 22:24 controlD64 crw-rw---- 1 root video 226, 128 Aug 3 22:24 renderD128 crw-rw---- 1 root video 226, 129 Aug 3 22:24 renderD129

Although every time I restart the computer I have to rerun the two commands from #1938 for xfce to start again.

DoomGekicher commented 9 years ago

Get the newest crouton install and Run.

ls
cd
ls
cd Downloads
ls
./crouton
bash crouton -n precise -u
ls -l
sudo chown chronos:chronos crouton
bash crouton -n precise -u
sudo bash crouton -n precise -u

sudo apt-get install update-manger && update-manager

It will open a program, possibly give some errors, but allow you to upgrade Ubuntu to the latest LTS, after which I've never had any problems with anything!

DennisLfromGA commented 9 years ago

@DoomGekicher - All those commands aren't really necessary to update your chroot. Also, you need to preface the crouton update with 'sudo' like so:

sudo sh ~/Downloads/crouton -n precise -u (use 'sh' not 'bash')

or, if you're already in your ~/Downloads folder like in your example:

sudo sh ./crouton -n precise -u (use 'sh' not 'bash')

ghost commented 9 years ago

All these doesn't work for me . I haven't tried to downgrade yet , should I?

dnschneid commented 9 years ago

precise + veyron + xorg is not a working combo at the moment.

Could you please update with the latest crouton, try launching, and post /tmp/Xorg.crouton.1.log when it fails?

In the meantime, use trusty or xiwi.

ourlord commented 9 years ago

I came through the same error and I cannot recall myself doing any upgrade of chromeOS caused this problem. Before I had the problem, I seamless used the startxfce4 and do some stuff in my precise. After a log out from precise I cannot startxfce4 anymore. I try to upgrade crouton by running crouton -n precise -u and also log into CLI and apt-get upgrade certain stuffs. I also try to re-install the xorg in my precise but still not work.

I put my recent failure log(Xorg.crouton.1.log) in this gist page. Hope I can help to dig into this problem. I'll try to re-install my precise if I cannot come across any other solution.

Update: After carefully looking into the log file it seems the error changed from early no screen found(before I upgrade crouton&precise) but f86OpenConsole: Cannot open /dev/tty0 (No such file or directory). So no idea if this is related...

irothste commented 8 years ago

I had this same issue, ASUS C100, used the hack here. It would work for a session or two but then my cursor would disappear and my desktop wouldn't work correctly. I uninstalled it, reinstalled with xiwi and tried it. Only done it for a day, but it seems to work.

sdarman commented 8 years ago

I am haveing the same issue. I installed the latest version of cruton and can not start a X session. I would upload the log file, however it does not exist! I have attached the only Xorg log file there is, I have installed ChromeOS on a Surface Pro 3 using neverware, the last things in the console during failing is this:

Initializing built-in extension DAMAGE Initializing built-in extension MIT-SCREEN-SAVER Initializing built-in extension DOUBLE-BUFFER Initializing built-in extension RECORD Initializing built-in extension DPMS Initializing built-in extension Present Initializing built-in extension DRI3 Initializing built-in extension X-Resource Initializing built-in extension XVideo Initializing built-in extension XVideo-MotionCompensation Initializing built-in extension SELinux Initializing built-in extension XFree86-VidModeExtension Initializing built-in extension XFree86-DGA Initializing built-in extension XFree86-DRI Initializing built-in extension DRI2 Loading extension GLX (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. /usr/bin/xinit: giving up /usr/bin/xinit: unable to connect to X server: Connection refused /usr/bin/xinit: server error Unmounting /mnt/stateful_partition/crouton/chroots/trusty... Xorg.0.txt

RyanMcCarl commented 8 years ago

I am still repeatedly encountering this problem on my Asus Chromebook Flip 100. Here is the latest:

(trusty)ryan@localhost:~$` cat /tmp/Xorg.crouton.1.log
[  7715.356] _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[  7715.359] 
X.Org X Server 1.13.0
Release Date: 2012-09-05
[  7715.359] X Protocol Version 11, Revision 0
[  7715.359] Build Operating System: Linux 2.6.42-54-highbank armv7l Ubuntu
[  7715.360] Current Operating System: Linux localhost 3.14.0 #1 SMP PREEMPT Thu Apr 28 15:48:22 PDT 2016 armv7l
[  7715.360] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=a183bd13-d95f-4c43-b21f-02da44d59a01/PARTNROFF=1 hashtree=PARTUUID=a183bd13-d95f-4c43-b21f-02da44d59a01/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=38a1437624f63d23895cfdd5dfc8bee963e46938 salt=a4f0931be120847da3c374981e287c40f3646203f6e6cd919dd5feec671824ed" noinitrd vt.global_cursor_default=0 kern_guid=a183bd13-d95f-4c43-b21f-02da44d59a01  
[  7715.360] Build Date: 05 November 2013  03:23:26PM
[  7715.360] xorg-server 2:1.13.0-0ubuntu6.5~precise1 (For technical support please see http://www.ubuntu.com/support) 
[  7715.360] Current version of pixman: 0.30.2
[  7715.360]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  7715.360] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  7715.361] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sat Jun 18 11:44:48 2016
[  7715.362] (++) Using config file: "/etc/X11/xorg-dummy.conf"
[  7715.362] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  7715.364] (==) ServerLayout "Layout0"
[  7715.364] (**) |-->Screen "Screen0" (0)
[  7715.364] (**) |   |-->Monitor "Monitor0"
[  7715.365] (**) |   |-->Device "Card0"
[  7715.365] (**) Option "DontVTSwitch" "true"
[  7715.365] (**) Option "AllowMouseOpenFail" "true"
[  7715.365] (**) Option "AutoAddDevices" "false"
[  7715.365] (**) Option "AutoEnableDevices" "false"
[  7715.365] (**) Option "AutoAddGPU" "false"
[  7715.365] (**) Not automatically adding devices
[  7715.365] (**) Not automatically enabling devices
[  7715.365] (**) Not automatically adding GPU devices
[  7715.366] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  7715.366]    Entry deleted from font path.
[  7715.366] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  7715.366]    Entry deleted from font path.
[  7715.366] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  7715.366]    Entry deleted from font path.
[  7715.366] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  7715.366]    Entry deleted from font path.
[  7715.366] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  7715.366]    Entry deleted from font path.
[  7715.366] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[  7715.366]    Entry deleted from font path.
[  7715.366] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[  7715.366] (==) ModulePath set to "/usr/lib/arm-linux-gnueabihf/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[  7715.366] (==) |-->Input Device "<default pointer>"
[  7715.366] (==) |-->Input Device "<default keyboard>"
[  7715.366] (==) The core pointer device wasn't specified explicitly in the layout.
        Using the default mouse configuration.
[  7715.366] (==) The core keyboard device wasn't specified explicitly in the layout.
        Using the default keyboard configuration.
[  7715.366] (II) Loader magic: 0xb6f1ae58
[  7715.366] (II) Module ABI versions:
[  7715.366]    X.Org ANSI C Emulation: 0.4
[  7715.366]    X.Org Video Driver: 13.0
[  7715.366]    X.Org XInput driver : 18.0
[  7715.366]    X.Org Server Extension : 7.0
[  7715.368] (II) config/udev: Adding drm device (/dev/dri/card1)
[  7715.369] Initializing built-in extension Generic Event Extension
[  7715.369] Initializing built-in extension SHAPE
[  7715.369] Initializing built-in extension MIT-SHM
[  7715.369] Initializing built-in extension XInputExtension
[  7715.369] Initializing built-in extension XTEST
[  7715.369] Initializing built-in extension BIG-REQUESTS
[  7715.369] Initializing built-in extension SYNC
[  7715.369] Initializing built-in extension XKEYBOARD
[  7715.369] Initializing built-in extension XC-MISC
[  7715.369] Initializing built-in extension SECURITY
[  7715.369] Initializing built-in extension XINERAMA
[  7715.369] Initializing built-in extension XFIXES
[  7715.369] Initializing built-in extension RENDER
[  7715.369] Initializing built-in extension RANDR
[  7715.370] Initializing built-in extension COMPOSITE
[  7715.370] Initializing built-in extension DAMAGE
[  7715.370] Initializing built-in extension MIT-SCREEN-SAVER
[  7715.370] Initializing built-in extension DOUBLE-BUFFER
[  7715.370] Initializing built-in extension RECORD
[  7715.370] Initializing built-in extension DPMS
[  7715.370] Initializing built-in extension X-Resource
[  7715.370] Initializing built-in extension XVideo
[  7715.370] Initializing built-in extension XVideo-MotionCompensation
[  7715.370] Initializing built-in extension XFree86-VidModeExtension
[  7715.370] Initializing built-in extension XFree86-DGA
[  7715.370] Initializing built-in extension XFree86-DRI
[  7715.370] Initializing built-in extension DRI2
[  7715.370] (II) LoadModule: "glx"
[  7715.372] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  7715.373] (II) Module glx: vendor="X.Org Foundation"
[  7715.373]    compiled for 1.13.0, module version = 1.0.0
[  7715.373]    ABI class: X.Org Server Extension, version 7.0
[  7715.373] (==) AIGLX enabled
[  7715.373] Loading extension GLX
[  7715.373] (II) LoadModule: "dummy"
[  7715.375] (WW) Warning, couldn't open module dummy
[  7715.375] (II) UnloadModule: "dummy"
[  7715.375] (II) Unloading dummy
[  7715.375] (EE) Failed to load module "dummy" (module does not exist, 0)
[  7715.375] (==) Matched modesetting as autoconfigured driver 0
[  7715.375] (==) Matched fbdev as autoconfigured driver 1
[  7715.375] (==) Assigned the driver to the xf86ConfigLayout
[  7715.376] (II) LoadModule: "modesetting"
[  7715.377] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  7715.378] (II) Module modesetting: vendor="X.Org Foundation"
[  7715.378]    compiled for 1.13.0, module version = 0.5.0
[  7715.378]    Module class: X.Org Video Driver
[  7715.378]    ABI class: X.Org Video Driver, version 13.0
[  7715.378] (II) LoadModule: "fbdev"
[  7715.379] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  7715.379] (II) Module fbdev: vendor="X.Org Foundation"
[  7715.379]    compiled for 1.13.0, module version = 0.4.3
[  7715.379]    Module class: X.Org Video Driver
[  7715.379]    ABI class: X.Org Video Driver, version 13.0
[  7715.379] (II) LoadModule: "mouse"
[  7715.381] (WW) Warning, couldn't open module mouse
[  7715.382] (II) UnloadModule: "mouse"
[  7715.382] (II) Unloading mouse
[  7715.382] (EE) Failed to load module "mouse" (module does not exist, 0)
[  7715.382] (II) LoadModule: "kbd"
[  7715.383] (WW) Warning, couldn't open module kbd
[  7715.383] (II) UnloadModule: "kbd"
[  7715.383] (II) Unloading kbd
[  7715.383] (EE) Failed to load module "kbd" (module does not exist, 0)
[  7715.383] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  7715.383] (II) FBDEV: driver for framebuffer: fbdev
[  7715.384] 
Fatal server error:
[  7715.384] xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
[  7715.384] 
[  7715.384] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[  7715.384] (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
[  7715.384] (EE) 
[  7715.384] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[  7715.384] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[  7715.384] Server terminated with error (1). Closing log file.
danielpyon commented 8 years ago

2599

Guys, there's an easy solution to this problem. No downgrade needed. Open crosh, start the shell, and enter the chroot (sudo enter-chroot).

Now type: sudo rm /dev/dri/card0 .. And press enter.

Type: sudo mv /dev/dri/card1 /dev/dri/card0 .. Press enter once again.

Now exit (exit), and do the sudo startunity or sudo startxfce4 command. It should work now. Let me know if it didn't.

NOTE: Once you finish typing all of the commands, you don't need to type them in every time you want to start a chroot session. However, from a fresh boot-up, you DO need to do this same procedure.

Hadlock commented 8 years ago

It would be fantastic if there were a permanent fix for this, as it is obviously impacting other users https://github.com/dnschneid/crouton/issues/1938 https://github.com/dnschneid/crouton/issues/2426

Same error message for the last two years...

Also, thanks @danielpyon for the fix, that also worked for me (Asus C201 arm/rockchip RK3288C chromebook)

StinkyDub commented 8 years ago

Hi guys... New to the board. Here's what I keep getting, and have tried all different versions of Ubuntu

Any Help would be appreciated!

Fatal server error: no screens found (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information Server terminated with error (1). Closing log file. /usr/bin/xinit: giving up /usr/bin/xinit: unable to connect to X server: No such file or directory /usr/bin/xinit: server error Unmounting /mnt/stateful partition/crouton/chroots/precise...

DennisLfromGA commented 8 years ago

@StinkyDub - Did you try the above procedure - https://github.com/dnschneid/crouton/issues/1978#issuecomment-228258065 ???

StinkyDub commented 8 years ago

Yeah, I tried a few things that are mentioned in this article, and none seem to work. I have an Asus Chromebook C100P. I just got it. Hopefully, someone has something super simple to fix this. I tried downgrading, I tried danielpyon's commands. Everytime, an no matter what type of Ubunto, Unity, fcxe, kde, etc. does not work.

DennisLfromGA commented 8 years ago

@StinkyDub - Have you tried using the 'trusty' release, it has worked for others. See https://github.com/dnschneid/crouton/issues/2686 And https://github.com/dnschneid/crouton/issues/2599

umpienoob commented 8 years ago

I have been having the same issues and will be tryint to use Trusty,will update.It's installing right now

umpienoob commented 8 years ago

Annnnd nope.Got this the first attempt to boot using "sudo startxfce4"

Entering /mnt/stateful_partition/crouton/chroots/trusty... /usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.15.1 Release Date: 2014-04-13 X Protocol Version 11, Revision 0 Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu Current Operating System: Linux localhost 3.18.0-12320-gbb6b499 #1 SMP PREEMPT Tue Aug 2 21:10:11 PDT 2016 x86_64 Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=15f77060-5f09-8a44-ab58-5b11af26fc82/PARTNROFF=1 hashtree=PARTUUID=15f77060-5f09-8a44-ab58-5b11af26fc82/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=c4881dcb04911e8abee3f41dc53772575351d211 salt=d491b53a01cfc204568c9ed84a7fc64a5d69407b27dffbbea58ab6d955c697a1" noinitrd vt.global_cursor_default=0 kern_guid=15f77060-5f09-8a44-ab58-5b11af26fc82 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015 02:49:29PM xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.30.2 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Mon Aug 29 00:57:06 2016 (==) Using system config directory "/usr/share/X11/xorg.conf.d" Initializing built-in extension Generic Event Extension Initializing built-in extension SHAPE Initializing built-in extension MIT-SHM Initializing built-in extension XInputExtension Initializing built-in extension XTEST Initializing built-in extension BIG-REQUESTS Initializing built-in extension SYNC Initializing built-in extension XKEYBOARD Initializing built-in extension XC-MISC Initializing built-in extension SECURITY Initializing built-in extension XINERAMA Initializing built-in extension XFIXES Initializing built-in extension RENDER Initializing built-in extension RANDR Initializing built-in extension COMPOSITE Initializing built-in extension DAMAGE Initializing built-in extension MIT-SCREEN-SAVER Initializing built-in extension DOUBLE-BUFFER Initializing built-in extension RECORD Initializing built-in extension DPMS Initializing built-in extension Present Initializing built-in extension DRI3 Initializing built-in extension X-Resource Initializing built-in extension XVideo Initializing built-in extension XVideo-MotionCompensation Initializing built-in extension SELinux Initializing built-in extension XFree86-VidModeExtension Initializing built-in extension XFree86-DGA Initializing built-in extension XFree86-DRI Initializing built-in extension DRI2 Loading extension GLX xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) (EE) Fatal server error: (EE) no screens found(EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information. (EE) (EE) Server terminated with error (1). Closing log file. /usr/bin/xinit: giving up /usr/bin/xinit: unable to connect to X server: Connection refused /usr/bin/xinit: server error Unmounting /mnt/stateful_partition/crouton/chroots/trusty...

StinkyDub commented 8 years ago

Tried using trusty and all of it. Is it because I have a new chromebook? Perhaps, the old ways have been thwarted by the new...

umpienoob commented 8 years ago

Same,i have the Samsung Chromebook 3. Possible the issue is native on it?

abacef commented 8 years ago

I was having the same exact problem. danielpyon's post fixed it for me. Thank you so much.

dhjw commented 8 years ago

danielpyon's post worked for me too AND I fixed it permanently, both on boot and after logout of the chroot, by adding the following to /etc/rc.local in the chroot above the exit 0 line:

if [ -e "/dev/dri/card1" ]; then sudo rm /dev/dri/card0; sudo mv /dev/dri/card1 /dev/dri/card0; fi

quoije commented 8 years ago

@dhjw Thanks man for this fix.

tdingman commented 8 years ago

@danielpyon I don't have either of those files in /dev/dri. Here's what I do have:

(trusty)tim@localhost:/dev/dri$ ls controlD64 renderD128 renderD129 vgem

This is from a fresh install of trusty with xfce and touch on a Pixel 2, with a freshly-downloaded version of crouton.

DennisLfromGA commented 8 years ago

@tdingman,

This issue hasn't popped up on the Pixel from what I've seen so far, are you getting the message -

'Fatal Server Error: NO Screens Found'

-DennisL

tdingman commented 8 years ago

Here's what I get after sudo startxfce4:

Entering /mnt/stateful_partition/crouton/chroots/trusty...
/usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Sep 26 14:47:33 PDT 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashtree=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=b9e5519e94ee26f04e3d00330bf2413996d94ff1 salt=235613e6c9f26a174c543fe7c567073ce54d7bb21f5d830a184765770d1e2987" noinitrd vt.global_cursor_default=0 kern_guid=bc752e51-a424-e847-b311-c5ba5a02cbcf add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic i915.enable_psr=1  
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Oct  7 11:09:55 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...
DennisLfromGA commented 8 years ago

@tdingman,

(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information. (EE)

Have you rebooted? Could you post the output of /tmp/Xorg.crouton.1.log please?

-DennisL

tdingman commented 8 years ago

Contents of /tmp/Xorg.crouton.1.log:

[ 41240.281] _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[ 41240.281]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 41240.281] X Protocol Version 11, Revision 0
[ 41240.281] Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
[ 41240.281] Current Operating System: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Sep 26 14:47:33 PDT 2016 x86_64
[ 41240.281] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashtree=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=b9e5519e94ee26f04e3d00330bf2413996d94ff1 salt=235613e6c9f26a174c543fe7c567073ce54d7bb21f5d830a184765770d1e2987" noinitrd vt.global_cursor_default=0 kern_guid=bc752e51-a424-e847-b311-c5ba5a02cbcf add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic i915.enable_psr=1
[ 41240.281] Build Date: 12 February 2015  02:49:29PM
[ 41240.281] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
[ 41240.281] Current version of pixman: 0.30.2
[ 41240.281]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 41240.281] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 41240.281] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Oct  7 11:09:55 2016
[ 41240.282] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 41240.282] (==) No Layout section.  Using the first Screen section.
[ 41240.282] (==) No screen section available. Using defaults.
[ 41240.282] (**) |-->Screen "Default Screen Section" (0)
[ 41240.282] (**) |   |-->Monitor "<default monitor>"
[ 41240.282] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[ 41240.282] (**) |   |-->Device "Intel Graphics SNA+TearFree"
[ 41240.282] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[ 41240.282] (==) Automatically adding devices
[ 41240.282] (==) Automatically enabling devices
[ 41240.282] (==) Automatically adding GPU devices
[ 41240.282] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 41240.282]    Entry deleted from font path.
[ 41240.282] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 41240.282]    Entry deleted from font path.
[ 41240.282] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 41240.282]    Entry deleted from font path.
[ 41240.283] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 41240.283]    Entry deleted from font path.
[ 41240.283] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 41240.283]    Entry deleted from font path.
[ 41240.283] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[ 41240.283] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 41240.283] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 41240.283] (II) Loader magic: 0x7ff387b14d40
[ 41240.283] (II) Module ABI versions:
[ 41240.283]    X.Org ANSI C Emulation: 0.4
[ 41240.283]    X.Org Video Driver: 15.0
[ 41240.283]    X.Org XInput driver : 20.0
[ 41240.283]    X.Org Server Extension : 8.0
[ 41240.283] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 41240.284] (--) PCI:*(0:0:2:0) 8086:1616:8086:1616 rev 9, Mem @ 0xe0000000/16777216, 0xd0000000/268435456, I/O @ 0x00001800/64
[ 41240.284] Initializing built-in extension Generic Event Extension
[ 41240.284] Initializing built-in extension SHAPE
[ 41240.284] Initializing built-in extension MIT-SHM
[ 41240.284] Initializing built-in extension XInputExtension
[ 41240.284] Initializing built-in extension XTEST
[ 41240.284] Initializing built-in extension BIG-REQUESTS
[ 41240.284] Initializing built-in extension SYNC
[ 41240.284] Initializing built-in extension XKEYBOARD
[ 41240.284] Initializing built-in extension XC-MISC
[ 41240.284] Initializing built-in extension SECURITY
[ 41240.284] Initializing built-in extension XINERAMA
[ 41240.284] Initializing built-in extension XFIXES
[ 41240.284] Initializing built-in extension RENDER
[ 41240.284] Initializing built-in extension RANDR
[ 41240.284] Initializing built-in extension COMPOSITE
[ 41240.284] Initializing built-in extension DAMAGE
[ 41240.284] Initializing built-in extension MIT-SCREEN-SAVER
[ 41240.284] Initializing built-in extension DOUBLE-BUFFER
[ 41240.284] Initializing built-in extension RECORD
[ 41240.284] Initializing built-in extension DPMS
[ 41240.284] Initializing built-in extension Present
[ 41240.284] Initializing built-in extension DRI3
[ 41240.284] Initializing built-in extension X-Resource
[ 41240.284] Initializing built-in extension XVideo
[ 41240.284] Initializing built-in extension XVideo-MotionCompensation
[ 41240.284] Initializing built-in extension SELinux
[ 41240.284] Initializing built-in extension XFree86-VidModeExtension
[ 41240.284] Initializing built-in extension XFree86-DGA
[ 41240.284] Initializing built-in extension XFree86-DRI
[ 41240.284] Initializing built-in extension DRI2
[ 41240.284] (II) LoadModule: "glx"
[ 41240.284] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 41240.285] (II) Module glx: vendor="X.Org Foundation"
[ 41240.285]    compiled for 1.15.1, module version = 1.0.0
[ 41240.285]    ABI class: X.Org Server Extension, version 8.0
[ 41240.285] (==) AIGLX enabled
[ 41240.285] Loading extension GLX
[ 41240.285] (II) LoadModule: "intel"
[ 41240.286] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 41240.286] (II) Module intel: vendor="X.Org Foundation"
[ 41240.286]    compiled for 1.15.1, module version = 2.99.910
[ 41240.286]    Module class: X.Org Video Driver
[ 41240.286]    ABI class: X.Org Video Driver, version 15.0
[ 41240.286] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 41240.287] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 41240.287] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 41240.287] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 41240.287] (--) using VT number 7

[ 41240.299] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 41240.373] (EE) No devices detected.
[ 41240.373] (==) Matched intel as autoconfigured driver 0
[ 41240.373] (==) Matched intel as autoconfigured driver 1
[ 41240.373] (==) Matched modesetting as autoconfigured driver 2
[ 41240.373] (==) Matched fbdev as autoconfigured driver 3
[ 41240.373] (==) Matched vesa as autoconfigured driver 4
[ 41240.373] (==) Assigned the driver to the xf86ConfigLayout
[ 41240.373] (II) LoadModule: "intel"
[ 41240.373] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 41240.373] (II) Module intel: vendor="X.Org Foundation"
[ 41240.373]    compiled for 1.15.1, module version = 2.99.910
[ 41240.373]    Module class: X.Org Video Driver
[ 41240.373]    ABI class: X.Org Video Driver, version 15.0
[ 41240.373] (II) UnloadModule: "intel"
[ 41240.373] (II) Unloading intel
[ 41240.373] (II) Failed to load module "intel" (already loaded, 32755)
[ 41240.373] (II) LoadModule: "modesetting"
[ 41240.374] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 41240.374] (II) Module modesetting: vendor="X.Org Foundation"
[ 41240.374]    compiled for 1.15.0, module version = 0.8.1
[ 41240.374]    Module class: X.Org Video Driver
[ 41240.374]    ABI class: X.Org Video Driver, version 15.0
[ 41240.374] (II) LoadModule: "fbdev"
[ 41240.375] (WW) Warning, couldn't open module fbdev
[ 41240.375] (II) UnloadModule: "fbdev"
[ 41240.375] (II) Unloading fbdev
[ 41240.375] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 41240.375] (II) LoadModule: "vesa"
[ 41240.375] (WW) Warning, couldn't open module vesa
[ 41240.375] (II) UnloadModule: "vesa"
[ 41240.375] (II) Unloading vesa
[ 41240.375] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 41240.375] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 41240.376] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 41240.376] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 41240.376] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 41240.376] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 41240.376] (++) using VT number 7

[ 41240.376] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 41240.376] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 41240.386] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 41240.545] (EE) open /dev/dri/card0: No such file or directory
[ 41240.545] (EE) open /dev/dri/card0: No such file or directory
[ 41240.545] (EE) open /dev/dri/card0: No such file or directory
[ 41240.545] (WW) Falling back to old probe method for modesetting
[ 41240.545] (EE) open /dev/dri/card0: No such file or directory
[ 41240.545] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 41240.545] (EE) Screen 0 deleted because of no matching config section.
[ 41240.545] (II) UnloadModule: "modesetting"
[ 41240.545] (EE) Device(s) detected, but none match those in the config file.
[ 41240.545] (EE)
Fatal server error:
[ 41240.545] (EE) no screens found(EE)
[ 41240.545] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 41240.545] (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
[ 41240.545] (EE)
[ 41240.558] (EE) Server terminated with error (1). Closing log file.

I'll reboot now. What should I look for?

DennisLfromGA commented 8 years ago

@tdingman,

(EE) open /dev/dri/card0: No such file or directory

After a reboot, list the contents of /dev/dri again: ls -l /dev/dri

-DennisL

tdingman commented 8 years ago

@DennisLfromGA there they are! I was able to launch sudo startxfce4 but got the same errors as the initial bug report. Performed the tip about moving card1 to card0. Tried sudo startxfce4 again, but X wouldn't launch and I got the following error:

Entering /mnt/stateful_partition/crouton/chroots/trusty...
/usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Sep 26 14:47:33 PDT 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashtree=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=b9e5519e94ee26f04e3d00330bf2413996d94ff1 salt=235613e6c9f26a174c543fe7c567073ce54d7bb21f5d830a184765770d1e2987" noinitrd vt.global_cursor_default=0 kern_guid=bc752e51-a424-e847-b311-c5ba5a02cbcf add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic i915.enable_psr=1  
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Oct  7 12:20:25 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...

Here's what's in /dev/dri now: card0 controlD64 renderD128 renderD129 vgem

tdingman commented 8 years ago

If I reboot again, I see card0 card1 controlD64 renderD128 renderD129 vgem

DennisLfromGA commented 8 years ago

@tdingman,

(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.

Again, the above log might be helpful - after you perform the card1 --> card0 move operation and attempt to launch your desktop.

-DennisL

tdingman commented 8 years ago

Alright @DennisLfromGA , here's what that log says after I replace card0 with card1:

[ 10533.263] _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
[ 10533.264]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 10533.264] X Protocol Version 11, Revision 0
[ 10533.264] Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
[ 10533.264] Current Operating System: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Sep 26 14:47:33 PDT 2016 x86_64
[ 10533.264] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashtree=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=b9e5519e94ee26f04e3d00330bf2413996d94ff1 salt=235613e6c9f26a174c543fe7c567073ce54d7bb21f5d830a184765770d1e2987" noinitrd vt.global_cursor_default=0 kern_guid=bc752e51-a424-e847-b311-c5ba5a02cbcf add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic i915.enable_psr=1
[ 10533.265] Build Date: 12 February 2015  02:49:29PM
[ 10533.265] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
[ 10533.265] Current version of pixman: 0.30.2
[ 10533.265]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 10533.265] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10533.265] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Oct  7 15:21:25 2016
[ 10533.269] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 10533.272] (==) No Layout section.  Using the first Screen section.
[ 10533.272] (==) No screen section available. Using defaults.
[ 10533.272] (**) |-->Screen "Default Screen Section" (0)
[ 10533.272] (**) |   |-->Monitor "<default monitor>"
[ 10533.273] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[ 10533.273] (**) |   |-->Device "Intel Graphics SNA+TearFree"
[ 10533.273] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[ 10533.273] (==) Automatically adding devices
[ 10533.273] (==) Automatically enabling devices
[ 10533.273] (==) Automatically adding GPU devices
[ 10533.275] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 10533.275]    Entry deleted from font path.
[ 10533.275] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 10533.275]    Entry deleted from font path.
[ 10533.275] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 10533.275]    Entry deleted from font path.
[ 10533.275] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 10533.275]    Entry deleted from font path.
[ 10533.275] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 10533.275]    Entry deleted from font path.
[ 10533.275] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[ 10533.275] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 10533.275] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 10533.275] (II) Loader magic: 0x7f992134fd40
[ 10533.275] (II) Module ABI versions:
[ 10533.275]    X.Org ANSI C Emulation: 0.4
[ 10533.275]    X.Org Video Driver: 15.0
[ 10533.275]    X.Org XInput driver : 20.0
[ 10533.275]    X.Org Server Extension : 8.0
[ 10533.275] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 10533.277] (--) PCI:*(0:0:2:0) 8086:1616:8086:1616 rev 9, Mem @ 0xe0000000/16777216, 0xd0000000/268435456, I/O @ 0x00001800/64
[ 10533.277] Initializing built-in extension Generic Event Extension
[ 10533.277] Initializing built-in extension SHAPE
[ 10533.277] Initializing built-in extension MIT-SHM
[ 10533.277] Initializing built-in extension XInputExtension
[ 10533.277] Initializing built-in extension XTEST
[ 10533.277] Initializing built-in extension BIG-REQUESTS
[ 10533.277] Initializing built-in extension SYNC
[ 10533.277] Initializing built-in extension XKEYBOARD
[ 10533.277] Initializing built-in extension XC-MISC
[ 10533.277] Initializing built-in extension SECURITY
[ 10533.277] Initializing built-in extension XINERAMA
[ 10533.277] Initializing built-in extension XFIXES
[ 10533.277] Initializing built-in extension RENDER
[ 10533.277] Initializing built-in extension RANDR
[ 10533.277] Initializing built-in extension COMPOSITE
[ 10533.277] Initializing built-in extension DAMAGE
[ 10533.277] Initializing built-in extension MIT-SCREEN-SAVER
[ 10533.277] Initializing built-in extension DOUBLE-BUFFER
[ 10533.277] Initializing built-in extension RECORD
[ 10533.277] Initializing built-in extension DPMS
[ 10533.277] Initializing built-in extension Present
[ 10533.277] Initializing built-in extension DRI3
[ 10533.277] Initializing built-in extension X-Resource
[ 10533.277] Initializing built-in extension XVideo
[ 10533.277] Initializing built-in extension XVideo-MotionCompensation
[ 10533.277] Initializing built-in extension SELinux
[ 10533.277] Initializing built-in extension XFree86-VidModeExtension
[ 10533.277] Initializing built-in extension XFree86-DGA
[ 10533.277] Initializing built-in extension XFree86-DRI
[ 10533.277] Initializing built-in extension DRI2
[ 10533.277] (II) LoadModule: "glx"
[ 10533.279] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 10533.288] (II) Module glx: vendor="X.Org Foundation"
[ 10533.288]    compiled for 1.15.1, module version = 1.0.0
[ 10533.288]    ABI class: X.Org Server Extension, version 8.0
[ 10533.288] (==) AIGLX enabled
[ 10533.289] Loading extension GLX
[ 10533.289] (II) LoadModule: "intel"
[ 10533.289] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 10533.293] (II) Module intel: vendor="X.Org Foundation"
[ 10533.293]    compiled for 1.15.1, module version = 2.99.910
[ 10533.293]    Module class: X.Org Video Driver
[ 10533.293]    ABI class: X.Org Video Driver, version 15.0
[ 10533.293] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 10533.294] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 10533.294] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 10533.294] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 10533.294] (--) using VT number 7

[ 10533.300] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 10533.364] (EE) No devices detected.
[ 10533.364] (==) Matched intel as autoconfigured driver 0
[ 10533.364] (==) Matched intel as autoconfigured driver 1
[ 10533.364] (==) Matched modesetting as autoconfigured driver 2
[ 10533.364] (==) Matched fbdev as autoconfigured driver 3
[ 10533.364] (==) Matched vesa as autoconfigured driver 4
[ 10533.364] (==) Assigned the driver to the xf86ConfigLayout
[ 10533.364] (II) LoadModule: "intel"
[ 10533.365] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 10533.365] (II) Module intel: vendor="X.Org Foundation"
[ 10533.365]    compiled for 1.15.1, module version = 2.99.910
[ 10533.365]    Module class: X.Org Video Driver
[ 10533.365]    ABI class: X.Org Video Driver, version 15.0
[ 10533.365] (II) UnloadModule: "intel"
[ 10533.365] (II) Unloading intel
[ 10533.365] (II) Failed to load module "intel" (already loaded, 32665)
[ 10533.365] (II) LoadModule: "modesetting"
[ 10533.365] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 10533.366] (II) Module modesetting: vendor="X.Org Foundation"
[ 10533.366]    compiled for 1.15.0, module version = 0.8.1
[ 10533.366]    Module class: X.Org Video Driver
[ 10533.366]    ABI class: X.Org Video Driver, version 15.0
[ 10533.366] (II) LoadModule: "fbdev"
[ 10533.367] (WW) Warning, couldn't open module fbdev
[ 10533.367] (II) UnloadModule: "fbdev"
[ 10533.367] (II) Unloading fbdev
[ 10533.367] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 10533.367] (II) LoadModule: "vesa"
[ 10533.368] (WW) Warning, couldn't open module vesa
[ 10533.368] (II) UnloadModule: "vesa"
[ 10533.368] (II) Unloading vesa
[ 10533.368] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 10533.368] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 10533.368] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 10533.368] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 10533.368] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 10533.368] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 10533.368] (++) using VT number 7

[ 10533.368] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 10533.368] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 10533.376] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 10533.508] (WW) Falling back to old probe method for modesetting
[ 10533.508] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 10533.508] (EE) Screen 0 deleted because of no matching config section.
[ 10533.508] (II) UnloadModule: "modesetting"
[ 10533.508] (EE) Device(s) detected, but none match those in the config file.
[ 10533.508] (EE)
Fatal server error:
[ 10533.508] (EE) no screens found(EE)
[ 10533.508] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 10533.508] (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
[ 10533.508] (EE)
[ 10533.521] (EE) Server terminated with error (1). Closing log file.
DennisLfromGA commented 8 years ago

@tdingman,

Thanx, I seem to remember a modified xorg.conf file or something but I can't find it right now. I'll keep looking but maybe someone else will pop in here and give us an answer.

-DennisL

dnschneid commented 8 years ago

Trusty xorg on jerry should work just fine out of box without messing with /dev/dri/card* (I just tried it). Do you get failures on trusty if you don't make any modifications to /dev/dri? If so, could you please post the output and the xorg log in that situation?

dnschneid commented 8 years ago

I do see the error on precise without the /dev/dri hacking.

dnschneid commented 8 years ago

Okay, pushed out a fix. The latest crouton should fix all of the /dev/dri/card* issues, so please delete any hacks you have in your rc.local or wherever else you put them.

tdingman commented 8 years ago

Just deleted my old chroot and crouton, downloaded the latest version of crouton, and installed a fresh version of trusty with xfce and touch flags. (I'm on a Pixel 2, stable channel.)

After trying to sudo startxfce4:

Entering /mnt/stateful_partition/crouton/chroots/trusty...
/usr/bin/startxfce4: Starting X server

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root

X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Sep 26 14:47:33 PDT 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashtree=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=b9e5519e94ee26f04e3d00330bf2413996d94ff1 salt=235613e6c9f26a174c543fe7c567073ce54d7bb21f5d830a184765770d1e2987" noinitrd vt.global_cursor_default=0 kern_guid=bc752e51-a424-e847-b311-c5ba5a02cbcf add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic i915.enable_psr=1  
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support) 
Current version of pixman: 0.30.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Wed Oct 12 18:11:12 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/trusty...

The Xorg log:

[ 76038.404] _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
[ 76038.405]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 76038.405] X Protocol Version 11, Revision 0
[ 76038.405] Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
[ 76038.405] Current Operating System: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Sep 26 14:47:33 PDT 2016 x86_64
[ 76038.405] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 3584000 verity payload=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashtree=PARTUUID=bc752e51-a424-e847-b311-c5ba5a02cbcf/PARTNROFF=1 hashstart=3584000 alg=sha1 root_hexdigest=b9e5519e94ee26f04e3d00330bf2413996d94ff1 salt=235613e6c9f26a174c543fe7c567073ce54d7bb21f5d830a184765770d1e2987" noinitrd vt.global_cursor_default=0 kern_guid=bc752e51-a424-e847-b311-c5ba5a02cbcf add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic i915.enable_psr=1
[ 76038.405] Build Date: 12 February 2015  02:49:29PM
[ 76038.405] xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
[ 76038.405] Current version of pixman: 0.30.2
[ 76038.405]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 76038.405] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 76038.405] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Wed Oct 12 18:11:12 2016
[ 76038.405] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 76038.407] (==) No Layout section.  Using the first Screen section.
[ 76038.407] (==) No screen section available. Using defaults.
[ 76038.407] (**) |-->Screen "Default Screen Section" (0)
[ 76038.407] (**) |   |-->Monitor "<default monitor>"
[ 76038.407] (==) No device specified for screen "Default Screen Section".
        Using the first device section listed.
[ 76038.407] (**) |   |-->Device "Intel Graphics SNA+TearFree"
[ 76038.407] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[ 76038.407] (==) Automatically adding devices
[ 76038.407] (==) Automatically enabling devices
[ 76038.407] (==) Automatically adding GPU devices
[ 76038.407] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 76038.407]    Entry deleted from font path.
[ 76038.407] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 76038.407]    Entry deleted from font path.
[ 76038.407] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 76038.407]    Entry deleted from font path.
[ 76038.407] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 76038.407]    Entry deleted from font path.
[ 76038.407] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 76038.407]    Entry deleted from font path.
[ 76038.408] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/Type1,
        built-ins
[ 76038.408] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 76038.408] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 76038.408] (II) Loader magic: 0x7fd226d8dd40
[ 76038.408] (II) Module ABI versions:
[ 76038.408]    X.Org ANSI C Emulation: 0.4
[ 76038.408]    X.Org Video Driver: 15.0
[ 76038.408]    X.Org XInput driver : 20.0
[ 76038.408]    X.Org Server Extension : 8.0
[ 76038.408] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 76038.409] (--) PCI:*(0:0:2:0) 8086:1616:8086:1616 rev 9, Mem @ 0xe0000000/16777216, 0xd0000000/268435456, I/O @ 0x00001800/64
[ 76038.409] Initializing built-in extension Generic Event Extension
[ 76038.409] Initializing built-in extension SHAPE
[ 76038.409] Initializing built-in extension MIT-SHM
[ 76038.409] Initializing built-in extension XInputExtension
[ 76038.409] Initializing built-in extension XTEST
[ 76038.409] Initializing built-in extension BIG-REQUESTS
[ 76038.409] Initializing built-in extension SYNC
[ 76038.409] Initializing built-in extension XKEYBOARD
[ 76038.409] Initializing built-in extension XC-MISC
[ 76038.409] Initializing built-in extension SECURITY
[ 76038.409] Initializing built-in extension XINERAMA
[ 76038.409] Initializing built-in extension XFIXES
[ 76038.409] Initializing built-in extension RENDER
[ 76038.409] Initializing built-in extension RANDR
[ 76038.409] Initializing built-in extension COMPOSITE
[ 76038.409] Initializing built-in extension DAMAGE
[ 76038.409] Initializing built-in extension MIT-SCREEN-SAVER
[ 76038.409] Initializing built-in extension DOUBLE-BUFFER
[ 76038.409] Initializing built-in extension RECORD
[ 76038.409] Initializing built-in extension DPMS
[ 76038.409] Initializing built-in extension Present
[ 76038.409] Initializing built-in extension DRI3
[ 76038.409] Initializing built-in extension X-Resource
[ 76038.409] Initializing built-in extension XVideo
[ 76038.410] Initializing built-in extension XVideo-MotionCompensation
[ 76038.410] Initializing built-in extension SELinux
[ 76038.410] Initializing built-in extension XFree86-VidModeExtension
[ 76038.410] Initializing built-in extension XFree86-DGA
[ 76038.410] Initializing built-in extension XFree86-DRI
[ 76038.410] Initializing built-in extension DRI2
[ 76038.410] (II) LoadModule: "glx"
[ 76038.410] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 76038.417] (II) Module glx: vendor="X.Org Foundation"
[ 76038.417]    compiled for 1.15.1, module version = 1.0.0
[ 76038.417]    ABI class: X.Org Server Extension, version 8.0
[ 76038.417] (==) AIGLX enabled
[ 76038.417] Loading extension GLX
[ 76038.417] (II) LoadModule: "intel"
[ 76038.417] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 76038.418] (II) Module intel: vendor="X.Org Foundation"
[ 76038.418]    compiled for 1.15.1, module version = 2.99.910
[ 76038.418]    Module class: X.Org Video Driver
[ 76038.418]    ABI class: X.Org Video Driver, version 15.0
[ 76038.418] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 76038.418] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 76038.418] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 76038.418] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 76038.418] (--) using VT number 7

[ 76038.430] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 76038.493] (EE) No devices detected.
[ 76038.493] (==) Matched intel as autoconfigured driver 0
[ 76038.493] (==) Matched intel as autoconfigured driver 1
[ 76038.493] (==) Matched modesetting as autoconfigured driver 2
[ 76038.493] (==) Matched fbdev as autoconfigured driver 3
[ 76038.493] (==) Matched vesa as autoconfigured driver 4
[ 76038.493] (==) Assigned the driver to the xf86ConfigLayout
[ 76038.493] (II) LoadModule: "intel"
[ 76038.494] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 76038.494] (II) Module intel: vendor="X.Org Foundation"
[ 76038.494]    compiled for 1.15.1, module version = 2.99.910
[ 76038.494]    Module class: X.Org Video Driver
[ 76038.494]    ABI class: X.Org Video Driver, version 15.0
[ 76038.494] (II) UnloadModule: "intel"
[ 76038.494] (II) Unloading intel
[ 76038.494] (II) Failed to load module "intel" (already loaded, 32722)
[ 76038.494] (II) LoadModule: "modesetting"
[ 76038.494] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 76038.495] (II) Module modesetting: vendor="X.Org Foundation"
[ 76038.495]    compiled for 1.15.0, module version = 0.8.1
[ 76038.495]    Module class: X.Org Video Driver
[ 76038.495]    ABI class: X.Org Video Driver, version 15.0
[ 76038.495] (II) LoadModule: "fbdev"
[ 76038.496] (WW) Warning, couldn't open module fbdev
[ 76038.496] (II) UnloadModule: "fbdev"
[ 76038.496] (II) Unloading fbdev
[ 76038.496] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 76038.496] (II) LoadModule: "vesa"
[ 76038.497] (WW) Warning, couldn't open module vesa
[ 76038.497] (II) UnloadModule: "vesa"
[ 76038.497] (II) Unloading vesa
[ 76038.497] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 76038.497] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 76038.497] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 76038.497] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 76038.497] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 76038.497] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 76038.497] (++) using VT number 7

[ 76038.497] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 76038.497] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 76038.505] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 76038.638] (WW) Falling back to old probe method for modesetting
[ 76038.638] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 76038.638] (EE) Screen 0 deleted because of no matching config section.
[ 76038.638] (II) UnloadModule: "modesetting"
[ 76038.638] (EE) Device(s) detected, but none match those in the config file.
[ 76038.638] (EE)
Fatal server error:
[ 76038.638] (EE) no screens found(EE)
[ 76038.639] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 76038.639] (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
[ 76038.639] (EE)
[ 76038.651] (EE) Server terminated with error (1). Closing log file.

I need to restart to restore /dev/dri to its normal state, though. Results to come.

dnschneid commented 8 years ago

Why were you modifying /dev/dri on a Pixel 2? Definitely reboot and try again.

tdingman commented 8 years ago

Beats me! I just do what the people in the comments tell me 😆

tdingman commented 8 years ago

Same kernel panic stuff all the way to DRI2 from my last attempt. Here's what it says after that (which includes a switch from crouton to ChromeOS using Crtl + Alt + Shift + <--, switching back to crouton, and logging out):

Loading extension GLX
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
crouton: version 1-20161012155921~master:68e8a354
release: trusty
architecture: amd64
xmethod: xorg
targets: xfce,touch
host: version 8530.93.0 (Official Build) stable-channel samus 
kernel: Linux localhost 3.14.0 #1 SMP PREEMPT Mon Sep 26 14:47:33 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.
xfce4-session: No gpg or ssh authentication agent found
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable

(xfwm4:18503): GLib-CRITICAL **: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfwm4:18503): xfwm4-WARNING **: The property '/general/double_click_distance' of type int is not supported

(polkit-gnome-authentication-agent-1:18519): GLib-CRITICAL **: g_variant_new_string: assertion 'string != NULL' failed

(polkit-gnome-authentication-agent-1:18519): polkit-gnome-1-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(xfsettingsd:18550): GLib-CRITICAL **: g_str_has_prefix: assertion 'prefix != NULL' failed

(xfce4-panel:18509): Gtk-CRITICAL **: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

(xfce4-panel:18509): Gtk-CRITICAL **: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(II) AIGLX: Suspending AIGLX clients for VT switch

(xfce4-session:18477): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Running exit commands...
/usr/bin/xinit: connection to X server lost

waiting for X server to shut down xscreensaver: 18:29:29: SIGHUP received: restarting...
xscreensaver: 18:29:29: running as tim/tim (1000/1000)

Hangup
xfce4-volumed: Fatal IO error 11 (Resource temporarily unavailable) on X server :1.0.
xscreensaver: 18:29:29: Can't open display: :1.0
xscreensaver: 18:29:29: running as tim/tim (1000/1000)

xscreensaver: 18:29:29: Errors at startup are usually authorization problems.
              But you're not logging in as root (good!) so something
              else must be wrong.  Did you read the manual and the FAQ?

              http://www.jwz.org/xscreensaver/faq.html
              http://www.jwz.org/xscreensaver/man.html

(EE) Server terminated successfully (0). Closing log file.

Unmounting /mnt/stateful_partition/crouton/chroots/trusty...
Sending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/trusty...