dnschneid / crouton

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

Crouton/xiwi display stopped working properly #4575

Closed harmalkar closed 3 years ago

harmalkar commented 3 years ago
Please paste the output of the following command here: sudo edit-chroot -all
name: xenial
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/xenial...
crouton: version 1-20210709170820~master:14ca6bc7
release: xenial
architecture: amd64
xmethod: xiwi
targets: xiwi,xfce
host: version 14092.28.0 (Official Build) beta-channel kip 
kernel: Linux localhost 4.4.254-20725-g094d7d3745aa #1 SMP PREEMPT Tue Aug 10 21:45:26 PDT 2021 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/xenial...

Please describe your issue:

I'm using the crouton integration app with xiwi to display the desktop environment. It's been working perfectly for about a month, but today something broke and the text and icons no longer display properly:

image

As you can see from the image above, the display environment has become slightly transparent, the background wallpaper is gone, and the text is hard to read. There are a few other issues which are hard to take a screenshot of as well, such as text disappearing when hovering over it or text not clearing when it normally would after the display refreshes.

This is the output which appears in the terminal after I run sudo startxfce4:

Connected to extension, launched crouton in a window.
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
xfce4-session: No GPG agent found
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable

(xfwm4:23582): xfwm4-WARNING **: output size (683x640) and logical screen size (1366x736) do not match
xsel: realloc error: Resource temporarily unavailable
xsel: realloc error: Resource temporarily unavailable
xsel: realloc error: Resource temporarily unavailable
xsel: realloc error: Resource temporarily unavailable
xsel: realloc error: Resource temporarily unavailable
xsel: realloc error: Resource temporarily unavailable
xsel: realloc error: Resource temporarily unavailable
xsel: realloc error: Resource temporarily unavailable

This issue affects every app I try to run, not just the desktop environment. For example, when I run sudo enter-chroot xiwi xterm, the display is all white and doesn't refresh until I move the window. When I do move the window, the text refreshes but is light and hard to read against the white background.

harmalkar commented 3 years ago

Issue went away after restarting my chromebook a few times

grde1988 commented 2 years ago

This is happening to me as well. Any idea how to solve this?

One thing I noticed is Xiwi windows get into this mode whenever I attempt to take a screenshot of when I present my window during a virtual meeting via Google Meet etc.

Please advise.

grde1988 commented 2 years ago

@dnschneid @harmalkar Hello, sorry to drag this out but I am running into this issue for the second time. It always seems to happen when I present my Crouton application while "sharing a window" in Google Meet. The problem has same visual symptoms as mentioned above and is persistent even though I restart my pixelbook and or remove and reinstall the Chrome Crouton Extension. Please advise. The very odd thing is the only way to properly view my display is by viewing it through a shared window on Google Meet. See below screenshot for reference.

I believe the first time the issue was resolved due to a chromeOS update. This was a lucky break honestly because now that I have this issue again, I am not exactly sure what to do. Any help would be great.

/usr/bin/startxfce4: Starting X server

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

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.151-16906-g86cbb761e8c4 #1 SMP PREEMPT Sun Nov 28 20:30:43 PST 2021 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=97ad601d-8453-ff4e-bab4-8c9dfdc57a37/PARTNROFF=1 hashtree=PARTUUID=97ad601d-8453-ff4e-bab4-8c9dfdc57a37/PARTNROFF=1 hashstart=4710400 alg=sha256 root_hexdigest=3b7504e7ba7542fc90e30d47c8696d9d57f790356b11bf8efd0119264735ca1c salt=a6e3a2a1453748e6aeabb0ae47a1ad69930b1fb1bd6dce60e8847cf4b8470a82" noinitrd vt.global_cursor_default=0 kern_guid=97ad601d-8453-ff4e-bab4-8c9dfdc57a37 add_efi_memmap boot=local noresume noswap i915.modeset=1 disablevmx=off kvm-intel.vmentry_l1d_flush=always i915.enable_dpcd_backlight=1 i915.enable_dbc=1 i915.enable_guc_loading=1 i915.enable_guc_submission=0  
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: Sat Dec 11 22:18:03 2021
(++) Using config file: "/etc/X11/xorg-dummy.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
/usr/bin/xinit: XFree86_VT property unexpectedly has 0 items instead of 1
crouton: version git
release: xenial
architecture: amd64
xmethod: xiwi
targets: xiwi,xfce
host: version 14268.51.0 (Official Build) stable-channel eve 
kernel: Linux localhost 5.4.151-16906-g86cbb761e8c4 #1 SMP PREEMPT Sun Nov 28 20:30:43 PST 2021 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Error: not connected.
Cannot connect to extension, retrying...
Connected to extension, launched crouton in a window.
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
xfce4-session: No GPG agent found
/usr/bin/xbindkeys_autostart: line 24: CONF: unbound variable

Screenshot 2021-12-11 10 13 00 PM

grde1988 commented 2 years ago

Another update, I tired reinstalling xiwi via:

sudo sh /usr/local/bin/crouton -t xiwi -u -n xenial

but the visual issues persist. Any suggestions?

grde1988 commented 2 years ago

Last update: I forced a ChromeOS update by changing to dev channel. Now the display is working as expected. However, now I'm stuck here because changing back to Sable or Beta will require a Powerwash >:-\

I will definitely avoid presenting with Google Meet from now on.

DennisLfromGA commented 2 years ago

@grde1988,

If you're avoiding a powerwash due to a crouton chroot be aware that 'crouton' has both backup & restore options.

Hope this helps, -*DennisLfromGA

Apocalypse10110 commented 8 months ago

I have the same issue. Should I go into the dev channel or wait until a new Chromebook update? I know I am responding to 3 year old comment, but I hope you'll still be able to help me. Thanks.

grde1988 commented 7 months ago

No, don't go dev. I still had the same problem even when using the dev branch. When you say you are having the same issue, you mean graphic issues on a google pixelbook or other chromebook. I still have the problem and it made it impossible to work with crouton. I believe it has to do with the chromebook updates, something needs to be updates for the newer versions

On Sun, Feb 11, 2024 at 3:35 AM Apocalypse @.***> wrote:

I have the same issue. Should I go into the dev channel or wait until a new Chromebook update? I know I am responding to 3 year old comment, but I hope you'll still be able to help me. Thanks.

— Reply to this email directly, view it on GitHub https://github.com/dnschneid/crouton/issues/4575#issuecomment-1937399993, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIEJFNQMKDASA4CTH7QZP3YTAVAHAVCNFSM5CKY3TPKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJTG4ZTSOJZHEZQ . You are receiving this because you were mentioned.Message ID: @.***>