Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
After upgrade to plasma 6, my desktop total black
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 123

PostPosted: Mon Sep 16, 2024 4:16 pm    Post subject: After upgrade to plasma 6, my desktop total black Reply with quote

After upgrade to plasma 6, my desktop total black.

pstree pid from /run/sddm.pid, the output indicating instead x11, it startup wayland which I never switch it.

sddm─┬─sddm-helper───dbus-run-sessio─┬─dbus-daemon
│ └─startplasma-way─┬─plasma_session─┬─gmenudbusmenupr───2*[{gmenudbusmenupr}]
│ │ ├─hp-systray─┬─hp-systray───hp-systray
│ │ │ └─9*[{hp-systray}]
│ │ ├─kaccess───8*[{kaccess}]
│ │ ├─kded6───13*[{kded6}]
│ │ ├─ksmserver─┬─dolphin───13*[{dolphin}]
│ │ │ ├─3*[konsole─┬─bash]
│ │ │ │ └─9*[{konsole}]]
│ │ │ └─8*[{ksmserver}]
│ │ ├─kwin_wayland_wr─┬─kwin_wayland─┬─Xwayland───10*[{Xwayland}]
│ │ │ │ └─16*[{kwin_wayland}]
│ │ │ └─{kwin_wayland_wr}
│ │ ├─plasmashell───35*[{plasmashell}]
│ │ ├─xembedsniproxy───2*[{xembedsniproxy}]
│ │ ├─xwaylandvideobr───13*[{xwaylandvideobr}]
│ │ └─{plasma_session}
│ └─{startplasma-way}
└─{sddm}


Configuration i my /etc/sddm.conf.d,
[General]
DisplayServer=x11-user
InputMethod=
HaltCommand=
RebootCommand=


[X11]
DisplayCommand=/etc/sddm/scripts/Xsetup

[Autologin]
Relogin=false
Session=plasma
User=blk161

[Theme]
Current=

[Users]
MaximumUid=60000
MinimumUid=1000
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9261

PostPosted: Mon Sep 16, 2024 4:16 pm    Post subject: Reply with quote

You didn't read the news item?

Quote:
Plasma Wayland support has come a long way and therefore KDE developers have
decided to make it the default login session for Plasma 6, even if some
known papercuts[2] remain. For users affected too much by those, switching
to the still existing X11 session is as easy as selecting it in the display
manager of choice.

So, if you can't figure out what's wrong with your Wayland session, as a quick fix, simply select the X session instead in the SDDM login screen.

Quote:
Configuration i my /etc/sddm.conf.d,
Code:
[General]
DisplayServer=x11-user

Although I'm less surprised there are issues with SDDM configured to start with x11-user, which is not the default and much experimental.
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 123

PostPosted: Mon Sep 16, 2024 5:32 pm    Post subject: Reply with quote

Quote:
Although I'm less surprised there are issues with SDDM configured to start with x11-user, which is not the default and much experimental.


"DisplayServer=x11-user" is the only way to set default DisplayServer so far I can find on public domain.

Are there other ways?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9261

PostPosted: Mon Sep 16, 2024 5:40 pm    Post subject: Reply with quote

What "public domain" is that? This line is only there because you put it there in the first place. Which is not necessary.

Otherwise:
Code:
$ man sddm.conf
[...]
       DisplayServer=
              Select the display server to use for the greeter.  Valid values are:

              • x11: X server running as root.

              • x11-user: X server running as unprivileged user.

              • wayland: Wayland compositor as unprivileged user. (Experimental)

              Default value is "x11".  For x11-user you might need to configure Xorg.wrap(1).


There's also a Gentoo SDDM wiki: https://wiki.gentoo.org/wiki/SDDM
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 123

PostPosted: Mon Sep 16, 2024 6:03 pm    Post subject: Reply with quote

I change DisplayServer to x11 "DisplayServer=x11=x11" and restart

It now started a X daemon but majority is still on wayland

blk161@Asus /etc/sddm.conf.d $ pstree 3481
sddm─┬─X───11*[{X}]
├─sddm-helper───dbus-run-sessio─┬─dbus-daemon
│ └─startplasma-way─┬─plasma_session─┬─gmenudbusmenupr───2*[{gmenudbusmenupr}]
│ │ ├─hp-systray─┬─hp-systray───hp-systray
│ │ │ └─9*[{hp-systray}]
│ │ ├─kaccess───8*[{kaccess}]
│ │ ├─kded6───13*[{kded6}]
│ │ ├─ksmserver─┬─dolphin───15*[{dolphin}]
│ │ │ ├─3*[konsole─┬─bash]
│ │ │ │ └─9*[{konsole}]]
│ │ │ └─8*[{ksmserver}]
│ │ ├─kwin_wayland_wr─┬─kwin_wayland─┬─Xwayland───10*[{Xwayland}]
│ │ │ │ └─17*[{kwin_wayland}]
│ │ │ └─{kwin_wayland_wr}
│ │ ├─plasmashell───36*[{plasmashell}]
│ │ ├─xembedsniproxy───2*[{xembedsniproxy}]
│ │ ├─xwaylandvideobr───13*[{xwaylandvideobr}]
│ │ └─{plasma_session}
│ └─{startplasma-way}
└─{sddm}


Before upgrade to plasma 6, I didn't set DisplayServer, it automatically startup X.

BTW: I can use startx to startup desktop manually with no issue.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9261

PostPosted: Mon Sep 16, 2024 6:07 pm    Post subject: Reply with quote

Again.
asturm wrote:
You didn't read the news item?

Quote:
Plasma Wayland support has come a long way and therefore KDE developers have
decided to make it the default login session for Plasma 6, even if some
known papercuts[2] remain. For users affected too much by those, switching
to the still existing X11 session is as easy as selecting it in the display
manager of choice.

So, if you can't figure out what's wrong with your Wayland session, as a quick fix, [b]simply select the X session instead in the SDDM login screen.[b]


weiypan_us wrote:
Before upgrade to plasma 6, I didn't set DisplayServer, it automatically startup X.

It continues to do so, why did you think you had to change that? This is for SDDM itself. SDDM is not Plasma.
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 123

PostPosted: Mon Sep 16, 2024 6:14 pm    Post subject: Reply with quote

Quote:
switching to the still existing X11 session is as easy as selecting it in the display manager of choice.


What is "display manager of choice" ? by editing some configure file or GUI selection?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9261

PostPosted: Mon Sep 16, 2024 6:17 pm    Post subject: Reply with quote

SDDM is a display manager. It can start whatever desktop environments/sessions your system holds. If you installed kde-plasma/plasma-meta with USE="displaymanager sddm", which is enabled by default, then it is your display manager of choice.

"selecting" is the keyword for doing this in GUI. As we have selected our desktop session of choice for ages. Look in the lower left edge.
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 123

PostPosted: Mon Sep 16, 2024 6:25 pm    Post subject: Reply with quote

I am sure i have selected USE="displaymanager sddm"

Quote:

* Found these USE flags for kde-plasma/plasma-meta-6.1.4-r1:
U I
- - accessibility : Add support for accessibility (eg 'at-spi' library)
+ + bluetooth : Enable Bluetooth Support
+ + browser-integration : Enable integration with Chrome/Firefox with browser extensions
- - colord : Enable kde-plasma/kwin color management via x11-misc/colord
+ + crash-handler : Pull in kde-plasma/drkonqi for assisted upstream crash reports
+ + crypt : Pull in kde-plasma/plasma-vault for encrypted vaults integration
+ + cups : Add support for CUPS (Common Unix Printing System)
- - discover : Pull in resources management GUI; a centralised GHNS alternative and optional sys-apps/fwupd frontend
+ + display-manager : Pull in a graphical display manager
+ + elogind : Enable session tracking via sys-auth/elogind
- - flatpak : Pull in kde-plasma/flatpak-kcm for flatpak permissions administration
- - grub : Pull in Breeze theme for sys-boot/grub
- - gtk : Enable Breeze widget style and system settings module for GTK+
+ + kwallet : Enable support for KWallet auto-unlocking via kde-plasma/kwallet-pam
+ + networkmanager : Enable net-misc/networkmanager support
- - oxygen-theme : Pull in Oxygen icons, sound theme and visual style for KDE Plasma
- - plymouth : Pull in Breeze theme for sys-boot/plymouth
+ + pulseaudio : Install Plasma applet for PulseAudio volume management
- - rdp : Enables RDP/Remote Desktop support
+ + sddm : Pull in the x11-misc/sddm display manager and system settings module
- - sdk : Pull in kde-plasma/plasma-sdk for Plasma development
+ + smart : Pull in kde-plasma/plasma-disks for disk health monitoring
- - systemd : Enable use of systemd-specific libraries and features like socket activation or session tracking
- - thunderbolt : Pull in kde-plasma/plasma-thunderbolt control center module
- - unsupported : Allow packages that are known to ruin runtime experience ** DO NOT FILE BUGS WITH THIS ENABLED **
- - wacom : Pull in kde-plasma/wacomtablet control center module
+ + wallpapers : Install wallpapers for the Plasma Workspace
- - webengine : Use kde-apps/khelpcenter to access the locally installed KDE Help System Handbook
+ + xwayland : Enable Wayland windows screensharing to XWayland applications via gui-apps/xwaylandvideobridge


As to "selecting" is the keyword for doing this in GUI", because there is no GUI with the system bootup. I don't know where I can get this GUI to select, that is what I feel difficult and need help.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9261

PostPosted: Mon Sep 16, 2024 6:27 pm    Post subject: Reply with quote

Quote:
I am sure i have selected USE="displaymanager sddm"

Yes, I know you do.

weiypan_us wrote:
As to "selecting" is the keyword for doing this in GUI", because there is no GUI with the system bootup. I don't know where I can get this GUI to select, that is what I feel difficult and need help.

How did you manage to start a Plasma 6 Wayland session in the first place then, when you opened your bug? Clearly, SDDM must be running for you to log in? That's where you shall
asturm wrote:
Look in the lower left edge.
Back to top
View user's profile Send private message
weiypan_us
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2017
Posts: 123

PostPosted: Mon Sep 16, 2024 7:10 pm    Post subject: Reply with quote

Thanks asturm, I think I have got your instruction.

my selection is on top left, probably it is because I put the bar on top instead bottom.

Probably because I use auto login, after upgraded to plasma 6, the first reboot didn't give selection. Instead, it gave me my normal desktop with low resolution.

My first action was get into "system settings" to change resolution. After clicked "Apply" button, screen turned black. Then I started struggle by search solution in public domain.


Because you mentioned "SDDM login screen", deleted all in /etc/sddm.conf.d/ except "DisplayCommand=/etc/sddm/scripts/Xsetup" so it give me a login screen after reboot.

Now it looks good at least with X11.

Quote:

blk161@Asus /etc/sddm.conf.d $ cat /run/sddm.pid
3486
blk161@Asus /etc/sddm.conf.d $ pstree 3486
sddm─┬─X───12*[{X}]
├─sddm-helper───startplasma-x11─┬─plasma_session─┬─gmenudbusmenupr───2*[{gmenudbusmenupr}]
│ │ ├─hp-systray─┬─hp-systray───hp-systray
│ │ │ └─8*[{hp-systray}]
│ │ ├─kaccess───8*[{kaccess}]
│ │ ├─kded6───12*[{kded6}]
│ │ ├─kglobalacceld───2*[{kglobalacceld}]
│ │ ├─ksmserver─┬─dolphin───14*[{dolphin}]
│ │ │ ├─2*[konsole─┬─bash]
│ │ │ │ └─8*[{konsole}]]
│ │ │ ├─konsole─┬─bash───pstree
│ │ │ │ └─13*[{konsole}]
│ │ │ └─8*[{ksmserver}]
│ │ ├─kwin_x11───23*[{kwin_x11}]
│ │ ├─plasmashell───29*[{plasmashell}]
│ │ ├─wireplumber─┬─pipewire───3*[{pipewire}]
│ │ │ └─5*[{wireplumber}]
│ │ ├─xembedsniproxy───2*[{xembedsniproxy}]
│ │ └─{plasma_session}
│ └─{startplasma-x11}
└─{sddm}
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9261

PostPosted: Mon Sep 16, 2024 8:51 pm    Post subject: Reply with quote

weiypan_us wrote:
Probably because I use auto login, after upgraded to plasma 6, the first reboot didn't give selection. Instead, it gave me my normal desktop with low resolution.

My first action was get into "system settings" to change resolution. After clicked "Apply" button, screen turned black.

It is really, really, frustrating when information like this is only provided at the end of a lengthy support thread.
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
Page 1 of 1

 
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