<hellmouth>
@ifreund I just compared sway's debug output with river's. They're mostly the same, as expected, until the ultrawide fails to enable. Both river and sway report that the output modeset test failed and they retry without modifiers. Both fail again, but then sway falls back to a different mode ("Preferred mode rejected, falling back to another
<hellmouth>
mode") while river does not.
<hellmouth>
I just shared the output in a comment on that other person's issue
<tleydxdy[m]>
so the monitor is advertising a mode it doesn't support?
<tleydxdy[m]>
or maybe it's a bandwidth issue over the dock
<tleydxdy[m]>
hmm is there a way to sort the modes?
<tleydxdy[m]>
or is the modes already sorted
waleee has quit [Ping timeout: 276 seconds]
<hellmouth>
There is a bandwidth issue over the dock, yeah
<tiosgz>
btw, can wlroots be built as a subproject? at what path should it be if yes?
notzmv has quit [Ping timeout: 244 seconds]
occivink has quit [Read error: Connection reset by peer]
occivink1 has joined #river
<ifreund>
you can build and install wlroots to some random directory and set LD_LIBRARY_PATH and PKG_CONFIG_PATH though
_whitelogger has joined #river
snakedye has quit [Read error: Connection reset by peer]
snakedye has joined #river
<tiosgz>
ah, ok
<hellmouth>
tiosgz Sure, I'll give it a look in a few minutes
pkap has quit [Ping timeout: 252 seconds]
<hellmouth>
tiosgz Your PR fixed the issue for me :D
<hellmouth>
I'm not too familiar with how community-driven open source projects handle logistical things like this, so my apologies... But, is there somewhere that I can confirm that for the maintainers? A comment on the PR probably?
<ifreund>
hellmouth: in general a comment on the PR would be perfect, no real need this time though since I've seen your message here :)
<ifreund>
thanks for testing it out!
<tleydxdy[m]>
hellmouth: just curious, did it end up setting the two monitors into different modes?
<tleydxdy[m]>
i.e. they ended up not sharing the bandwidth fairly
<hellmouth>
Of course. Thank you all for hearing me out and big thanks to @tiosgz for taking the time to create a resolution. Frankly, this "issue" is squarely my issue, as I'm the one trying to drive more video than my dock can support, so I was really surprised that you all were so receptive to it. Not a dig on anyone here, of course, but I was really
<hellmouth>
coming in here to get a little guidance so I could do more troubleshooting... and instead I got a solution. :D Thanks again
<hellmouth>
tleydxdy[m] I'm not sure if this answers your question, but the two monitors don't really share any modelines. The monitor that wasn't working is a 3440x1440 with a preferred mode of 3440x1440@84.963997 Hz, though it can go as high as 120 Hz. The other monitor, which always works, is a 1920x1080@60 Hz, which is both its highest and preferred
<hellmouth>
mode.
<tleydxdy[m]>
ah, I see
<tleydxdy[m]>
yeah makes sense
<hellmouth>
I don't really do a lot of research before diving into things, unfortunately, and I suspect this bargain ultrawide was a bad choice. Beyond that, I bought this ThinkPad USB-C dock without really even looking into whether it could support my hardware. Don't be like me, haha
<hellmouth>
I have a small budget from work for home office upgrades, so I think I'm just going to spend some time and identify a USB-C dock that's worth the added expense and replace this one.
<tleydxdy[m]>
you could try to use the on broad video out too if there is one
<tleydxdy[m]>
use them both
snakedye has quit [Ping timeout: 256 seconds]
<tleydxdy[m]>
In theory a usb-c out with displayport mode should support two 4K (3840 × 2160) displays @ 144 Hz no problem
<hellmouth>
That's not a bad idea at all. The only reason I haven't even bothered trying it is because I swap my work laptop and personal laptop and I was enamored with the idea of a single cable. But that "logic" is coming from an entirely emotional place
<tleydxdy[m]>
but I guess the usb stuff the dock has would also take up bandwidth
<tleydxdy[m]>
maybe a pure display dongle would work better
<hellmouth>
Yeah, the dock itself has the two monitors, a single wireless receiver for the keyboard/mouse, a Yubikey, 65W passthrough, and whatever allows it to tell Lenovo computers to power on from its on-board power button
<hellmouth>
And all of that is carried by one USB-C cable
<tleydxdy[m]>
I may have the same dock
<tleydxdy[m]>
XD
<hellmouth>
It's kind of awful, imo.
snakedye has joined #river
<tleydxdy[m]>
ye
<hellmouth>
And it was not cheap.
<hellmouth>
I might do some further troubleshooting with the connectors, now that I don't have to go through a ton of steps when I connect/disconnect the monitors
<hellmouth>
X11 made it a little easier, at least since xinitrc lets me make sure the script I made runs after Xorg starts but before dwm does
<hellmouth>
But, this is the first moment in a very long time I've enjoyed painless, tear-free, studder-free, mutli-monitor, so I am super thankful for that tiosgz
snakedye has quit [Ping timeout: 244 seconds]
<hellmouth>
@NikhilSingh[m]1 Not sure if you already got an answer somewhere else, but if you're looking to make a script or something that requires sudo and you want to prompt the user using a GUI pop-up, you need polkit and some kind of polkit agent (like polkit-gnome-authentication-agent) and then use sudo -A instead of sudo... I think. If you're asking
<hellmouth>
about elevating a GUI application's privileges, though, you probably don't really want to do that. There's a page here that explains it better than me: https://wiki.archlinux.org/title/Running_GUI_applications_as_root There's a section there for Wayland particulars, also
<hellmouth>
(the link also has suggestions for how to elevate privileges for GUI applications in other ways that aren't risky, btw)
waleee has joined #river
snakedye has joined #river
waleee has quit [Remote host closed the connection]
snakedye has quit [Ping timeout: 240 seconds]
waleee has joined #river
waleee has quit [Ping timeout: 276 seconds]
waleee has joined #river
Cephian has joined #river
snakedye has joined #river
<tiosgz>
hellmouth: don't thank me, thank Simon for the sway commit :D thanks for testing
waleee has quit [Ping timeout: 240 seconds]
Cephian has quit [Quit: Client closed]
snakedye has quit [Ping timeout: 255 seconds]
zerdox has joined #river
zerdox has quit [Ping timeout: 260 seconds]
<hellmouth>
Still, I appreciate it.
talismanick has joined #river
waleee has joined #river
mon_aaraj has quit [Ping timeout: 276 seconds]
mon_aaraj has joined #river
groknull has joined #river
groknull_ has joined #river
groknull_ has quit [Remote host closed the connection]