dnschneid / crouton

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

Xorg AddScreen/ScreenInit failed for driver 0 [Fatal Server Error] || Kernel is too old for Iris #4717

Open DashConroy opened 2 years ago

DashConroy commented 2 years ago
name: kali-rolling
encrypted: yes, unlocked
Entering /mnt/stateful_partition/crouton/chroots/kali-rolling...
crouton: version 1-20220111101058~master:a9eafaee
release: kali-rolling
architecture: amd64
xmethod: xorg
targets: x11,extension,xiwi,keyboard,core,cli-extra,audio,xfce,gtk-extra
host: version 14526.57.0 (Official Build) stable-channel octopus 
kernel: Linux localhost 4.14.254-18731-g1d3bb728009a #1 SMP PREEMPT Tue Mar 29 19:30:13 PDT 2022 x86_64 GNU/Linux
freon: yes

Please Note I installed xiwi after the error as an attempt to use xorg via a different method. Didn't work either. Initially I was using xinit to start Xorg. I run bspwm, started from .xinitrc in my user's home folder, and have been doing this for months without issue.

If known, describe the steps to reproduce the issue:

This started after updating kali (apt upgrade & apt-get dist-upgrade) and cleaning via apt autoremove. I had also recently installed ibus (after the update), if that has anything to do with it. Tried removing it and starting Xorg with no effect.

Please describe your issue:

On logging into chroot via sudo enter-chroot -n kali-rolling and doing xinit Xorg fails with the following output:


