mirror of
https://gitlab.com/GloriousEggroll/obs-studio-nobara.git
synced 2025-12-11 00:00:01 -05:00
58 lines
1.5 KiB
Markdown
58 lines
1.5 KiB
Markdown
Build instructions:
|
|
```
|
|
$ sudo dnf install mock pykickstart
|
|
$ sudo usermod -a -G mock <user>
|
|
$ mock -r /etc/mock --init
|
|
$ sudo setenforce 0
|
|
$ mock -r nobara-35-x86_64.cfg --rebuild obs-studio*.fc35.src.rpm
|
|
$ mv /var/lib/mock/nobara-35-x86_64/result/*.rpm /path/to/some/folder/
|
|
$ exit
|
|
$ mock -r nobara-35-x86_64.cfg --clean
|
|
$ sudo setenforce 1
|
|
```
|
|
Finished! Packages will be in whatever folder you chose for /path/to/some/folder/
|
|
|
|
Install instructions:
|
|
```
|
|
$ cd /path/to/some/folder/
|
|
$ yum install obs-studio-27*.rpm
|
|
```
|
|
|
|
Upgrade instructions:
|
|
```
|
|
$ cd /path/to/some/folder/
|
|
$ yum upgrade *.rpm
|
|
```
|
|
|
|
IMPORTANT NOTES:
|
|
- Game capture does -not- work without the additional obs-studio-gamecapture package. You will need this:
|
|
|
|
https://copr.fedorainfracloud.org/coprs/gloriouseggroll/obs-studio-gamecapture/
|
|
|
|
- Once the gamecapture packages have been installed, you can capture most games using:
|
|
|
|
`obs-gamecapture somegame`
|
|
|
|
For example with steam games in the launch options for the game:
|
|
|
|
`obs-gamecapture %COMMAND%`
|
|
|
|
Then add 'Game Capture' as a source in OBS.
|
|
|
|
This works for vulkan + opengl and 64 + 32 bit games.
|
|
|
|
|
|
## Known Issues
|
|
|
|
* The vulkan capture -only- works on AMD due to Nvidia not having VK_EXT_external_memory_dma_buf in their drivers.
|
|
|
|
## Troubleshooting
|
|
|
|
**Cannot create EGLImage: Arguments are inconsistent**
|
|
|
|
If you get this error with Vulkan capture, try starting the game with `OBS_VKCAPTURE_LINEAR=1` environment variable.
|
|
|
|
**No Game Capture source available in OBS**
|
|
|
|
If you are on X11, make sure you run OBS with EGL enabled: `OBS_USE_EGL=1 obs`.
|