You are not logged in.

#1 2024-07-11 00:02:41

sQuAde
Member
Registered: 2024-07-10
Posts: 9

ISSUE - Black screen across all monitors when connecting another one

Hey everyone, I'm slowly transitioning to arch (and linux in general) and a came across this issue. Whenever I plug in my Wacom cintiq 16 via HDMI (which is a drawing tablet but also acts as another display), both my main monitor and cintiq's screen will turn completely black, the only thing that is visible across both monitors is my cursor.

If I disconnect my cintiq, there's a chance that my main monitor will be left stuck with this black screen and i'm essentially forced to reboot. However, I had this occasion where my main monitor actually managed to display stuff again, and for a brief moment I saw a KDE menu awaiting to setup my 2nd monitor, however it quickly crashed right after.

I'm on KDE plasma, x11 and I'm using nvidia's proprietary drivers. Please lmk how I can provide whatever logs if needed, I'm still quite new to linux.

Offline

#2 2024-07-11 12:24:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Re: ISSUE - Black screen across all monitors when connecting another one

Does it help to suspend the compositor (SHIFT+Alt+F12)?
You most certainly won't have to reboot - if it's not the compositor, try to switch to a different VT (ctrl+alt+f3), login there and run

DISPLAY=:0 xrandr -q

you can post the output of that

DISPLAY=:0 xrandr -q | curl -F 'file=@-' 0x0.st # this will give you a link to share

and also please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Offline

#3 2024-07-11 17:32:59

sQuAde
Member
Registered: 2024-07-10
Posts: 9

Re: ISSUE - Black screen across all monitors when connecting another one

I don't think i quite get what you mean by compositor but I pressed SHIFT+Alt+F12 anyways and I think it introduced more graphical artifacts such as

artifact

also, VT?

I pressed ctrl+alt+f3, logged in and tried what you've mentioned but It said that it required some sort of authorization, so I did it on my terminal after another reboot and it returned:

Screen 0: minimum 8 x 8, current 1920 x 2160, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+1080 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.00*+  59.94 
   1600x1200     60.00 
   1280x1024     60.02 
   1280x720      59.94 
   1024x768      60.00 
   800x600       60.32 
   720x480       59.94 
   640x480       59.94 
DP-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm
   1920x1080     60.00 + 144.00*  119.98    99.93    59.94    50.00 
   1680x1050     59.88 
   1440x900      59.90 
   1280x1024     75.02    60.02 
   1280x720      60.00    59.94    50.00 
   1024x768     119.99    99.97    75.03    70.07    60.00 
   800x600      119.97    99.66    75.00    72.19    60.32    56.25 
   720x576       50.00 
   720x480       59.94 
   640x480      119.52    99.77    75.00    72.81    59.94    59.93 
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
DP-2-1 disconnected (normal left inverted right x axis y axis)
HDMI-2-1 disconnected (normal left inverted right x axis y axis)
HDMI-2-2 disconnected (normal left inverted right x axis y axis)

I did some more testing and I found out that if I reboot arch with my cintiq pre connected, it will work just fine. However, if I connect it after a boot, I'll get a black screen on both monitors like I mentioned, except both screens will start to work again...sort of
KDE breaks and if I move my cursor above whatever icons that are on my taskbar, they'll teleport to the bottom left of my main monitors screen:

broken icons

This issue is persistent even after rebooting, I was able to fix this by deleting:


~/.config/kdeglobals



XORG LINK

Offline

#4 2024-07-11 21:23:41

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Re: ISSUE - Black screen across all monitors when connecting another one

