-
#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:
- OS: Ubuntu 18.04 LTS amd64
- CPU: AMD Ryzen 7 1800X (with overclock to 3.75GHz)
- GPU: AMD Radeon RX Vega 64 Liquid Cooled
- RAM: 24GB
- Available Disk Space: At least 2TB
- GPU Driver: Official Radeon Software for Linux 18.20
which you can find at https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx
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)
-
#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?
-
#3
from the terminal
«glxinfo | grep OpenGL»
And post the session log from ~/.config/obs-studio/logs
-
#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:
-
#6
And post the session log from ~/.config/obs-studio/logs
But im sorry, I can’t even find «obs-studio» from «~/.config/», I’m not sure why.
-
#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
-
2018-06-16 19-19-59.txt
2.3 KB · Views: 342
-
2018-06-20 21-05-33.txt
2.4 KB · Views: 198
-
#9
You probably installed the snap store version of OBS which does things we don’t support.
Reinstall using the official PPA.
Yep, I have just found that and I will try the apt one, thanks for your help!
-
#10
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?
You probably installed the snap store version of OBS which does things we don’t support.
Reinstall using the official PPA.
OK, it finally works! I really appreaciate your helps.
-
#11
try this command
LIBGL_ALWAYS_SOFTWARE=1 obs-studio
or:
For Mint cinnamon working but with:
LIBGL_ALWAYS_SOFTWARE=1 obs
-
#12
try this command
LIBGL_ALWAYS_SOFTWARE=1 obs-studio
or:
For Mint cinnamon working but with:
LIBGL_ALWAYS_SOFTWARE=1 obs
That worked on my lubuntu 0.14.1 build on Ubuntu 19.10. But I need to enter that command every time I wanna open obs.
-
#13
[QUOTE = «kksmash, postagem: 428868, membro: 221011»]
Isso funciona no meu lubuntu 0.14.1 compilado no Ubuntu 19.10. Mas preciso digitar esse comando toda vez que quiser abrir obs.
[/ CITAR]
você pode criar um (bash) eu fiz isso e depois um atalho.
-

Screen Capture_20200224234349.png
329.5 KB · Views: 608
-
#14
That worked on my lubuntu 0.14.1 build on Ubuntu 19.10. But I need to enter that command every time I wanna open obs.
You can edit OBS desktop entry and add LIBGL_ALWAYS_SOFTWARE variable for regular launch (instead terminal launch)
1 — Edit desktop entry. «sudo vi /usr/share/applications/com.obsproject.Studio.desktop» in my system. check yours
2 — locate Exec line. «Exec=obs» in my system
3 — Add env variable before command. «Exec=env LIBGL_ALWAYS_SOFTWARE=1 obs»
4 — save and done
-
#15
That worked on my lubuntu 0.14.1 build on Ubuntu 19.10. But I need to enter that command every time I wanna open obs.
En mi caso he modificado en: Menú principal -> Aplicaciones -> Sonido y vídeo -> OBS Studio -> Propiedades -> Command
Reemplazar: obs
Por: env LIBGL_ALWAYS_SOFTWARE=1 obs
Aceptar
Cerrar Menú principal
-
#16
Created an account just to say that I got this error on Pop OS! 20.04. After 30 minutes of chasing my tail, I found a little Zoom window that said «opening Zoom…» which was apparently the cause. Once that window was closed, OBS opened up like a champ again. *sigh*
-
#17
I need help for problem:
Initializing OpenGL…
15:35:12.062: ARB_GLX_create_context not supported!
15:35:12.062: Failed to create context!
15:35:12.062: device_create (GL) failed
15:35:12.063: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.

