phoebos changed the topic of #kisslinux to: Unofficial KISS Linux community channel | https://kisscommunity.bvnf.space | post logs or else | song of the day https://yewtu.be/watch?v=S81bNIK4MaE
<riteo> sorry asimovc I took a nap, I'm not joking
<riteo> there's no need for pulseaudio itself
<riteo> there's pipewire-pulse, which you should already have access to, that allows pulseaudio-enabled programs to interact with pipewire
<riteo> so that you don't need to port old applications over (supposing it's even possible, think proprietary games)
<riteo> regarding requiring more changes no, package wise. I'd recommend applying the setting I documented in my notes linked above in a pipewire configuration file if all you see in an audio mixer is "Dummy Output"
asimvoc has joined #kisslinux
<riteo> regarding screensharing, all I use is dbus, pipewire, xdg-desktop-portal and xdg-desktop-portal-wlr (although this last one will depend on the compositor you're using)
<asimvoc> riteo: i'm using dwl
<riteo> let's see
<asimvoc> all i get when exec xdg-portal and xdg-portal-wlr is this
<riteo> it's wlroots based so xdg-portal-wlr should do
<asimvoc> xdg-portal when i exec it
<riteo> nw it's fine
<riteo> basically it's saying that there's a better way of choosing the "child daemons" for xdg-desktop-portal automatically
<asimvoc> i installed ungoogled chromium in flatpak
<asimvoc> i tried meet fot test screen sharing
<asimvoc> not work
<riteo> you can setup a configuration file asking for what daemons to start depending on yout XDG_CURRENT_DESKTOP
<riteo> shoot I said XDG_RUNTIME_DIR above, sorry
phinxy has quit [Ping timeout: 252 seconds]
<riteo> asimvoc: mhhh, xdg-desktop-portal-wlr says nothing?
<asimvoc> nothing
<asimvoc> no one single line
<riteo> like, the warnings say rightfully that you're using an "old way" of configuration but it's indeed detecting the right thing at the right time
<riteo> uh no wait that might be startup
<riteo> ughhhhh lemme thing
<riteo> think
<asimvoc> this is the logs of ungoogled chromium
<asimvoc> i just enter in meet and init a new meeting and try to sharing the screen
<asimvoc> it only works for tabs
<riteo> No such interface “org.freedesktop.portal.FileChooser” is because xdg-desktop-portal-wlr only exposes screen casting
<riteo> you'll need another daemon like xdg-desktop-portal-gtk for everything else
<asimvoc> why?
<asimvoc> flatpak need it?
<riteo> well yes for the file chooser
<riteo> you don't need the gtk one if you dislike it
<riteo> there are other daemons implementing a file chooser
<asimvoc> no problems
phinxy has joined #kisslinux
<asimvoc> i just need to screensharing
<riteo> if you're asking why it's a bit like android's way where the application does not have access to the whole filesystem but only to a specific file you select manually as an user
<riteo> all right
<riteo> `PulseAudio: Unable to connect: Connection refused` is because chromium is looking for pulseaudio but can't find it. If you run `pipewire-pulse` it should work
<asimvoc> can i work my way without it?
<riteo> I'm not sure why you're so stubborn about this; that's not real pulseaudio, just a shim
<riteo> if you really insist you can look for pipewire support in chromium if it exists
<asimvoc> yeah but i don't remember to use pipewire-pulse in gentoo for this same problem
<riteo> perhaps it's just a config flag away or it automatically switched to pipewire for this
<asimvoc> just pipewire-alsa
<riteo> oh then it probably chose that instead
<riteo> because I can see an alsa print
<asimvoc> yeah
<riteo> oh well let's see what else's left...
<asimvoc> but if i just build the pipewire in community
<asimvoc> with alsa only
<asimvoc> i get the same error
<riteo> well yeah because it's probably trying to connect with pulseaudio first
<riteo> that's how programs usually deal with multiple apis
<riteo> there's this "PipeWire stream state error: error output enum formats: No such file or directory"
<riteo> uuuhh wait
<riteo> you started pipewire in the user session?
<riteo> because if you restart the compositor for some reason it gets confused because the dbus user connection is lost
<asimvoc> i started in user session
<asimvoc> is in my .profile
<riteo> yeah but without restarting or something
<asimvoc> yeah
<riteo> like there's only one fresh process ever since you started dwl
<riteo> all right
<asimvoc> it just init pipewire when i loggin in
<riteo> I'm trying to check my mental checklist
<riteo> asimvoc what's your XDG_RUNTIME_DIR?
<asimvoc> tmp/1000-runtime-dir
phinxy has quit [Ping timeout: 252 seconds]
<riteo> mhhhh
<riteo> that's really weird
phinxy has joined #kisslinux
<asimvoc> yup
<riteo> so to recap you have a dbus user session, pipewire, xdg-desktop-portal-* all started in this order
<asimvoc> yup
<asimvoc> my init profile is this order
<riteo> uh wait
<riteo> that's important
<asimvoc> dbus-launch dwl -s 'foot -s & pipewire & wbg /home/hellboy/Documents/Wallpapers/wallhaven-kxoqdm_1920x1080.png <&-'
<riteo> oh allright you did that inside dbus-launch
<riteo> then it's fine I think
<asimvoc> well
<riteo> you tried that pwvcontrol flatpak I sent?
<asimvoc> can send me again?
<asimvoc> will try now
<riteo> sure
<asimvoc> but i dont see why will work
<riteo> com.saivert.pwvucontrol
<riteo> asimvoc: because of the dummy output thing
<riteo> it's a pipewire mixer and it's flatpaked too so you should be able to see if flatpak is at least working there
<asimvoc> just need to restart chromium or the hole thing?
<riteo> no wait it's a separate app
<riteo> just run it and you should see basically pavucontrol but for pipewire
<asimvoc> started
<asimvoc> And get
<asimvoc> Lost Connection do Pipewire server
phinxy has quit [Ping timeout: 248 seconds]
<riteo> bingo
<riteo> so flatpaked apps can't seem to connect to pipewire for some reason
<riteo> first of all, sanity check, `wpctl status` works?
<asimvoc> yeap
<riteo> all right
<riteo> try passing `XDG_RUNTIME_DIR` to the dbus activation environment
<asimvoc> just export?
<riteo> I had to switch my xdg runtime dir to the default location because applications were just ignoring it
<riteo> no export, dbus-update-activation-environment
<riteo> wait you did the dbus-update-activation-environment
<asimvoc> not this time
<asimvoc> but i did it
<riteo> you have to do it every time you start a user session afaik
<asimvoc> just the command without i3sock and swaysock
<asimvoc> did it
<asimvoc> nothing
<riteo> oh all right
<riteo> also add XDG_RUNTIME_DIR there
<riteo> in the command
asimvoc has quit [Remote host closed the connection]
asimvoc has joined #kisslinux
<asimvoc> still the same
<riteo> I think flatpaked applications aren't finding the custom runtime dir
<riteo> for some reason
<riteo> the default location for that dir is `/run/user/$(id -u)`
<riteo> you could try making a dir there, adding permissions for your user and pointing the runtime dir variable there
<riteo> I had a similar problem
<riteo> ughhhhhhhh it looks indeed that's the issue
<riteo> there's this https://github.com/flatpak/flatpak/issues/4372 which is supposed to be fixed but I swear that I've seen a similar problem lately too
<riteo> just try the conventional `/run/user/$(id -u)` dir first
<asimvoc> allright
<asimvoc> i will do
<riteo> lemme know how it goes
<riteo> gl
<asimvoc> what permissions it will need?
<riteo> just like, user permissions
<riteo> `chown hellboy "/run/user/$(id -u hellboy)"`
<riteo> `chgrp hellboy "/run/user/$(id -u hellboy")`
<riteo> and some chmod for taste
asimvoc has quit [Excess Flood]
<riteo> shoot wrong quoting on the second one
<riteo> hope ya catch it
asimvoc has joined #kisslinux
<asimvoc> oh my fucking god
<asimvoc> now pwuvcontrol work
<riteo> wahoo
<asimvoc> now what more?
<riteo> restart chromium and try casting
<asimvoc> same
<riteo> what do the logs say
<asimvoc> the same
<riteo> I think it's not finding the pipewire socket for some reason?
<riteo> wait does pwvucontrol output any useful data
<riteo> instead of like Dummy Output
<riteo> also check if in the runtime dir there's a pipewire socket
<riteo> you could also double-check with firefox, that's what I use
<riteo> I mean if there's a pipewire socket in the default runtime dir and pwvucontrol works then I'm not sure what the file not found in the log refers to :(
phinxy has joined #kisslinux
phinxy has quit [Ping timeout: 260 seconds]
phinxy has joined #kisslinux
phinxy has quit [Ping timeout: 252 seconds]
<asimvoc> hi
<asimvoc> i will try now
<asimvoc> yeah
<asimvoc> it have a pipewire-0 in this dir
<asimvoc> and also pwvucontrol just detect my mic of laptop
<riteo> I see
<riteo> if firefox does not work either I'm not really sure
<riteo> could try with obs or something else to see if the issue is chromium or flatpak
<asimvoc> i can't try firefox in kiss
<asimvoc> can't build it
<asimvoc> i will just drop it again
<asimvoc> kiss is awesome but again is too much abandoned
<asimvoc> i need a distro for everyday needs
<riteo> oh I mean firefox flatpak
<riteo> I don't build it either
<riteo> but if you don't really feel like tinkering this much it's fine really
<asimvoc> i will try firefox
<asimvoc> just the last
<asimvoc> the problem is that i have until monday to have a working system
<asimvoc> and kiss is not working lol
<asimvoc> firefox wont detect anything
<asimvoc> and thats the logs
<asimvoc> riteo: any idea?
asimvoc has quit [Remote host closed the connection]
phinxy has joined #kisslinux
<riteo> asimovc sorry for thee delay
<riteo> logs say nothing and I'm kinda out of ideas here, I'm sorry
<riteo> if you need something by monday do not stress yourself, pick a just works distro and you can play with this stuff at another time, this is supposed to be fun and not a chore
midfavila has quit [Ping timeout: 252 seconds]
midfavila has joined #kisslinux
fultilt has quit [Quit: Leaving]
asimovc has joined #kisslinux
<asimovc> riteo: hi
<asimovc> i installed alpine
<asimovc> and seems to work well without xdg-portal-gtk
<asimovc> maybe is the build of the packages
<asimovc> or something related to mdev?
asimovc has quit [Remote host closed the connection]
asimovc has joined #kisslinux
<asimovc> also even without pipewire-pulse it still screenshare
<asimovc> just don't get audio
asimovc has quit [Remote host closed the connection]
phinxy has quit [Ping timeout: 252 seconds]
fultilt has joined #kisslinux
ivyfri12 has quit [Quit: Lost terminal]
ivyfri12_ has joined #kisslinux
phinxy has joined #kisslinux
<phinxy> Was there a patch for firefox to allow it to compile with latest rust?
phinxy has quit [Ping timeout: 276 seconds]
phinxy has joined #kisslinux
sewn has quit [Ping timeout: 252 seconds]
sjalv has quit [Ping timeout: 276 seconds]
<phinxy> Cant build rust with lower version because there are LLVM errors.
asimovc has joined #kisslinux
<asimovc> phinxy: at least i don't know any patch
<asimovc> is just broken
<asimovc> but i think in some place it have been patched
<asimovc> is working in alpine
<asimovc> so someone have builded it fine
asimovc has quit [Ping timeout: 265 seconds]
sewn has joined #kisslinux
sjalv has joined #kisslinux
<phinxy> Its weird how Alpine doesnt have any recent patches .
<phinxy> What needs patching if not firefox, rust?
sewn has quit [Ping timeout: 260 seconds]
sjalv has quit [Ping timeout: 260 seconds]
sewn has joined #kisslinux
sjalv has joined #kisslinux