That's not artifact, that's the window shadow…  but now the alpha for every pixel is 0xff wink
(Ie. that's "normal")
But you get to see some window - the question is: if you suspend the compositor, do the outputs still turn/remain black?

so I did it on my terminal after another reboot and it returned

So that's not reflecting the problematic condition, does it?

that it required some sort of authorization

SDDM uses a custom XAUTHORITY path - you also need to export the $XAUTHORITY variable to match that of the session (you can inspect that before breaking the system, it wont change)

I found out that if I reboot arch with my cintiq pre connected, it will work just fine

The posted xorg log seems from such boot?

What if you run the main monitor at 60Hz?

Offline

#5 2024-07-11 22:00:27

sQuAde
Member
Registered: 2024-07-10
Posts: 9

Re: ISSUE - Black screen across all monitors when connecting another one

suspending the "compositor" (still don't know what that is) has no effect, both screens remain pitch black with my cursor still present and they eventually go back to normal, except with said issues that I've mentioned previously

So that's not reflecting the problematic condition, does it?

It returned something on the terminal, I don't really know how that reflects the problematic condition or not?


The posted xorg log seems from such boot?

No thats from when I connected my cintiq after booting

What if you run the main monitor at 60Hz?

I haven't tried that yet, but I did notice that whenever my cintiq is connected, every window on my main monitor will also be stuck at 60hz except for my cursor

Offline

#6 2024-07-12 07:50:32

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Re: ISSUE - Black screen across all monitors when connecting another one

It returned something on the terminal, I don't really know how that reflects the problematic condition or not?

Did xrandr run while the outputs were "black"?

No thats from when I connected my cintiq after booting

[     7.128] (--) Log file renamed from "/var/log/Xorg.pid-763.log" to "/var/log/Xorg.0.log"
[     8.484] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce RTX 2070 SUPER (TU104-A) at
[     8.530] (--) NVIDIA(GPU-0): Wacom Tech Cintiq 16 (DFP-2): connected

The Wacom Tech Cintiq 16 is there from the start of the X11 server, though?

[  2006.009] (II) config/udev: Adding input device Wacom Cintiq 16 Pen (/dev/input/mouse2)
[  2006.009] (II) config/udev: Adding input device Wacom Cintiq 16 Pen (/dev/input/event24)

only the pen shows up much later?

they eventually go back to normal, except with said issues that I've mentioned previously

Do they also go "back to normal"  with the compositor running?
The compositor redirects all windows into itself and renders them into a nice opengl scene with translucency, shadows etc.

Run

sleep 30; xwininfo > /tmp/wtf.txt

then attach the wacom device to break things. ~30s later your cursor will turn into  a "+".
Click the black space.
The cursor will return to normal and /tmp/wtf.txt will contain a description of whatever you cliked there. Please post it.

Offline

#7 2024-07-12 17:33:22

sQuAde
Member
Registered: 2024-07-10
Posts: 9

Re: ISSUE - Black screen across all monitors when connecting another one

here's another xorg

Do they also go "back to normal"  with the compositor running?

I think so yeah, I remember pressing SHIFT+Alt+F12 during the blackscreen and regardless of my inputs, everything would eventually "go back to normal"



wtf.txt:

 
xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x600016 "Desktop @ QRect(0,0 1920x1080) "

  Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1920
  Height: 1080
  Depth: 24
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x600015 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+0  -0+0  -0-0  +0-0
  -geometry 1920x1080+0+0

The output above is from my main monitor, I also tried on my cintiq and it had similar results
--------------------------------------------------


After writing the logs above, I tried switching my main monitor back to 60hz and when I tried plugging in my cintiq again,the black screen, artifacts, plasma crash handlers, etc were no longer present
as if it was working out of the box

It's probably something related to the difference in hz between the 2 displays

Offline

#8 2024-07-12 19:52:23

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Re: ISSUE - Black screen across all monitors when connecting another one

https://wiki.archlinux.org/title/Variable_refresh_rate ?

xrandr --verbose

But the problem would still be more kscreen/plasma/kwin related, because the mouse pointer is there (and eventually the display re-appears)

I think so yeah, I remember pressing SHIFT+Alt+F12 during the blackscreen and regardless of my inputs, everything would eventually "go back to normal"

Does that mean you re-activated the compositor during the black screen or only deactivated it then? (The shortcut is a toggle)

Offline

#9 2024-07-12 20:53:55

sQuAde
Member
Registered: 2024-07-10
Posts: 9

Re: ISSUE - Black screen across all monitors when connecting another one

xrandr --verbose

Screen 0: minimum 8 x 8, current 1920 x 2160, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x1bc
        Timestamp:  176404
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
                0 1 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: DisplayPort 
                supported: DisplayPort
        ConnectorType: DisplayPort 
        ConnectorNumber: 3 
        _ConnectorLocation: 3 
        non-desktop: 0 
                supported: 0, 1
DP-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x1bd
        Timestamp:  176404
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
                0 1 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: TMDS 
                supported: TMDS
        ConnectorType: DisplayPort 
        ConnectorNumber: 3 
        _ConnectorLocation: 3 
        non-desktop: 0 
                supported: 0, 1
HDMI-0 connected 1920x1080+0+1080 (0x1c0) normal (normal left inverted right x axis y axis) 344mm x 193mm
        Identifier: 0x1be
        Timestamp:  176404
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       1
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        _KDE_SCREEN_INDEX: 2 
        EDID: 
                00ffffffffffff005c23711000000000
                2e1f0103802213782a77f5a1554a9e27
                105054a10800d1c0a940818001010101
                010101010101023a801871382d40582c
                450058c11000001e000000fd00384c1e
                5011000a202020202020000000fc0043
                696e7469712031360a202020000000ff
                00314b5730305831303031363032010d
                020311804310020465030c001000e200
                6a000000000000000000000000000000
                00000000000000000000000000000000
                00000000000000000000000000000000
                00000000000000000000000000000000
                00000000000000000000000000000000
                00000000000000000000000000000000
                00000000000000000000000000000041
        CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
                0 1 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: TMDS 
                supported: TMDS
        ConnectorType: HDMI 
        ConnectorNumber: 1 
        _ConnectorLocation: 1 
        non-desktop: 0 
                supported: 0, 1
  1920x1080 (0x1c0) 148.500MHz +HSync +VSync *current +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x1c4) 148.350MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1600x1200 (0x252) 162.000MHz +HSync +VSync
        h: width  1600 start 1664 end 1856 total 2160 skew    0 clock  75.00KHz
        v: height 1200 start 1201 end 1204 total 1250           clock  60.00Hz
  1280x1024 (0x1c9) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x720 (0x1cb) 74.180MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1024x768 (0x1d1) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x1d6) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  720x480 (0x1d9) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x1de) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
