set (real)VNC resolution on headless Pi 3B+ - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: set (real)VNC resolution on headless Pi 3B+ (/showthread.php?tid=1188) |
set (real)VNC resolution on headless Pi 3B+ - Twist - 2018-05-31 I'm unable to get realVNC to serve to a remote display in the resolution as set in /boot/config.txt The 'usual' solution (modify /boot/config.txt) doesn't work... Setup: RPi3B+ with freshly installed OpenPlotter v1.0.0 I've enabled VNC and SSH access. I've also enabled the OpenGL v4-kms-v3d driver. With a physical HDMI screen attached all works fine. When I use a vncviewer, I get the exact same desktop. As expected. When I disconnect the HDMI screen and boot the RPi Headless, vncserver always gives me 1152x864. I want to change this to something else. I've set the usual modifications of the /boot/confg.txt file. most notably: Code: #hdmi_safe=1 Booting headlessly works fine, and when I log in via SSH and run tvservice -s to confirm the hdmi mode Code: pi@fluxpi:~ $ tvservice -s vncserver and X are running: Code: pi@fluxpi:~ $ ps aux | grep X But when I connect a vncclient it gets served a 1152x864 desktop driving me mad. All the things I find online indicate it should work by modifying the config,txt RE: set (real)VNC resolution on headless Pi 3B+ - e-sailing - 2018-05-31 For headless mode I change the Resolution in the Raspberry Pi Configuration. Preferences->Raspberry Pi Configuration click "Set Resolution" select "DMT mode 85 1280x720" click OK click OK click YES (to reboot) RE: set (real)VNC resolution on headless Pi 3B+ - Twist - 2018-06-01 e-sailing, thanks for the suggested appraoch. Using the Raspberry Pi Configuration is just a user friendly way to set correct hdmi_mode (85 in your example) in the /boot/config.txt file. My Pi boots fine, and running "tvservice -s" confirms the selected resolution. However RealVNC keeps serving me a 1152x864 desktop, ignoring of the actually configured display resolution. RE: set (real)VNC resolution on headless Pi 3B+ - Twist - 2018-06-02 Some progress... When the vc4-kms-v3d driver is enabled then: - trying to set a resolution through Preferences->Raspberry Pi Configuration results in an unresponsive systsem - trying to set a resolution by editing /boot/config.txt works for the video signal, but the desktop and vnc get a different resolution With the vc4-fkms-vc3 driver (the 'fake kms one'): - I can set a resolution, which is honoured both for the video signal and the desktop resolution - GLXgears gives a good performance However I can not yet get a desktop resolution higher then 1920x1280. I've tried a custom mode, e.g. for use on an ipad pro vncviewer hdmi_cvt=2728 2046 15 1 0 0 1 hdmi_group=2 hdmi_mode=87 Booting headless, tvservice reports DMT (87), but the vncdesktop is 1920x1280 and actually quite slow RE: set (real)VNC resolution on headless Pi 3B+ - e-sailing - 2018-06-02 I was able to get a higher resolution when I disabled hdmi. I commented out all hdmi settings in config.txt and inserted: framebuffer_width=2000 framebuffer_height=1300 hdmi_blanking=2 RE: set (real)VNC resolution on headless Pi 3B+ - Twist - 2018-06-02 I can't replicate your 2000x1300 resolution... see code output below Now planning to try some of the things mentioned here Code: pi@fluxpi:~ $ tvservice -s RE: set (real)VNC resolution on headless Pi 3B+ - Hanse - 2018-07-20 Have you been able to solve this issue? Struggling with the same. All hdmi settings not working headless with vc4 driver |