Debian • Re: Xorg kernel problem on RPI5 (Debian 12 bookworm)
Raspberry Pi Forums » Debian
by RHeller
1M ago
OK, no crashes since the last update (kernel updated to 6.6.20+rpt-rpi-2712). Fixed maybe? Statistics: Posted by RHeller — Sat Mar 16, 2024 8:05 pm ..read more
Visit website
Debian • Re: Xorg kernel problem on RPI5 (Debian 12 bookworm)
Raspberry Pi Forums » Debian
by RHeller
1M ago
I did a full update, but it did it again today. Statistics: Posted by RHeller — Mon Mar 11, 2024 8:30 pm ..read more
Visit website
Debian • Xorg kernel problem on RPI5 (Debian 12 bookworm)
Raspberry Pi Forums » Debian
by RobertPHeller
1M ago
I have a fairly new Raspberry Pi 5 w/4G ram that from time to time Xorg crashes with a "kernel: Unable to handle kernel paging request at virtual address " message. The Xorg process goes zombie and the screen "freezes". The system is actually still running, but X11 is not responsive (Duh!). I can slogin from another machine, but the only way to cure things is to reboot -- I'm guessing the GPU is in nowhere land. I don't know if this is a hardware problem (broken GPU) or a software problem (broken GPU related kernel problem). There are two HDMI ports and I am only using 1 -- I suppose I can sw ..read more
Visit website
Debian • Re: Anydesk failed to load GUI on raspberry pi 4 B,where having latest bookworm debian 12 release.
Raspberry Pi Forums » Debian
by neilgl
1M ago
As it says on the Anydesk site "Only Raspbian/Raspberry Pi OS (32 bit) are supported. Raspberry Pi OS 11 "Bullseye" and newer are not yet supported." Statistics: Posted by neilgl — Tue Mar 05, 2024 11:29 am ..read more
Visit website
Debian • Re: 2 screen support by python in new Debian
Raspberry Pi Forums » Debian
by KenT2
1M ago
I do not think you are doing anything wrong. GTK4 puts non-fullscreeen windows on the display from which the App was started. Only fullscreen windows can be assigned to a particular display. It is not even possible to trick GTK by fulscreening and then unfulscrening. Uncommenting the lines in the attached will show this. In Pi Presents I am happy for the second of two or both windows to be fullscreened so this situation suits me. Code: import gigi.require_version('Gtk', '4.0')from gi.repository import Gtk, Gdk, GLibclass TwoWindow(): def __init__(self): self.app = Gtk.Applicatio ..read more
Visit website
Debian • Re: 2 screen support by python in new Debian
Raspberry Pi Forums » Debian
by CountRight
1M ago
Yes, of course you are right, I have already corrected my mistake. Your example works fine. I just can't use it for my task. Using Your example and documentation Gtk, I created such code: Code: import gigi.require_version('Gtk', '4.0')from gi.repository import Gtk, Gdk, GLibclass AppWindow(Gtk.ApplicationWindow):def __init__(self, app):super(AppWindow, self).__init__(application=app)self.display_info()def display_info(self):display = Gdk.Display.get_default()print ('Display name: ',display.get_name())monitors=display.get_monitors()for m in monitors:connector=m.get_connector()geometry = m.ge ..read more
Visit website
Debian • Re: 2 screen support by python in new Debian
Raspberry Pi Forums » Debian
by KenT2
2M ago
gtk4 not gtk3 Install you need is: libgtk-4-dev and import: import gi gi.require_version("Gtk", "4.0") from gi.repository import Gtk,Gdk,GLib Statistics: Posted by KenT2 — Mon Feb 26, 2024 7:59 pm ..read more
Visit website
Debian • Re: 2 screen support by python in new Debian
Raspberry Pi Forums » Debian
by CountRight
2M ago
The solution you gave me doesn't work in python, I get the error: AttributeError: 'GdkWaylandDisplay' object has no attribute 'get_monitors'. Did you mean: 'get_monitor'? Code: import gigi.require_version('Gtk', '3.0')from gi.repository import Gtk, Gdkdef display_info():display = Gdk.Display.get_default()print ('Display name: ',display.get_name())monitors=display.get_monitors() #AttributeError: 'GdkWaylandDisplay' object has no attribute 'get_monitors'. Did you mean: 'get_monitor'?for m in monitors:connector=m.get_connector()geometry = m.get_geometry()x = geometry.xy = geometry.ywidth=geome ..read more
Visit website
Debian • Re: 2 screen support by python in new Debian
Raspberry Pi Forums » Debian
by KenT2
2M ago
I assume by New Debian you mean RPi OS Bookworm You can do it in Tk provided you switch from Wayland to X11. To do it in Tkinter is a bit of a bodge. Tk sees the two monitors as a single desktop. You have to position the window for the second monitor at x=monitor1_width. You can do it in GTK4. GTK4 treats each monitor as a desktop which is just what I wanted for Pi Presents. This works on Wayland and X11 I use 32 bit but I don't see why it should be different fr 64 bit. Code: def display_info(self): display = Gdk.Display.get_default() print ('Display name: ',display.get_name ..read more
Visit website
Debian • 2 screen support by python in new Debian
Raspberry Pi Forums » Debian
by CountRight
2M ago
Hello everyone, I'm having trouble creating a window on the second screen programmatically. I have already tried tk, qt5, py-game and there is no way I can illuminate the window on a screen other than the console from which the program is launched. I am using the latest 64 bit system for RP 4B (Debian Bookworm 64 bit). The problem only occurs with the new Debian Bookworm 64 bit. Statistics: Posted by CountRight — Fri Feb 23, 2024 4:31 pm ..read more
Visit website

Follow Raspberry Pi Forums » Debian on FeedSpot

Continue with Google
Continue with Apple
OR