DP-2 connected primary 1920x1080+0+0 (0x1c1) normal (normal left inverted right x axis y axis) 531mm x 299mm
        Identifier: 0x1bf
        Timestamp:  176404
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:    
        CRTC:       0
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        _KDE_SCREEN_INDEX: 1 
        CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
                0 1 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        EDID: 
                00ffffffffffff0005e36a24b9000000
                321c0104a5351e783b6435a5544f9e27
                125054bfef00d1c081803168317c4568
                457c6168617c023a801871382d40582c
                4500132b2100001efc7e808870381240
                18203500132b2100001e000000fd0023
                92a0a021010a202020202020000000fc
                003234363047340a2020202020200161
                02031ef14b0103051404131f12021190
                230907078301000065030c001000fe5b
                80a07038354030203500132b2100001e
                866f80a07038404030203500132b2100
                001e011d007251d01e206e285500132b
                2100001eab22a0a050841a3030203600
                132b2100001a7c2e90a0601a1e403020
                3600132b2100001a000000000000004e
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: DisplayPort 
                supported: DisplayPort
        ConnectorType: DisplayPort 
        ConnectorNumber: 0 
        _ConnectorLocation: 0 
        non-desktop: 0 
                supported: 0, 1
  1920x1080 (0x1c0) 148.500MHz +HSync +VSync +preferred
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.50KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  60.00Hz
  1920x1080 (0x1c1) 325.080MHz +HSync +VSync *current
        h: width  1920 start 1944 end 1976 total 2056 skew    0 clock 158.11KHz
        v: height 1080 start 1083 end 1088 total 1098           clock 144.00Hz
  1920x1080 (0x1c2) 285.500MHz +HSync +VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock 137.26KHz
        v: height 1080 start 1083 end 1088 total 1144           clock 119.98Hz
  1920x1080 (0x1c3) 235.500MHz +HSync +VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock 113.22KHz
        v: height 1080 start 1083 end 1088 total 1133           clock  99.93Hz
  1920x1080 (0x1c4) 148.350MHz +HSync +VSync
        h: width  1920 start 2008 end 2052 total 2200 skew    0 clock  67.43KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  59.94Hz
  1920x1080 (0x1c5) 148.500MHz +HSync +VSync
        h: width  1920 start 2448 end 2492 total 2640 skew    0 clock  56.25KHz
        v: height 1080 start 1084 end 1089 total 1125           clock  50.00Hz
  1680x1050 (0x1c6) 119.000MHz +HSync -VSync
        h: width  1680 start 1728 end 1760 total 1840 skew    0 clock  64.67KHz
        v: height 1050 start 1053 end 1059 total 1080           clock  59.88Hz
  1440x900 (0x1c7) 88.750MHz +HSync -VSync
        h: width  1440 start 1488 end 1520 total 1600 skew    0 clock  55.47KHz
        v: height  900 start  903 end  909 total  926           clock  59.90Hz
  1280x1024 (0x1c8) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x1c9) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x720 (0x1ca) 74.250MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1280x720 (0x1cb) 74.180MHz +HSync +VSync
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  44.96KHz
        v: height  720 start  725 end  730 total  750           clock  59.94Hz
  1280x720 (0x1cc) 74.250MHz +HSync +VSync
        h: width  1280 start 1720 end 1760 total 1980 skew    0 clock  37.50KHz
        v: height  720 start  725 end  730 total  750           clock  50.00Hz
  1024x768 (0x1cd) 115.500MHz +HSync -VSync
        h: width  1024 start 1072 end 1104 total 1184 skew    0 clock  97.55KHz
        v: height  768 start  771 end  775 total  813           clock 119.99Hz
  1024x768 (0x1ce) 112.250MHz -HSync +VSync
        h: width  1024 start 1096 end 1200 total 1376 skew    0 clock  81.58KHz
        v: height  768 start  771 end  775 total  816           clock  99.97Hz
  1024x768 (0x1cf) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x1d0) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x1d1) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x1d2) 73.250MHz +HSync -VSync
        h: width   800 start  848 end  880 total  960 skew    0 clock  76.30KHz
        v: height  600 start  603 end  607 total  636           clock 119.97Hz
  800x600 (0x1d3) 67.250MHz -HSync +VSync
        h: width   800 start  848 end  928 total 1056 skew    0 clock  63.68KHz
        v: height  600 start  603 end  607 total  639           clock  99.66Hz
  800x600 (0x1d4) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x1d5) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0x1d6) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x1d7) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  720x576 (0x1d8) 27.000MHz -HSync -VSync
        h: width   720 start  732 end  796 total  864 skew    0 clock  31.25KHz
        v: height  576 start  581 end  586 total  625           clock  50.00Hz
  720x480 (0x1d9) 27.000MHz -HSync -VSync
        h: width   720 start  736 end  798 total  858 skew    0 clock  31.47KHz
        v: height  480 start  489 end  495 total  525           clock  59.94Hz
  640x480 (0x1da) 52.500MHz -HSync +VSync
        h: width   640 start  680 end  744 total  848 skew    0 clock  61.91KHz
        v: height  480 start  483 end  487 total  518           clock 119.52Hz
  640x480 (0x1db) 42.500MHz -HSync +VSync
        h: width   640 start  672 end  736 total  832 skew    0 clock  51.08KHz
        v: height  480 start  483 end  487 total  512           clock  99.77Hz
  640x480 (0x1dc) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x1dd) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  696 total  832 skew    0 clock  37.86KHz
        v: height  480 start  481 end  484 total  520           clock  72.81Hz
  640x480 (0x1de) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  640x480 (0x1df) 25.170MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.46KHz
        v: height  480 start  490 end  492 total  525           clock  59.93Hz
DP-3 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x1e0
        Timestamp:  176404
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
                0 1 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: TMDS 
                supported: TMDS
        ConnectorType: DisplayPort 
        ConnectorNumber: 0 
        _ConnectorLocation: 0 
        non-desktop: 0 
                supported: 0, 1
DP-4 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x1e1
        Timestamp:  176404
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
                0 1 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: DisplayPort 
                supported: DisplayPort
        ConnectorType: DisplayPort 
        ConnectorNumber: 2 
        _ConnectorLocation: 2 
        non-desktop: 0 
                supported: 0, 1
DP-5 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x1e2
        Timestamp:  176404
        Subpixel:   unknown
        Clones:    
        CRTCs:      0 1 2 3
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        CTM: 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 
                0 1 
        CscMatrix: 65536 0 0 0 0 65536 0 0 0 0 65536 0 
        BorderDimensions: 4 
                supported: 4
        Border: 0 0 0 0 
                range: (0, 65535)
        SignalFormat: TMDS 
                supported: TMDS
        ConnectorType: DisplayPort 
        ConnectorNumber: 2 
        _ConnectorLocation: 2 
        non-desktop: 0 
                supported: 0, 1
DP-2-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x205
        Timestamp:  25252
        Subpixel:   unknown
        Clones:     HDMI-2-1
        CRTCs:      4 5 6 7
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        PRIME Synchronization: 1 
                supported: 0, 1
        HDCP Content Type: HDCP Type0 
                supported: HDCP Type0, HDCP Type1
        Content Protection: Undesired 
                supported: Undesired, Desired, Enabled
        vrr_capable: 0 
                range: (0, 1)
        Colorspace: Default 
                supported: Default, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, RGB_WIDE_FIXED, RGB_WIDE_FLOAT, BT601_YCC
        max bpc: 12 
                range: (6, 12)
        Broadcast RGB: Automatic 
                supported: Automatic, Full, Limited 16:235
        audio: auto 
                supported: force-dvi, off, auto, on
        subconnector: Unknown 
                supported: Unknown, VGA, DVI-D, HDMI, DP, Wireless, Native
        link-status: Good 
                supported: Good, Bad
        CONNECTOR_ID: 236 
                supported: 236
        non-desktop: 0 
                range: (0, 1)
