Question / Help Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.

#1
It used to work fine when I havn't installed GPU drivers.
After installing GPU drivers, it just showed a dialog and said "Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated."
But wait, I just installed the newest version of graphcis drivers!

I have tried install Vulkan OpenCL OpenGL drivers, reboot, reinstall OBS and reinstall system and graphics drivers, they all didn't work.

I tried to find something online, but i couldn't find the right solution, I'm sorry. :(

So what am I gonna do?


System Information:
Base Feature Support
  • Supported APIs:
    • OpenGL 4.5 and GLX 1.4
    • OpenCL™1.2 (not supported for 1st generation GCN products)
    • Vulkan™ 1.1
    • VDPAU/VAAPI
  • Basic display features
  • Basic power management features
    • Note: AMD does not perform QA validation for S4 (hibernation) function as it is highly platform dependent.
  • KMS (Kernel Mode Setting) and ADF (Atomic Display Framework) support
  • GPL compliant kernel module
  • AMD FirePro™ Features (EDID Management and 30-bit color)
  • FreeSync support (Please refer to this FAQ for more information)
  • DirectGMA for OpenGL
  • Install script and native packages for all supported operating systems
(From AMD website)
 

Narcogen

Active Member
#2
I believe I read earlier this week that you have to use OpenGL because Vulkan is not yet supported. Aside from that-- perhaps the error is because the driver is too new? Maybe rollback?
 
#4
I believe I read earlier this week that you have to use OpenGL because Vulkan is not yet supported. Aside from that-- perhaps the error is because the driver is too new? Maybe rollback?
Actually I installed the OpenGL driver first and it didn't work and then I installed the Vulkan.
I have also tried a 4-month-old driver and the same things happened.
 
#5
from the terminal
"glxinfo | grep OpenGL"
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Radeon RX Vega
OpenGL core profile version string: 4.6.13529 Core Profile Context 18.20.2.15
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.13529 Compatibility Profile Context 18.20.2.15
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: 4.5.13529 Compatibility Profile Context 18.20.2.15
OpenGL ES profile shading language version string: 4.50
OpenGL ES profile extensions:
 

Harold

Active Member
#7
You probably installed the snap store version of OBS which does things we don't support.

Reinstall using the official PPA.
 
#8
from the terminal
"glxinfo | grep OpenGL"

And post the session log from ~/.config/obs-studio/logs
Oh I did find something here:
"~/snap/obs-studio/55/.config/obs-studio/logs/2018-06-20 21-05-33.txt"
21时05分33秒.222: CPU Name: AMD Ryzen 7 1800X Eight-Core Processor
21时05分33秒.222: CPU Speed: 3252.420MHz
21时05分33秒.223: Physical Cores: 8, Logical Cores: 16
21时05分33秒.223: Physical Memory: 24114MB Total, 20118MB Free
21时05分33秒.223: Kernel Version: Linux 4.15.0-23-generic
21时05分33秒.223: Distribution: "Ubuntu Core" "16"
21时05分33秒.238: Portable mode: false
21时05分33秒.332: OBS 21.1.2-modified (linux)
21时05分33秒.332: ---------------------------------
21时05分33秒.332: ---------------------------------
21时05分33秒.332: audio settings reset:
21时05分33秒.332: samples per sec: 44100
21时05分33秒.332: speakers: 2
21时05分33秒.364: ---------------------------------
21时05分33秒.364: Initializing OpenGL...
21时05分34秒.599: X Error: GLXBadFBConfig
21时05分34秒.599: Failed to create OpenGL context.
21时05分34秒.599: Failed to create context!
21时05分34秒.599: device_create (GL) failed
21时05分34秒.602: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
21时05分37秒.616: Freeing OBS context data
21时05分37秒.618: == Profiler Results =============================
21时05分37秒.618: run_program_init: 5682.74 ms
21时05分37秒.618: ┣OBSApp::AppInit: 68.266 ms
21时05分37秒.618: ┃ ┗OBSApp::InitLocale: 19.415 ms
21时05分37秒.618: ┗OBSApp::OBSInit: 1520.41 ms
21时05分37秒.618: ┣obs_startup: 34.954 ms
21时05分37秒.618: ┗OBSBasic::OBSInit: 1270.11 ms
21时05分37秒.618: ┣OBSBasic::InitBasicConfig: 0.074 ms
21时05分37秒.618: ┣OBSBasic::ResetAudio: 0.111 ms
21时05分37秒.618: ┗OBSBasic::ResetVideo: 1266.8 ms
21时05分37秒.618: obs_hotkey_thread(25 ms): min=0.053 ms, median=0.088 ms, max=123.258 ms, 99th percentile=8.132 ms, 99.4012% below 25 ms
21时05分37秒.618: audio_thread(Audio): min=0 ms, median=0.008 ms, max=0.033 ms, 99th percentile=0.029 ms
21时05分37秒.618: =================================================
21时05分37秒.618: == Profiler Time Between Calls ==================
21时05分37秒.618: obs_hotkey_thread(25 ms): min=25.112 ms, median=25.167 ms, max=148.35 ms, 93.9759% within ±2% of 25 ms (0% lower, 6.0241% higher)
21时05分37秒.618: =================================================
21时05分37秒.619: Number of memory leaks: 172
 

Attachments

Top