X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
Current Operating System: Linux localhost 4.14.265-18731-g1d3bb728009a #1 SMP PREEMPT Tue Mar 29 19:30:13 PDT 2022 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 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 5767168 verity payload=PARTUUID=de1cb889-cbc4-41d0-bebe-1cdcc327bae0/PARTNROFF=1 hashtree=PARTUUID=de1cb889-cbc4-41d0-bebe-1cdcc327bae0/PARTNROFF=1 hashstart=5767168 alg=sha256 root_hexdigest=6f0a81e81f9526104ad3c617660ecd13d6d847257e162d95a7985215d00b448d salt=c49929ed4e70b30cebef193d629454d72b7e2d9bc1e138336416f80a0311945b" noinitrd vt.global_cursor_default=0 kern_guid=de1cb889-cbc4-41d0-bebe-1cdcc327bae0 add_efi_memmap boot=local noresume noswap i915.modeset=1 gsmi.s0ix_logging_enable=1 intel_idle.slp_s0_check=1  
xorg-server 2:21.1.3-2+b1 (https://www.debian.org/support) 
Current version of pixman: 0.40.0
        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: Sat Apr  9 14:18:50 2022
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.

(EE) 
Fatal server error:
(EE) AddScreen/ScreenInit failed for driver 0
(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

What I Tried

Tried updating crouton (crouton -u -n kali-rolling) multiple times, even downloading a new binary (despite the binary already saying "downloading latest crouton installer" on run). Updated ChromeOS too, no change in any of the output.

I tried 2 solutions to similar (apparently not identical) issues from the crouton issue tracker forums. One was doing sudo rm -f /dev/.../card0; sudo mv /dev/.../card{1,0} in a crosh bash-like shell and re-opening the chroot. The other was adding a file to /usr/share/X11/xorg.conf.d containing the following:

cat 20-armsoc.txt
Section "Device"
        Identifier      "Mali"
        Driver          "modesetting"
        Option          "ShadowFB"              "false"
EndSection

Section "Screen"
        Identifier      "DefaultScreen"
        Device          "Mali"
        DefaultDepth    24
EndSection

Section "DRI"
        Mode            0666
EndSection

Section "Module"
        Disable         "glamoregl"
        Disable         "fbdev"

Neither worked. I suspect it's an issue with loading/finding the driver? Right after the update in kali (which I think was the cause) I was getting an issue about one of the .so libraries not being found, I believe libfuse2 or 3, used for .AppImage programs. Tried installing the xiwi target and using it with the extension, but the extension & chroot were unable to correctly communicate so that was a dead end.

Logfile

[ 10854.251] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[ 10854.251] Current Operating System: Linux localhost 4.14.265-18731-g1d3bb728009a #1 SMP PREEMPT Tue Mar 29 19:30:13 PDT 2022 x86_64
[ 10854.251] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 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 5767168 verity payload=PARTUUID=de1cb889-cbc4-41d0-bebe-1cdcc327bae0/PARTNROFF=1 hashtree=PARTUUID=de1cb889-cbc4-41d0-bebe-1cdcc327bae0/PARTNROFF=1 hashstart=5767168 alg=sha256 root_hexdigest=6f0a81e81f9526104ad3c617660ecd13d6d847257e162d95a7985215d00b448d salt=c49929ed4e70b30cebef193d629454d72b7e2d9bc1e138336416f80a0311945b" noinitrd vt.global_cursor_default=0 kern_guid=de1cb889-cbc4-41d0-bebe-1cdcc327bae0 add_efi_memmap boot=local noresume noswap i915.modeset=1 gsmi.s0ix_logging_enable=1 intel_idle.slp_s0_check=1  
[ 10854.251] xorg-server 2:21.1.3-2+b1 (https://www.debian.org/support) 
[ 10854.251] Current version of pixman: 0.40.0
[ 10854.251]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 10854.251] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10854.251] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sat Apr  9 14:15:35 2022
[ 10854.252] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 10854.252] (==) No Layout section.  Using the first Screen section.
[ 10854.252] (==) No screen section available. Using defaults.
[ 10854.252] (**) |-->Screen "Default Screen Section" (0)
[ 10854.252] (**) |   |-->Monitor "<default monitor>"
[ 10854.252] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[ 10854.252] (==) Automatically adding devices
[ 10854.252] (==) Automatically enabling devices
[ 10854.252] (==) Automatically adding GPU devices
[ 10854.252] (==) Automatically binding GPU devices
[ 10854.252] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 10854.252] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 10854.252]    Entry deleted from font path.
[ 10854.252] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[ 10854.252] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 10854.252] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 10854.252] (II) Loader magic: 0x5bf65883af20
[ 10854.252] (II) Module ABI versions:
[ 10854.252]    X.Org ANSI C Emulation: 0.4
[ 10854.252]    X.Org Video Driver: 25.2
[ 10854.252]    X.Org XInput driver : 24.4
[ 10854.252]    X.Org Server Extension : 10.0
[ 10854.269] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files
[ 10854.270] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 10854.270] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 10854.276] (--) PCI:*(0@0:2:0) 8086:3185:8086:2212 rev 6, Mem @ 0xc0000000/16777216, 0xb0000000/268435456, I/O @ 0x00001000/64, BIOS @ 0x????????/131072
[ 10854.276] (II) LoadModule: "glx"
[ 10854.277] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 10854.278] (II) Module glx: vendor="X.Org Foundation"
[ 10854.278]    compiled for 1.21.1.3, module version = 1.0.0
[ 10854.278]    ABI class: X.Org Server Extension, version 10.0
[ 10854.278] (==) Matched modesetting as autoconfigured driver 0
[ 10854.278] (==) Matched fbdev as autoconfigured driver 1
[ 10854.278] (==) Matched vesa as autoconfigured driver 2
[ 10854.278] (==) Assigned the driver to the xf86ConfigLayout
[ 10854.278] (II) LoadModule: "modesetting"
[ 10854.278] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 10854.279] (II) Module modesetting: vendor="X.Org Foundation"
[ 10854.279]    compiled for 1.21.1.3, module version = 1.21.1
[ 10854.279]    Module class: X.Org Video Driver
[ 10854.279]    ABI class: X.Org Video Driver, version 25.2
[ 10854.279] (II) LoadModule: "fbdev"
[ 10854.279] (WW) Warning, couldn't open module fbdev
[ 10854.279] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 10854.279] (II) LoadModule: "vesa"
[ 10854.279] (WW) Warning, couldn't open module vesa
[ 10854.280] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 10854.280] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 10854.280] (II) modeset(0): using drv /dev/dri/card0
[ 10854.280] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 10854.280] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[ 10854.280] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 10854.280] (==) modeset(0): RGB weight 888
[ 10854.280] (==) modeset(0): Default visual is TrueColor
[ 10854.280] (II) Loading sub module "glamoregl"
[ 10854.280] (II) LoadModule: "glamoregl"
[ 10854.280] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 10854.290] (II) Module glamoregl: vendor="X.Org Foundation"
[ 10854.290]    compiled for 1.21.1.3, module version = 1.0.1
[ 10854.290]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 10854.347] (II) modeset(0): Refusing to try glamor on llvmpipe
[ 10854.348] (II) modeset(0): glamor initialization failed
[ 10854.348] (II) modeset(0): ShadowFB: preferred YES, enabled YES
[ 10854.348] (II) modeset(0): Double-buffered shadow updates: off
[ 10854.349] (II) modeset(0): Output eDP-1 has no monitor section
[ 10854.350] (II) modeset(0): Output DP-1 has no monitor section
[ 10854.350] (II) modeset(0): Output DP-2 has no monitor section
[ 10854.351] (II) modeset(0): EDID for output eDP-1
[ 10854.351] (II) modeset(0): Manufacturer: BOE  Model: 956  Serial#: 0
[ 10854.351] (II) modeset(0): Year: 2020  Week: 1
[ 10854.351] (II) modeset(0): EDID Version: 1.4
[ 10854.351] (II) modeset(0): Digital Display Input
[ 10854.351] (II) modeset(0): 6 bits per channel
[ 10854.351] (II) modeset(0): Digital interface is DisplayPort
[ 10854.351] (II) modeset(0): Max Image Size [cm]: horiz.: 26  vert.: 14
[ 10854.351] (II) modeset(0): Gamma: 2.20
[ 10854.351] (II) modeset(0): No DPMS capabilities specified
[ 10854.351] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[ 10854.351] (II) modeset(0): First detailed timing is preferred mode
[ 10854.351] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[ 10854.351] (II) modeset(0): redX: 0.588 redY: 0.348   greenX: 0.352 greenY: 0.603
[ 10854.351] (II) modeset(0): blueX: 0.160 blueY: 0.112   whiteX: 0.313 whiteY: 0.329
[ 10854.351] (II) modeset(0): Manufacturer's mask: 0
[ 10854.351] (II) modeset(0): Supported detailed timing:
[ 10854.351] (II) modeset(0): clock: 70.2 MHz   Image Size:  256 x 144 mm
[ 10854.351] (II) modeset(0): h_active: 1366  h_sync: 1404  h_sync_end 1426 h_blank_end 1466 h_border: 0
[ 10854.351] (II) modeset(0): v_active: 768  v_sync: 772  v_sync_end 776 v_blanking: 798 v_border: 0
[ 10854.351] (II) modeset(0): Unknown vendor-specific block 0
[ 10854.351] (II) modeset(0):  BOE HF
[ 10854.351] (II) modeset(0): Monitor name: NV116WHM-T16
[ 10854.351] (II) modeset(0): EDID (in hex):
[ 10854.351] (II) modeset(0):   00ffffffffffff0009e5560900000000
[ 10854.351] (II) modeset(0):   011e0104951a0e780a813596595a9a29
[ 10854.351] (II) modeset(0):   1c505400000001010101010101010101
[ 10854.351] (II) modeset(0):   0101010101016b1b566450001e302616
[ 10854.351] (II) modeset(0):   440000901000001a0000000000000000
[ 10854.351] (II) modeset(0):   0000000000000000001a000000fe0042
[ 10854.351] (II) modeset(0):   4f452048460a202020202020000000fc
[ 10854.351] (II) modeset(0):   004e5631313657484d2d5431360a0030
[ 10854.352] (II) modeset(0): Printing probed modes for output eDP-1
[ 10854.352] (II) modeset(0): Modeline "1366x768"x60.0   70.19  1366 1404 1426 1466  768 772 776 798 +hsync -vsync (47.9 kHz eP)
[ 10854.352] (II) modeset(0): Modeline "1360x768"x59.8   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync (47.7 kHz d)
[ 10854.352] (II) modeset(0): Modeline "1360x768"x60.0   72.00  1360 1408 1440 1520  768 771 781 790 +hsync -vsync (47.4 kHz d)
[ 10854.352] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[ 10854.352] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[ 10854.352] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[ 10854.352] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[ 10854.352] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[ 10854.352] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 10854.352] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[ 10854.352] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[ 10854.352] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[ 10854.352] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[ 10854.352] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[ 10854.352] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[ 10854.352] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[ 10854.352] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[ 10854.352] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[ 10854.352] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[ 10854.352] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[ 10854.352] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[ 10854.352] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[ 10854.352] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[ 10854.352] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 10854.352] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 10854.352] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[ 10854.352] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[ 10854.352] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[ 10854.352] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[ 10854.352] (II) modeset(0): Modeline "800x512"x120.3   51.56  800 800 828 832  512 512 514 515 doublescan +hsync +vsync (62.0 kHz d)
[ 10854.352] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[ 10854.352] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[ 10854.352] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[ 10854.352] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[ 10854.352] (II) modeset(0): Modeline "720x450"x119.8   53.25  720 760 836 952  450 451 454 467 doublescan -hsync +vsync (55.9 kHz d)
[ 10854.352] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[ 10854.352] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[ 10854.352] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[ 10854.352] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 10854.352] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[ 10854.352] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[ 10854.352] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[ 10854.352] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[ 10854.352] (II) modeset(0): Modeline "680x384"x119.6   42.38  680 716 784 888  384 385 390 399 doublescan -hsync +vsync (47.7 kHz d)
[ 10854.352] (II) modeset(0): Modeline "680x384"x119.9   36.00  680 704 720 760  384 385 390 395 doublescan +hsync -vsync (47.4 kHz d)
[ 10854.352] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[ 10854.352] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[ 10854.352] (II) modeset(0): Modeline "576x432"x120.1   40.81  576 608 668 760  432 432 434 447 doublescan -hsync +vsync (53.7 kHz d)
[ 10854.352] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[ 10854.352] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[ 10854.352] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[ 10854.352] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[ 10854.352] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[ 10854.352] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[ 10854.352] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[ 10854.352] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[ 10854.352] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[ 10854.352] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[ 10854.352] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[ 10854.352] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[ 10854.352] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[ 10854.352] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[ 10854.352] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[ 10854.352] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[ 10854.352] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[ 10854.352] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[ 10854.352] (II) modeset(0): EDID for output DP-1
[ 10854.352] (II) modeset(0): EDID for output DP-2
[ 10854.353] (II) modeset(0): Output eDP-1 connected
[ 10854.353] (II) modeset(0): Output DP-1 disconnected
[ 10854.353] (II) modeset(0): Output DP-2 disconnected
[ 10854.353] (II) modeset(0): Using exact sizes for initial modes
[ 10854.353] (II) modeset(0): Output eDP-1 using initial mode 1366x768 +0+0
[ 10854.353] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 10854.353] (==) modeset(0): DPI set to (96, 96)
[ 10854.353] (II) Loading sub module "fb"
[ 10854.353] (II) LoadModule: "fb"
[ 10854.353] (II) Module "fb" already built-in
[ 10854.353] (II) Loading sub module "shadow"
[ 10854.353] (II) LoadModule: "shadow"
[ 10854.353] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 10854.353] (II) Module shadow: vendor="X.Org Foundation"
[ 10854.353]    compiled for 1.21.1.3, module version = 1.1.0
[ 10854.353]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 10854.353] (EE) modeset(0): drmSetMaster failed: Permission denied
[ 10854.353] (EE) 
Fatal server error:
[ 10854.353] (EE) AddScreen/ScreenInit failed for driver 0
[ 10854.353] (EE) 
[ 10854.353] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[ 10854.353] (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
[ 10854.353] (EE) 
[ 10854.353] (EE) Server terminated with error (1). Closing log file.

Just near the end there's the line

[ 10854.353] (EE) modeset(0): drmSetMaster failed: Permission denied

I tried as root, and instead of Permission denied it gave me Invalid argument. I also tried installing vesa and fbdev, which led to less warnings but the same error

supechicken commented 2 years ago

Try export MESA_LOADER_DRIVER_OVERRIDE=i965? (this will force mesa to fallback to an older driver that support kernels under 4.16)

DashConroy commented 2 years ago

Nope. I get xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted) (EE) Instead of error: Kernel is too old for Iris. Consider upgrading to kernel v4.16.

