-
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
Missing characters in xfce #2640
Comments
I ran into the same issue, after a little reading I found that this was an issue with sna acceleration in the intel graphics card in my Acer chromebook 15".
|
Just curious -
Maybe a 2nd '.conf' file for 'uxa' needs to be added. -DennisL |
I simply modified xorg-intel-sna.conf and replaced 'Intel Graphics SNA+TearFree' with 'Intel Graphics uxa', the entire contents of my xorg-intel-sna.conf is in my previous post.
You may be right about that, but I don't know enough about how X is setup on crouton to go about doing that. If we were to add a second .conf file how would we tell X to use the uxa one and ignore the sna version? I went with the path of least resistance and simply hacked my xorg-intel-sna.conf, it resolved the issue for me. |
The comment in the
Are you saying 'sna' is no longer valid?
with -
leaving -
in place. In other words, the
Either way, the crouton gurus will have to weigh in on this since it may be device specific. -DennisL |
I am seeing lots of tearing, Option "TearFree" "true" seems to make very little difference. |
Thanks for your solution. It seems to work for me now. ~Spafindoople |
@flynch - Sounds like this is a winner. Maybe a Pull Request would be in order??? -DennisL |
I think this was fixed by a Chrome OS update. |
I'm getting this same issue (some characters missing) on the ASUS C302CA (x86). The issue is not present on my other Chromebook, a Lenovo N23 Yoga (ARM). |
I updated the chroot to target "xfce-desktop" instead of "xfce", and the problem is now resolved. Might be worth mentioning this potential issue somewhere in the Readme or target-listing, however. |
The xfce-desktop target also installs these meta packages packages -
I guess one of them addressed your issue. -DennisL |
I'm encountering the same problem after updating to ChromeOS 61 on my Samsung Chromebook Pro. However, it seems that setting the target with xfce-desktop didn't work in my case (using |
Yeah, I found after more testing that that didn't resolve the issue -- for some reason, the glitches just show up some launches but not others. However, I did find a way to reduce the occurrence of the glitches. Go to Settings>Appearance>Font, then enable anti-aliasing and set "Hinting" to slight (or some value other than "None") For me, this makes the glitch show up in fewer places -- it at least doesn't show up on the desktop and taskbar anymore. It still shows up in some dialogs. |
After more testing, it appears that the change above only solves the issue for the given desktop-environment launch. If you restart the chroot/desktop-environment, it may come back. (sometimes it does, sometimes it doesn't) IIRC, it can sometimes also reappear if you use the hotkey to return to ChromeOS, then reenter it. However, I get by at the moment with the fix above: if the issue shows up, I open the "Appearance" app/window, press the "Font" tab, and switch the Hinting from "None" to "Slight" (or vice versa). Definitely not ideal, but at least keeps crouton usable until a proper fix is made. P.S. I'm thinking of making a shell script to make the "quick fix" easier to perform. Double-clicking a desktop icon would make it mostly painless. |
Also seeing this issue on my Chromebook Pro. I've seen similar issues in other desktop environments including Gnome and Unity. |
Since this is still an ongoing problem, is there a way we get this issue reopened? (Or just start a new issue?) |
I am also seeing the same issue. @Venryx fix for flipping the Hinting seems to work for now, but it is far from ideal. |
I am getting the same issue as well on my Chromebook Pro. Hinting fixes most of it, but letters are still missing in the web browser |
The fix suggested by @flynch / @DennisLfromGA does seem to work for me. (I didn't try it at first, because it seemed there wasn't concensus on what the contents should be, and required modifying system files; but I ended up trying the version suggested by @DennisLfromGA) I will update here if the problem reoccurs. @exim13, @lightningmonkey, @kelchm, @jtebert Can you guys check if the fix works for you as well? If so, adding the modification to the crouton scripts/files would seem like a good idea; we know the glitch is happening on the Acer Chromebook 15", the Chromebook Pro, and the Asus Chromebook Flip C302CA, which are some of the major chromebooks out nowadays. |
I just tried editing the xorg-intel-sna.conf file like @flynch and @DennisLfromGA suggested but after a restart the problem was actually worse on my Chromebook Pro. So i reverted all the changes. I am not using xfce-desktop though, so I will try that next. |
Update: Restarted a few times without issue, but then this last time, had letter issue again. (though only in Chrome title-bar instead of desktop and such) Will update if shows up in more problematic areas. (dialogs, desktop, etc.) |
Just a note for anyone else that comes here. I had the same problem on a ASUS Chromebook Flip C302CA. I didn't try the solution from @flynch but I did try the solution on the referenced ticket #3500 (CROUTON_BRANCH=nointeldrv) which did not work (it failed to remove xserver-xorg-video-intel). Instead I just did a fresh install of xfce and just ran "apt-get purge xserver-xorg-video-intel", works well so far. Will update if it stops working. |
@thebaron88 Yes, please let us know if the fix continues working. The OP's suggested fix seemed to work for a while, but now it is happening again. (including on the desktop) As for my quick-fix mentioned above, of toggling the font-hinting between slight and none: I went ahead and made a shell script to do it automatically. Just place this script on your desktop, then whenever you start crouton and see the glitch has occurred, double click to run it:
For me, this fixes the missing-letters glitch in most places. (still shows up in some dialogs) |
Still working right now. Don't use it much, but I have had no issues so-far. |
Just reporting in, another Asus C302 here with the same bug. Running "apt-get purge xserver-xorg-video-intel" as mentioned above, then restarting xfce seems to have fixed it for me as well. |
Do either of you notice longer "screen freezes" after the change? It got so bad for me after the Seriously, after the purge it would freeze chrome pages for 8+ seconds, every minute or so. |
@Venryx I'm not noticing any "screen freezes" like you are seeing. Although, this is a very fresh install. I just surfed around for 5 or 10 minutes with xfce running in another tab and didn't see any freezing/slowdown. |
Oh, I meant screen freezes in the Chromium browser that I installed within linux/crouton. (it also kept happening in Visual Studio Code) |
Also on Asus C302 here with the same bug. As @escalated commented the following seems to have worked for me as well. |
Have you tried running Chromium within xfce? For me, the pages get severe (5-10 second) freezes after running the command above. Reinstalling the package removes those freezes -- however then the visual glitches reappear. |
Reinstalling the package actually left me worse then when I started, because now the "go back to ChromeOS" shortcut stops working! It just shows a black screen, requiring a reboot to access ChromeOS again. I will try restoring my chroot backup or using the chroot update command to see if it resolves this. EDIT: Indeed, updating the chroot appears to have fixed the "cannot return to ChromeOS" issue. For reference, there are three issues I've encountered:
So now I only have issue |
Reporting back after some extended use. Sometimes I get the 8+ second freezes when Reinstalling the package I get the same issue as @Venryx with screen switches. Not tried updating chroot to fix it. Also the script from above seems to work with the missing characters bug, but only used once. |
Been following this thread for a while and just wanted to mention that two posts ago from Venryx EXACTLY matches my experience on a ASUS Chromebook Asus C302. I've experienced issue 1, 2, and 3 exactly as described there. Perhaps too soon to tell but I think I have a fix regarding the "8+ second freezes in the chroot's Chromium" after purging the Intel driver. Restarted the chroot twice and tried only a half-dozen sites but seen 0 lags since turning off hardware acceleration in chromium per this how-to: I found this by looking up my computer's Intel graphics version (in chroot): And searching for issues with this hardware + Chrome in Linux forums, I found plenty of other users (not Crouton users though) with a similar issue: https://ubuntuforums.org/showthread.php?t=2327307 Hope this helps! (This is my first-ever post). |
Thanks for the tip @papaknee! In my chroot, I use a few different programs with web-views, so I'll probably stick with my current approach for now (using the FixFonts.sh script). This is because, I'm not sure if all of those programs support disabling gpu-rendering for them -- Chromium and vscode do, but I might use others which don't provide that option. That said, I'll definitely keep your suggestion in mind for if I find the Hopefully we'll eventually have a system-level disabling of hardware-acceleration for the chroot possible. |
As mentioned above, installing xubuntu-desktop fixed this issue on my ASUS C302. If someone can figure out which package within that big install actually fixes the issue then it could be installed by default in the crouton install. |
@c--- I'm the one who initially mentioned "xubuntu-desktop" as solving the issue. However, I found a few days later that the issue still occurs sometimes (I have an Asus C302 as well). Since then, I have done additional testing of proposed solutions, and summed up what I learned in my second-last post. If you encounter the glitches again (I suspect you will since we have the same hardware), then you can read that for a partial solution. (basically, running the FixFonts.sh script whenever you see the glitch -- the other two solutions people mentioned didn't work for me or had worse side-effects) |
I also have this issue with Asus C302C but I have Ubuntu 16.04 with unity installed. |
Hey everyone, So I just installed xfce4 through crouton on an ASUS C302CA-DHM4. I was experiencing the same issues as described above with the font. I fixed this issue by going into system settings and changing the font size to 11. |
@G88n You may find, after a few days, that the problem comes back after the font size change. That's because, from my experience, changing font settings will fix the problem -- but only temporarily. Hence to "permanently solve", you need to automate the font-setting-change operation. (into a script file, which you run whenever you notice the glitches) If that's not the case, and the glitches are permanently solved by the font-size change, then that's good to hear -- though would be odd since we all have the same hardware. |
@Venryx So I noticed if I shutdown the chroot instance via "shutdown" the font issues come back immediately upon next launch. This is despite the actual size setting still being at 11 when relaunching. However changing it to 12 and back to 11 (or probably keeping at twelve) fixes it again. If I exit the chroot session via logout and keep the "save session for future logins" box ticked the problem doesn't appear to come back, at least not immediately. I just figured this out last night though. I'll keep using this for a week and update this thread to let everyone know how it goes. |
System info
Please describe your issue:
I have had xfce for about a year now, but this issue has come up about a month ago. What happens is that several characters are missing in the interface:

On the ubuntu forums, there is a solution called ubuntu-tweak, however, the buttons in its gui do not render, making me unable to use it. Any help?
The text was updated successfully, but these errors were encountered: