Question / Help OBS Studio - Hotkeys do not work when OBS is not selected, help!

MrFrenglish

Member
Hi

So as the title says, I am having an issue. I just installed a second keyboard and was able to create macros for OBS and they work. Except when I dont have OBS studio selected. As soon as I clicked on another window or I start up a game, my hotkeys stop working. I tried running OBS as admin but it is not fixing the issue. I dont know what to do.

I need some help. What am I doing wrong?
Thanks!
 

ugyuu

New Member
Suprisingly, i've got this issue as well while OBS is not the currently-tabbed-in program you're using. I've sadly got no idea how this happened over night, however. Just wanted to tell you that my forum post has.. basically the same problem.
 

MrFrenglish

Member
I guess maybe a log file would help.

18:18:29.290: CPU Name: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
18:18:29.290: CPU Speed: 3518MHz
18:18:29.290: Physical Cores: 4, Logical Cores: 8
18:18:29.290: Physical Memory: 8073MB Total, 2176MB Free
18:18:29.290: Windows Version: 6.1 Build 7601 (revision: 24024; 64-bit)
18:18:29.290: Running as administrator: true
18:18:29.290: Aero is Disabled
18:18:29.291: Portable mode: false
18:18:29.389: OBS 21.1.0 (64bit, windows)
18:18:29.389: ---------------------------------
18:18:29.399: ---------------------------------
18:18:29.399: audio settings reset:
18:18:29.399: samples per sec: 48000
18:18:29.399: speakers: 2
18:18:29.400: ---------------------------------
18:18:29.400: Initializing D3D11...
18:18:29.400: Available Video Adapters:
18:18:29.402: Adapter 1: NVIDIA GeForce GTX 980
18:18:29.402: Dedicated VRAM: 4196532224
18:18:29.402: Shared VRAM: 3964456960
18:18:29.402: output 1: pos={0, 0}, size={1920, 1080}, attached=true
18:18:29.402: output 2: pos={1920, 180}, size={1920, 1080}, attached=true
18:18:29.402: Adapter 2: Intel(R) HD Graphics 4000
18:18:29.402: Dedicated VRAM: 67108864
18:18:29.402: Shared VRAM: 1711276032
18:18:29.402: output 1: pos={-1600, 180}, size={1600, 900}, attached=true
18:18:29.405: Loading up D3D11 on adapter NVIDIA GeForce GTX 980 (0)
18:18:29.422: D3D11 loaded successfully, feature level used: 45056
18:18:30.033: ---------------------------------
18:18:30.033: video settings reset:
18:18:30.033: base resolution: 1920x1080
18:18:30.033: output resolution: 1280x720
18:18:30.033: downscale filter: Lanczos
18:18:30.033: fps: 30/1
18:18:30.033: format: NV12
18:18:30.033: YUV mode: 709/Partial
18:18:30.034: Audio monitoring device:
18:18:30.034: name: Default
18:18:30.034: id: default
18:18:30.034: ---------------------------------
18:18:30.035: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
18:18:30.036: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
18:18:30.051: [AMF] AMF Test failed due to one or more errors.
18:18:30.051: Failed to initialize module 'enc-amf.dll'
18:18:30.067: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
18:18:30.067: LoadLibrary failed for '../../obs-plugins/64bit/libEGL.dll': (null) (127)
18:18:30.067: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
18:18:30.067: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
18:18:30.069: [browser_source: 'Version: 1.31.0']
18:18:30.071: NVENC supported
18:18:30.098: Failed to load 'en-US' text for module: 'replay-source.dll'
18:18:30.100: VLC found, VLC video source enabled
18:18:30.101: No blackmagic support
18:18:30.103: ---------------------------------
18:18:30.103: Loaded Modules:
18:18:30.103: win-wasapi.dll
18:18:30.103: win-mf.dll
18:18:30.103: win-dshow.dll
18:18:30.103: win-decklink.dll
18:18:30.103: win-capture.dll
18:18:30.103: vlc-video.dll
18:18:30.103: text-freetype2.dll
18:18:30.103: rtmp-services.dll
18:18:30.103: replay-source.dll
18:18:30.103: obs-x264.dll
18:18:30.103: obs-vst.dll
18:18:30.103: obs-transitions.dll
18:18:30.103: obs-text.dll
18:18:30.103: obs-qsv11.dll
18:18:30.103: obs-outputs.dll
18:18:30.103: obs-filters.dll
18:18:30.103: obs-ffmpeg.dll
18:18:30.103: obs-browser.dll
18:18:30.103: motion-transition.dll
18:18:30.103: motion-filter.dll
18:18:30.103: image-source.dll
18:18:30.103: frontend-tools.dll
18:18:30.103: enc-amf.dll
18:18:30.103: coreaudio-encoder.dll
18:18:30.103: ---------------------------------
18:18:30.103: ==== Startup complete ===============================================
18:18:30.107: All scene data cleared
18:18:30.107: ------------------------------------------------
18:18:30.124: WASAPI: Device 'Haut-parleurs (Realtek High Definition Audio)' initialized
18:18:30.133: WASAPI: Device 'Microphone (2- AT2020USB+)' initialized
18:18:30.179: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
18:18:31.645: ---------------------------------
18:18:31.645: [DShow Device: 'Webcam'] settings updated:
18:18:31.645: video device: Logitech HD Webcam C270
18:18:31.645: video path: \\?\usb#vid_046d&pid_0825&mi_00#7&38b545bf&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
18:18:31.645: resolution: 640x480
18:18:31.645: fps: 30.00 (interval: 333333)
18:18:31.645: format: I420
18:18:31.767: [Media Source '(null)']: settings:
18:18:31.767: input:
18:18:31.767: input_format: (null)
18:18:31.767: speed: 100
18:18:31.767: is_looping: no
18:18:31.767: is_hw_decoding: yes
18:18:31.767: is_clear_on_media_end: yes
18:18:31.767: restart_on_activate: yes
18:18:31.767: close_when_inactive: no
18:18:31.792: Switched to scene 'Live Screen'
18:18:31.793: ------------------------------------------------
18:18:31.793: Loaded scenes:
18:18:31.793: - scene 'Intro':
18:18:31.793: - source: 'Music' (vlc_source)
18:18:31.793: - source: 'Background (including white square)' (image_source)
18:18:31.793: - source: 'Logo MrFrenglish' (image_source)
18:18:31.793: - source: 'StartingSoon...' (image_source)
18:18:31.793: - source: 'Symbol "F"' (image_source)
18:18:31.793: - source: 'Game Capture' (game_capture)
18:18:31.793: - source: 'SocialMediaPopup' (browser_source)
18:18:31.793: - filter: 'Chroma Key' (chroma_key_filter)
18:18:31.793: - source: 'Webcam' (dshow_input)
18:18:31.793: - filter: 'Chroma Key' (chroma_key_filter)
18:18:31.793: - source: 'Countdown Timer' (browser_source)
18:18:31.793: - source: 'Alerts' (browser_source)
18:18:31.793: - scene 'BRB':
18:18:31.793: - source: 'Music' (vlc_source)
18:18:31.793: - source: 'Background (including white square)' (image_source)
18:18:31.793: - source: 'Logo MrFrenglish' (image_source)
18:18:31.793: - source: 'BeRightBack!' (image_source)
18:18:31.793: - source: 'Symbol "F"' (image_source)
18:18:31.793: - source: 'Game Capture' (game_capture)
18:18:31.793: - source: 'SocialMediaPopup' (browser_source)
18:18:31.793: - filter: 'Chroma Key' (chroma_key_filter)
18:18:31.793: - source: 'Webcam' (dshow_input)
18:18:31.793: - filter: 'Chroma Key' (chroma_key_filter)
18:18:31.793: - source: 'Countdown Timer' (browser_source)
18:18:31.793: - source: 'Alerts' (browser_source)
18:18:31.793: - scene 'Outro':
18:18:31.793: - source: 'Music' (vlc_source)
18:18:31.793: - source: 'SocialMediaBackground' (image_source)
18:18:31.793: - source: 'StreamIsOver' (image_source)
18:18:31.793: - source: 'SocialMediaPopup' (browser_source)
18:18:31.793: - filter: 'Chroma Key' (chroma_key_filter)
18:18:31.793: - source: 'Alerts' (browser_source)
18:18:31.793: - scene 'Live Screen':
18:18:31.793: - source: 'Game Capture' (game_capture)
18:18:31.793: - source: 'SocialMediaPopup' (browser_source)
18:18:31.793: - filter: 'Chroma Key' (chroma_key_filter)
18:18:31.793: - source: 'Webcam' (dshow_input)
18:18:31.793: - filter: 'Chroma Key' (chroma_key_filter)
18:18:31.793: - source: 'Alerts' (browser_source)

Sorry for the long post, I didnt know to make this shorter.
Thanks!
 

MrFrenglish

Member
Okay so I think I have found the problem. But not sur 100%. Atleast its working.

I think the new updates since 20.0 broke something somewhere. I reverted back to 19.0.3 and it works. My hotkeys works when my obs studio window is inactive. However, I tried 21.1 and it wasn't working. I also tried 20.0 and I wasn't working.

I am not sur what could have been changed between 19.0.3 and 20.0 to cause the problem, but I think it is a big problem and I would like to communicate it to one of the developpers. Where can I do that?

Thanks!

EDIT: See below for my "fix"
 
Last edited:

MrFrenglish

Member
Nevermind. Found the issue.

For anyone who is having the same trouble... In your hotkey software (Autohotkey, logitech or razer synapse), make your OBS profile the default one. Worked for me!

Sucks though now, I have to redo all of my reaplug settings because I uninstalled/installed OBS xD. Oh well atleast my problem is fixed. Works for all versions.
 
Top