Inxi information
- Code: Select all
System:
Host: linux6core Kernel: 6.6.18-desktop-1.mga9 arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.27.10 Distro: Mageia 9
Machine:
Type: Desktop Mobo: Micro-Star model: MPG Z490 GAMING EDGE WIFI (MS-7C79)
v: 1.0 serial: <superuser required> UEFI: American Megatrends v: 1.C0
date: 06/10/2022
CPU:
Info: 6-core 11th Gen Intel Core i5-11400 [MT MCP] speed (MHz): avg: 800
min/max: 800/4400
Graphics:
Device-1: Intel RocketLake-S GT1 [UHD Graphics 730] driver: i915 v: kernel
Display: x11 server: X.org v: 1.21.1.8 with: Xwayland v: 22.1.9 driver: X:
loaded: modesetting,v4l dri: iris gpu: i915 resolution: 1: 1920x1080~60Hz
2: 1920x1080~60Hz
API: OpenGL v: 4.6 Mesa 23.3.5 renderer: Mesa Intel Graphics (RKL GT1)
Network:
Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi
Device-2: Realtek RTL8125 2.5GbE driver: r8169
Drives:
Local Storage: total: 954.81 GiB used: 50.6 GiB (5.3%)
Info:
Processes: 316 Uptime: 54m Memory: 31.2 GiB used: 2.59 GiB (8.3%)
Shell: Bash inxi: 3.3.26
Most of the applications that I am running are standalone applications that I wrote myself. They are simply executable files, and are not installed via rpm. However, one of the applications is gkrellm, which is officially installed from the repositories.
The backstory: In past versions of Plasma (Mag 7 and Mag 8), I have seen flaky behavior when I allowed Plasma to save and restore my sessions, so I gave up on that and now I tell it to open an empty session. Then, I run the apps myself using the Startup and Shutdowhn => Autostart system. This is working fine on Mageia 8.
My applications work by saving their geometry in their own configuration file when they close, and then they read that information back in at startup and restore their size and position with calls to QT. All of my apps use QT for their graphics. If I run the applications manually, this system works fine.
I do not know how gkrellm saves its geometry information.
So I set up my desktop with my applications on the far right like this (the two screens have different background images):
I log out and then log back in, and the desktop starts up like this:
If I move the applications back to where I want them to be, then log out and back in, Plasma centers them all on the left screen again.
I would be suspicious of a bug in the positioning of my own applications on the screen except that gkrellm suffers from the same problem.
I have tried some different things to get around the problem, for example, I set up the system to save my session at logout and restore it. When I did that, and logged out, nothing of my session was saved to .config/ksmserverrc. When I logged back in, it restored an old old session with a different program in it, and none of the ones I was running when I logged out.
Here's the ~/.config/ksmserverrc
- Code: Select all
[$Version]
update_info=ksmserver_update_loginMode_value.upd:ksmserver_update_loginMode_value_default_enum
[LegacySession: saved at previous logout]
count=0
[LegacySession: saved by user]
count=0
[Session: saved at previous logout]
clientId1=1028c1d320b210000166923851700000433930004
clientId2=1028c1d320b210000166923899200000433930021
count=2
program1=/usr/bin/kalendarac
program2=/home/brian/bin/MOBO
restartCommand1=/usr/bin/kalendarac,-session,1028c1d320b210000166923851700000433930004_1669239519_818043
restartCommand2=/home/brian/bin/MOBO,-session,1028c1d320b210000166923899200000433930021_1669239519_820930
restartStyleHint1=0
restartStyleHint2=0
userId1=brian
userId2=brian
[Session: saved by user]
clientId1=10156104d1e4000171000189600000070090004
clientId2=10156104d1e4000171000189600000070090006
clientId3=10156104d1e4000170984107500000183110004
clientId4=10156104d1e4000170984107500000183110005
clientId5=10156104d1e4000170984107500000183110006
clientId6=10156104d1e4000170984107500000183110007
clientId7=10156104d1e4000170984107500000183110008
clientId8=10156104d1e4000170984107500000183110013
count=8
program1=/usr/bin/hp-systray
program2=/usr/bin/kalendarac
program3=/home/brian/bin/mobo
program4=/home/brian/bin/NixieClock3
program5=/home/brian/bin/Wx
program6=/home/brian/bin/mac
program7=/home/brian/bin/DGEyes
program8=/usr/bin/gkrellm
restartCommand1=/usr/bin/hp-systray,-session,10156104d1e4000171000189600000070090004_1710001945_343446,-name,hp-systray
restartCommand2=/usr/bin/kalendarac,-session,10156104d1e4000171000189600000070090006_1710001945_343446
restartCommand3=/home/brian/bin/mobo,-session,10156104d1e4000170984107500000183110004_1710001945_343457
restartCommand4=/home/brian/bin/NixieClock3,-session,10156104d1e4000170984107500000183110005_1710001945_343469
restartCommand5=/home/brian/bin/Wx,-session,10156104d1e4000170984107500000183110006_1710001945_343467
restartCommand6=/home/brian/bin/mac,-session,10156104d1e4000170984107500000183110007_1710001945_343477
restartCommand7=/home/brian/bin/DGEyes,-session,10156104d1e4000170984107500000183110008_1710001945_343614
restartCommand8=/usr/bin/gkrellm,--sm-client-id,10156104d1e4000170984107500000183110013
restartStyleHint1=0
restartStyleHint2=0
restartStyleHint3=0
restartStyleHint4=0
restartStyleHint5=0
restartStyleHint6=0
restartStyleHint7=0
restartStyleHint8=0
userId1=brian
userId2=brian
userId3=brian
userId4=brian
userId5=brian
userId6=brian
userId7=brian
userId8=brian
Then, I set it up to resotre a manually saved session, configured the desktop, and saved the session. When I log back in, it usually restores the session properly, although occasionally some of my applications end up on the left screen anyway.
My Mageia 8 system (KDE Plasma 5.20.4 Distro: Mageia 8 mga8) has always had a similar issue where the intial login after a reboot confuses the screens and sets them up incorrectly. But that corrects itself after the initial login, so we just live with it. I did find that on Mageia 8 (Plasma 5.20.4) if I boot the system first and then turn on the monitors it works fine, and the screens and apps initialize properly.
So, I tried doing that on the Mageia 9 system, booting first and then turning on the monitors, but that did not fix the issue. Honestly, laying out my desktop every time I log in is not an acceptable situation. My current workaround is to set up Plasma to restore a manually saved session, but that doesn't always work either.
Any ideas of what to try to fix this would be appreciated. These glitches seem to involve some complex communications between the monitors, the graphics card, SDDM, Plasma, and who knows what else.
I am currently installing Mageia 9 on my Mageia 8 computer, which uses the Nvidia RTX 3050 graphics card. When I get that done, I will report back whether or not the problem appears on the Nvidia graphics hardware. If it does not, then it is dependent on the onboard Intel graphics on the other computer.
Thanks,
Banjo
(_)=='=~