HDMI-2-1 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x206
        Timestamp:  25252
        Subpixel:   unknown
        Clones:     DP-2-1
        CRTCs:      4 5 6 7
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        PRIME Synchronization: 1 
                supported: 0, 1
        HDCP Content Type: HDCP Type0 
                supported: HDCP Type0, HDCP Type1
        Content Protection: Undesired 
                supported: Undesired, Desired, Enabled
        max bpc: 12 
                range: (8, 12)
        content type: No Data 
                supported: No Data, Graphics, Photo, Cinema, Game
        Colorspace: Default 
                supported: Default, SMPTE_170M_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, DCI-P3_RGB_Theater
        aspect ratio: Automatic 
                supported: Automatic, 4:3, 16:9
        Broadcast RGB: Automatic 
                supported: Automatic, Full, Limited 16:235
        audio: auto 
                supported: force-dvi, off, auto, on
        link-status: Good 
                supported: Good, Bad
        CONNECTOR_ID: 249 
                supported: 249
        non-desktop: 0 
                range: (0, 1)
HDMI-2-2 disconnected (normal left inverted right x axis y axis)
        Identifier: 0x207
        Timestamp:  25252
        Subpixel:   unknown
        Clones:    
        CRTCs:      4 5 6 7
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter: 
        PRIME Synchronization: 1 
                supported: 0, 1
        HDCP Content Type: HDCP Type0 
                supported: HDCP Type0, HDCP Type1
        Content Protection: Undesired 
                supported: Undesired, Desired, Enabled
        max bpc: 12 
                range: (8, 12)
        content type: No Data 
                supported: No Data, Graphics, Photo, Cinema, Game
        Colorspace: Default 
                supported: Default, SMPTE_170M_YCC, BT709_YCC, XVYCC_601, XVYCC_709, SYCC_601, opYCC_601, opRGB, BT2020_CYCC, BT2020_RGB, BT2020_YCC, DCI-P3_RGB_D65, DCI-P3_RGB_Theater
        aspect ratio: Automatic 
                supported: Automatic, 4:3, 16:9
        Broadcast RGB: Automatic 
                supported: Automatic, Full, Limited 16:235
        audio: auto 
                supported: force-dvi, off, auto, on
        link-status: Good 
                supported: Good, Bad
        CONNECTOR_ID: 255 
                supported: 255
        non-desktop: 0 
                range: (0, 1)

Does that mean you re-activated the compositor during the black screen or only deactivated it then? (The shortcut is a toggle)

I tried both,

disabling the compositor before plugging the cintiq seems to make it work, sort of...

My main screen will almost instantly display stuff again except for the cintiq, it takes a few seconds to display anything there except for my cursor and everything stutters for a few seconds before going back to normal. This also seems to have fixed the issue where everything on my main monitor would be stuck at 60hz except for the cursor.

However, this also introduced this weird ghosting effect... whenever I move a window, it would leave a bunch of duplicates behind, however they quickly disappear soon after(this only happens when my desktop is visible) . Plus, the applications menu on my taskbar also takes a long time to open on the first time.


enabling the compositor again makes the ghosting effect go away but, the windows on my main monitor will be stuck on 60hz again and they also stutter a lot when moving them around

also what am I supposed to do based on that link? enable vsync?

