Per the undermentioned, I’ve experienced the display becoming black with merely a cursor when attempting to switch user at least twice over the last few months: [1]
Question
What logs should I acquire to provide actionable information on this?
Diagnosis
I ask because when looking in journalctl -b -1 -e[2], ignoring the constant repetitions of unrelated log spam…
amdgpu0000:59:00.0: [drm] ERRORlttpr_capsphy_repeater_cnt is 0x0, forcing it to 0x80.
Mar 26 22:43:44 Beedell.RokeJulianLockhart.desktop.SSV2AY kwin_wayland[1793]: kwin_core: Failed to open drm node: "/dev/dri/card0"
Mar 26 22:43:47 Beedell.RokeJulianLockhart.desktop.SSV2AY pcscd[21891]: 10329108 ../src/auth.c:166:IsClientAuthorized() Process 152016 (user: 1000) is NOT authorized for action: access_pcsc
Mar 26 22:43:47 Beedell.RokeJulianLockhart.desktop.SSV2AY pcscd[21891]: 00000068 ../src/winscard_svc.c:357:ContextThread() Rejected unauthorized PC/SC client
At least 40 of these fill journalctl -b -1 -e, solely after SystemD begins to stop services. It solely appears once in -b 0, per | grep access_pcsc:
Mar 26 22:46:40 Beedell.RokeJulianLockhart.desktop.SSV2AY pcscd[2813]: 00000000 ../src/auth.c:166:IsClientAuthorized() Process 2668 (user: 999) is NOT authorized for action: access_pcsc
Mar 26 22:46:40 Beedell.RokeJulianLockhart.desktop.SSV2AY pcscd[2813]: 00000049 ../src/winscard_svc.c:357:ContextThread() Rejected unauthorized PC/SC client
Hi - I don’t know if it answers anything, but just to check and possibly help narrow down where to search: does your brother’s device have the same kind of smart card that yours has? I’m thinking of whatever is causing the “Rejected unauthorized PC/SC client” error.
@johnandmegh, the error is caused by a smart card? If so, I don’t believe even mine has one installed. I have an SD Card reader attached via USB-C to a hub, but it doesn’t have a card inside.
I’ll definitely check whether his journalctl contains the same logs, though. Apologies for not doing so beforehand. Thanks.
It might also be worth checking to make sure that /dev/dri/card0 refers to your actual intended graphics card - maybe there’s some race-type condition there where sometimes the wrong graphics device is getting picked first? ex. in my desktop, the device for AMD integrated graphics is /card1, although nothing is connected to it, and the NVIDIA card is /card2. I…don’t know how it works on mine, I guess it just does? But I’m sure there are ways to force one to be chosen if needed.
@johnandmegh, the logs don’t appear on my laptop (an FW16), nor my brother’s desktop (an ASRock X670E, too), even after performing “Switch user”. Checking their journalctls was definitely useful confirmation that PCSC’s errata are either a definitive symptom or cause. On that note, thank you for explaining what it is. I’ve asked at its repository:
I did have a Polish friend using fedora too, who experienced something similar with his secondary NVIDIA GPU. That occurring to me could explain why bugzilla.rpmfusion.org/show_bug.cgi?id=6713#c24 affects me too.
I’ve filed bugs.kde.org/show_bug.cgi?id=502082, because, whatever the cause, although the OS shouldn’t get into this kind of state when the DE fails, the DE also shouldn’t allow itself to get into this state.