You are not logged in.

#1 2023-10-30 15:22:56

danielausparis
Member
Registered: 2010-06-22
Posts: 34

OBS Studio black screen - as root, works

Folks,

I have an issue with OBS Studio : the screen is hopelessly black as normal user, but i found out that as root it works perfectly.

I guess it has something to do with permissions, but where to look ? Comparing the boot information from both situations did not give any clue to me.

Anybody got a similar issue ?

If that helps: i run a Radeon RX 470 as graphics card with amdgpu.

Daniel

Offline

#2 2023-10-30 16:14:23

headkase
Member
Registered: 2011-12-06
Posts: 1,986

Re: OBS Studio black screen - as root, works

If you're running Wayland then OBS needs permission from that to record the screen.  If you're running X.org then OBS can just grab it.  Are you Wayland or X?  And what desktop environment or setup do you use?

Offline

#3 2023-10-30 21:05:20

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: OBS Studio black screen - as root, works

headkase wrote:

If you're running Wayland then OBS needs permission from that to record the screen.  If you're running X.org then OBS can just grab it.  Are you Wayland or X?  And what desktop environment or setup do you use?

No i am just X and XFCE.

Offline

#4 2023-10-31 00:40:56

x1zv
Member
Registered: 2017-04-27
Posts: 4

Re: OBS Studio black screen - as root, works

Decided to try because I have rx470, one monitoir and use xfce, obs works fine here. Maybe try to create new user and see if it works there, could be something wrong with the obs configuration files? If that doesn't help it can be useful to try something like endeavoros liveusb (which is close enough to arch), usually saves me time when trying to decide if my arch install is messed.

Offline

#5 2023-10-31 08:35:44

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: OBS Studio black screen - as root, works

x1zv wrote:

Decided to try because I have rx470, one monitoir and use xfce, obs works fine here. Maybe try to create new user and see if it works there, could be something wrong with the obs configuration files? If that doesn't help it can be useful to try something like endeavoros liveusb (which is close enough to arch), usually saves me time when trying to decide if my arch install is messed.

Dear x1zv, this was EXCELLENT! Many thanks, i would never have had that idea by myself. I created a new user and voilà, OBS working like a charm there. So that points indeed to user-related configuration. Thus i deleted the files in .config, but sadly things remained the same. Does OBS have other user-related config files somewhere ? Or known interferences with other software/configurations ? Maybe Python ?

Last edited by danielausparis (2023-10-31 09:57:48)

Offline

#6 2023-10-31 15:47:30

x1zv
Member
Registered: 2017-04-27
Posts: 4

Re: OBS Studio black screen - as root, works

danielausparis wrote:

Dear x1zv, this was EXCELLENT! Many thanks, i would never have had that idea by myself. I created a new user and voilà, OBS working like a charm there. So that points indeed to user-related configuration. Thus i deleted the files in .config, but sadly things remained the same. Does OBS have other user-related config files somewhere ? Or known interferences with other software/configurations ? Maybe Python ?

I have no idea,  in such cases I move my stuff to the new user home or delete all the configuration files (except stuff like .mozzila and other that I deem important) from my home directory if I have no time to play around with finding the culprit. Try deleting your .Xauthority file first and then logout and log in, maybe this is the problem.

Offline

#7 2023-10-31 16:05:49

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: OBS Studio black screen - as root, works

Thank you x1zv, i tried but that did not change anything. Yes, it would be like searching a needle in a haystack. Sad thing is that my home folder is huge (i use it professionally) so that a migration is not what i would prefer. However with the trick of the separate user i have now a working solution for using OBS (which is not that often). Good enough for me in the short term !

Offline

Board footer

Powered by FluxBB