Follow the instructions below
Update Graphics Driver
Make sure to update your GPU driver. In case you’re using an NVIDIA graphics card, then I suggest using the GeForce Experience application. But you can also use the AMD driver suite. In the drivers tab, select Download and the application will automatically download and install the latest driver.
DirectX Diagnostic Tool
In case the error persists, then make sure that you’re running the latest DirectX version. On windows 10, DirectX 11.3 and 12 are installed through windows update. Search for DxDiag and hit enter to open up your diagnosis tool, where you can preview your DirectX version. In case you’re running DirectX 10 or below, then you will have to make sure that your operating system is up to date.
Windows Update
Search for Update in your start menu search to open up your Check for Updates system settings window. Make sure to download the latest update and restart your PC when it’s done downloading.
Roll Back Driver
In case the issue persists, then you will have to roll back the graphics driver. Search for Device Manager to open it up. On this window, expand the Display Adapters. Double-click the graphics card you are using, and in the Driver tab, select to Roll Back Driver.
Can you provide the output with
LIBGL_DEBUG=verboseon? I just recently encountered similar problems with libGL on non-nixos hosts (with other applications though).
Sure, here’s that output:
[nix-shell:~]$ LIBGL_DEBUG=verbose obs
Gtk-Message: 16:07:07.119: Failed to load module "canberra-gtk-module"
Gtk-Message: 16:07:07.119: Failed to load module "canberra-gtk-module"
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /nix/store/3is681b8kr89gcgmdamp6b0xbyi8cdsi-obs-studio-26.1.2/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /nix/store/3is681b8kr89gcgmdamp6b0xbyi8cdsi-obs-studio-26.1.2/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /nix/store/3is681b8kr89gcgmdamp6b0xbyi8cdsi-obs-studio-26.1.2/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz
info: CPU Speed: 1632.792MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 11978MB Total, 7599MB Free
info: Kernel Version: Linux 5.4.0-72-generic
info: Distribution: "Ubuntu" "20.04"
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.9
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /nix/store/3is681b8kr89gcgmdamp6b0xbyi8cdsi-obs-studio-26.1.2/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_actionGridMode_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
QMetaObject::connectSlotsByName: No matching signal for on_transitionRemove_clicked()
info: OBS 26.1.2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
info: ---------------------------------
info: Initializing OpenGL...
error: ARB_GLX_create_context not supported!
error: Failed to create context!
error: device_create (GL) failed
error: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
No XVisualInfo for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
Falling back to using screens root_visual.
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 4111.61 ms
info: ┣OBSApp::AppInit: 2.47 ms
info: ┃ ┗OBSApp::InitLocale: 1.04 ms
info: ┗OBSApp::OBSInit: 101.542 ms
info: ┣obs_startup: 21.487 ms
info: ┗OBSBasic::OBSInit: 15.685 ms
info: ┣OBSBasic::InitBasicConfig: 0.113 ms
info: ┣OBSBasic::ResetAudio: 0.188 ms
info: ┗OBSBasic::ResetVideo: 15.338 ms
info: obs_hotkey_thread(25 ms): min=0.174 ms, median=0.715 ms, max=2.272 ms, 99th percentile=2.013 ms, 100% below 25 ms
info: audio_thread(Audio): min=0 ms, median=0.02 ms, max=0.044 ms, 99th percentile=0.035 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.278 ms, median=25.851 ms, max=27.402 ms, 14.094% within ±2% of 25 ms (0% lower, 85.906% higher)
info: =================================================
info: Number of memory leaks: 200
[nix-shell:~]$
Today,I have to upload something, and for that I want to film he footage using obs-stuio (I use arch-linux 5.9.4) . But when running it, I encountered this problem:
error: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
I ran it with LibGL (LIBGL_ALWAYS_SOFTWARE=1 obs):
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
info: CPU Speed: 814.739MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 7808MB Total, 4720MB Free
info: Kernel Version: Linux 5.9.3-arch1-1
info: Distribution: "Arch Linux" Unknown
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.9
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_actionGridMode_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
QMetaObject::connectSlotsByName: No matching signal for on_transitionRemove_clicked()
info: OBS 26.0.2-2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
info: ---------------------------------
info: Initializing OpenGL...
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
error: X Error: GLXBadFBConfig, Major opcode: 152, Minor opcode: 34, Serial: 18
error: Failed to create OpenGL context.
error: Failed to create context!
error: device_create (GL) failed
error: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 10796.1 ms
info: ┣OBSApp::AppInit: 1.518 ms
info: ┃ ┗OBSApp::InitLocale: 0.535 ms
info: ┗OBSApp::OBSInit: 146.086 ms
info: ┣obs_startup: 23.388 ms
info: ┗OBSBasic::OBSInit: 54.484 ms
info: ┣OBSBasic::InitBasicConfig: 0.057 ms
info: ┣OBSBasic::ResetAudio: 0.131 ms
info: ┗OBSBasic::ResetVideo: 54.243 ms
info: obs_hotkey_thread(25 ms): min=0.194 ms, median=0.828 ms, max=1.749 ms, 99th percentile=1.157 ms, 100% below 25
info: audio_thread(Audio): min=0.009 ms, median=0.048 ms, max=0.129 ms, 99th percentile=0.078 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.26 ms, median=26.153 ms, max=26.898 ms, 1.47059% within ±2% of 25 ms (0% lower
info: =================================================
info: Number of memory leaks: 222
And I am really confused as what to do next.
My graphics card (as described by lspci -k | grep -A 2 -E «(VGA|3D)») is VGA. more specifically, running that command would prompt me:
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake)
DeviceName: VGA
Subsystem: ASUSTeK Computer Inc. Device 1591
Kernel driver in use: i915
Please do note that only a week ago I used this software without any problems.
Today,I have to upload something, and for that I want to film he footage using obs-stuio (I use arch-linux 5.9.4) . But when running it, I encountered this problem:
error: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
I ran it with LibGL (LIBGL_ALWAYS_SOFTWARE=1 obs):
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
info: CPU Speed: 814.739MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 7808MB Total, 4720MB Free
info: Kernel Version: Linux 5.9.3-arch1-1
info: Distribution: "Arch Linux" Unknown
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.9
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_actionGridMode_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
QMetaObject::connectSlotsByName: No matching signal for on_transitionRemove_clicked()
info: OBS 26.0.2-2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
info: ---------------------------------
info: Initializing OpenGL...
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
error: X Error: GLXBadFBConfig, Major opcode: 152, Minor opcode: 34, Serial: 18
error: Failed to create OpenGL context.
error: Failed to create context!
error: device_create (GL) failed
error: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 10796.1 ms
info: ┣OBSApp::AppInit: 1.518 ms
info: ┃ ┗OBSApp::InitLocale: 0.535 ms
info: ┗OBSApp::OBSInit: 146.086 ms
info: ┣obs_startup: 23.388 ms
info: ┗OBSBasic::OBSInit: 54.484 ms
info: ┣OBSBasic::InitBasicConfig: 0.057 ms
info: ┣OBSBasic::ResetAudio: 0.131 ms
info: ┗OBSBasic::ResetVideo: 54.243 ms
info: obs_hotkey_thread(25 ms): min=0.194 ms, median=0.828 ms, max=1.749 ms, 99th percentile=1.157 ms, 100% below 25
info: audio_thread(Audio): min=0.009 ms, median=0.048 ms, max=0.129 ms, 99th percentile=0.078 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.26 ms, median=26.153 ms, max=26.898 ms, 1.47059% within ±2% of 25 ms (0% lower
info: =================================================
info: Number of memory leaks: 222
And I am really confused as what to do next.
My graphics card (as described by lspci -k | grep -A 2 -E «(VGA|3D)») is VGA. more specifically, running that command would prompt me:
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (Whiskey Lake)
DeviceName: VGA
Subsystem: ASUSTeK Computer Inc. Device 1591
Kernel driver in use: i915
Please do note that only a week ago I used this software without any problems.
arch, driver, intel, obs, screen
0
1
«Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated»
Можете в качестве альтернативы предложить замену, правда не считаю, что полноценная найдётся.
Также слышал, что можно править через конфиги, но не знаю как
- Ссылка
![]()
Возможно процессор слишком новый для твоего ядра. Ставь новое ядро для начала.
А вообще без подробностей, что за видео (процессор), дистрибутив и ядро сложно чего-то сказать
anonymous
(18.09.20 21:43:19 MSK)
- Показать ответ
- Ссылка
![]()
![]()
Ответ на:
комментарий
от anonymous 18.09.20 21:43:19 MSK
![]()
![]()
Re: Arch уже был указан в тегах
тебе дали ссылки на статьи в Arch Wiki по теме.
здесь перечислены почти все имеющие это название. твой который?
по простому
- ноутбук -> производитель модель
- пк – цпу Intel …
anonymous
(19.09.20 21:15:24 MSK)
- Показать ответ
- Ссылка
![]()
Apollo Lake
Основная статья: Goldmont
https://en.wikipedia.org/wiki/Goldmont
Intel HD Graphics 500 (Мобильные и Настольные процессоры) – GT1: 12 исполнительных устройств,базовая частота 200-250 МГц,производительность до 144,0 GFLOPS на частоте 750 МГц
Lenovo B560 — ноутбук
- Показать ответ
- Ссылка
Ответ на:
комментарий
от MelomanIk 19.09.20 21:26:56 MSK
![]()
Переверни там снизу наклейка на ней модель указана.
А то троллишь
anonymous
(19.09.20 22:09:48 MSK)
- Показать ответ
- Ссылка

Ответ на:
комментарий
от greenman 20.09.20 04:33:08 MSK
![]()
Ответ на:
комментарий
от anonymous 19.09.20 22:09:48 MSK
![]()
Аноним
Я точно знаю модель видюхи, уже упоминал
- Ссылка
![]()
А что ставили, кроме mesa?
- Ссылка
Ответ на:
Нет
от MelomanIk 21.09.20 20:41:49 MSK

всё указано в вопросе
Это тебе кажется, что всё ясно написано. Многие поняли, что у тебя арч не загружается.
greenman ★★★★★
(22.09.20 03:58:24 MSK)
Последнее исправление: greenman 22.09.20 04:13:18 MSK
(всего
исправлений: 1)
- Ссылка
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
I recently installed OBS Studio under Ubuntu 20.04 LTS on my laptop (a Lenovo Thinkpad T410). While I didn’t encounter any issue during the installation, I am unable to run OBS Studio itself, as I keep running into the following error:
Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
In order to provide you with all the necessary details, here is the complete console output of the obs command:
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/locale/fr-FR.ini
Attempted path: /usr/share/obs/obs-studio/locale/fr-FR.ini
info: Using preferred locale 'fr-FR'
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz
info: CPU Speed: 1548.597MHz
info: Physical Cores: 2, Logical Cores: 4
info: Physical Memory: 3733MB Total, 228MB Free
info: Kernel Version: Linux 5.4.0-52-generic
info: Distribution: "Ubuntu" "20.04"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.8
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_actionGridMode_triggered()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
QMetaObject::connectSlotsByName: No matching signal for on_transitionRemove_clicked()
info: OBS 26.0.2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
samples per sec: 48000
speakers: 2
info: ---------------------------------
info: Initializing OpenGL...
error: X Error: GLXBadFBConfig, Major opcode: 152, Minor opcode: 34, Serial: 29
error: Failed to create OpenGL context.
error: Failed to create context!
error: device_create (GL) failed
error: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 2009,26 ms
info: ┣OBSApp::AppInit: 9,107 ms
info: ┃ ┗OBSApp::InitLocale: 4,805 ms
info: ┗OBSApp::OBSInit: 241,855 ms
info: ┣obs_startup: 20,295 ms
info: ┗OBSBasic::OBSInit: 54,346 ms
info: ┣OBSBasic::InitBasicConfig: 0,672 ms
info: ┣OBSBasic::ResetAudio: 0,257 ms
info: ┗OBSBasic::ResetVideo: 52,276 ms
info: obs_hotkey_thread(25 ms): min=0,129 ms, median=0,325 ms, max=15,866 ms, 99th percentile=15,866 ms, 100% below 25 ms
info: audio_thread(Audio): min=0,021 ms, median=0,042 ms, max=0,086 ms, 99th percentile=0,086 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25,215 ms, median=25,444 ms, max=40,983 ms, 64,4068% within ±2% of 25 ms (0% lower, 35,5932% higher)
info: =================================================
info: Number of memory leaks: 178
After searching the issue, it appears my problem is that I have a too old OpenGL version (2.1). While my GPU (integrated; my CPU being Intel i5 M520) isn’t cutting-edge, it doesn’t seem to be too old for OBS Studio because I also installed the same program on my Windows 10 (as my laptop is a dual boot) and I had no issue running it to capture from my webcam or from an opened window.
However, I have a hard time finding out how I can upgrade my OpenGL version under Ubuntu 20.04. My best attempt was to get a more up-to-date version of the Mesa 3D library via the kisak-mesa PPA, but while it upgraded my version of Mesa, it didn’t change the OpenGL version. Here is what I get when I run the glxinfo | grep "OpenGL version" command:
OpenGL version string: 2.1 Mesa 20.2.1 - kisak-mesa PPA
On a side note, I also had a look at the Additional drivers tab in Softwares & Updates, but this tab is completely empty in my case and doesn’t suggest any driver that could improve my current situation.
What could I do to this fix ? Another recent question suggests installing OBS Studio via snap, but despite trying that, I get the same issue as before.
Many thanks in advance for your help.
NVIDIA NVENC — это функция видеокарт NVIDIA, которая позволяет выполнять некоторые задачи, включая кодирование видео, но некоторые пользователи OBS Studio сообщают об ошибках NVENC.
Благодаря этой функции он переносит ресурсоемкую задачу с ЦП на определенную часть графического процессора.
Кроме того, полезно знать, что многие программы для прямой трансляции и записи, например vMix, Wirecast, Open Broadcaster и Bandicam, поддерживают кодировщик.
Кроме того, NVIDIA Encoder позволяет вам записывать свои игры и делиться ими. Это включено в программное обеспечение NVIDIA GeForce Experience.
В этой статье мы объясним, как вы можете решить все ошибки OBS Studio NVENC, с которыми вы можете столкнуться при использовании OBS.
Как включить аппаратное кодирование (NVENC) в OBS?
- Запустите OBS, нажмите «Файлы», затем выберите «Настройки».

- Затем выберите «Вывод» (расположен в боковом меню).

- Наконец, щелкните NVENC H.264 в окне, которое открывается в раскрывающемся списке кодировщика, чтобы включить аппаратное кодирование.
Если вы спрашиваете, что такое кодек NVENC, это инструмент для аппаратного кодирования, доступный в версиях OBS для Mac и Windows.
Но для лучшего результата разработчики рекомендуют использовать кодировку на компьютерах под управлением Windows.
Кроме того, его лучше всего использовать с графическими процессорами NVIDIA. Аппаратное кодирование доступно на картах NVIDIA с начала 2012 года.
Как я могу исправить ошибки OBS NVENC?
1. Исправить ошибку OBS Studio NVENC неподдерживаемое устройство
- Сначала откройте программу OBS.
- Нажмите «Файл» и перейдите в «Настройки».

- Перейдите на вкладку «Вывод».

- Затем найдите потоковую коробку.
- Нажмите на кодировщик и измените его на Quicksync (QSV) или x264 вместо NVENC.

- Наконец, выберите ОК.
2. Исправьте ошибку OBS NVENC: слишком много одновременных сеансов.

Ошибка OBS NVENC, которая говорит, что у вас слишком много одновременных сеансов, означает, что у вас больше одновременных сеансов кодирования, чем поддерживает ваш графический процессор.
Современные драйверы графического процессора могут поддерживать до трех сеансов, в то время как старые драйверы ограничиваются двумя сеансами. Если вы считаете, что у вас не так много одновременных сеансов, перезагрузите компьютер.
3. Исправить ошибку OBS NVENC не удалось: 8

Полное сообщение об ошибке для этой проблемы сопровождается спецификацией NV_ENC_ERR_INVALID_PARAM.
Причина этой ошибки в том, что NVENC не поддерживает разрешения выше 4096 по самой большой стороне и не может ничего захватить или показать.
Вы должны установить выходное разрешение ниже 4096 по наибольшей стороне. Базовое (холстовое) разрешение может быть больше, чем выходное (масштабированное), если вам это нужно.
4. Исправить ошибку инициализации кодировщика OBS NVENC.
- Щелкните правой кнопкой мыши кнопку «Пуск» и выберите «Диспетчер устройств» из списка.

- Разверните раздел «Видеоадаптеры», щелкните правой кнопкой мыши драйвер NVIDIA и выберите «Обновить драйвер».

- Нажмите «Автоматический поиск драйверов», и система выполнит поиск лучшего драйвера.

Чтобы исправить ошибку кодировщика Init, вам необходимо обновить драйвер NVIDIA до последней версии.
Если приведенного выше решения недостаточно, посетите раздел загрузки драйверов NVIDIA и получите последнюю версию драйвера с их веб-сайта.
Обязательно получите соответствующую версию для вашего оборудования. В противном случае вы рискуете получить другие графические ошибки и системные проблемы, такие как BSoD.
Чтобы избежать этого, используйте такой инструмент, как DriverFix, который определяет используемое вами оборудование и автоматически загружает соответствующие драйверы.
Кроме того, замена nvEncodeAPI.dll, расположенной в следующем каталоге, предыдущими версиями этого DLL-файла может помочь исправить ошибки OBS Studio NVENC:C:WindowsSysWow64
Для этого вам нужно загрузиться в безопасном режиме. Предыдущие версии nvEncodeAPI.dll можно найти по следующему адресу:C:WindowsSystem32DriverStoreFileRepositorynv_disp.inf_amd64_neutral_
5. Исправьте неверный параметр ошибки OBS NVENC.
Максимальное разрешение, к которому вы можете стремиться в NVENC h.264, составляет 4096 × 4096. Однако NVENC h.265 поддерживает разрешение до 8192×8192 пикселей.
Дело в том, что стриминговые сервисы не поддерживают h.265. Вы можете использовать его только с выходом FFmpeg OBS. Итак, вы собираетесь пойти на 4096 в основном.
6. Исправлен кодек OBS NVENC: функция не реализована
- Перейдите в значок «Файл» и нажмите «Настройки», чтобы открыть его.

- На вашем экране откроется окно настроек; теперь выберите вкладку «Вывод».

- После этого найдите потоковую коробку.

- Нажмите на Encoder и измените его на Software вместо NVENC.
- Теперь нажмите ОК.
Как я могу исправить перегрузку кодирования OBS NVENC?
Одним из решений, которое может исправить эту ошибку OBS NVENC, является снижение частоты кадров. Если вы снимаете с высокой частотой кадров (от 48 до 60), могут возникать задержки.
Это может произойти по ряду причин. Однако основная причина заключается в том, что ваш графический процессор не может отображать как саму игру, так и видео, которое вы транслируете.
- Сначала откройте «Настройки» и нажмите «Видео».

- Есть раздел Common FPS Values. Выберите его и выберите 30 или меньше.

- Затем нажмите «ОК» и закройте OBS. Теперь перезагрузите компьютер и проверьте свой поток, чтобы увидеть, появляется ли ошибка снова.
Если вы не обновили свои драйверы в OBS NVENC после открытия NVIDIA GEFORCE EXPERIENCE, щелкните драйверы и обновите их. Не забудьте после этого перезагрузить компьютер.
Вы также можете использовать ICQ в качестве контроля скорости и установить значение качества ICQ от 20 (лучшее качество, файлы большего размера) до 23 (ухудшенное качество, файлы меньшего размера).
Помните, что OBS использует потрясающую библиотеку кодирования видео с открытым исходным кодом — x264. Вы можете установить предустановку кодировщика x264 на сверхбыструю, чтобы снизить нагрузку на ЦП.
Сообщите нам, какое решение вы использовали для успешного устранения проблем OBS Studio NVENC в разделе комментариев ниже.