There seems to be a very similar procedure (and error) in both but I don't know enough about the layers and components of xorg to understand where it's going wrong

Logfile:

[ 18420.696] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[ 18420.696] Current Operating System: Linux localhost 4.14.265-18731-g1d3bb728009a #1 SMP PREEMPT Tue Mar 29 19:30:13 PDT 2022 x86_64
[ 18420.696] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 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 5767168 verity payload=PARTUUID=de1cb889-cbc4-41d0-bebe-1cdcc327bae0/PARTNROFF=1 hashtree=PARTUUID=de1cb889-cbc4-41d0-bebe-1cdcc327bae0/PARTNROFF=1 hashstart=5767168 alg=sha256 root_hexdigest=6f0a81e81f9526104ad3c617660ecd13d6d847257e162d95a7985215d00b448d salt=c49929ed4e70b30cebef193d629454d72b7e2d9bc1e138336416f80a0311945b" noinitrd vt.global_cursor_default=0 kern_guid=de1cb889-cbc4-41d0-bebe-1cdcc327bae0 add_efi_memmap boot=local noresume noswap i915.modeset=1 gsmi.s0ix_logging_enable=1 intel_idle.slp_s0_check=1  
[ 18420.696] xorg-server 2:21.1.3-2+b1 (https://www.debian.org/support) 
[ 18420.696] Current version of pixman: 0.40.0
[ 18420.696]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[ 18420.696] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 18420.697] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sun Apr 10 13:24:16 2022
[ 18420.697] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 18420.697] (==) No Layout section.  Using the first Screen section.
[ 18420.697] (==) No screen section available. Using defaults.
[ 18420.697] (**) |-->Screen "Default Screen Section" (0)
[ 18420.697] (**) |   |-->Monitor "<default monitor>"
[ 18420.698] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[ 18420.698] (==) Automatically adding devices
[ 18420.698] (==) Automatically enabling devices
[ 18420.698] (==) Automatically adding GPU devices
[ 18420.698] (==) Automatically binding GPU devices
[ 18420.698] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 18420.698] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 18420.698]    Entry deleted from font path.
[ 18420.698] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        built-ins
[ 18420.698] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 18420.698] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 18420.698] (II) Loader magic: 0x5b3e2dba6f20
[ 18420.698] (II) Module ABI versions:
[ 18420.698]    X.Org ANSI C Emulation: 0.4
[ 18420.698]    X.Org Video Driver: 25.2
[ 18420.698]    X.Org XInput driver : 24.4
[ 18420.698]    X.Org Server Extension : 10.0
[ 18420.712] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files
[ 18420.714] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 18420.714] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 18420.719] (--) PCI:*(0@0:2:0) 8086:3185:8086:2212 rev 6, Mem @ 0xc0000000/16777216, 0xb0000000/268435456, I/O @ 0x00001000/64, BIOS @ 0x????????/131072
[ 18420.719] (II) LoadModule: "glx"
[ 18420.720] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 18420.721] (II) Module glx: vendor="X.Org Foundation"
[ 18420.721]    compiled for 1.21.1.3, module version = 1.0.0
[ 18420.721]    ABI class: X.Org Server Extension, version 10.0
[ 18420.721] (==) Matched modesetting as autoconfigured driver 0
[ 18420.721] (==) Matched fbdev as autoconfigured driver 1
[ 18420.721] (==) Matched vesa as autoconfigured driver 2
[ 18420.721] (==) Assigned the driver to the xf86ConfigLayout
[ 18420.721] (II) LoadModule: "modesetting"
[ 18420.721] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 18420.721] (II) Module modesetting: vendor="X.Org Foundation"
[ 18420.721]    compiled for 1.21.1.3, module version = 1.21.1
[ 18420.721]    Module class: X.Org Video Driver
[ 18420.721]    ABI class: X.Org Video Driver, version 25.2
[ 18420.721] (II) LoadModule: "fbdev"
[ 18420.722] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 18420.722] (II) Module fbdev: vendor="X.Org Foundation"
[ 18420.722]    compiled for 1.21.1.3, module version = 0.5.0
[ 18420.722]    Module class: X.Org Video Driver
[ 18420.722]    ABI class: X.Org Video Driver, version 25.2
[ 18420.722] (II) LoadModule: "vesa"
[ 18420.722] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 18420.722] (II) Module vesa: vendor="X.Org Foundation"
[ 18420.722]    compiled for 1.21.1.3, module version = 2.5.0
[ 18420.722]    Module class: X.Org Video Driver
[ 18420.722]    ABI class: X.Org Video Driver, version 25.2
[ 18420.722] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 18420.722] (II) FBDEV: driver for framebuffer: fbdev
[ 18420.722] (II) VESA: driver for VESA chipsets: vesa
[ 18420.722] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[ 18420.722] (II) modeset(0): using drv /dev/dri/card0
[ 18420.722] (WW) Falling back to old probe method for fbdev
[ 18420.722] (II) Loading sub module "fbdevhw"
[ 18420.722] (II) LoadModule: "fbdevhw"
[ 18420.722] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 18420.723] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 18420.723]    compiled for 1.21.1.3, module version = 0.0.2
[ 18420.723]    ABI class: X.Org Video Driver, version 25.2
[ 18420.723] (EE) open /dev/fb0: No such file or directory
[ 18420.723] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 18420.723] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[ 18420.723] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[ 18420.723] (==) modeset(0): RGB weight 888
[ 18420.723] (==) modeset(0): Default visual is TrueColor
[ 18420.723] (II) Loading sub module "glamoregl"
[ 18420.723] (II) LoadModule: "glamoregl"
[ 18420.723] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 18420.732] (II) Module glamoregl: vendor="X.Org Foundation"
[ 18420.732]    compiled for 1.21.1.3, module version = 1.0.1
[ 18420.732]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 18420.800] (II) modeset(0): Refusing to try glamor on llvmpipe
[ 18420.801] (II) modeset(0): glamor initialization failed
[ 18420.801] (II) modeset(0): ShadowFB: preferred YES, enabled YES
[ 18420.801] (II) modeset(0): Double-buffered shadow updates: off
[ 18420.803] (II) modeset(0): Output eDP-1 has no monitor section
[ 18420.803] (II) modeset(0): Output DP-1 has no monitor section
[ 18420.803] (II) modeset(0): Output DP-2 has no monitor section
[ 18420.805] (II) modeset(0): EDID for output eDP-1
[ 18420.805] (II) modeset(0): Manufacturer: BOE  Model: 956  Serial#: 0
[ 18420.805] (II) modeset(0): Year: 2020  Week: 1
[ 18420.805] (II) modeset(0): EDID Version: 1.4
[ 18420.805] (II) modeset(0): Digital Display Input
[ 18420.805] (II) modeset(0): 6 bits per channel
[ 18420.805] (II) modeset(0): Digital interface is DisplayPort
[ 18420.805] (II) modeset(0): Max Image Size [cm]: horiz.: 26  vert.: 14
[ 18420.805] (II) modeset(0): Gamma: 2.20
[ 18420.805] (II) modeset(0): No DPMS capabilities specified
[ 18420.805] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[ 18420.805] (II) modeset(0): First detailed timing is preferred mode
[ 18420.805] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[ 18420.805] (II) modeset(0): redX: 0.588 redY: 0.348   greenX: 0.352 greenY: 0.603
[ 18420.805] (II) modeset(0): blueX: 0.160 blueY: 0.112   whiteX: 0.313 whiteY: 0.329
[ 18420.805] (II) modeset(0): Manufacturer's mask: 0
[ 18420.805] (II) modeset(0): Supported detailed timing:
[ 18420.805] (II) modeset(0): clock: 70.2 MHz   Image Size:  256 x 144 mm
[ 18420.805] (II) modeset(0): h_active: 1366  h_sync: 1404  h_sync_end 1426 h_blank_end 1466 h_border: 0
[ 18420.805] (II) modeset(0): v_active: 768  v_sync: 772  v_sync_end 776 v_blanking: 798 v_border: 0
[ 18420.805] (II) modeset(0): Unknown vendor-specific block 0
[ 18420.805] (II) modeset(0):  BOE HF
[ 18420.805] (II) modeset(0): Monitor name: NV116WHM-T16
[ 18420.805] (II) modeset(0): EDID (in hex):
[ 18420.805] (II) modeset(0):   00ffffffffffff0009e5560900000000
[ 18420.805] (II) modeset(0):   011e0104951a0e780a813596595a9a29
[ 18420.805] (II) modeset(0):   1c505400000001010101010101010101
[ 18420.805] (II) modeset(0):   0101010101016b1b566450001e302616
[ 18420.805] (II) modeset(0):   440000901000001a0000000000000000
[ 18420.805] (II) modeset(0):   0000000000000000001a000000fe0042
[ 18420.805] (II) modeset(0):   4f452048460a202020202020000000fc
[ 18420.805] (II) modeset(0):   004e5631313657484d2d5431360a0030
[ 18420.805] (II) modeset(0): Printing probed modes for output eDP-1
[ 18420.805] (II) modeset(0): Modeline "1366x768"x60.0   70.19  1366 1404 1426 1466  768 772 776 798 +hsync -vsync (47.9 kHz eP)
[ 18420.805] (II) modeset(0): Modeline "1360x768"x59.8   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync (47.7 kHz d)
[ 18420.805] (II) modeset(0): Modeline "1360x768"x60.0   72.00  1360 1408 1440 1520  768 771 781 790 +hsync -vsync (47.4 kHz d)
[ 18420.805] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[ 18420.805] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[ 18420.805] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[ 18420.805] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[ 18420.805] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[ 18420.805] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[ 18420.805] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[ 18420.805] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[ 18420.805] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[ 18420.805] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[ 18420.805] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[ 18420.805] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[ 18420.805] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[ 18420.805] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[ 18420.806] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[ 18420.806] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[ 18420.806] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[ 18420.806] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[ 18420.806] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[ 18420.806] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[ 18420.806] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[ 18420.806] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 18420.806] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[ 18420.806] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[ 18420.806] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[ 18420.806] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[ 18420.806] (II) modeset(0): Modeline "800x512"x120.3   51.56  800 800 828 832  512 512 514 515 doublescan +hsync +vsync (62.0 kHz d)
[ 18420.806] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[ 18420.806] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[ 18420.806] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[ 18420.806] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[ 18420.806] (II) modeset(0): Modeline "720x450"x119.8   53.25  720 760 836 952  450 451 454 467 doublescan -hsync +vsync (55.9 kHz d)
[ 18420.806] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[ 18420.806] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[ 18420.806] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[ 18420.806] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[ 18420.806] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[ 18420.806] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[ 18420.806] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[ 18420.806] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[ 18420.806] (II) modeset(0): Modeline "680x384"x119.6   42.38  680 716 784 888  384 385 390 399 doublescan -hsync +vsync (47.7 kHz d)
[ 18420.806] (II) modeset(0): Modeline "680x384"x119.9   36.00  680 704 720 760  384 385 390 395 doublescan +hsync -vsync (47.4 kHz d)
[ 18420.806] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[ 18420.806] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[ 18420.806] (II) modeset(0): Modeline "576x432"x120.1   40.81  576 608 668 760  432 432 434 447 doublescan -hsync +vsync (53.7 kHz d)
[ 18420.806] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[ 18420.806] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[ 18420.806] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[ 18420.806] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[ 18420.806] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[ 18420.806] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[ 18420.806] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[ 18420.806] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[ 18420.806] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[ 18420.806] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[ 18420.806] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[ 18420.806] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[ 18420.806] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[ 18420.806] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[ 18420.806] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[ 18420.806] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[ 18420.806] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[ 18420.806] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[ 18420.806] (II) modeset(0): EDID for output DP-1
[ 18420.806] (II) modeset(0): EDID for output DP-2
[ 18420.806] (II) modeset(0): Output eDP-1 connected
[ 18420.806] (II) modeset(0): Output DP-1 disconnected
[ 18420.806] (II) modeset(0): Output DP-2 disconnected
[ 18420.806] (II) modeset(0): Using exact sizes for initial modes
[ 18420.806] (II) modeset(0): Output eDP-1 using initial mode 1366x768 +0+0
[ 18420.806] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[ 18420.806] (==) modeset(0): DPI set to (96, 96)
[ 18420.806] (II) Loading sub module "fb"
[ 18420.806] (II) LoadModule: "fb"
[ 18420.806] (II) Module "fb" already built-in
[ 18420.806] (II) Loading sub module "shadow"
[ 18420.806] (II) LoadModule: "shadow"
[ 18420.807] (II) Loading /usr/lib/xorg/modules/libshadow.so
[ 18420.807] (II) Module shadow: vendor="X.Org Foundation"
[ 18420.807]    compiled for 1.21.1.3, module version = 1.1.0
[ 18420.807]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 18420.807] (II) UnloadModule: "fbdev"
[ 18420.807] (II) Unloading fbdev
[ 18420.807] (II) UnloadSubModule: "fbdevhw"
[ 18420.807] (II) Unloading fbdevhw
[ 18420.807] (II) UnloadModule: "vesa"
[ 18420.807] (II) Unloading vesa
[ 18420.807] (EE) modeset(0): drmSetMaster failed: Permission denied
[ 18420.807] (EE) 
Fatal server error:
[ 18420.807] (EE) AddScreen/ScreenInit failed for driver 0
[ 18420.807] (EE) 
[ 18420.807] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[ 18420.807] (EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
[ 18420.807] (EE) 
[ 18420.807] (EE) Server terminated with error (1). Closing log file.
123xzxc commented 2 years ago

I got a similar problem, but I'm using sid+Gnome. I was able to run Ubuntu using xfce a long time ago, but when I restore the system and update to the latest Debian Sid doesn't work, it seems this is a common problem.

(using machine translation)

`chronos@localhost / $ sudo startgnome Entering /mnt/stateful_partition/crouton/chroots/sid... dbus[15007]: Unknown username "geoclue" in message bus configuration file

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

X.Org X Server 1.21.1.3 X Protocol Version 11, Revision 0 Current Operating System: Linux localhost 5.4.180-17902-g44152654f29b #1 SMP PREEMPT Mon Apr 4 19:27:38 PDT 2022 x86_64 Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 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 4710400 verity payload=PARTUUID=383c00c0-5fbe-1e4a-8fef-ac36cb835dd4/PARTNROFF=1 hashtree=PARTUUID=383c00c0-5fbe-1e4a-8fef-ac36cb835dd4/PARTNROFF=1 hashstart=4710400 alg=sha256 root_hexdigest=8dbb2df9e1acba63ad824516dac85aab9fe6ab0bad216a8d5f119be23904b488 salt=fe99958bc9fdbac7af47d1e466640b4f0cf4dc8fdcb05ce7a2e8605a70294b83" noinitrd vt.global_cursor_default=0 kern_guid=383c00c0-5fbe-1e4a-8fef-ac36cb835dd4 add_efi_memmap boot=local noresume noswap i915.modeset=1 intel_idle.slp_s0_check=1 gsmi.s0ix_logging_enable=1 disablevmx=off kvm-intel.vmentry_l1d_flush=always i915.enable_fbc=0
xorg-server 2:21.1.3-2+b1 (https://www.debian.org/support) Current version of pixman: 0.40.0 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 Apr 11 02:17:25 2022 (==) Using system config directory "/usr/share/X11/xorg.conf.d" xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted) (EE) Fatal server error: (EE) AddScreen/ScreenInit failed for driver 0 (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/sid...`

USMP-lancer commented 2 years ago

the kernal error is not something he can fix, if i remember correctly it shares the kernal from chromeos

USMP-lancer commented 2 years ago

i could be wrong, so if anyone has proof that im wrong please bring it to me, i gotta write a bug report

TomTravis commented 2 years ago

i just installed -t kali-rolling , -t xiwi xorg audio debootstrap missing dbus-x11 for some reason do sudo apt install dbus-x11 exit and reenter chroot Xiwi works just fine for arrm64 it did have issues now gone kal-rolling is back

gitrubus commented 2 years ago

can anyone pls help pls

gitrubus commented 2 years ago

i just installed -t kali-rolling , -t xiwi xorg audio debootstrap missing dbus-x11 for some reason do sudo apt install dbus-x11 exit and reenter chroot Xiwi works just fine for arrm64 it did have issues now gone kal-rolling is back<

how?

and I already have it.

gitrubus commented 2 years ago

okay im seeing the problem or its just the matence or im crazy but why does it say ubuntu/prepare on kali and debian? https://github.com/dnschneid/crouton/blob/master/installer/kali/prepare

gitrubus commented 2 years ago

is that even normal?