dnschneid / crouton

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

unity problems #4644

Open gitrubus opened 2 years ago

gitrubus commented 2 years ago

Please paste the output of the following command here: im using  my  old  chromebook

#### Please describe your issue: so I just got a new Chromebook but I tried to get unity on my new chromebook
and it showed a black screen but then I close my new Chromebook and it's working but it's frozen so someone help

#### If known, describe the steps to reproduce the issue:
gitrubus commented 2 years ago

its working but the screen is not working.

AlexandruDobrinescu commented 2 years ago

Hello, I think I'm getting the same issue. On a Sandy Bridge laptop with just the integrated gpu running cloudready (94.4.4 (Home Build) stable-channel 64-bit), for both the unity and unity-desktop targets on xenial the result is a wallpaper and only mouse.

I'm using this command for the install: sudo crouton -r xenial -t unity

The installed chroot looks like this:

chronos@localhost / $ sudo edit-chroot -all name: xenial encrypted: no Entering /mnt/stateful_partition/crouton/chroots/xenial... crouton: version 1-20210907212903~master:9b281df5 release: xenial architecture: amd64 xmethod: xorg targets: unity host: version 94.4.4 (Developer Build - neverware) stable-channel chromeover64 kernel: Linux localhost 5.4.147+ #1 SMP Tue Nov 30 08:00:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux freon: yes Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

Starting it logs:

chronos@localhost / $ sudo startunity
Entering /mnt/stateful_partition/crouton/chroots/xenial... Unknown username "geoclue" in message bus configuration file

X.Org X Server 1.18.4 Release Date: 2016-07-19 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.15.0-140-generic x86_64 Ubuntu Current Operating System: Linux localhost 5.4.147+ #1 SMP Tue Nov 30 08:00:00 UTC 2021 x86_64 Kernel command line: BOOT_IMAGE=/syslinux/vmlinuz.A init=/sbin/init boot=local rootwait ro noresume noswap quiet loglevel=3 noinitrd console= dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 i915.modeset=1 cros_efi cros_debug root=/dev/dm-0 "dm=1 vroot none ro 1,0 6082560 verity payload=PARTUUID=404F5DF9-54BA-BB4A-9038-2A6CAEED0A77 hashtree=PARTUUID=404F5DF9-54BA-BB4A-9038-2A6CAEED0A77 hashstart=6082560 alg=sha256 root_hexdigest=76a7a790d6885b816d11778d06511476f3c7205c6dcd5843c57d16dfee8a6690 salt=a6940de9681981ad2ffc86fd7a548ea087b34ac9fe0dc54b35f8ae48bc56e2cb" Build Date: 08 April 2021 01:52:21PM xorg-server 2:1.18.4-0ubuntu0.12 (For technical support please see http://www.ubuntu.com/support) Current version of pixman: 0.33.6 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: Tue Dec 28 12:17:01 2021 (==) Using system config directory "/usr/share/X11/xorg.conf.d" Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) Error executing command as another user: Not authorized

This incident has been reported. crouton: version 1-20210907212903~master:9b281df5 release: xenial architecture: amd64 xmethod: xorg targets: unity host: version 94.4.4 (Developer Build - neverware) stable-channel chromeover64 kernel: Linux localhost 5.4.147+ #1 SMP Tue Nov 30 08:00:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux freon: yes xrandr: Output LVDS1 is not disconnected but has no modes xrandr: Output DP1 is not disconnected but has no modes xrandr: Output DP2 is not disconnected but has no modes xrandr: Output DP3 is not disconnected but has no modes xrandr: Output HDMI1 is not disconnected but has no modes xrandr: Output HDMI2 is not disconnected but has no modes xrandr: Output HDMI3 is not disconnected but has no modes xrandr: Output VGA1 is not disconnected but has no modes Kicking xrandr again xrandr: Output LVDS1 is not disconnected but has no modes xrandr: Output DP1 is not disconnected but has no modes xrandr: Output DP2 is not disconnected but has no modes xrandr: Output DP3 is not disconnected but has no modes xrandr: Output HDMI1 is not disconnected but has no modes xrandr: Output HDMI2 is not disconnected but has no modes xrandr: Output HDMI3 is not disconnected but has no modes xrandr: Output VGA1 is not disconnected but has no modes Kicking xrandr again (II) AIGLX: Suspending AIGLX clients for VT switch Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files (II) AIGLX: Suspending AIGLX clients for VT switch Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.LibCrosService was not provided by any .service files

My initial impression is that it is a graphics issue ad xfce does work.

AlexandruDobrinescu commented 2 years ago

The issue was resolved for me by doing an install clean install of xfce and a second container for unity. I'm not sure how exactly that resolved it but as hdd space is not an issue for me I'm happy to report that as a possible fix.

DennisLfromGA commented 2 years ago

You may want to try using the 'xiwi' method if 'xorg' is giving you issues.

Hope this helps, -DennisLfromGA

pinuke commented 2 years ago

@AlexandruDobrinescu isn't Sandy Bridge intel? why does your chroot architecture report amd64?

@DennisLfromGA can confirm xiwi sometimes works when xorg does not: #4558