-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aura freezes when X11 apps run on native chromebook display #931
Comments
I have also filed this issue on the Chromebook Central Help Forum. 🚁 |
openbox isn't creating an unpainted root window, is it? If you run |
Yes, I followed your steps and got the aura window:
However, note that Openbox by itself doesn't trigger the issue. Instead, the issue is triggered by actual X11 apps (which actually display something on the screen) such as
Sorry for not providing this simplified procedure in the first place! 😅 Thanks for your consideration. |
Hi @dnschneid, another Acer C720 user confirmed this bug, so it's not something that happens solely on my particular Chromebook. If you have access to other Chromebook models, could you please try the simple test of running Thanks for your consideration. |
I too, can confirm this bug on the Acer C720 Chromebook. |
Good news! 😅 I'm now using ChromeOS Version 37.0.2062.120 (64-bit) where I have observed that this problem does not occur for every third X11 client that is launched. 🌀 For example:
Why would this issue be so consistently periodic? 😖 |
Another interesting observation:
<!-- the Aura window manager in Chrome OS -->
<application title="aura_root_0">
<decor>no</decor>
<!-- no window decorations -->
<layer>above</layer>
<!-- always on top -->
<iconic>no</iconic>
<!--<skip_pager>no</skip_pager>-->
<!--<skip_taskbar>no</skip_taskbar>-->
</application>
Notice that Aura remains responsive and the screen doesn't freeze up, even though xterm is running along side it (but hidden behind it). This leads me to think that Aura likes to be on top of all other windows when its sole display is the built-in laptop display. 👊 |
I filed this bug report upstream on the chromium project as issue #418159. 🎏 |
Repainting issue on chromebook seems always related to the framebuffer compression. Maybe you can look at #477 and run |
enter-chroot is supposed to disable fbc. Can you run |
No, enter-chroot changes the permission, and allow fbc to be enabled. The one doing that is chroot-etc/xserverrc-x11 |
@dnschneid Actually I've pointed out in chromium issue 418159, that SNA+tearfree can solve the problem as well, but I doubt chromeos team has enough motivation to change the status quo in order to please us the minority, unless there are other huge benefits for enable SNA. Could you push the chrome team to do it? |
Whoops, I read it wrong. Perhaps host-x11 should do an fbc test-and-set then. I'll look into the bug, but I suspect touching the X11 settings would require a lot of additional testing that they'd rather not do. |
🔥 OMG!! 💖 THANK YOU @ccaapton !! 😱 Had this issue for ages... 😭 a workaround at last! 😅 |
Should we add something to host-x11 to make the workaround a little more discoverable (maybe a -g for "graphical" apps)? Or is this issue/a wiki entry with the workaround sufficient? |
Freon and xiwi pretty much make this obsolete. |
Hello,
When I connect my Acer C720 chromebook to an external monitor via HDMI and then close the lid (so that the only display available to the X server is the external monitor), I am able to run X11 apps successfully on the same X server as the Aura window manager using the
host-x11
script provided by Crouton:However, when I open the lid on my chromebook (so that there are 2 displays available to the X server), the chromebook's native display keeps cycling between on/off states and the external monitor keeps cycling between blank/nonblank states. 🌀
At this point, when I disconnect the external monitor from my chromebook by unplugging the HDMI cable, my chromebook's native display settles down (stops cycling between on/off states) and shows me my current ChromeOS session. However, everything is frozen: Aura does not repaint itself anymore until I terminate all X11 apps (minimizing the X11 apps doesn't work; Aura wants them gone for good!) so I have to awkwardly fish around the screen for close buttons on existing X11 apps (while the screen remains "stuck") and hit them all. 🚅
Now, once all X11 apps are closed, Aura repaints itself and behaves normally. 😎
Why does Aura play nice with X11 apps when there is only 1 external display but not when there are 2 simultaneous displays (1 external monitor + 1 chromebook native display) or when there is only the chromebook native display? 😰
Is there some kind of struggle for control between X11 apps and Aura in the latter 2 cases? If so, what is the former case doing correctly to prevent this issue? 😕
Thanks for your consideration.
The text was updated successfully, but these errors were encountered: