Skip to content
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

Display distorted in ubuntu after switching to chrome os and back - Intel HD Graphics 5500 #1519

Closed
MAkerboom opened this issue Mar 21, 2015 · 56 comments

Comments

@MAkerboom
Copy link

Using my new chromebook Acer CB5-571 (Intel core i3-5005u with Intel HD Graphics 5500)

In precise or trusty, after switching from Ubuntu to Chrome OS and back, the display is distorted. Mouse cursor image is wrong and the screen flickers. Best shown in a video: https://youtu.be/_CSz9NjMRHM
If distorted and switch fast to Chrome OS and back, the display in ubuntu is restored (also shown in video)
Edit 23-3-2015: Fixed with 01.org Intel Graphics Drivers, see 2nd post

Updating display drivers to utopic (or install utopic) results in a flawless switching, only Chrome OS display is gone. Gone as in totally black. Keyboard input is accepted: I can type ctrl-c followed by sudo reboot
Edit 23-3-2015: The black screen in utopic is the problem that persists. Using the updated 01.org Intel Graphics Drivers freezes ubuntu utopic and chrome os is still a black screen.

Please help resolve this issue, I love my chromebook with crouton!

Versie 41.0.2272.89 (64-bit)
Platform 6680.64.0 (Official Build) stable-channel auron_yuna
Firmware Google_Auron_yuna.6301.59.5
crouton: version 1-20150317110704~master:be252afb
release: trusty
architecture: amd64
xmethod: xorg
targets: chrome,keyboard,extension,unity
host: version 6680.64.0 (Official Build) stable-channel auron_yuna 
@drinkcat drinkcat added the bug label Mar 22, 2015
@MAkerboom
Copy link
Author

MAkerboom commented Mar 22, 2015

Fixed my own problem in trusty by updating with the 01.org Intel Graphics Drivers:

sudo apt-get install software-properties-common python-software-properties
sudo add-apt-repository https://download.01.org/gfx/ubuntu/14.04/main
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg -O - | sudo apt-key add -
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-2 -O - | sudo apt-key add -
wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-3 -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get upgrade

Black screen problem in utopic persists, and ubuntu is frozen with the updated drivers from 01.org

@drinkcat drinkcat reopened this Mar 23, 2015
@drinkcat
Copy link
Collaborator

Reopening: we definitely want to fix this.

@Watney
Copy link

Watney commented Mar 24, 2015

My cursor frequently behaves like that in @MAkerboom's YouTube video. My workaround is to log-out/in or switch to CrOs and back to Ubuntu.

crouton: version 1-20150317110704~master:be252afb
release: trusty
architecture: amd64
xmethod: xorg
targets: xfce,keyboard,extension,xorg
host: version 6885.0.0 (Official Build) dev-channel samus

@MAkerboom
Copy link
Author

@Watney did you try updating your Intel display drivers? See the 2nd post, this fixed it for me on trusty

@Watney
Copy link

Watney commented Mar 24, 2015

@MAkerboom not yet. I am somewhat reticent, given @drinkcat acknowledgement. I was hoping for an updated crouton fix.

I've installed several chroots on the new Pixel, and even power washed. The cursor was corrupted in every one.

I'm surprised no one else has reported the bug. It's widespread. New Pixel owners must not be using crouton

@MAkerboom
Copy link
Author

@Watney: I don't think this is a Crouton issue, we just need the latest drivers from Intel on our new chromebooks with Intel HD Graphics 5500. My guess is @drinkcat wants to fix the black screen issue in utopic.

@MAkerboom MAkerboom changed the title Display distorted in ubuntu after switching to chrome os and back Acer CB5-571 Display distorted in ubuntu after switching to chrome os and back - Intel HD Graphics 5500 Mar 24, 2015
@Watney
Copy link

Watney commented Mar 24, 2015

Great insight @MAkerboom. I'll update per your guide straightaway. Thanks!!

@Watney
Copy link

Watney commented Mar 24, 2015

[update for anyone who stumbles onto this thread] The most recent Intel gfx repo solves the graphical (mouse) corruption with the new Pixel (Intel HD Graphics 5500), but the drivers crash Skype. Do not use this driver if you plan to run Skype in a trusty chroot. More positively, the driver seems to play nicely with VirtualBox.