Offline

#10 2024-07-12 21:53:08

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Re: ISSUE - Black screen across all monitors when connecting another one

The output isn't VRR capable, so that's not it.

The compositor seems to be(?) syncing to the wacom device (thus the 60Hz) - you can select the sync device by exporting __GL_SYNC_DISPLAY_DEVICE=DP-2

With the desktop "ghosting" and the black compositor I suspect the GPU struggles w/ the output reconfiguration for GL contexts.

Enable https://wiki.archlinux.org/title/NVIDIA … de_setting - use the "nvidia_drm.modeset=1" kernel parameter (modprobe.conf won't do!) to also get rid of the the simpledrm device. Feel free to try the nvidia_drm.fbdev parameter as well.
Can you disable the IGP in the firmware (UEFI)?

Offline

#11 2024-07-13 17:42:13

sQuAde
Member
Registered: 2024-07-10
Posts: 9

Re: ISSUE - Black screen across all monitors when connecting another one

you can select the sync device by exporting __GL_SYNC_DISPLAY_DEVICE=DP-2

I added that line in

 /etc/environment 

is that correct? Also wdym by exporting?

as for

 nvidia_drm.modeset=1 

I placed that line in 

 /etc/modprobe.d/nvidia.conf 

however I had to create that file since it didn't exist

Can you disable the IGP in the firmware (UEFI)?

do I really have to? If my main gpu dies I would have to reset my Mb's config in order to use IGP, which wouldn't be an issue IF i don't forget that i've disabled IGP.

also, steps

you can select the sync device by exporting __GL_SYNC_DISPLAY_DEVICE=DP-2

or

 nvidia_drm.modeset=1 

seems to have fixed 90% of the issue

Nothing strange happened after I connected my cintiq, the only abnormality that's still present is every window in my main monitor will also be stuck at 60hz whenever my cintiq is connected.

Offline

#12 2024-07-13 21:06:17

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Re: ISSUE - Black screen across all monitors when connecting another one

https://man.archlinux.org/man/core/man- … port.1p.en
As long as you followed the correct syntax /etc/environment should™ do after a re-login, https://wiki.archlinux.org/title/Enviro … ng_pam_env

I placed that line in

seth wrote:

use the "nvidia_drm.modeset=1" kernel parameter (modprobe.conf won't do!) to also get rid of the the simpledrm device

but see below

do I really have to

It's meant to test the behavioral impact and first and formost: /can/ you?
But if enabling KMS (as you should do anyway) or the implicit exposure of the EDID to the drm subsystem solves the problem, that's oc. moot.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.


ill also be stuck at 60hz whenever my cintiq is connected

"__GL_SYNC_DISPLAY_DEVICE=DP-2" is supposed to take care of that

tr '\0' '\n' < /proc/$(pidof kwin_x11)/environ | grep SYNC
glxgears # this will tell you what framerate is actually being synced to

Offline

#13 2024-07-14 01:27:51

sQuAde
Member
Registered: 2024-07-10
Posts: 9

Re: ISSUE - Black screen across all monitors when connecting another one

Well I quite literally just added

__GL_SYNC_DISPLAY_DEVICE=DP-2

in

etc/environment



 tr '\0' '\n' < /proc/$(pidof kwin_x11)/environ | grep SYNC 

returns

 __GL_SYNC_DISPLAY_DEVICE=DP-2  

and

 glxgears 

returns 144fps however I can assure the refresh rate is still capped at 60hz.

And also I just found this out, putting my pc to sleep while my cintiq is connected will cause a blackscreen on my cintiq when waking up my pc, however I can still drag applications over there and they will work just fine.

Offline

#14 2024-07-14 06:17:04

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Re: ISSUE - Black screen across all monitors when connecting another one

glxgears returns 144fps however I can assure the refresh rate is still capped at 60hz.

In theory the compositor could have an internal cap and just not render a new frame (ie. it syncs at 144Hz but updates the contents only at 60Hz), what's the output of "qdbus org.kde.KWin /KWin supportInformation" w/ and w/o the wacom device attached?
But in general the difference between 60Hz and 144Hz isn't very obvious. The latter is just much better at covering up errors in the render chain and I can "assure" you that you're wrong, because glxgears renders at 144Hz, so the system syncs at 144Hz and usually when people complain about itsgotslousysixty they're complaining about those render flaws now becoming more obvious.

=> what is your actual metric for the 60Hz assumption? Lag? (Does dragging windows feel like you're dragging them through jelly or something like that and visibly trail the mouse cursor)?
Have you tried to add

Option  "TripleBuffer"          "True"

will cause a blackscreen on my cintiq

"Blackscreen" with or without the mouse cursor?
What's the output of "xrandr -q"?
Does restarting the compositor mitigate this?
Does re-attaching the device?

Offline

#15 2024-07-14 07:11:18

sQuAde
Member
Registered: 2024-07-10
Posts: 9

Re: ISSUE - Black screen across all monitors when connecting another one

"assure" you that you're wrong

Hey, I'm sorry but... why would you even contest that whatever I'm seeing is right or wrong? I'm pretty sure I can distinguish the difference between 60hz and 144hz... since I have a 144hz display...

 "qdbus org.kde.KWin /KWin supportInformation" 

output with the cintiq connected:

 

Version
=======
KWin version: 6.1.2
Qt Version: 6.7.2
Qt compile version: 6.7.2
XCB compile version: 1.17.0

Operation Mode: X11 only

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: 12101013
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.breeze
Theme: 
Plugin recommends border size: None
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: KWin::X11StandaloneBackend

Cursor
======
themeName: breeze_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: false
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
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: false
glStrictBindingFollowsDriver: true
glPreferBufferSwap: AutoSwapStrategy
glPlatformInterface: 1
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: DP-2
Enabled: 1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 144000
Adaptive Sync: incapable
Screen 1:
---------
Name: HDMI-0
Enabled: 1
Geometry: 0,1080,1920x1080
Scale: 1
Refresh Rate: 60000
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 555.58.02
OpenGL platform interface: GLX
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 555.58.2
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
X server version: 1.21.1
Linux kernel version: 6.9.8
Direct rendering: Requires strict binding: no
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
screenshot
outputlocator
colorpicker
zoom
screenedge
sessionquit
windowaperture
slide
fadingpopups
scale
squash
fullscreen
frozenapp
dialogparent
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
kscreen

Currently Active Effects:
-------------------------

Effect Settings:
----------------
screenshot:

outputlocator:

colorpicker:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

screenedge:

sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false

windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false

scale:
pluginId: scale
isActiveFullScreenEffect: false

squash:
pluginId: squash
isActiveFullScreenEffect: false

fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false

frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false

dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false

windowview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
mode: ModeAllDesktops
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

kscreen:


Loaded Plugins:
---------------
krunnerintegration
nightlight

Available Plugins:
------------------
BounceKeysPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

without the cintiq connected:

Version
=======
KWin version: 6.1.2
Qt Version: 6.7.2
Qt compile version: 6.7.2
XCB compile version: 1.17.0

Operation Mode: X11 only

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: 12101013
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.breeze
Theme: 
Plugin recommends border size: None
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: KWin::X11StandaloneBackend

Cursor
======
themeName: breeze_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: false
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
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: false
glStrictBindingFollowsDriver: true
glPreferBufferSwap: AutoSwapStrategy
glPlatformInterface: 1
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: 1

Screen 0:
---------
Name: DP-2
Enabled: 1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 144000
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 555.58.02
OpenGL platform interface: GLX
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 555.58.2
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
X server version: 1.21.1
Linux kernel version: 6.9.8
Direct rendering: Requires strict binding: no
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
screenshot
outputlocator
colorpicker
zoom
screenedge
sessionquit
windowaperture
slide
fadingpopups
scale
squash
fullscreen
frozenapp
dialogparent
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
kscreen

Currently Active Effects:
-------------------------

Effect Settings:
----------------
screenshot:

outputlocator:

colorpicker:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1

screenedge:

sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false

windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false

scale:
pluginId: scale
isActiveFullScreenEffect: false

squash:
pluginId: squash
isActiveFullScreenEffect: false

fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false

frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false

dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false

windowview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
mode: ModeAllDesktops
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

kscreen:


Loaded Plugins:
---------------
krunnerintegration
nightlight

Available Plugins:
------------------
BounceKeysPlugin
StickyKeysPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast

what is your actual metric for the 60Hz assumption? Lag? (Does dragging windows feel like you're dragging them through jelly or something like that and visibly trail the mouse cursor)?

Overall feeling. Everything feels smoother in 144hz. Lag is one way to describe it since 60hz outputs less frames compared to 144hz. There's no trail, it just feels like everything is at a refresh rate that's <144. I tested this in some games as well just to make sure it wasn't placebo

If I had a super slowmo camera I show what I mean in practice it lol




"Blackscreen" with or without the mouse cursor?

With the cursor. I can also drag any window to it but the background is just black.


Does re-attaching the device?

reattaching the device fixes it


What's the output of "xrandr -q"?

Screen 0: minimum 8 x 8, current 1920 x 2160, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+640+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1920x1080     60.00*+  59.94  
   1600x1200     60.00  
   1280x1024     60.02  
   1280x720      59.94  
   1024x768      60.00  
   800x600       60.32  
   720x480       59.94  
   640x480       59.94  
DP-2 connected primary 640x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   640x480       59.94*+
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)
DP-2-1 disconnected (normal left inverted right x axis y axis)
HDMI-2-1 disconnected (normal left inverted right x axis y axis)
HDMI-2-2 disconnected (normal left inverted right x axis y axis)

"DP-2 connected primary 640x480"

for some reason i didn't get a blackscreen on the cintiq this time around, instead this happened

Offline

#16 2024-07-14 08:03:06

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 71,689

Re: ISSUE - Black screen across all monitors when connecting another one

why would you even contest that whatever I'm seeing is right or wrong?

Because I generally trust the computers ability to count over anyones feelings and I've seen enough people complaining about "lousy dated 60Hz" and then you make them show what they see and "yeah, that's 20fps you evolutionary miracle, I can count that".
I don't doubt *that* you're seeing something but object to your assertion *what* you're seeing - esp. if that assertion is already rejected by the available data.

I'm pretty sure I can distinguish the difference between 60hz and 144hz... since I have a 144hz display...

Barely. And in this case you're clearly concerning the update rate and not the output rate (in doubt check the monitors OSD if you want to believe that maybe the system is reporting false numbers all over the palce)
That's why I pointed out why high refresh rate outputs exist: cover up bugs. And then it becomes relevant to identfy what that bug actually is.
Eg. if kwin tries hard to render at 60Hz while the output syncs at 144Hz it will, worst case scenario, render at 48Hz (because one 60Hz frame just about spans across three 144Hz frames) what you're very much gonna "feel" then.

Back on topic:
KWin doesn't expose it's update rate (anymore, I'm pretty sure it used to) but at least has both outputs detected at proper refresh rate at this point.
Try to enable triple buffering, it'll help with bad rate control attempts (but cannot make kwin render more frames than it wants to)
The output also has a 120Hz mode, does that behave better than the 144Hz one? (see above)

I can also drag any window to it but the background is just black.

So it's plasmashell only, likely auto-resizing by some kscreen event but then doesn't pick up the re-resize after the wakeup.

"DP-2 connected primary 640x480"

That's a vesa mode, you seem to have completely lost the EDID at this point - do you have the xorg log for that?
Is this a one-off? Has this ever happened before or without the wacom device attached?
The output likely unregistered, powered down and could not respond in time when waking up.
You could try to statically add the edid to not rely on the outputs response: https://wiki.archlinux.org/title/Kernel … s_and_EDID

Offline

#17 2024-07-14 18:21:11

sQuAde
Member
Registered: 2024-07-10
Posts: 9

Re: ISSUE - Black screen across all monitors when connecting another one

I don't think I have the log for this occasion

Is this a one-off? Has this ever happened before or without the wacom device attached?

this was the first time ever, however I think this escalated to something else:

Basically, my machine stopped recognizing any sort of DP connection entirely after rebooting(tested with the iGPU and my 2070s), it doesn't even display the mb boot menu (boot into bios, etc). It is only able to identify and display devices connected via HMDI.

I was able to fix this by pretty much removing/inserting my Mb's coin cell.



I'm able to boot into arch again, however this issue repeats itself on the next time I boot/reboot my pc.

This only happens if I boot into arch at least once. This issue also carries over to windows however this issue isn't present if I don't boot into arch after removing/inserting the coin cell.


edit:

I fixed it by deleting ~/.config/kdeglobals again
dunno if that's related, however this issue was no longer present after that

Last edited by sQuAde (2024-07-15 02:34:30)

Offline

Board footer

Powered by FluxBB