ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/riverwm/river || channel logs: https://libera.irclog.whitequark.org/river/
<elshize> chipps: I couldn't run river on nouveau. had to run proprietary, and have tearing with it and some flickering
<elshize> it's good enough so that I don't want to switch to X, but a bit annoying at times.
<chipps> elshize: I see. for me river seems to do fine on the nvidia drivers
<chipps> elshize: do you have a newer gpu?
Guest27 has joined #river
Guest27 has quit [Client Quit]
dbuckley has quit [Ping timeout: 252 seconds]
dbuckley has joined #river
<elshize> chipps: honestly, I don't know :D i'm not on that computer right now, can't check; as I don't have much use for them (don't game or do graphics or anything like that), I don't really pay attention.
<leon-p> TBH the only interesting use case I have for dedicated GPUs these days is compute stuff. They are tremendously helpful for accelerating highly parallel tasks, like basically all simulations. Integrated graphics have just gotten so good that unless you want to play expensive games or make your render export a little faster, you don't actually need a dedicated GPU.
<elshize> leon-p: exactly my feeling; I just don't run any computations like that on my workstation; at work, anything like that is run on a server or a distributed cluster; back at the university, we also had some dedicated server for that type of stuff.
<leon-p> same here
<elshize> so when I was recently buying a computer for myself, I went with intel in a heartbeat
<leon-p> we have a "compute server" (basically a desktop with four graphics card) in one of the institutes and you can rent time on there
<leon-p> never needed to yet though
<leon-p> everytime I iterate over a 10.000+ items numpy array I always think "hey, that could probably be faster with some compute magic", but realistically that is still way to small to warrant the extra effort and time spent on the code
<elshize> yeah, I never had a lot of need for that, we did one paper with algorithms on gpus, but not much beside it. we also had HPC clusters available, but that was always a pain to submit jobs
<elshize> oh, yeah, 10k is nothing :) I used to have some jobs that could be sped up with gpu, but I don't think it would have been worth the effort
<elshize> but I can imagine if some people do really heavy computation, waiting for a week is not an opiton
<leon-p> yeah, the nice thing about the simulations I am doing is that you can get away with a pretty low resolution wrt time and space and still get decent results
<elshize> but let's be honest, the no. 1 reason people buy nvidia gpus is gaming
<elshize> I think
<elshize> at least on laptops and such that is
<leon-p> probably, but I honestly have the suspicion that gaming (to a degree where on explicitly chooses a device with a GPU) is still a lot more niche than people commonly think
<leon-p> to be fair, as a uni student my peer group is of course not exactly known to have lots of free time, so there might be some bias, but I don't know a lot of people who game that often
<elshize> I don't know that many either, but I hear that it's something people do, that's all :)
<elshize> I heard there are shortages, so someone must be buying
waleee has quit [Quit: WeeChat 3.3]
dbuckley has quit [*.net *.split]
chipps has quit [*.net *.split]
hspak has quit [*.net *.split]
emersion has quit [*.net *.split]
dnkl has quit [*.net *.split]
travankor has quit [*.net *.split]
ecocode__ has quit [*.net *.split]
elshize has quit [*.net *.split]
Nulo has quit [*.net *.split]
qyliss has quit [*.net *.split]
zdykstra has quit [*.net *.split]
kindablue has quit [*.net *.split]
leon-p has quit [*.net *.split]
kennylevinsen has quit [*.net *.split]
novakane has quit [*.net *.split]
Phyrric has quit [*.net *.split]
omni has quit [*.net *.split]
anb1 has quit [*.net *.split]
buffet has quit [*.net *.split]
ifreund has quit [*.net *.split]
chipps has joined #river
ecocode__ has joined #river
buffet has joined #river
dbuckley has joined #river
elshize has joined #river
Nulo has joined #river
dnkl has joined #river
emersion has joined #river
novakane has joined #river
leon-p has joined #river
travankor has joined #river
kennylevinsen has joined #river
kindablue has joined #river
hspak has joined #river
omni has joined #river
zdykstra has joined #river
ifreund has joined #river
anb1 has joined #river
qyliss has joined #river
Phyrric has joined #river
tiosgz_ has quit [Ping timeout: 240 seconds]
tiosgz_ has joined #river
Misthios has quit [*.net *.split]
Misthios has joined #river
snakedye has quit [Ping timeout: 252 seconds]
_whitelogger has joined #river
Anderson-D has joined #river
voroskoi[m] has joined #river
n_1713[m] has joined #river
doaN[m] has joined #river
romangg has joined #river
notzmv has quit [Ping timeout: 252 seconds]
notzmv has joined #river
pkap has joined #river
pkap has quit [Quit: Client closed]
snakedye has joined #river
dbuckley has quit [Ping timeout: 252 seconds]
dbuckley has joined #river
pkap has joined #river
elshize has quit [Quit: WeeChat 3.3]
nagitsu has joined #river
nagitsu has quit [Remote host closed the connection]
<pkap> Is there a scenario for having multiple seats?
<ifreund> pkap: it's planned but not yet fully implemented
<ifreund> a fair amount of river's code already assumes multiple seats, the main missing piece is a way to configure a mapping of input devices to seats
elshize has joined #river
<pkap> But I can just assume there is is exactly one seat when I write a client?
<ifreund> pkap: on river currently yes, but that will change in the future
<leon-p> pkap: you can,but you really should not
<leon-p> however you can probably assume that the first advertised seat is the main seat, that will be correct in 99% of all situations
<pkap> Alright, thanks guys!
<ifreund> there isn't really any such thing as a main seat as far as the protocol is concerned
<leon-p> main seat in this case refers the one where your primary keyboard and mouse are connected, assuming a single-user setup
<leon-p> FWICT the most common use case for multiple seats is attaching your drawing tablet to a different seat to get a second cursor. In that context it makes perfect sense to talk about a "main" seat IMO
<leon-p> and when you want to for example display the title of a focused view in a status panel, you have to decide which seat you care about, as displaying two view titles likaly messes with the UI
<pkap> Yes that makes sense, thanks :)
pkap has quit [Quit: Client closed]
baldlizard has joined #river
waleee has joined #river
<Anderson-D> Is it possible to somehow query tags & active tag?
<Anderson-D> So far I've only found `wlr-foreign-toplevel-management-unstable-v1`, but it's for clients
<leon-p> Anderson-D: use the river-status protocol
<Anderson-D> leon-p: Is there any definition for it? The only XML I've seen in river is the `river-layout-v3` protocol
<Anderson-D> Oh, I see it on github. For some reason it's not included in my package that I built from AUR
<Anderson-D> Thanks!
<andrea> Anderson-D: I did not include them in the PKGBUILD because community/sway doesn't, and because it is common practice to include the xmls in the repo of the project instead of sourcing them from the filesystem. Feel free to try to change my mind :)
<Anderson-D> andrea: makes sense :)
<Anderson-D> I have another question, maybe someone with wayland knowledge might help me. I'm trying to retrieve a list of wl_output instances, but I can't find an interface which provides this. Any ideas?
<Anderson-D> I'm still new to wayland protocol so a lot of stuff still goes over my head
<Anderson-D> tl;dr: `river-status` protocol wants an instance of wl_output but I don't know how to initialize wl_output instance
<dnkl> Anderson-D: there's no Interface to get a list. They're pushed, one at a time, as global objects
<Anderson-D> Hmm, so is there a specific interface to receive them?
<dnkl> the "registry" Interface
<dnkl> (not sure why my phone keeps uppercasing interface...)
<dnkl> Anderson-D: since you're interested in the river status interface: https://codeberg.org/dnkl/yambar/src/branch/master/modules/river.c
<Anderson-D> Yay, I've finally got it to work. dnkl, thanks!
<dnkl> welcome :)
<Anderson-D> One more questions: so Wayland itself does not name outputs (eDP-1 etc), but the XDG interface does, right?
<Anderson-D> Basically, I'm doing get_xdg_output for each wl_output, then listening for their 'name' signals. Am I doing it right?
<Anderson-D> Essentially, I'm trying to find an output by a predefined name
Guest5821 has joined #river
Guest5821 has quit [Quit: Client closed]
hspak has quit [Ping timeout: 252 seconds]
<leon-p> Anderson-D: sounds right. IIRC there was the plan to eventually make "name" an event of wl_output, but that has not happened yet, so you'll need to use xdg-output
baldlizard has quit [Ping timeout: 240 seconds]