Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Plasma desktop crashes when monitor turned off
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Lubrigant3
n00b
n00b


Joined: 14 Feb 2025
Posts: 1

PostPosted: Fri Feb 14, 2025 11:51 pm    Post subject: Reply with quote

I have just registered on the forum. I have little experience with Gentoo, but more or less, I think I'm getting the hang of it and my transition is not being as traumatic as I thought; even so I'm having some problems, including one that I don't know if it's the same as the one discussed in this thread but if not, it sounds very similar. So before opening a new thread I've taken the liberty of continuing this one. If you think it's not appropriate and I should open a new one, let me know and disqualify it.

In my case, Plasmashell stops working when I resume the session **with the monitor off** (I only have one monitor). If I first turn on the monitor and then flip the switch on the computer, the session resumes fine.
I've tried with a clean test user, and the same thing happens, so I'm ruling out a possible corruption of some configuration file of my regular user. I don't know if I'm right.
I'm also having some problems with SDDM that I'll check in another thread, but I don't know if they have anything to do with it because when I start the graphical session with `dbus-launch --exit-with-session startplasma-wayland` the same thing happens.

I'm in Plasma 6.2.5, KDE Frameworks 6.10.0 and Qt 6.8.1


Thank you.


P. D:
I forgot to mention that launching Plasmashell from Krunner works the first 2 or 3 times I come back from a suspended session. A while after the first restart of Plasmashell Krunner stops working to execute commands and only from a Konsole window I can execute `plasmashell` or `plasmashell &` , without ` --replace` since it doesn't work anymore either even from Konsole.
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 725

PostPosted: Sat Feb 15, 2025 1:07 pm    Post subject: Reply with quote

Sorry, I forgot you were running a Pi5.
My Pi5's only have twm and dwm, they're essentially running a headless images for some docker apps. This does work and should be comprehensive enough to stop any "autoconfig", I left in the details for the second monitor because it's easier than writing it again if someone else needs them, you can ignore/delete them. The modes listed are for my monitor, the 60Hz one will probably work but you should update them (you can pull the relevant EDID data from Xorg.0.log, xrandr, or use one of the EDID readers in portage), though it may work if you remove them altogether (and references to them) but I can't test that so left them in.
/etc/X11/xorg.conf:
Section "Device"
    Identifier      "Card0"
    Driver          "fbdev"
EndSection

Section    "Monitor"
    Identifier      "HDMI-1"
    VendorName      "Vendor"
    ModelName       "Model1"
    DisplaySize      531 299
    UseModes        "Model1_Modes"
    Option          "PreferredMode" "Model1_Mode60"
    Option          "Primary"
EndSection

#Section     "Monitor"
#    Identifier      "HDMI-2"
#    VendorName      "Vendor"
#    ModelName       "Model2"
#    DisplaySize     <monitor_width_mm> <montor_height_mm>
#    UseModes        "Model2_Modes"
#    Option          "PreferredMode" "Model2_Mode60"
#    Option          "RightOf" "HDMI-1" #<RightOf|LeftOf|SameAs>
#EndSection

Section "Modes"
    Identifier  "Model1_Modes"
    ModeLine    "Model1_Mode120"   297.00  1920    2008    2052    2200    1080    1084    1089    1125    +hsync  +vsync
    Modeline    "Model1_Mode75"    170.00  1920    1928    1960    2026    1080    1105    1113    1119    +hsync  -vsync
    Modeline    "Model1_Mode60"    148.50  1920    2008    2052    2200    1080    1084    1089    1125    +hsync  +vsync
    Modeline    "Model1_Mode50"    148.50  1920    2448    2492    2640    1080    1084    1089    1125    +hsync  +vsync
EndSection

#Section "Modes"
#    Identifier  "Model2_Modes"
#    ModeLine    "Model2_Mode120"   297.00  1920    2008    2052    2200    1080    1084    1089    1125    +hsync  +vsync
#    Modeline    "Model2_Mode75"    170.00  1920    1928    1960    2026    1080    1105    1113    1119    +hsync  -vsync
#    Modeline    "Model2_Mode60"    148.50  1920    2008    2052    2200    1080    1084    1089    1125    +hsync  +vsync
#    Modeline    "Model2_Mode50"    148.50  1920    2448    2492    2640    1080    1084    1089    1125    +hsync  +vsync
#EndSection

Section "Screen"
    Identifier  "ScreenL"
    Device      "Card0"
    GPUDevice   "Card0"
    Monitor     "HDMI-1"
    SubSection  "Display"
        Virtual     1920    1080
        Depth       24
    EndSubSection
EndSection

#Section "Screen"
#    Identifier  "ScreenR"
#    Device      "Card0"
#    GPUDevice   "Card0"
#    Monitor     "HDMI-2"
#    SubSection  "Display"
#        Virtual     1920    1080
#        Depth       24
#    EndSubSection
#EndSection

Section "ServerFlags"
    Option  "DefaultServerLayout"   "SingleGPU"
    Option  "UseDefaultFontPath"    "False"
    Option  "AutoAddGPU"            "True"
    Option  "AutoBindGPU"           "True"
EndSection

Section "ServerLayout"
    Identifier              "SingleGPU"
    Screen          0       "ScreenL"       0 0
#    Screen          1       "ScreenR"       1920 0
EndSection
If you still have issues after this let me know and I'll build kde on one of them, but I'd be interested to know if the same bug appears on rasbian.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum