This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Raspberry Pi5 headless grahics trix
#1
Hi!
A graphics bug in Pi OS, but also a workaround, maybee somthing to put in download image for Openplotter:

Using Openplotter 4 Headless download link from Openplotter.
Updating Pi and Openplotter via automatic updates.
HW is Pi5, no monitor attached, access via VNC
Wayland graphics is be disabled, using x11 instead

Using Hardware acceleration (OpenGL) in OpenCPN/Display/advanced makes system slow.
Pi: Preferences/screenconfiguration do not work.
OpenCPN is always crashing on start, doing next start by selecting "No" to safe mode starts OpenCPN.
There are no entries in OpenCPN log for this crash.

If using hardware acceleration (Open GL) in openCPN the whole system is real slow.
Turning of hardware acceleration in Open CPN performance is back, but graphics is weird.
Some status bars like chart zoom is in wrong position, look at post 70-71:
https://www.cruisersforum.com/forums/f13...242-5.html


Connecting fysical HDMI screen solves all problems.
So a functional workaround forcing Pi5 to always use HDMI, 1080x1920 even without screen connected:

In boot/firmware/config.txt:
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=82

Edit by: sudo nano /boot/firmware/config.txt

In boot/firmware/cmdline.txt
video=HDMI-A-1:1920x1080M@60D

Edit by: sudo nano /boot/firmware/config.txt
NOTE: do not use a new row, put the text after all existing text, add a blankspace followed by: video=HDMI-A-1:1920x1080M@60D

After this Pi: Preferences/screenconfiguration work; set resolution 1080x1920

Bo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)