However, I didn’t succeed yet in setting the same resolution as before.
System information: version.txt (3,1 Ko)
# /etc/fb.modes
# Only entry:
mode "960x540-70"
# PCLK: 48.55 MHz, H: 39.41 kHz, V: 70.00 Hz
geometry 960 540 960 540 32
timings 20596 136 40 19 1 96 3
hsync low
vsync high
endmode
Without changing settings, after startup, resolution ix 1280x1024 and the fbset output (no parameters) is:
mode "1280x1024"
geometry 1280 1024 1280 1024 16
timings 0 0 0 0 0 0 0
accel true
rgba 5/11,6/5,5/0,0/0
endmode
# output from fbset command:
mode "960x540"
geometry 960 540 950 540 16
timings 0 36 40 17 3 96 5
vsync high
accel true
rgba 5/11,6/5,5/0,0/0
endm
Due to fbset command applied (timings are different):
fbset -fb /dev/fb0 -g 960 540 950 540 16 -t 20000 36 40 17 3 96 5 -vsync high -hsync low
After updating /etc/X11/xorg.conf to:
#/etc/X11/xorg.conf
Section "Monitor"
Identifier "Builtin Default Monitor"
EndSection
Section "Device"
Identifier "Builtin Default fbdev Device 0"
Driver "fbdev"
EndSection
Section "Screen"
Identifier "Builtin Default fbdev Screen 0"
Device "Builtin Default fbdev Device 0"
Monitor "Builtin Default Monitor"
SubSection "Display"
Modes "960x540"
Depth 16
Virtual 960 540
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Builtin Default Layout"
Screen "Builtin Default fbdev Screen 0"
EndSection
my
I checked the contents of /sys/class
for i in /sys/class/graphics/fb0/* ; do echo $i ; cat $i 2>/dev/null ; done
/sys/class/graphics/fb0/bits_per_pixel
16
/sys/class/graphics/fb0/bl_curve
/sys/class/graphics/fb0/blank
/sys/class/graphics/fb0/console
/sys/class/graphics/fb0/cursor
/sys/class/graphics/fb0/dev
29:0
/sys/class/graphics/fb0/device
/sys/class/graphics/fb0/mode
/sys/class/graphics/fb0/modes
U:960x540d-0
U:1280x1024p-0
/sys/class/graphics/fb0/name
DRM emulated
/sys/class/graphics/fb0/pan
0,0
/sys/class/graphics/fb0/power
/sys/class/graphics/fb0/rotate
0
/sys/class/graphics/fb0/state
0
/sys/class/graphics/fb0/stride
2560
/sys/class/graphics/fb0/subsystem
/sys/class/graphics/fb0/uevent
MAJOR=29
MINOR=0
DEVNAME=fb0
/sys/class/graphics/fb0/virtual_size
960,540
As I saw two modes listed, I did the following without success:
echo U:960x540d-0 > mode
So currently I have the following output, I would need that the display resolution is set the same as the active part (virtual_size of 960x540):
Thanks in advance for hints on fixing that.
(Note: this is a follow up on How to fix No HDMI output with 4.19.94-ti-r42, crash on mouse move with 4.19.94-ti-r71 where the resolution had me move from modeset to fbdev).