I asked for help a lot of times here, I hope I wasn't this kind of guy. Most of the time I try to do my research before asking something, but even then I asked for help with something that was on the Arch Wiki.
It was a very specific thing about my Intel audio card that no one figured out at the time, I was battling this issue for almost a year and even used PopOS for some time because of it. In the end I found the solution in Arch Wiki and edited my posts on Reddit with the solution in case anyone finds it through DDG/Google.
When I have time I want to learn more about Linux/Arch to avoid asking stupid questions and maybe start to help others, like you do. Thanks for your help to the community btw.
Thank you very much! I had no ideia about nerd fonts, I installed the fira code patched by nerd fonts from the AUR and now the icons are showing. Thanks a lot!
Hey man, I'm using exa for a while and never realized it has the --icons option. I tried it and it only shows a box with weird symbols. I'm using Zsh as shell and Fira Code as font, it's the font or the shell that doesn't support it?
I used Plasma for some time, but I think the default look of plasma feels old, and while it's good to have a lot of options and personalization I found myself wasting more time tinkering Plasma to be more what I like than actually being productive. Then I decided to use Gnome, by default it's more what I like, I just installed a theme and a few extensions and that's it. I think it has a really nice workflow and feels modern, and the new Gnome 40 is awesome.
The Flatpak Beta was updated to 27.*, and the version built from GitHub and the one in the AUR worked using QT_QPA_PLATFORM=wayland obs as you also mentioned.
The only problem is no matter what version I use (I'm using the AUR package now), my theme doesn't work on the title bar. But I think this will get fixed using the official 27.* released version, so it doesn't bother me that much hahaha.
I don't know if you're going to reply anymore, so I just want to thank you for the millionth time hahaha, it's been really cool talking to you and I appreciate your help.
Update:For some reason OBS Studio Flatpak Beta doesn't freeze the screen, but the downside is that it doesn't follow my GTK theme. The theme is installed as Flatpak and I tried to copy the theme into the Flatpak folder but nothing worked. It bothers me not having theme consistency, but at least it's functional until the native solution hit the Arch repos.
As every Linux user I've distro hopped a lot, I only used for a significantly period of time Ubuntu and PopOS, the last one I had to use because my audio didn't work properly on Arch, but even with the headache that this problem caused me, after I used Arch for some time, I still wanted to use Arch, so I installed it again and thanks to the magnificent Arch Wiki, I found the solution to my problem and I'm extremely happy that I'm using Arch. Like other people say, once you use Arch, there is no way back.
So you did replace/merge the pacnew files into the conf files?
There were two files, file.conf and file.conf.pacnew. I renamed the file.conf to file.conf.bk and renamed file.conf.pacnew to file.conf.
and i think pipewire does not like to be started as root so you need to start as --user
I did not know that. I checked the status with the command you mentioned and it's running.
will tomorrow(German time) test around in a vm with a clean arch install what dependencys are needed. i guess something is missing as i did only test on quite bloated install as i was lazy :)
No problem. I know it is getting repetitive but I can't help but thank you again hahaha. You've been really helping me a lot.
- I followed the instructions in the Arch Wiki link you mentioned and it didn't work. I tested in the website you also mentioned, I get a Brave pop-up to select the window or screen (in the screen case the list is empty) and I get a Gnome pop-up to select the screen, and when I select a screen it shows a share icon at the top bar, but nothing happens. (Sharing a window works fine)
- I tried to use the pacnew files, alsa-monitor.conf and media-session.conf inside /etc/pipewire/media-session.d, these were the only pacnew files I found
- I tried to use Gnome Screen capture feature using Ctrl + Alt + Shift + R. It shows a recording icon at the top bar, creates a .webm file in the videos folder with 0 bytes and when I try to stop the recording with the same shortcut, the icon at the top bar doesn't go away.
- I tried to start pipewire-media-session using sudo systemctl start pipewire-media-session but I get:Failed to start pipewire-media-session.service: Unit pipewire-media-session.service not found.Then I tried to install it and it said I was actually reinstalling it.
So I don't know exactly what to do, I'm not very good at debugging Linux yet.
Edit:
❯ journalctl --this-boot --user-unit pipewire --follow
-- Journal begins at Tue 2021-03-02 14:53:40 -03. --
Mar 31 16:29:17 silver-wolf pipewire[17349]: old version detected
Mar 31 16:29:32 silver-wolf pipewire[17349]: old version detected
Mar 31 16:46:19 silver-wolf pipewire[17349]: old version detected
Mar 31 16:46:19 silver-wolf pipewire[17349]: old version detected
Mar 31 16:49:48 silver-wolf pipewire[17349]: old version detected
Mar 31 16:49:48 silver-wolf pipewire[17349]: old version detected
Mar 31 17:18:05 silver-wolf pipewire[17349]: old version detected
Mar 31 17:36:53 silver-wolf systemd[928]: Stopping Multimedia Service...
Mar 31 17:36:53 silver-wolf systemd[928]: pipewire.service: Succeeded.
Mar 31 17:36:53 silver-wolf systemd[928]: Stopped Multimedia Service.
Edit 2:I rebooted my PC and apparently it's working in the website you mentioned and with Gnome screen capture feature.I tried OBS built from source and still there isn't PipeWire option there, so I tried OBS from Flathub and it isn't crashing anymore and it shows my screen but after a brief moment after I add the source the screen freezes and stays unresponsive.I don't know if now is indeed an OBS problem, but it seems to be. Maybe I'll have to wait for that feature on that PR to be available.
❯ journalctl --this-boot --user-unit pipewire --follow
-- Journal begins at Tue 2021-03-02 14:53:40 -03. --
Mar 31 18:18:08 silver-wolf pipewire[2262]: old version detected
Mar 31 18:18:13 silver-wolf pipewire[2262]: node 0x564f9d4c0260: error unset format input: Input/output error
Mar 31 18:18:19 silver-wolf pipewire[2262]: old version detected
Mar 31 18:18:23 silver-wolf pipewire[2262]: node 0x564f9d4a12f0: error unset format input: Input/output error
Mar 31 18:20:51 silver-wolf pipewire[2262]: old version detected
Mar 31 18:20:51 silver-wolf pipewire[2262]: old version detected
Mar 31 18:20:52 silver-wolf pipewire[2262]: node 0x564f9d4c0260: error unset format input: Input/output error
Mar 31 18:20:54 silver-wolf pipewire[2262]: old version detected
Mar 31 18:21:16 silver-wolf pipewire[2262]: node 0x564f9d4c0260: error unset format input: Input/output error
Well, at least I made some progress thanks to you :D
Hey man, thanks for the follow up. I've been using Xorg in the meantime but I didn't gave up on Wayland yet hahaha.
As said in the PR:
On a Linux + Wayland session, run OBS Studio and add either the "Screen Capture (PipeWire)" source, or the "Window Capture (PipeWire)" source.
But I couldn't find any PipeWire source, I tried the obs-studio-git from AUR but it seems that's outdated (last updated 2021-02-13 22:48) and tried to build from source using the instructions described in the GitHub page.
I tested in the website you linked, and the same problem happens, it shares "successfully" but shows only a black screen. So I guess it might be a PipeWire problem, I'll take a look in the Arch Wiki link you mentioned later, and if I find something important I'll update here.
I had the same problem a few days ago, I used alsamixer to turn up my device audio to 100, and then inside Gnome in my case, 40% was really 40% and 100% was really 100%
Sorry for the delay. To start OBS as you said, I should execute in the terminal obs QT_QPA_PLATFORM=wayland obs ? I followed the steps and there is no "PipewireDesktopCapture".
Thank you very much for all your help, but unfortunately the problem persists. I installed the package from your repo and I still can only see my cursor. And other than that, the problem also happens on Discord, so I thinking it might be something with my system, but I don't know what.
I'm using Gnome, it's very clean and straight to the point. I also recommend installing a custom theme if you don't like Adwaita, I'm using Flat Remix Darkest Red which gives pure black backgrounds and red accent color.
I asked for help a lot of times here, I hope I wasn't this kind of guy. Most of the time I try to do my research before asking something, but even then I asked for help with something that was on the Arch Wiki.
It was a very specific thing about my Intel audio card that no one figured out at the time, I was battling this issue for almost a year and even used PopOS for some time because of it. In the end I found the solution in Arch Wiki and edited my posts on Reddit with the solution in case anyone finds it through DDG/Google.
When I have time I want to learn more about Linux/Arch to avoid asking stupid questions and maybe start to help others, like you do. Thanks for your help to the community btw.
I'll probably keep 1 or 2 like you do, great tip. Thanks a lot!
Yes I use paru, I'll keep an eye on these folders. Thanks for your help!
Nice, what you said makes a lot of sense, being able to do things without relying on other packages is pretty useful. Thanks for for your help!
Really cool application, I didn't know about it. Thanks for your help!
I'll keep an eye on this folder from now on, it's already more than 300MB, so it's probably it.
Thank you, I didn't know about this command.
Thank you very much! I had no ideia about nerd fonts, I installed the fira code patched by nerd fonts from the AUR and now the icons are showing. Thanks a lot!
Hey man, I'm using exa for a while and never realized it has the --icons option. I tried it and it only shows a box with weird symbols. I'm using Zsh as shell and Fira Code as font, it's the font or the shell that doesn't support it?
I used Plasma for some time, but I think the default look of plasma feels old, and while it's good to have a lot of options and personalization I found myself wasting more time tinkering Plasma to be more what I like than actually being productive. Then I decided to use Gnome, by default it's more what I like, I just installed a theme and a few extensions and that's it. I think it has a really nice workflow and feels modern, and the new Gnome 40 is awesome.
All the solutions you mentioned worked :D.
The Flatpak Beta was updated to 27.*, and the version built from GitHub and the one in the AUR worked using QT_QPA_PLATFORM=wayland obs as you also mentioned.
The only problem is no matter what version I use (I'm using the AUR package now), my theme doesn't work on the title bar. But I think this will get fixed using the official 27.* released version, so it doesn't bother me that much hahaha.
I don't know if you're going to reply anymore, so I just want to thank you for the millionth time hahaha, it's been really cool talking to you and I appreciate your help.
Update:For some reason OBS Studio Flatpak Beta doesn't freeze the screen, but the downside is that it doesn't follow my GTK theme. The theme is installed as Flatpak and I tried to copy the theme into the Flatpak folder but nothing worked. It bothers me not having theme consistency, but at least it's functional until the native solution hit the Arch repos.
As every Linux user I've distro hopped a lot, I only used for a significantly period of time Ubuntu and PopOS, the last one I had to use because my audio didn't work properly on Arch, but even with the headache that this problem caused me, after I used Arch for some time, I still wanted to use Arch, so I installed it again and thanks to the magnificent Arch Wiki, I found the solution to my problem and I'm extremely happy that I'm using Arch. Like other people say, once you use Arch, there is no way back.
I use Arch btw
There were two files,
file.confandfile.conf.pacnew. I renamed thefile.conftofile.conf.bkand renamedfile.conf.pacnewtofile.conf.I did not know that. I checked the status with the command you mentioned and it's running.
No problem. I know it is getting repetitive but I can't help but thank you again hahaha. You've been really helping me a lot.
Hey u/toggleton, updates:
- I followed the instructions in the Arch Wiki link you mentioned and it didn't work. I tested in the website you also mentioned, I get a Brave pop-up to select the window or screen (in the screen case the list is empty) and I get a Gnome pop-up to select the screen, and when I select a screen it shows a share icon at the top bar, but nothing happens. (Sharing a window works fine)
- I tried to use the pacnew files,
alsa-monitor.confandmedia-session.confinside/etc/pipewire/media-session.d, these were the only pacnew files I found- I tried to use Gnome Screen capture feature using Ctrl + Alt + Shift + R. It shows a recording icon at the top bar, creates a .webm file in the videos folder with 0 bytes and when I try to stop the recording with the same shortcut, the icon at the top bar doesn't go away.
- I tried to start pipewire-media-session using sudo systemctl start pipewire-media-session but I get:
Failed to start pipewire-media-session.service: Unit pipewire-media-session.service not found.Then I tried to install it and it said I was actually reinstalling it.So I don't know exactly what to do, I'm not very good at debugging Linux yet.
Edit:
Edit 2:I rebooted my PC and apparently it's working in the website you mentioned and with Gnome screen capture feature.I tried OBS built from source and still there isn't PipeWire option there, so I tried OBS from Flathub and it isn't crashing anymore and it shows my screen but after a brief moment after I add the source the screen freezes and stays unresponsive.I don't know if now is indeed an OBS problem, but it seems to be. Maybe I'll have to wait for that feature on that PR to be available.
Well, at least I made some progress thanks to you :D
Hey man, thanks for the follow up. I've been using Xorg in the meantime but I didn't gave up on Wayland yet hahaha.
As said in the PR:
But I couldn't find any PipeWire source, I tried the
obs-studio-gitfrom AUR but it seems that's outdated (last updated 2021-02-13 22:48) and tried to build from source using the instructions described in the GitHub page.I tested in the website you linked, and the same problem happens, it shares "successfully" but shows only a black screen. So I guess it might be a PipeWire problem, I'll take a look in the Arch Wiki link you mentioned later, and if I find something important I'll update here.
Again, thank you very much for all your help :D
I had the same problem a few days ago, I used alsamixer to turn up my device audio to 100, and then inside Gnome in my case, 40% was really 40% and 100% was really 100%
Starting OBS correctly this time, it shows the Pipewire option, but still with black screen.
But no problem, I'll wait as you suggested.
Again, thank you very much for all your help
Sorry for the delay. To start OBS as you said, I should execute in the terminal
obs QT_QPA_PLATFORM=wayland obs? I followed the steps and there is no "PipewireDesktopCapture".Thanks for all the effort and help.
Thank you very much for all your help, but unfortunately the problem persists. I installed the package from your repo and I still can only see my cursor. And other than that, the problem also happens on Discord, so I thinking it might be something with my system, but I don't know what.
Thank you very much, I'll wait for your response
Unfortunately I think I'll indeed have to use Xorg
Thank you for all the information and help. I tried the Flatpak and the Git (AUR) version but unfortunately it didn't work
I tried using the Flatpak and Git (AUR) version but no luck
I'm using Gnome, it's very clean and straight to the point. I also recommend installing a custom theme if you don't like Adwaita, I'm using Flat Remix Darkest Red which gives pure black backgrounds and red accent color.