[amazon-thor] X-based environments won't show, only shows flickering grey screen
Created by: steamp0rt
(local branch, amazon-thor with mesa-dri-swrast, linux-firmware, and firmware-amazon-thor added) logread output (hildon): https://pastebin.com/ixRuaSmC
Yeah, when any X-based desktop environments are used, it shows only a flickering grey screen.
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author Owner
Created by: ollieparanoid
Thanks for opening this issue! Some ideas/follow up questions:
- Weston is working for you, right?
- If you have a msm graphics chip, try the patches suggested here, especially "Screen output flicker and inactivity" and "Screen output messed up"
- Would it be possible to upload a short video (gif) of the flickering?
- Does this also happen when msm-fb-refresher is turned off?
- tuning sysfs might help, although the output is already working in weston afaik, so the chance is rather low
By * postmarketOS Bot on 2017-11-12T11:51:41
Edited by Ghost User - Author Owner
Created by: steamp0rt
- Weston works
- Ok, i'll try those!
- Na, there's not much to it, it's just the entire screen turning greyish or silverish for a half-second
- Yes
- I tried that. The only difference between lineage and pmOS sysfs was that the pmOS sysfs was missing some cpufreq and thermal info
By * postmarketOS Bot on 2017-11-12T16:05:05
- Author Owner
Created by: steamp0rt
Ok, @ollieparanoid I tried the kernel config thing AND the patches... neither worked
By * postmarketOS Bot on 2017-11-12T17:14:20
- Author Owner
Created by: ollieparanoid
Good that you've tried it. Is there a log file in
/var/log/Xorg...
that you could attach?By * postmarketOS Bot on 2017-11-12T20:55:31
Edited by Ghost User - Author Owner
Created by: steamp0rt
@ollieparanoid https://pastebin.com/1n7xGGCY
By * postmarketOS Bot on 2017-11-12T21:03:06
- Author Owner
Created by: ollieparanoid
Thanks for posting. I guess it uses the wrong refresh rate (the Hz number). From what I've seen, the Androids usually have 60 Hz. Yours has with X11... 0.9 kHz?
Modeline "current"x0.0 1.11 1200 1232 1256 1272 1920 1930 1932 1957 -hsync -vsync -csync (0.9 kHz b)
Could you try to change the Hz rate, that Xorg uses? Maybe with some thing like described here. If you can't make it work, I suggest kindly asking in a x11 specific IRC channel for help, they are the experts
By * postmarketOS Bot on 2017-11-12T21:12:10
- Author Owner
Created by: steamp0rt
@craftyguy searched google and found this little config file to help someone who had similar log spam:
Section "Device" Identifier "Card0" Driver "fbdev" EndSection
By * postmarketOS Bot on 2017-11-12T21:14:44
Edited by Ghost User - Author Owner
Created by: steamp0rt
@ollieparanoid i don't quite understand how to change the modeline
By * postmarketOS Bot on 2017-11-12T21:31:18
- Author Owner
Created by: ollieparanoid
I'm off again for today, but another approach would be patching the framebuffer driver to report, that it can do 60 Hz: https://github.com/postmarketOS/pmbootstrap/pull/348/files This would actually be a better fix, than overriding what the fb driver reports with the modeline.
By * postmarketOS Bot on 2017-11-12T21:44:21
- Author Owner
Created by: steamp0rt
@ollieparanoid Adding a new modeline doesn't work either, neither does that patch
By * postmarketOS Bot on 2017-11-13T00:20:49
- Author Owner
Created by: ollieparanoid
In the chat, we came up with trying Xweston as a workaround.
By * postmarketOS Bot on 2017-11-14T23:05:17
- Author Owner
Created by: steamp0rt
Logread output (hildon): https://pastebin.com/PF8v2Ki0 dmesg output: https://pastebin.com/cbYf42gv
By * postmarketOS Bot on 2017-11-16T22:17:33
- Author Owner
Created by: ollieparanoid
As written in the chat, I recommend testing the
xweston
approach (you almost had it ) before we look more into running X directly.By * postmarketOS Bot on 2017-11-16T23:02:52
Edited by Ghost User - Author Owner
Created by: steamp0rt
This is still present on latest
firmware-thor
branch on my forkBy * postmarketOS Bot on 2017-11-22T23:26:28