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
An existing bug I had in upstream OBS Studio that is still present in this fork. I searched for upstream issues and don't see any, which makes me think this must be DE/compositor/Wayland specific otherwise I can't imagine it going unnoticed.
When I look at camera source properties, there are usually some number of sliders (depending on the devices of course). The slider widgets are utterly and completely unusable. I can grab the handle and drag, but it "drops" almost instantly, so at most I can drag them a position or two on the bar. Scrolling also has no effect when they are focused.
I am only able to input values by typing them in or by using the up/down arrows next to the input box. The slider widgets themselves are totally ineffective to change anything.
I'm on Hyprland on Arch Linux (stable relaases). I've confirmed this on 3 different machines.
Class
GUI UX
How it is reached
Open properties for any camera source. Try moving a slider.
Proposed fix and failing test
The slider widgets should respond to mouse events without getting int erupted by anything else. As long as the user holds a mouse button down to drag the handle should stay active and not get dropped.
Additionally scrolling while the widget is focused should also adjust the slider. Bonus points for SHIFT or some other modifying while scrolling being a fast scroll.
Thanks for the report. Two code paths could drop a drag, and a few checks would tell them apart:
The camera controls rebuild the dialog.v4l2_control_changed (plugins/linux-v4l2/v4l2-controls.c) returns true when VIDIOC_S_CTRL fails, and true makes the properties view rebuild every widget (properties-view.cpp, RefreshProperties), which destroys the slider you're holding. A control the driver refuses (for example exposure while auto-exposure is on, or a value off its step) would do exactly this on every tick.
Wayland/compositor input. Upstream has the same widgets, and nobody upstream reports this, which fits a Wayland-specific grab loss.
Could you try:
a slider that isn't a camera control, e.g. a Color Correction filter's Gamma or Opacity. If that one drags fine, it's (1).
the same camera slider with QT_QPA_PLATFORM=xcb obs (XWayland). If it then works, it's (2).
starting OBS with --verbose and dragging once, then attaching the log. Failed controls show up there.
Scrolling: sliders in properties deliberately ignore the wheel until clicked (focused), so the page can scroll past them (SliderIgnoreScroll). If the wheel does nothing even after clicking the slider, that's (1) again: the rebuild drops focus.
Reproduced in 0.1.0-beta.20261014 with a PipeWire camera that exposes controls. The device in the screenshot ("... (V4L2)" with a Camera Controls group and a Frame Rate list) is the PipeWire camera source, not the native V4L2 one. A 120 px drag of Brightness changes the value once and then drops. Six wheel notches over the focused slider change it once.
Cause: control_changed() in plugins/linux-pipewire/camera-portal.c returns true for every control, on success too. true makes the properties view rebuild every widget (RefreshProperties), so the slider being dragged is destroyed after the first step and focus moves to the spin box. That's why the wheel stops too. The code comes from upstream (2022), not from anything obs-rust changed, and it isn't Wayland-specific.
RED: a cmocka test against a private PipeWire camera with a Brightness control checks that obs_property_modified() on that control returns false (no rebuild). It fails today.
GREEN: control_changed() returns false. The widget already shows the new value, and a rebuild only re-reads the same control list. pw_node_set_param is also made under the PipeWire thread lock, since it now runs on every slider step and PipeWire already warns about the unlocked call.
With that change in the same setup, the drag goes through all 20 steps and the wheel moves on every notch.
#829 is merged with a regression test. It should fix this, but it is not confirmed until you try it on your setup.
The camera controls in the "Video Capture Device (PipeWire)" source told the Properties window to rebuild all its widgets after every value change. The first step of a drag destroyed the slider you were holding, and focus moved to the spin box, so the wheel stopped too. With #829 a control change only sets the value on the camera. In our release, a 120 px drag moved Brightness one step and dropped. With #829 it followed the mouse all the way here, and every wheel notch over the focused (clicked) slider moved it, but that is our test setup, not your camera and compositor. Shift+wheel fast scroll isn't part of this; it's a separate feature request.
This is a huge improvement, but not quite there. Notable most of the sliders are now operable (as opposed to none of them) but there are still some that are not.
For example for this webcam, all the slider widgets respond to mouse control except the last one ("Exposure Time, Absolute") which still behaves as before:
I imagine there are others. Perhaps the "absolute" value ones are different? I'll be able to check other camera devices later but am on a different machine than most of my production gear right now.
Thanks for testing it this quickly, and for the screenshot. That's a separate case, so I'm reopening this.
This dialog is the "Video Capture Device (V4L2)" source, not the PipeWire one #829 changed. Its sliders take a different path, v4l2_control_changed() in plugins/linux-v4l2/v4l2-controls.c, which rebuilds the whole dialog only when the camera refuses a value. With Auto Exposure on "Aperture Priority Mode", a UVC camera refuses manual exposure values, so every step of an Exposure Time drag is refused and rebuilds the dialog. That drops the drag in the same way. This matches the first case in zackees' comment above. I haven't confirmed it here yet; I'll check it against a camera that refuses values the way yours does.
One quick check, if you have a minute: set Auto Exposure to "Manual Mode" and try the Exposure Time slider again. If it drags normally there, this is the cause.
The other sliders should be fine in both modes. If you find another one that drops while its "automatic" partner is off, that would tell me something different.
10. That drops the drag in the same way. This matches the first case in zackees' comment above. I haven't confirmed it here yet; I'll check it against a camera that refuses values the way yours does.
It might be an unused/invalid value, but the UI is still wonkey because the digit input box and up/down arrows work to accept values, so as either the entire widget should be disabled or it should be entirely usable (even if the value is ignored) but not this current limbo of accepting input then crashing the widget.
One quick check, if you have a minute: set Auto Exposure to "Manual Mode" and try the Exposure Time slider again. If it drags normally there, this is the cause.
Yes, actually setting manual mode does free up the slider.
#895 is merged into master. It covers the Exposure Time case from your last comment, which zackees named first. I reopened this issue: it stays open until you have tried the fix on your camera, since our test used a stand-in device and not real hardware.
What changed in the "Video Capture Device (V4L2)" source:
A control the camera reports as inactive is greyed out as a whole: slider, number box and label. Exposure Time, Absolute is inactive while Auto Exposure is not on Manual. This follows the V4L2 spec, and it's what qv4l2 does.
Switching Auto Exposure to Manual Mode enables Exposure Time at once, and switching back greys it out again.
Dragging a slider no longer rebuilds the window. A value the camera refuses is logged instead.
The value you saved is kept for when the automatic mode is off.
Your White Balance Temperature will only grey out if your camera reports it as inactive while White Balance, Automatic is on. If it drags fine for you today, it should stay that way.
When you get a chance, please try Exposure Time in Aperture Priority (it should be greyed out) and in Manual Mode (it should drag), and any other slider that has an automatic partner. Once you confirm, this can be closed.
I can confirm the specific cameras/sliders I was looking at before were fixed. The webcam with auto exposure stuff does disable the slider, and setting it to manual enables it.
However the same issue does not appear to be universally fixed. Other cameras with other similar situations are not catching the same behavior.
For example here is a different camera with a focus control. The auto focus checkbox works, and when disabled the focus slider work. The issue I see is that when checking the box for auto focus the slider remains active. It now actually works as a slider (the widget doesn't redraw on focus) and the value has no effect, but if the value has no effect I would have expected the slider widget to be disabled.
Is there some sort of universal relationship between auto/manual controls that this can be fixed across the board or are we stuck playing whack-a-mole per camera and unique groups of settings?
Thanks for testing. Good to hear the Exposure case works on the real camera.
The fix is not per camera. After any change in the window, OBS asks the driver which controls are inactive right now (V4L2_CTRL_FLAG_INACTIVE) and greys out exactly those. No camera or control names are involved. Your first webcam's driver marks Exposure Time inactive outside Manual Mode, so that one greys out.
The flag comes from the driver, though. For USB webcams (uvcvideo), Focus, Absolute is marked inactive while Focus, Automatic Continuous is on, but only when the driver can read the camera's current auto-focus setting. If the camera doesn't support reading it, or the camera uses a different driver, nothing is marked, and OBS can't tell the slider has no effect. That would match what you see: in auto mode the value is accepted and silently ignored rather than refused.
To tell which case this is, could you run this for the focus camera with auto focus on? (v4l2-ctl is in the v4l-utils package; replace N with its number from v4l2-ctl --list-devices.)
v4l2-ctl -d /dev/videoN -D --list-ctrls
and also the output of uname -r.
If focus_absolute shows flags=inactive there, the bug is on our side and I'll fix it. If it doesn't, the driver isn't reporting it. In that case I'd add a fallback for the standard automatic/manual control pairs the V4L2 API defines: Focus Auto/Focus, Auto White Balance/Temperature, Auto Gain/Gain, Hue Auto/Hue and Auto Exposure/Exposure. That would cover every camera that uses those standard controls, so no more whack-a-mole.
Thanks, that settles it: the driver marks focus_absolute inactive while focus_automatic_continuous is on, so the bug is in OBS, not the camera. I'm reproducing it now with a stand-in device that has your camera's exact control list, and will post a PR here when it's ready.
A correction to my last two comments: your screenshot is the "Video Capture Device (PipeWire)" source, not the V4L2 one. #895 only changed the V4L2 source. PipeWire doesn't pass the driver's inactive flag on to OBS, so the PipeWire source now greys out a manual control while its automatic partner is on. The pairs come from the V4L2 spec: Focus, Auto Exposure, White Balance (Temperature, Red and Blue Balance) and Hue. That works the same for every camera that uses those standard controls. The same PR also adds the menu controls that were missing from that window, including Auto Exposure and Power Line Frequency.
I'll post here once it's merged, with how to test it.
#1054 is merged into master. Your screenshot showed what was going on: the focus camera is in a "Video Capture Device (PipeWire)" source (Device, Video Format and Frame Rate, no "Restore camera controls"), not in the V4L2 source that #895 changed. PipeWire passes the camera's controls on to OBS, but not the driver's "inactive" flag, so OBS could not tell that Focus, Absolute does nothing while autofocus is on.
What changed in the PipeWire camera source:
For a V4L2 camera, OBS now knows the automatic/manual pairs from the V4L2 spec: Focus, Automatic Continuous / Focus, Absolute; Auto Exposure / Exposure Time, Absolute (usable only in Manual Mode); White Balance, Automatic / White Balance Temperature, Red and Blue Balance; Hue, Automatic / Hue. A manual control is greyed out while its automatic partner is on, when the window opens and right after you change the automatic one.
Auto Exposure and Power Line Frequency are now shown. They were missing before, because PipeWire publishes menus in a format the source skipped.
Dragging a slider still doesn't rebuild the window.
When you get a chance, please tick and untick Focus, Automatic Continuous on that camera (the Focus slider should grey out and come back). Then try Auto Exposure between Auto Mode and Manual Mode, and any other auto/manual pair your cameras have. This issue stays open until you confirm.
@rdoupe FYI: #385 turned out to be the same PipeWire-vs-V4L2 split. The "Restore camera controls" option only exists in the V4L2 source. I filed #1067 for the PipeWire source; claim it if you want it, I haven't started anything.
Thanks, I can confirm the enable/disable seems to be working much more like expected now and the widgets scroll when active and disable when not for the 3 cameras I currently have access too.
There are some other really quirky things going on with the settings widgets that could be cleaned up but that is categorically different than what was originally reported in this issue so I'll open a new issue to track that.
Activity
zackees commentedon Oct 15, 2026
Thanks for the report. Two code paths could drop a drag, and a few checks would tell them apart:
v4l2_control_changed(plugins/linux-v4l2/v4l2-controls.c) returnstruewhenVIDIOC_S_CTRLfails, andtruemakes the properties view rebuild every widget (properties-view.cpp,RefreshProperties), which destroys the slider you're holding. A control the driver refuses (for example exposure while auto-exposure is on, or a value off its step) would do exactly this on every tick.Could you try:
QT_QPA_PLATFORM=xcb obs(XWayland). If it then works, it's (2).--verboseand dragging once, then attaching the log. Failed controls show up there.Scrolling: sliders in properties deliberately ignore the wheel until clicked (focused), so the page can scroll past them (
SliderIgnoreScroll). If the wheel does nothing even after clicking the slider, that's (1) again: the rebuild drops focus.rdoupe commentedon Oct 15, 2026
Claiming: this issue.
Reproduced in 0.1.0-beta.20261014 with a PipeWire camera that exposes controls. The device in the screenshot ("... (V4L2)" with a Camera Controls group and a Frame Rate list) is the PipeWire camera source, not the native V4L2 one. A 120 px drag of Brightness changes the value once and then drops. Six wheel notches over the focused slider change it once.
Cause:
control_changed()inplugins/linux-pipewire/camera-portal.creturnstruefor every control, on success too.truemakes the properties view rebuild every widget (RefreshProperties), so the slider being dragged is destroyed after the first step and focus moves to the spin box. That's why the wheel stops too. The code comes from upstream (2022), not from anything obs-rust changed, and it isn't Wayland-specific.obs_property_modified()on that control returns false (no rebuild). It fails today.control_changed()returnsfalse. The widget already shows the new value, and a rebuild only re-reads the same control list.pw_node_set_paramis also made under the PipeWire thread lock, since it now runs on every slider step and PipeWire already warns about the unlocked call.With that change in the same setup, the drag goes through all 20 steps and the wheel moves on every notch.
test/cmocka: Add a failing test for PipeWire camera control sliders
linux-pipewire: Keep the Properties window when a camera control changes
rdoupe commentedon Oct 15, 2026
#829 is merged with a regression test. It should fix this, but it is not confirmed until you try it on your setup.
The camera controls in the "Video Capture Device (PipeWire)" source told the Properties window to rebuild all its widgets after every value change. The first step of a drag destroyed the slider you were holding, and focus moved to the spin box, so the wheel stopped too. With #829 a control change only sets the value on the camera. In our release, a 120 px drag moved Brightness one step and dropped. With #829 it followed the mouse all the way here, and every wheel notch over the focused (clicked) slider moved it, but that is our test setup, not your camera and compositor. Shift+wheel fast scroll isn't part of this; it's a separate feature request.
It will be in the next obs-rust daily release after 0.1.0-beta.20261014: https://github.com/obs-rust/obs-studio/releases (on Arch it's
obs-studio-rust-gitin the AUR).If you get a chance to try it on Hyprland, a reply here on whether the sliders now drag and scroll would really help.
alerque commentedon Oct 15, 2026
This is a huge improvement, but not quite there. Notable most of the sliders are now operable (as opposed to none of them) but there are still some that are not.
For example for this webcam, all the slider widgets respond to mouse control except the last one ("Exposure Time, Absolute") which still behaves as before:
I imagine there are others. Perhaps the "absolute" value ones are different? I'll be able to check other camera devices later but am on a different machine than most of my production gear right now.
rdoupe commentedon Oct 15, 2026
Thanks for testing it this quickly, and for the screenshot. That's a separate case, so I'm reopening this.
This dialog is the "Video Capture Device (V4L2)" source, not the PipeWire one #829 changed. Its sliders take a different path,
v4l2_control_changed()inplugins/linux-v4l2/v4l2-controls.c, which rebuilds the whole dialog only when the camera refuses a value. With Auto Exposure on "Aperture Priority Mode", a UVC camera refuses manual exposure values, so every step of an Exposure Time drag is refused and rebuilds the dialog. That drops the drag in the same way. This matches the first case in zackees' comment above. I haven't confirmed it here yet; I'll check it against a camera that refuses values the way yours does.One quick check, if you have a minute: set Auto Exposure to "Manual Mode" and try the Exposure Time slider again. If it drags normally there, this is the cause.
The other sliders should be fine in both modes. If you find another one that drops while its "automatic" partner is off, that would tell me something different.
alerque commentedon Oct 15, 2026
It might be an unused/invalid value, but the UI is still wonkey because the digit input box and up/down arrows work to accept values, so as either the entire widget should be disabled or it should be entirely usable (even if the value is ignored) but not this current limbo of accepting input then crashing the widget.
Yes, actually setting manual mode does free up the slider.
linux-pipewire: Keep the Properties window when a camera control chan…
rdoupe commentedon Oct 15, 2026
#895 is merged into master. It covers the Exposure Time case from your last comment, which zackees named first. I reopened this issue: it stays open until you have tried the fix on your camera, since our test used a stand-in device and not real hardware.
What changed in the "Video Capture Device (V4L2)" source:
Your White Balance Temperature will only grey out if your camera reports it as inactive while White Balance, Automatic is on. If it drags fine for you today, it should stay that way.
It is in master now, so rebuilding
obs-studio-rust-gitfrom the AUR picks it up. It will also be in the next obs-rust daily release after 0.1.0-beta.20261014: https://github.com/obs-rust/obs-studio/releasesWhen you get a chance, please try Exposure Time in Aperture Priority (it should be greyed out) and in Manual Mode (it should drag), and any other slider that has an automatic partner. Once you confirm, this can be closed.
linux-v4l2: Disable inactive camera controls instead of rebuilding (o…
alerque commentedon Oct 16, 2026
I can confirm the specific cameras/sliders I was looking at before were fixed. The webcam with auto exposure stuff does disable the slider, and setting it to manual enables it.
However the same issue does not appear to be universally fixed. Other cameras with other similar situations are not catching the same behavior.
For example here is a different camera with a focus control. The auto focus checkbox works, and when disabled the focus slider work. The issue I see is that when checking the box for auto focus the slider remains active. It now actually works as a slider (the widget doesn't redraw on focus) and the value has no effect, but if the value has no effect I would have expected the slider widget to be disabled.
Is there some sort of universal relationship between auto/manual controls that this can be fixed across the board or are we stuck playing whack-a-mole per camera and unique groups of settings?
rdoupe commentedon Oct 16, 2026
Thanks for testing. Good to hear the Exposure case works on the real camera.
The fix is not per camera. After any change in the window, OBS asks the driver which controls are inactive right now (
V4L2_CTRL_FLAG_INACTIVE) and greys out exactly those. No camera or control names are involved. Your first webcam's driver marks Exposure Time inactive outside Manual Mode, so that one greys out.The flag comes from the driver, though. For USB webcams (uvcvideo), Focus, Absolute is marked inactive while Focus, Automatic Continuous is on, but only when the driver can read the camera's current auto-focus setting. If the camera doesn't support reading it, or the camera uses a different driver, nothing is marked, and OBS can't tell the slider has no effect. That would match what you see: in auto mode the value is accepted and silently ignored rather than refused.
To tell which case this is, could you run this for the focus camera with auto focus on? (
v4l2-ctlis in thev4l-utilspackage; replaceNwith its number fromv4l2-ctl --list-devices.)and also the output of
uname -r.If
focus_absoluteshowsflags=inactivethere, the bug is on our side and I'll fix it. If it doesn't, the driver isn't reporting it. In that case I'd add a fallback for the standard automatic/manual control pairs the V4L2 API defines: Focus Auto/Focus, Auto White Balance/Temperature, Auto Gain/Gain, Hue Auto/Hue and Auto Exposure/Exposure. That would cover every camera that uses those standard controls, so no more whack-a-mole.alerque commentedon Oct 16, 2026
The inactive flag is there for this camera:
rdoupe commentedon Oct 16, 2026
Thanks, that settles it: the driver marks
focus_absoluteinactive whilefocus_automatic_continuousis on, so the bug is in OBS, not the camera. I'm reproducing it now with a stand-in device that has your camera's exact control list, and will post a PR here when it's ready.rdoupe commentedon Oct 16, 2026
PR: #1054.
A correction to my last two comments: your screenshot is the "Video Capture Device (PipeWire)" source, not the V4L2 one. #895 only changed the V4L2 source. PipeWire doesn't pass the driver's inactive flag on to OBS, so the PipeWire source now greys out a manual control while its automatic partner is on. The pairs come from the V4L2 spec: Focus, Auto Exposure, White Balance (Temperature, Red and Blue Balance) and Hue. That works the same for every camera that uses those standard controls. The same PR also adds the menu controls that were missing from that window, including Auto Exposure and Power Line Frequency.
I'll post here once it's merged, with how to test it.
rdoupe commentedon Oct 16, 2026
#1054 is merged into master. Your screenshot showed what was going on: the focus camera is in a "Video Capture Device (PipeWire)" source (Device, Video Format and Frame Rate, no "Restore camera controls"), not in the V4L2 source that #895 changed. PipeWire passes the camera's controls on to OBS, but not the driver's "inactive" flag, so OBS could not tell that Focus, Absolute does nothing while autofocus is on.
What changed in the PipeWire camera source:
It is in master now, so rebuilding
obs-studio-rust-gitfrom the AUR picks it up. It will also be in the next obs-rust daily release after 0.1.0-beta.20261014: https://github.com/obs-rust/obs-studio/releasesWhen you get a chance, please tick and untick Focus, Automatic Continuous on that camera (the Focus slider should grey out and come back). Then try Auto Exposure between Auto Mode and Manual Mode, and any other auto/manual pair your cameras have. This issue stays open until you confirm.
linux-pipewire: Disable manual camera controls while their automatic …
zackees commentedon Oct 16, 2026
@rdoupe FYI: #385 turned out to be the same PipeWire-vs-V4L2 split. The "Restore camera controls" option only exists in the V4L2 source. I filed #1067 for the PipeWire source; claim it if you want it, I haven't started anything.
alerque commentedon Oct 16, 2026
Thanks, I can confirm the enable/disable seems to be working much more like expected now and the widgets scroll when active and disable when not for the 3 cameras I currently have access too.
There are some other really quirky things going on with the settings widgets that could be cleaned up but that is categorically different than what was originally reported in this issue so I'll open a new issue to track that.
rdoupe commentedon Oct 16, 2026
Thanks for testing on all three cameras. Closing this one as confirmed. I'll pick up the new issue for the other widget quirks when you open it.