You are not logged in.

#1 2024-08-04 05:03:41

ilikeeatingtacos97
Member
Registered: 2022-01-14
Posts: 13

[Solved] Xrandr Qtile secondary monitor bleeds into primary

Hi. I have two monitors.
"DP-2 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm"
and
"HDMI-2 connected 1920x1080+2560+0 (normal left inverted right x axis y axis) 598mm x 336mm"

When my 1080p HDMI-2 monitor is configured to be on the right, and my 1440p DP-2 is configured to be on the left, they work perfectly.
But if I reverse the order with a command like "xrandr --output HDMI-2 --left-of DP-2", HDMI-2's display will extend into DP-2. Taking up 1/8th of the left-side of DP-2, and causing a large black border on the bottom-right of DP-2.

I'm not sure why this suddenly started being an issue, it used to work fine. It just broke after rebooting my system. I hadn't updated either.

I've tried using a GUI application for Xrandr, Arandr, and it was still didn't work right.

I've read that manually changing the position of the monitors with "--pos" could fix it, but I couldn't get it to work right. It only made it worse. Not sure where to go from here.
I'd take a screenshot but I don't think it's really an option across two monitors.
I'm on a tiling WM, Qtile, if that matters at all.

Thanks for reading.

Last edited by ilikeeatingtacos97 (2024-08-06 20:46:08)

Offline

#2 2024-08-04 06:44:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,835

Re: [Solved] Xrandr Qtile secondary monitor bleeds into primary

What's the actual complete output of "xrandr -q" for your --left-of and --pos efforts?
You could probably link a photo of your monitors next to each other.
Do you scale one or both of the outputs?

Offline

#3 2024-08-05 16:27:56

ilikeeatingtacos97
Member
Registered: 2022-01-14
Posts: 13

Re: [Solved] Xrandr Qtile secondary monitor bleeds into primary

Hello, thanks for responding.

"xrandr -q" is just about identical regardless of --left-of or --pos

--left-of:
https://pastebin.com/bxmW5imN

--pos:
https://pastebin.com/hWhXBSkf

I've tried numerous --pos positions but it just makes it more messed up, pushing things off-screen.

I also tried "xrandr --output HDMI-2 --auto --scale 2x2 --output DP-2 --auto --pos 3840x0" which apparently fixed it for someone with an identical situation but it just displayed both screens on HDMI-2. With the buttom part being the wallpaper instead of the windows.
https://pastebin.com/GjUE9rP1



Took a photo of what --left-of does, if this makes it more clear. The bottom of the left-screen is cut-off, it bleeds onto the right monitor, and there's a large blank spot on the bottom of the right-monitor which my cursor is hovering over.

Edit:Removed image

No, I do not scale my outputs. They're both left at their max resolution.

Last edited by ilikeeatingtacos97 (2024-08-06 20:45:52)

Offline

#4 2024-08-05 19:28:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,835

Re: [Solved] Xrandr Qtile secondary monitor bleeds into primary

I'm on a tiling WM, Qtile, if that matters at all.

Try a different WM, eg. openbox, or to restart qtile - I'm pretty sure that's just the WM losing track of the output geometry.

Also thanks for the photo, but please replace the ginormeous image w/ a link (the board has a 250x250px max rule)

Offline

#5 2024-08-06 05:14:08

ilikeeatingtacos97
Member
Registered: 2022-01-14
Posts: 13

Re: [Solved] Xrandr Qtile secondary monitor bleeds into primary

Okay, yep, seems to be something with Qtile. Installed Plasma KDE, booted into it, and KDE does not have this issue.


Ah, my bad. I do not know forum etiquette.

Offline

#6 2024-08-06 09:17:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,835

Offline

#7 2024-08-06 20:47:09

ilikeeatingtacos97
Member
Registered: 2022-01-14
Posts: 13

Re: [Solved] Xrandr Qtile secondary monitor bleeds into primary

"sudo pacman -U file:///var/cache/pacman/pkg/qtile-0.26.0-2-x86_64.pkg.tar.zst" did the trick.
Thank you !

Offline

Board footer

Powered by FluxBB