You are not logged in.
Currently I am facing a issue where when I log in and my secondary display seems to work and KDE seems to detect my primary monitor but it doesn't display anything. But, if I unplug and replug the power on my display it fixes the issue. Unplugging the HDMI doens't fix the issue either. Even after logging out the issue presists.
I am using sddm with KDE plasma. All my drivers are upto date. My primary monitor goes to my AMD rx7600 (amdgpu) with HDMI and my secondary monitor goes to my gt 710 (nouveau) with VGA. This doesn't happen when I am on SwayWM, so it's a KDE thing.
Last edited by TaseenA09 (2024-11-24 16:46:59)
Offline
Possibly related:
https://bbs.archlinux.org/viewtopic.php?id=300049
https://bbs.archlinux.org/viewtopic.php?id=300077
Is KDE on X1 affected? Does restarting the compositor (there) "fix" it (SHIFT+Alt+F12 toggles it, this doesn't work on wayland)
Offline
KDE on X11 is not affected. And restarting the compositor does not fix it. Rather, even restarting my computer doens't fix it. After I have opened KDE I need to replug the power of my monitor or it just doens't display anything.
A quick note is that when starting up my system, the system-d boot menu takes a exceedingly long time to showup on my main monitor. If I don't wait for it to be show up on my main monitor the display doesn't display anything until I login to my session, even though sddm should use it as the primary monitor.
Last edited by TaseenA09 (2024-10-10 14:49:57)
Offline
https://bbs.archlinux.org/viewtopic.php?id=300097 - same problem if you downgrade KDE to 6.1.5?
Offline
I have successfully downgraded "plasma-desktop" to 6.1.5, it has changed nothing.
Last edited by TaseenA09 (2024-10-10 15:19:26)
Offline
KDE on X11 is not affected.
You still have output on the VGA device on wayland, right?
On wayland, what's the output of
qdbus org.kde.KWin /KWin supportInformation
kscreendoctor --outputs
Offline
qdbus output:
KWin Support Information:
The following information should be used when requesting support on e.g. https://discuss.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like https://paste.kde.org instead of pasting into support threads.
==========================
Version
=======
KWin version: 6.2.0
Qt Version: 6.7.3
Qt compile version: 6.7.3
XCB compile version: 1.17.0
Operation Mode: Xwayland
Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
HAVE_GLX: yes
X11
===
Vendor: The X.Org Foundation
Vendor Release: 12401002
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0
Decoration
==========
Plugin: org.kde.kwin.aurorae
Theme: __aurorae__svg__Nordic
Plugin recommends border size: No
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2, 9
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 10
font: JetBrains Mono,10,-1,5,500,0,0,0,0,0,0,0,0,0,0,1,Medium
smallSpacing: 2
largeSpacing: 10
Output backend
==============
Name: DRM
Atomic Mode Setting on GPU 0: true
Atomic Mode Setting on GPU 1: false
Cursor
======
themeName: Nordic-cursors
themeSize: 24
Options
=======
focusPolicy: ClickToFocus
xwaylandCrashPolicy: 1
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: true
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
edgeBarrier: 100
cornerBarrier: 1
rollOverDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseNothing
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseNothing
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: true
glStrictBindingFollowsDriver: true
glPreferBufferSwap: AutoSwapStrategy
glPlatformInterface: 2
windowsBlockCompositing: true
allowTearing: true
Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 75
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0
Screens
=======
Number of Screens: 2
Screen 0:
---------
Name: HDMI-A-2
Enabled: 1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 99999
Adaptive Sync: never
Screen 1:
---------
Name: VGA-1
Enabled: 1
Geometry: 1920,312,1366x768
Scale: 1
Refresh Rate: 59790
Adaptive Sync: incapable
Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 7600 (radeonsi, navi33, LLVM 18.1.8, DRM 3.59, 6.11.2-arch1-1)
OpenGL version string: 4.6 (Core Profile) Mesa 24.2.4-arch1.1
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 24.2.4
X server version: 1.24.1
Linux kernel version: 6.11.2
Direct rendering: Requires strict binding: no
Virtual Machine: no
OpenGL 2 Shaders are used
Loaded Effects:
---------------
screenshot
outputlocator
colorpicker
zoom
screenedge
blur
contrast
sessionquit
logout
login
slidingpopups
windowaperture
slide
squash
scale
maximize
fullscreen
frozenapp
fadingpopups
dialogparent
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
systembell
screentransform
kscreen
Currently Active Effects:
-------------------------
blur
contrast
Effect Settings:
----------------
screenshot:
outputlocator:
colorpicker:
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1
screenedge:
blur:
contrast:
sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false
logout:
pluginId: logout
isActiveFullScreenEffect: false
login:
pluginId: login
isActiveFullScreenEffect: false
slidingpopups:
slideInDuration: 200
slideOutDuration: 200
windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false
slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true
squash:
pluginId: squash
isActiveFullScreenEffect: false
scale:
pluginId: scale
isActiveFullScreenEffect: false
maximize:
pluginId: maximize
isActiveFullScreenEffect: false
fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false
frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false
fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false
dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false
windowview:
activeView:
delegate:
animationDuration: 300
ignoreMinimized: false
mode:
partialActivationFactor: 0
gestureInProgress: false
searchText:
selectedIds:
tileseditor:
activeView:
delegate:
animationDuration: 200
overview:
activeView:
delegate:
animationDuration: 300
ignoreMinimized: false
filterWindows: true
organizedGrid: true
overviewPartialActivationFactor: 0
overviewGestureInProgress: false
transitionPartialActivationFactor: 0
transitionGestureInProgress: false
gridPartialActivationFactor: 0
gridGestureInProgress: false
desktopOffset:
searchText:
highlightwindow:
blendchanges:
startupfeedback:
type: 1
systembell:
screentransform:
kscreen:
Loaded Plugins:
---------------
BounceKeysPlugin
KeyNotificationPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast
Available Plugins:
------------------
BounceKeysPlugin
KeyNotificationPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast
kscreen-doctor output:
[01;32mOutput: [0;0m1 HDMI-A-2
[01;32menabled[0;0m
[01;32mconnected[0;0m
[01;32mpriority 1[0;0m
[01;33mHDMI[0;0m
[01;34mModes: [0;0m 1:1920x1080@60! 2:[01;32m1920x1080@100*[0;0m 3:1920x1080@85 4:1920x1080@60 5:1920x1080@60 6:1920x1080@50 7:1680x1050@60 8:1280x1024@75 9:1280x1024@60 10:1440x900@60 11:1280x800@60 12:1280x720@60 13:1280x720@60 14:1280x720@60 15:1280x720@50 16:1024x768@75 17:1024x768@70 18:1024x768@60 19:800x600@75 20:800x600@72 21:800x600@60 22:800x600@56 23:720x576@50 24:720x480@60 25:720x480@60 26:720x480@60 27:720x480@60 28:640x480@75 29:640x480@73 30:640x480@67 31:640x480@60 32:640x480@60 33:640x480@60 34:720x400@70 35:1280x1024@60 36:1024x768@60 37:1280x800@60 38:1920x1080@60 39:1600x900@60 40:1368x768@60 41:1280x720@60
[01;33m Geometry: [0;0m0,0 1920x1080
[01;33m Scale: [0;0m1
[01;33m Rotation: [0;0m1
[01;33m Overscan: [0;0m0
[01;33m Vrr: [0;0mNever
[01;33m RgbRange: [0;0munknown
[01;33m HDR: [0;0mincapable
[01;33m Wide Color Gamut: [0;0mincapable
[01;33m ICC profile: [0;0mnone
[01;33m Color profile source: [0;0mEDID
[01;33m Brightness control: [0;0msupported, set to 100%
[01;32mOutput: [0;0m2 VGA-1
[01;32menabled[0;0m
[01;32mconnected[0;0m
[01;32mpriority 2[0;0m
[01;33mVGA[0;0m
[01;34mModes: [0;0m 42:[01;32m1366x768@60*[0;0m! 43:1280x1024@75 44:1024x768@75 45:1024x768@60 46:800x600@75 47:800x600@60 48:640x480@75 49:640x480@60 50:720x400@70 51:1024x768@60 52:1280x720@60
[01;33m Geometry: [0;0m1920,312 1366x768
[01;33m Scale: [0;0m1
[01;33m Rotation: [0;0m1
[01;33m Overscan: [0;0m0
[01;33m Vrr: [0;0mincapable
[01;33m RgbRange: [0;0munknown
[01;33m HDR: [0;0mincapable
[01;33m Wide Color Gamut: [0;0mincapable
[01;33m ICC profile: [0;0mnone
[01;33m Color profile source: [0;0msRGB
[01;33m Brightness control: [0;0msupported, set to 100%
Also, I am losing interest in using KDE firstly because of this problem. And secondly because I get logged out of everything when I switch to KDE (Not back to SwayWM, just when I switch back to KDE) when I try to diagnose this issue.
Last edited by TaseenA09 (2024-10-11 13:01:13)
Offline
I installed gnome, same issue. But if I open sway first the issue doesn't occur.
Offline
KDE certainly sees both outputs and you're running on the AMD GPU, the sway situation is weird (I'd see gnome behaving different than anything else)
Also there's
If I don't wait for it to be show up on my main monitor the display doesn't display anything until I login to my session, even though sddm should use it as the primary monitor.
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Offline
The link output from the command you have given me; https://0x0.st/X610.txt
Offline
There're certainly some nouveau errors
Oct 12 11:35:23 taseen-linux kernel: nouveau 0000:05:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
Oct 12 11:35:43 taseen-linux kernel: nouveau 0000:05:00.0: Direct firmware load for nouveau/nv106_fuc084 failed with error -2
Oct 12 11:35:43 taseen-linux kernel: nouveau 0000:05:00.0: Direct firmware load for nouveau/nv106_fuc084d failed with error -2
Oct 12 11:35:43 taseen-linux kernel: nouveau 0000:05:00.0: msvld: unable to load firmware data
Oct 12 11:35:43 taseen-linux kernel: nouveau 0000:05:00.0: msvld: init failed, -19
Oct 12 11:53:26 taseen-linux kernel: nouveau 0000:05:00.0: Direct firmware load for nouveau/nv106_fuc084 failed with error -2
Oct 12 11:53:26 taseen-linux kernel: nouveau 0000:05:00.0: Direct firmware load for nouveau/nv106_fuc084d failed with error -2
Oct 12 11:53:26 taseen-linux kernel: nouveau 0000:05:00.0: msvld: unable to load firmware data
Oct 12 11:53:26 taseen-linux kernel: nouveau 0000:05:00.0: msvld: init failed, -19
Oct 12 11:57:24 taseen-linux kernel: nouveau 0000:05:00.0: Direct firmware load for nouveau/nv106_fuc084 failed with error -2
Oct 12 11:57:24 taseen-linux kernel: nouveau 0000:05:00.0: Direct firmware load for nouveau/nv106_fuc084d failed with error -2
Oct 12 11:57:24 taseen-linux kernel: nouveau 0000:05:00.0: msvld: unable to load firmware data
Oct 12 11:57:24 taseen-linux kernel: nouveau 0000:05:00.0: msvld: init failed, -19
but no amdgpu ones and also no "no crtc found" error.
But you're also running xfce, no KDE, no wayland? (And SDDM runs on X11)
Offline
I am running KDE with wayland, it shows up in SDDM. Also, the only part of xfce that I have is the xfce settings app, this is to try and change some settings graphically in Sway.
I installed arch through the archinstall script, so I don't know the specifics. But this tells me that next time I should probably just do it manually.
All the DEs and WMs in my system are:
* KDE
* Sway
* Cinnamon
* Gnome
In this list, I installed KDE, Sway and Cinnamon through archinstall and Gnome later using pacman.
This is the recap of what happens;
> I open arch linux
> Open KDE or Gnome from SDDM
> Primary monitor doesn't show anything
> Doing anything doesn't fix it (Restarting, reopening, etc.)
> Only way to fix it, that I have found, is by repluging the power. Repluging the HDMI does nothing.
Weird things that happen;
* If i don't let the systemd-boot selection menu load on my main monitor, sddm opens on my second monitor
* After opening specifically KDE, all my logins on anyother WMs are gone
* After repluging the power, my monitor only gets recognized as a 60hz monitor whilst it is 100hz monitor
Last edited by TaseenA09 (2024-10-12 13:12:17)
Offline
I am running KDE with wayland
Certainly not in the provided journal, you were starting a sway session.
The interesting journal would be from a failed KDE or gnome session.
Offline
I am sorry for the misunderstanding. I have KDE plasma installed. I didn't have it open whilst running the command due to the screen problem. I didn't realise that I had to run this command with KDE open.
This is the output with KDE open; https://0x0.st/X640.txt
Offline
I have done some testing. This seems to be a multi-GPU problem. Having both my monitors connected to one GPU doesn't break it. But having each connected to a different one does. But to be fair, as my secondary monitor is VGA and my primary GPU doesn't support VGA, so I have both connected to my secondary GPU the GT-710. So, having both monitor connected to my primary GPU could break it.
Here is a summary of what I found:
* Having only one monitor connect, reguardless of the GPU works
* Connecting both monitors to my GT-710 works
* Connecting one monitor to the rx7600 and the other to the GT-710 doesn't work
Offline
Oct 13 14:13:45 taseen-linux kwin_wayland[939]: kwin_wayland_drm: drmSetClientCap for Atomic Mode Setting failed. Using legacy mode on GPU "/dev/dri/card1"
Smells like nouveau rather than amdgpu:
tail /sys/class/drm/card*/device/vendor
Since the problem is related to reverse prime, have you considered using https://aur.archlinux.org/packages/nvidia-470xx-dkms ?
Offline
The archinstall install of arch that I had got messed up because I screwed up a few things when installing the 470xx drivers and gave up for the time being. I have now reinstalled arch, but manually. I installed the 470xx drivers (properly this time) using my knowledge gained from installing arch manually. The second display now works!
Sorry for the month long wait, had something come up. Thanks for all the help, I appreciate it.
EDIT: Don't install the 470xx drivers. I don't know what happens but literally everything in KDE breaks. I can't logout, the launcher doesn't work, konsole doesn't open. I am not sure what happens but removing ibt=off (required for GT 710) and the nvidia drivers from the module fixes the issue. So, I just reinstalled the nouveau, removed everything related to 470xx, basically the original setup. But this time I added "amdgpu" to the modules in /etc/mkinitcpio.conf. That fixed it.
Last edited by TaseenA09 (2024-11-25 07:51:33)
Offline