(07-10-2018, 12:06 PM)Averell Wrote: I will try to refine the workaround, and see which file is responsible, but the best option for anyone is to be prudent and download a 0.6.x build.
The monitor is a Iiyama B1906S, 1280x1024 (4:5), probably more than 5 years old.
I think only 1 of my 3 or so monitors works (automatically/EDID), that's a Dell SE2216 I bought within the last year. $100 at Walmart, 22 inch. It's not a problem to set a mode manually if you know how. For a Raspberry Pi it's doumented.
Anyway I stumbled across this post https://unix.stackexchange.com/questions...y-set?rq=1 which led me to start looking in /sys/devices/platform/display-subsystem/drm/card0/device/graphics/fb0
There's a bunch of stuff in there I never found before. It may be a virtual filesystem like /proc. There's a file called mode which had 1920,1080 in it (I think). I tried echo 1366,768 > mode and X stopped. So it's active. Now it seems to be empty, wonder what a reboot will do. There's a modes file which has "U:1920x1080p-0" in it. virtual_size which now at least says 1366,768. A bunch of maybe-related stuff is symlinked from directories off /sys/class. There were 2 places, it's like a maze. In here I see:
Code:
-rw-r--r-- 1 root root 4096 Jul 11 03:52 bits_per_pixel
-rw-r--r-- 1 root root 4096 Jul 11 03:52 blank
-rw-r--r-- 1 root root 4096 Jul 11 03:52 console
-rw-r--r-- 1 root root 4096 Jul 11 03:52 cursor
-r--r--r-- 1 root root 4096 Jul 11 03:52 dev
lrwxrwxrwx 1 root root 0 Jul 11 03:52 device -> ../../../display-subsystem
-rw-r--r-- 1 root root 4096 Jul 11 03:41 mode
-rw-r--r-- 1 root root 4096 Jul 11 03:52 modes
-r--r--r-- 1 root root 4096 Jul 11 03:52 name
-rw-r--r-- 1 root root 4096 Jul 11 03:52 pan
drwxr-xr-x 2 root root 0 Jul 11 03:52 power
-rw-r--r-- 1 root root 4096 Jul 11 03:52 rotate
-rw-r--r-- 1 root root 4096 Jul 11 03:52 state
-r--r--r-- 1 root root 4096 Jul 11 03:52 stride
lrwxrwxrwx 1 root root 0 Jul 11 03:52 subsystem -> ../../../../../class/graphics
-rw-r--r-- 1 root root 4096 Jul 11 03:52 uevent
-rw-r--r-- 1 root root 4096 Jul 11 03:53 virtual_size
rock64#
A Raspberry Pi has simlar stuff in /sys/class/graphics, even my Android phone does.
Now I can't write into mode, that may be a PAM/Selinux/Apparmor thing. I was doing cat to read and echo > to change, I didn't try opening one in an editor. Seems like I'm still not really getting anywhere.