Force RS to use right frontend template
Good Morning,
I am using Repetier-Server 1.0.4 Pro on a Raspberry Pi 3B+ with a Faytech 7" Touchscreen.
I have the following issue:
If am booting the Pi from cold the frontend starts always with the resolution of 640 x 480 px
xrandr shows:
pi@Ender3Pro:~ $ export DISPLAY=:0
pi@Ender3Pro:~ $ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 640 x 480, maximum 640 x 480
default connected 640x480+0+0 0mm x 0mm
Rebooting it without turning the power off (via ssh access) the resolution is:
pi@Ender3Pro:~ $ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1184 x 624, current 1184 x 624, maximum 1184 x 624
default connected 1184x624+0+0 0mm x 0mm
1184x624 0.00*
The touchscreen interface is right now (7 icons in a line with the main bar on the left side)
This resolution is the one I used to calibrate my touchscreen and I want to use this one.
I tried to force the pi to adjust this resolution by adding framebuffer_width and _height in /boot/config.txt but as a result, the resolution of the screen is right adjusted but the frontend is stretched in x-direction now and I have black borders on the top and bottom. Adding overscan does not help either.
Regards
Stefan
I am using Repetier-Server 1.0.4 Pro on a Raspberry Pi 3B+ with a Faytech 7" Touchscreen.
I have the following issue:
If am booting the Pi from cold the frontend starts always with the resolution of 640 x 480 px
xrandr shows:
pi@Ender3Pro:~ $ export DISPLAY=:0
pi@Ender3Pro:~ $ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 640 x 480, maximum 640 x 480
default connected 640x480+0+0 0mm x 0mm
Rebooting it without turning the power off (via ssh access) the resolution is:
pi@Ender3Pro:~ $ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1184 x 624, current 1184 x 624, maximum 1184 x 624
default connected 1184x624+0+0 0mm x 0mm
1184x624 0.00*
The touchscreen interface is right now (7 icons in a line with the main bar on the left side)
This resolution is the one I used to calibrate my touchscreen and I want to use this one.
I tried to force the pi to adjust this resolution by adding framebuffer_width and _height in /boot/config.txt but as a result, the resolution of the screen is right adjusted but the frontend is stretched in x-direction now and I have black borders on the top and bottom. Adding overscan does not help either.
Any suggestions?
How can I force the pi to use the desired resolution and force repetier server to use the right frontend template?
Regards
Stefan
Comments
https://www.raspberrypi.org/documentation/configuration/config-txt/video.md
for possible options or check internet for your display. When you explicitly set it I think it starts cold also with right settings.
hdmi_mode=4