@dnschneid
Copy link
Owner

OK, to clarify: if you're on trusty, and use the utopic drivers, trusty works fine, but Chromium OS is all black when you switch back. Same thing happens if you're on utopic using the utopic drivers. Is that right?

@MAkerboom
Copy link
Author

@dnschneid yes, that's correct...

(If on trusty, with trusty drivers the first start is always good. If you switch to chrome os and don't move the mouse and switch back to trusty, it's still good. If you switch to chrome os and move the mouse and a window and switch back to trusty, the mouse and screen is distorted.
Therefor I don't think it's weird that utopic drivers don't show the issue, because chrome os is black and not updating a framebuffer or something like that. -- my 2 cents)

@Watney
Copy link

Watney commented Apr 3, 2015

@dnschneid following up on the bug-report regarding the graphics issues with my Pixel 2 with the Intel HD 5500. For the past week, I've successfully used the Intel graphics repo at https://download.01.org/gfx/ubuntu/14.04/main with my trusty crouton. Aside from breaking Skype, it's working flawlessly.

@greghendershott
Copy link

Got Pixel 2 today. Did -t unity,touch -r trusty. All working fine so far in Ubuntu. But when I use Ctrl + Alt + Back a.k.a. F1, nothing happens. Doesn't switch to ChromeOS. Just stays in Ubuntu chroot. I wonder if this is some kind of recent hot-semi-fix?

When using Pixel 1, I hardly ever switched back to ChromeOS. So I hardly care, today. But I will try updating the video driver, as @Watney described.

@dnschneid
Copy link
Owner

@greghendershott you're missing Shift

@greghendershott
Copy link

Oh wow. So the Shift is new for Pixel 2? Thanks for pointing this out!

So the good news is it switched to ChromeOS and back to Ubuntu with no blank or distorted screen. The bad news is that the mouse pointer is distorted (the keyboard cursor per se is OK).

So will try updating the video drivers.

@dnschneid
Copy link
Owner

Shift has been the standard way to switch for almost two years now.

@chrisjamesberg
Copy link

I was having problems with a video game crashing in Trusty (Civilization 5) on Pixel 2. After a lot of searching for fixes, I was able to solve it by doing this:
add-apt-repository ppa:ubuntu-x-swat/x-updates
add-apt-repository ppa:oibaf/graphics-drivers
apt-get update && apt-get dist-upgrade

After this, Civilization 5 worked well, but then the next time I switched over to Chrome OS, it was just a black screen.

I copied/pasted Maker's instructions above in trusty, but unfortunately still can't switch back to Chrome OS without a restart.

@jtryan
Copy link

jtryan commented Apr 22, 2015

Device Pixel 2. Running utopic in a crouton VM. Updates to latest Intel Drivers March 2015 using https://download.01.org/gfx/ubuntu/14.10/main.

Same issue as others. While in VM everything runs well. If I switch to ChromeOS I get a blank screen. If I then switch back to Utopic, the screen looks fine, but all mouse actions are ignored. I cannot tell if the keyboard is working.

The only way I have been able to break out is by esc+refresh+power.

@dnschneid do you have any ideas on what I can try to capture for you to provide more information?

@greghendershott
Copy link

Just to report back. With Pixel 2, on trusty after manually installing the 01.org Intel Graphics Drivers: I'm having the same good experience as @MAkerboom and @Watney. 👍 Screen and pointer both 100% OK, throughout 5 days and lots of switching back and forth.

Admittedly I'm not running anything "challenging" like Skype or Civilization. Just emacs, Firefox, and xterm.


(Off-topic: Also, I tried running emacs via xiwi in a ChromeOS window. It is pretty darn awesome. Although I'm not using that approach full-time, I can imagine doing so in the future. Very cool!)

@orangganjil
Copy link

I've updated my Intel drivers as above and it has solved the same problem for me, running Trusty 14.04.

Thanks!

@clayvius
Copy link

I am also experiencing the same black screen problem in utopic when switching back to chromeos on my PIxel 2. I also tried to upgrade to vivid from utopic and can verify the issue persists. From my limited testing, I would love to use either release regularly if I could switch back and forth without issue.

@dnschneid
Copy link
Owner

Filed a crosbug about the cursor issue. As mentioned elsewhere, making sure your cursor is hidden (i.e., by hitting escape) before switching will avoid the cursor being corrupt in crouton.

@dnschneid
Copy link
Owner

@MAkerboom is the flickering correlated with the corrupted cursor? I.e., if the cursor isn't corrupt, do you still get flickering?

@MAkerboom
Copy link
Author

@dnschneid yes correlated, no flickering if cursor is okay.

@MAkerboom
Copy link
Author

Backup the crouton beforehand... and restore if it doesn't work as expected

2015-07-08 16:48 GMT+02:00 promanczuk notifications@github.com:

Hi all,

I am using an Acer C720 with an Intel HD 4400 and a crouton/trusty
install, and have an similar issue: After starting crouton using xorg,
trusty works perfect but switching back to Chrome OS (Ctrl+Alt+F1) gives me
only a black screen. The only way to be able to use Chrome OS again, is
fully shutting down and restarting.

I am kind of reluctant to try out the 01.org drivers workaround as I am
afraid it will break Skype and PlayOnLinux. Is there a simple way to revert
back to the standard driver?

Thanks!


Reply to this email directly or view it on GitHub
#1519 (comment).

@greghendershott
Copy link

Just in case anyone hasn't seen it: "Backups".

@clshortfuse
Copy link

Pixel 2 user here using trusty with gnome,touch,keyboard,extension.

Just want to chime in the new drivers fixed my graphical issues IMMEDIATELY. Didn't even have to log out and back in again.

Edit: Nevermind. it was just temporary. Seems like I need a command to reset the gfx drivers.

Edit2: Figured out the issue. Now it only corrupts if I'm playing video on chromeOS, I'll get graphical corruption. Once I close the video and slide back in, the corruption is gone. It's probably a hardware acceleration issue

@goodroot
Copy link

@clshortfuse

Logging out cleanly of the chroot, then a powercycle of ChromeOS has made it outright disappear and not return for myself.

Pixel 2, gnome, same targets as you.

@promanczuk
Copy link

Just a quick update: Installing the drivers from 01.org as suggested in the 2nd post does not fix the problem for me (Acer C720, Intel HD Graphics 4400): The black screen once I try to switch to Chrome OS (Ctr+Alt+Shift+F1). A switch back from the black screen to trusty works but if I want to use Chrome OS, I need to reboot.

However, I was able to pin down where the problem started for me: After a clean installation of trusty everything works.

However, there is a bug in the mesa library included in Ubuntu 14.04 (trusty), which breaks the BattleNet client in wine, required to install/play Blizzard games under Linux. Thus following this fix:

http://jeffhoogland.blogspot.com/2015/01/howto-fix-battlenet-client-distortion.html

I installed the newest libmesa packages in the chroot using the ppa:xorg-edgers/ppa repository. This fixes the BattleNet client but breaks the switching back to Chrome OS.

Hope this helps.

Best

@mikecsmith
Copy link

On a Toshiba Chromebook 2 with the 01.org drivers from the second post and the newest libmesa from ppa:xorg-edgers/ppa I'm experiencing the exact same issue promanczuk. Black screen on switch back to ChromeOS. It was definitely the libmesa drivers from ppa:xorg-edgers/ppa which caused the issue, as it was working perfectly before they were installed.

@mikecsmith
Copy link

Update #2 - I'm getting the same issue in a fresh Debian Sid chroot. Switching back to ChromeOS I get the black screen issue - this is with xfce,keyboard,audio,core,cli-extra,xorg,x11,chrome targets installed.

@mkvalor
Copy link

mkvalor commented Jul 24, 2015

Same issue for me - switching back to ChromeOS results in a black screen, re-switching to my Linux desktop results in a frozen desktop UI.

I have a 2014 HP Chromebook 14 (Intel Celeron 2955U CPU). I'm running Ubuntu Utopic. I installed the 01.org Intel drivers with the instructions MAkerboom provided in the 2nd post.


Update 9/11/2015
Parsing the other answers above, I decided to delete my Utopic chroot and try again with a fresh download of crouton, using Trusty instead. This works fine for me, although I am not trying to run Windows programs/Skype under Wine. I am able to switch back and forth with the normal crouton key-combos with no problems. I'm on the stable Chrome OS channel.

@2MUCHWONG
Copy link

I'm having the same issue as well. Is there any support regarding this issue? It would be greatly appreciated. Thanks! :D

@tekstrand
Copy link

I am seeing this issue on the Acer C740. Will try patching display drivers to see if this fixes the issue

@emran26
Copy link

emran26 commented Dec 11, 2015

I have this same issue with Trusty and Chrome OS on the Pixel 2. Switching from Ubuntu back to Chrome OS creates graphical glitches where only the Chrome browser is visible while the rest of the system is black but are still able to be interacted with.

@maxwintrobe
Copy link

Hitting Esc before Ctrl + Alt+ Shift + F2 to shift from Chrome OS back to Ubuntu fixes the cursor and flickering graphical glitches on my Acer CB5-571 for some reason.

@sandhraj
Copy link

sandhraj commented Jan 5, 2016

@maxwintrobe Thanks! This helped for me.

@air
Copy link

air commented Apr 12, 2016

Wow - pressing Escape while in ChromeOS then switching fixes the mouse. Thanks @maxwintrobe, random.

@oliveratutexas
Copy link

Any update for the c740?

@tekstrand
Copy link

@oliveratutexas I dumped the 740 and picked up a Dell 13, that 740 was a POS. Same problem here still exists with the dell though. I had some luck installing new video drivers. Best workaround is to press esc before you switch into crouton though, works like a charm.

@air
Copy link

air commented May 13, 2016

Hi @dnschneid do you have any insight why pressing esc would help before switching to the chroot?

@jlafitte
Copy link

I just got the acer chromebook 14, which is just released. Having a lot of issues getting things working as well as I did on C720P. I'm guessing these drivers might help, but any chance that trying out Xenial (16.04 LTS) would resolve some? Doesn't look like intel has them on the download.01.org site yet.

@MAkerboom
Copy link
Author

I tried 16.04 ... Same issue. No fix from 01.org het.

Op za 14 mei 2016 18:38 schreef John Lafitte notifications@github.com:

I just got the acer chromebook 14, which is just released. Having a lot of
issues getting things working as well as I did on C720P. I'm guessing these
drivers might help, but any chance that trying out Xenial (16.04 LTS) would
resolve some? Doesn't look like intel has them on the download.01.org
site yet.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#1519 (comment)

@abendebury
Copy link

Pixel 2 user here. When switching to my trusty chroot (running xfce), I get the weird cursor multiplication issue but not screen flickering or anything else. Notably, pressing escape in chromeos to hide the cursor before switching to the chroot prevents the cursor issue from happening.

@qtv
Copy link

qtv commented Jun 24, 2016

Same issue with Toshiba Chromebook 2 (2015) i3. Pressing escape before switching works.

@BKPepe
Copy link

BKPepe commented Aug 28, 2016

Same issue with Lenovo N22.
Workaround is from MAkerboom which works (post NO.2)

@flex-chillrsn
Copy link

flex-chillrsn commented Nov 8, 2017

Hi everyone, I've been using Ubuntu trusty with xfce4 on my Chromebook Acer R11, and it runs pretty good for the most part, but I'm having some graphics distortion issues as well. None as bad as the screen going completely black, or flickering on mouse movement, but rather certain graphics/text won't show up until my mouse pointer moves over them. It'd be easier to demonstrate with a screen-captured video but hopefully these screenshots can give you an idea:

missing
Graphics for the directories on the bottom are cut off
missing2
General distortion and things not showing up where they're supposed to

Anyone have any ideas?

@Qwer-TeX
Copy link

Qwer-TeX commented Jun 29, 2023

I have the same issue with xfce 22.04.2
https://download.01.org/gfx/ubuntu/14.04/main doesn't exist anymore.
We definitely need to reopen this.

I have a integrated intel UHD graphics in a HP chromebook x360 14b-cb003dx

I currently have no issue with switching from ubuntu to chromeos since I have the xiwi target

Opening gimp screws up ubuntu:
Screenshot 2023-06-29 4 36 43 PM

I barely can see the menu and the app menu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests