How do I set SESSION_TYPE to stay on wayland?
Initially wayland is set on.
When the default is NVIDIA (not intel) and I change the cable from one DP port to another, the screen goes black. I can’t get past this situation except by 1) changing the cable back to the original DP port or 2) turning off the computer by pressing its power button.
Below is journalctl list what happens
localhost:~ # cat failure.txt
marras 12 11:51:10 localhost.localdomain systemd[4744]: Socket to launch DrKonqi for a systemd-coredump crash was skipped because of an unmet condition check (ConditionUser=!@system).
marras 12 11:51:10 localhost.localdomain systemd[4744]: drkonqi-coredump-launcher.socket: Unit needs to be started because active unit sockets.target upholds it, but not starting since we tried this too often recently. Will retry later.
marras 12 11:51:19 localhost.localdomain akonadi_mailmerge_agent[4230]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain kalendarac[4091]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain kactivitymanagerd[3944]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain kded6[3854]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain akonadi_migration_agent[4231]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain akonadi_archivemail_agent[4217]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain akonadi_unifiedmailbox_agent[4234]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain polkit-kde-authentication-agent-1[3948]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain akonadi_sendlater_agent[4233]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain xdg-desktop-portal-kde[3950]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain akonadi_newmailnotifier_agent[4232]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain akonadi_followupreminder_agent[4220]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain chrome[4245]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain konsole[4655]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain keepassxc[4065]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
marras 12 11:51:19 localhost.localdomain akonadi_control[4165]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain akonadi_maildispatcher_agent[4227]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain akonadi_mailfilter_agent[4228]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain konsole[4728]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain plasmashell[3936]: requesting unexisting screen available rect -1
marras 12 11:51:19 localhost.localdomain org_kde_powerdevil[3949]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain plasmashell[3936]: There are no outputs - creating placeholder screen
marras 12 11:51:19 localhost.localdomain systemd[1720]: Started dbus-:1.1-org.kde.KSplash@3.service.
marras 12 11:51:20 localhost.localdomain org_kde_powerdevil[3949]: [ 4918] Removing connected display on bus 14
marras 12 11:51:20 localhost.localdomain org_kde_powerdevil[3949]: [ 4918] Emitting DDCA_Display_Status_Event[169.967: DDCA_EVENT_DISPLAY_DISCONNECTED, card1-DP-4, dref: DDCA_Display_Ref[3], io_path:/dev/i2c-14, ddc working: false]
marras 12 11:51:20 localhost.localdomain org_kde_powerdevil[3949]: [ 4918] Starting 1 callback threads
marras 12 11:51:20 localhost.localdomain org_kde_powerdevil[3949]: [ 4918] libddcutil callback thread 0x7f1cec01ffa0 started
marras 12 11:51:20 localhost.localdomain org_kde_powerdevil[3949]: [ 4918] Started 1 event callback thread(s)
marras 12 11:51:20 localhost.localdomain org_kde_powerdevil[3949]: [ 4998] Invoking callback function 0x7f1d18b780b0 for event DDCA_Display_Status_Event[169.967: DDCA_EVENT_DISPLAY_DISCONNECTED, card1-DP-4, dref: DDCA_Display_Ref[3], io_path:/dev/i2c-14, ddc working: false] in this thread [ 4998]
marras 12 11:51:20 localhost.localdomain org_kde_powerdevil[3949]: [ 4998] Callback function 0x7f1d18b780b0 for event DDCA_Display_Status_Event[169.967: DDCA_EVENT_DISPLAY_DISCONNECTED, card1-DP-4, dref: DDCA_Display_Ref[3], io_path:/dev/i2c-14, ddc working: false] complete
marras 12 11:51:21 localhost.localdomain systemd[4744]: Socket to launch DrKonqi for a systemd-coredump crash was skipped because of an unmet condition check (ConditionUser=!@system).
marras 12 11:52:12 localhost.localdomain systemd[4744]: Socket to launch DrKonqi for a systemd-coredump crash was skipped because of an unmet condition check (ConditionUser=!@system).
marras 12 11:52:12 localhost.localdomain systemd[4744]: drkonqi-coredump-launcher.socket: Unit needs to be started because active unit sockets.target upholds it, but not starting since we tried this too often recently. Will retry later.
marras 12 11:52:13 localhost.localdomain kwin_wayland[3772]: 0x501: GL_INVALID_VALUE error generated. Size and/or offset out of range.
marras 12 11:52:13 localhost.localdomain org_kde_powerdevil[3949]: [ 4918] Adding connected display with bus 14
marras 12 11:52:14 localhost.localdomain org_kde_powerdevil[3949]: [ 4918] Emitting DDCA_Display_Status_Event[223.395: DDCA_EVENT_DISPLAY_CONNECTED, card1-DP-4, dref: DDCA_Display_Ref[4], io_path:/dev/i2c-14, ddc working: true]
marras 12 11:52:14 localhost.localdomain org_kde_powerdevil[3949]: [ 4918] Starting 1 callback threads
marras 12 11:52:14 localhost.localdomain org_kde_powerdevil[3949]: [ 4918] libddcutil callback thread 0x7f1cec0133d0 started
marras 12 11:52:14 localhost.localdomain org_kde_powerdevil[3949]: [ 4918] Started 1 event callback thread(s)
marras 12 11:52:14 localhost.localdomain org_kde_powerdevil[3949]: [ 5018] Invoking callback function 0x7f1d18b780b0 for event DDCA_Display_Status_Event[223.395: DDCA_EVENT_DISPLAY_CONNECTED, card1-DP-4, dref: DDCA_Display_Ref[4], io_path:/dev/i2c-14, ddc working: true] in this thread [ 5018]
marras 12 11:52:14 localhost.localdomain org_kde_powerdevil[3949]: [ 5018] Callback function 0x7f1d18b780b0 for event DDCA_Display_Status_Event[223.395: DDCA_EVENT_DISPLAY_CONNECTED, card1-DP-4, dref: DDCA_Display_Ref[4], io_path:/dev/i2c-14, ddc working: true] complete
marras 12 11:52:14 localhost.localdomain org_kde_powerdevil[3949]: [ 3949] Quiescing libddcutil API...
marras 12 11:52:14 localhost.localdomain org_kde_powerdevil[3949]: [ 3949] Quiesce libddcutil API complete
marras 12 11:52:14 localhost.localdomain org_kde_powerdevil[3949]: [ 3949] Display redetection starting.
marras 12 11:52:14 localhost.localdomain org_kde_powerdevil[3949]: [ 4917] recheck thread terminating because watch thread terminated
marras 12 11:52:14 localhost.localdomain org_kde_powerdevil[3949]: [ 3949] Watch thread terminated.
marras 12 11:52:17 localhost.localdomain org_kde_powerdevil[3949]: [ 3949] Watching for display connection changes, resolved watch mode = Watch_Mode_Xevent, poll loop interval = 100 millisec
marras 12 11:52:17 localhost.localdomain org_kde_powerdevil[3949]: [ 3949] extra_stabilization_millisec: 0, stabilization_poll_millisec: 100
marras 12 11:52:17 localhost.localdomain org_kde_powerdevil[3949]: [ 3949] libddcutil recheck thread 0x556513480110 started
marras 12 11:52:17 localhost.localdomain org_kde_powerdevil[3949]: [ 3949] libddcutil watch thread 0x55651345f460 started
marras 12 11:52:17 localhost.localdomain org_kde_powerdevil[3949]: [ 3949] Display redetection finished.
marras 12 11:52:17 localhost.localdomain org_kde_powerdevil[3949]: [ 3949] Unquiescing libddcutil API...
marras 12 11:52:17 localhost.localdomain org_kde_powerdevil[3949]: [ 5019] (dw_recheck_displays_func) Recheck interval: Sleeping for 200 milliseconds
marras 12 11:52:19 localhost.localdomain plasma_waitforname[4996]: WaitForName: Service was not registered within timeout
marras 12 11:52:19 localhost.localdomain systemd[1720]: dbus-:1.1-org.kde.KSplash@3.service: Main process exited, code=exited, status=1/FAILURE
marras 12 11:52:19 localhost.localdomain systemd[1720]: dbus-:1.1-org.kde.KSplash@3.service: Failed with result 'exit-code'.
marras 12 11:52:21 localhost.localdomain plasma_waitforname[4999]: WaitForName: Service was not registered within timeout
marras 12 11:52:21 localhost.localdomain systemd[1720]: dbus-:1.1-org.freedesktop.Notifications@3.service: Main process exited, code=exited, status=1/FAILURE
marras 12 11:52:21 localhost.localdomain systemd[1720]: dbus-:1.1-org.freedesktop.Notifications@3.service: Failed with result 'exit-code'.
marras 12 11:52:21 localhost.localdomain kded6[3854]: Failed to notify "Could not activate remote peer 'org.freedesktop.Notifications': unit failed"
marras 12 11:52:22 localhost.localdomain systemd[4744]: Socket to launch DrKonqi for a systemd-coredump crash was skipped because of an unmet condition check (ConditionUser=!@system).
marras 12 11:53:54 localhost.localdomain systemd[4744]: Socket to launch DrKonqi for a systemd-coredump crash was skipped because of an unmet condition check (ConditionUser=!@system).
marras 12 11:53:54 localhost.localdomain systemd[4744]: drkonqi-coredump-launcher.socket: Unit needs to be started because active unit sockets.target upholds it, but not starting since we tried this too often recently. Will retry later.
marras 12 11:54:01 localhost.localdomain systemd[4744]: Created slice User Background Tasks Slice.
marras 12 11:54:01 localhost.localdomain systemd[4744]: Starting Cleanup of User's Temporary Files and Directories...
marras 12 11:54:01 localhost.localdomain systemd[4744]: Finished Cleanup of User's Temporary Files and Directories.
marras 12 11:54:05 localhost.localdomain systemd[4744]: Socket to launch DrKonqi for a systemd-coredump crash was skipped because of an unmet condition check (ConditionUser=!@system).
marras 12 11:54:15 localhost.localdomain systemd[4744]: Socket to launch DrKonqi for a systemd-coredump crash was skipped because of an unmet condition check (ConditionUser=!@system).
marras 12 11:54:15 localhost.localdomain systemd[4744]: drkonqi-coredump-launcher.socket: Unit needs to be started because active unit sockets.target upholds it, but not starting since we tried this too often recently. Will retry later.
marras 12 11:54:17 localhost.localdomain NetworkManager[1253]: <info> [1762941257.0300] device (wlo1): set-hw-addr: set MAC address to F6:8B:CA:02:05:19 (scanning)
marras 12 11:54:17 localhost.localdomain NetworkManager[1253]: <info> [1762941257.0499] device (wlo1): supplicant interface state: inactive -> disconnected
marras 12 11:54:17 localhost.localdomain NetworkManager[1253]: <info> [1762941257.0499] device (p2p-dev-wlo1): supplicant management interface state: inactive -> disconnected
marras 12 11:54:17 localhost.localdomain NetworkManager[1253]: <info> [1762941257.0557] device (wlo1): supplicant interface state: disconnected -> inactive
marras 12 11:54:17 localhost.localdomain NetworkManager[1253]: <info> [1762941257.0557] device (p2p-dev-wlo1): supplicant management interface state: disconnected -> inactive
marras 12 11:54:25 localhost.localdomain systemd[4744]: Socket to launch DrKonqi for a systemd-coredump crash was skipped because of an unmet condition check (ConditionUser=!@system).
localhost:~ #

