Display limited to 800x600 [SOLVED]
#6
(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.
  Reply


Messages In This Thread
Display limited to 800x600 [SOLVED] - by Averell - 07-06-2018, 08:04 AM
RE: Display limited to 800x600 - by ab1jx - 07-07-2018, 05:16 PM
RE: Display limited to 800x600 - by Averell - 07-09-2018, 10:51 AM
RE: Display limited to 800x600 [SOLVED] - by ab1jx - 07-10-2018, 10:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question [SOLVED] Alpine Linux won't boot rock7 1 5,754 10-22-2019, 04:30 PM
Last Post: rock7
  [solved] Unable to start X Osiander 8 11,394 10-03-2018, 03:54 AM
Last Post: jovval
  If you've messed up your eMMC Card - Solved gregb49 11 16,378 07-11-2018, 02:08 PM
Last Post: gregb49
  Any reason why ntp time is 6 minutes slow (Solved) Rocklobster 1 2,526 05-29-2018, 05:27 AM
Last Post: Rocklobster
  [Solved] Open VPN +Wi-Fi hotspot - Debian S3phi40T 1 2,895 05-01-2018, 05:51 AM
Last Post: S3phi40T
  [PROBLEM SOLVED] Distcc Help cooker 2 3,991 05-01-2018, 05:35 AM
Last Post: cooker
  Im having weird crashes on a new rock64 [solved] Trash_Can_Man 4 6,433 02-06-2018, 04:06 AM
Last Post: a1w.ca
Lightbulb MPP+DRM: low level API for video codecs and display (also 4k UHD+HDR+HLG) mcerveny 0 3,017 01-27-2018, 11:23 AM
Last Post: mcerveny
Information Solved - Resize Root Filesystem (Xenial) aussiemate 4 7,887 08-29-2017, 03:43 PM
Last Post: fbms

Forum Jump:


Users browsing this thread: 1 Guest(s)