You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop audio input fails if screen resolution changes #8699
OBS should be able to record desktop audio at all times.
Current Behavior
Desktop audio works fine when it is first started, but any change of the monitor's resolution causes audio to immediately fail, and cannot be recovered until OBS is restarted.
Steps to Reproduce
Load OBS
Play audio (VLC, for example)
xrandr -s 1920x1080
Audio is lost. Reveting the resolution makes no difference.
The audio on the computer itself is fine and continues to play as expected.
Anything else we should know?
The monitor briefly flickers when resolution changes. This may cause the PC to see a disconnect of the monitor, but there's nothing in the system log to suggest this. Nonetheless, no other app has an issue with this and all audio continues to be played.
Also tested with audio-recorder and this has no issues with the input and continues to record.
From discussion on this, it sounds like that initiating a resolution switch like this is possibly messing with the EGL context for OBS. It's unclear if there's even anything we could do about that, OBS shouldn't care what the display resolution is, so if this is breaking on change, there is likely some kind of driver restart, or other connection to EGL that is getting severed and causing this.
I'm fine with this staying open in case anyone wants to investigate further, but it's the current opinion of the project that this kind of destructive change is not a supported use case. We would welcome a fix if there is one, but probably won't be spending any time digging further ourselves.
Is this still happening on the latest version for you? As mentioned in my previous comment, the difference between OBS and other applications is that OBS is rendering a preview, which is tied to the functionality of the application. Stalls in that can affect output, and forcing a display resolution change during use would be, IMO, considered a bit of a destructive act as far as OBS is concerned and things breaking (or not) is outside our control. There may indeed be a bug here, but just setting expectations this is likely a low priority for anyone to take a closer look.
Activity
Fenrirthviti commentedon Apr 27, 2023
From discussion on this, it sounds like that initiating a resolution switch like this is possibly messing with the EGL context for OBS. It's unclear if there's even anything we could do about that, OBS shouldn't care what the display resolution is, so if this is breaking on change, there is likely some kind of driver restart, or other connection to EGL that is getting severed and causing this.
I'm fine with this staying open in case anyone wants to investigate further, but it's the current opinion of the project that this kind of destructive change is not a supported use case. We would welcome a fix if there is one, but probably won't be spending any time digging further ourselves.
ogmkp commentedon Jul 3, 2023
Can't replicate on OBS 29.1.3, Debian 12, amdgpu, pipewire.
ogmkp commentedon Nov 25, 2025
Under KDE Wayland, I cannot reproduce the problem on Debian 13 with OBS 31+. Can we close this ticket?
KenSharp commentedon Nov 25, 2025
I don't use Wayland.
Fenrirthviti commentedon Nov 26, 2025
Is this still happening on the latest version for you? As mentioned in my previous comment, the difference between OBS and other applications is that OBS is rendering a preview, which is tied to the functionality of the application. Stalls in that can affect output, and forcing a display resolution change during use would be, IMO, considered a bit of a destructive act as far as OBS is concerned and things breaking (or not) is outside our control. There may indeed be a bug here, but just setting expectations this is likely a low priority for anyone to take a closer look.