-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime error with VNC on RaspbianOS #2972
Comments
I've tryed to rebuild it on arm64 and armhf. Result is the same. X86-is building ok. |
Does it work if you cross-compile to arm64 using fyne-cross? |
With fyne-cross is another issue. When i am trying to pull packages it comes already.
I've read it is a docker problem, I need to run it with parametrs like |
|
I don't think this is a compilation problem (also this is runtime not a build error). Can you please confirm what graphical device is connected and any info you have about the graphics setup? |
Currently it's running throw the VNC-Desktop with resolution 640x480. The monitor as a device is not connected. I will try to rerun building with connected hdmi-exit |
WRT fyne-cross the image at the moment is available only for |
Hi, I get the same error while building/running a GUI app trough VNC. I also use a pi4 with Raspberry Pi OS. If I try to run/build with a monitor connected there is no problem. |
How is VNC started without a monitor attached? My understanding was that it provides remote access for the graphical setup of an existing system? |
So, Raspberry Pi OS provides a version of Real VNC built into the system. Enabling it is as easy as clicking a toggle inside the settings and rebooting (there is also an option to set the resolution of the virtual monitor). Edit: I have to correct my first phrase. Since it is a runtime exception it only occours whenever I try to run the binary or the source with go run, and not when I try to build the source. |
Right I think I see. We do ask for monitor configuration to understand DPI. |
Maybe you could fallback to a default value like 96dpi, giving also the ability to set it manually if this is possible. I also don't know how clean a solution like that could be. I wanted to understand how other applications manage the dpi scaling on VNC mode but without results. |
Yeah that's not surprising - most other places assume pixel-for-pixel rendering or have a toolkit level multiplier. We are trying to do something much more complex, but can fallback to that assumption. |
Seems this can happen when display asleep or working through VNC etc. Fixes fyne-io#3609, fyne-io#2972
Seems this can happen when display asleep or working through VNC etc. Fixes fyne-io#3609, fyne-io#2972
Fixed on |
Seems this can happen when display asleep or working through VNC etc. Fixes fyne-io#3609, fyne-io#2972
I was having problems when accessing the vnc viewer to control my raspberry pi and i found this article: https://picockpit.com/raspberry-pi/tigervnc-and-realvnc-on-raspberry-pi-bookworm-os/ where i was able to control my raspberry py using a vnc viewer alternative called tigervnc. I just follow the tutorial (setting up the tigervnc in the raspberry py and in the pc) and it worked flawlessly. |
I've tryed to run an appclication, writed by pc on my Raspberry pi 4B. The program was very simple. Code is:
Error is:
Device:
RaspbianOS v. Bullseye@latest
The text was updated successfully, but these errors were encountered: