| Summary: | OBS-Studio, Failed to initialize video | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Markus Robert Keßler <mandrake> |
| Component: | RPM Packages | Assignee: | Rémi Verschelde <rverschelde> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | lewyssmith, ouaurelien, vinceff |
| Version: | 7 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | obs-studio-23.1.0-3.mga7.tainted.src.rpm | CVE: | |
| Status comment: | |||
In the package info there's this line:
Packager : daviddavid <daviddavid>
Could you please check? -- Thanks a lot!
Thank you for the report. With my graphics being: Device-1: AMD Wrestler [Radeon HD 7310] vendor: Acer Incorporated ALI driver: radeon v: kernel bus ID: 00:01.0 chip ID: 1002:9809 Display: x11 server: Mageia X.org 1.20.11 driver: ati,radeon,v4l resolution: 1366x768~60Hz s-dpi: 96 OpenGL: renderer: AMD PALM (DRM 2.50.0 / 5.10.45-desktop-2.mga8 LLVM 11.0.1) v: 3.3 Mesa 21.1.3 compat-v: 3.1 direct render: Yes Trying this under M8, obs-studio-26.1.2-1.mga8.tainted, LXDE the application starts OK, but not without errors: 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/themes/Dark.qss Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss 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() + several warnings. Seeing this is for Mageia 7 (at end-of-life), I will try it there. CC:
(none) =>
lewyssmith Well, here I am under M7, obs-studio-23.1.0-3.mga7.tainted, Xfce Graphics: Device-1: AMD Wrestler [Radeon HD 7310] vendor: Acer Incorporated ALI driver: radeon v: kernel bus ID: 00:01.0 chip ID: 1002:9809 Display: x11 server: Mageia X.org 1.20.11 driver: ati,radeon,v4l resolution: 1366x768~60Hz OpenGL: renderer: AMD PALM (DRM 2.50.0 / 5.10.41-desktop-1.mga7 LLVM 8.0.0) v: 3.3 Mesa 20.2.3 compat-v: 3.1 direct render: Yes Once again, it starts OK, with similar errors: 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/themes/Dark.qss Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss 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_program_customContextMenuRequested(QPoint) Attempted path: share/obs/obs-studio/images/overflow.png Attempted path: /usr/share/obs/obs-studio/images/overflow.png + a few warnings. ----------------- Markus, can you please (install it if necessary) post the output of: $ inxi -MSGxx To give more details of your system & graphics. Status:
NEW =>
NEEDINFO System: Host: mga7-64 Kernel: 5.10.43-desktop-1.mga7 x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.14.1 tk: Gtk 3.24.8 wm: xfwm4 dm: LightDM, SDDM Distro: Mageia 7 mga7 Machine: Type: Laptop System: FUJITSU SIEMENS product: LIFEBOOK E8310 v: N/A serial: <root required> Chassis: type: 10 v: E8310 serial: <root required> Mobo: FUJITSU model: FJNB1CE v: 1PCP331350-04 serial: <root required> BIOS: FUJITSU // Phoenix v: Version 1.13 date: 05/19/2008 Graphics: Device-1: Intel Mobile GM965/GL960 Integrated Graphics vendor: Fujitsu Limited. driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:2a02 Display: x11 server: Mageia X.org 1.20.11 driver: intel,v4l resolution: 1920x1080~60Hz OpenGL: renderer: Mesa DRI Intel 965GM (CL) v: 2.1 Mesa 20.2.3 direct render: Yes Thank you for this information. To recap the original fault:
> info: Initializing OpenGL...
> error: X Error: GLXBadFBConfig, Major opcode: 152, Minor opcode: 34, Serial: 25
> 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.
Copying Aurélien who is more familiar with this area.
What is your view on upgrading to Mageia 8? You will have to in order to receive support (Mageia 7 is finishing). And to see whether this problem still happens.Status:
NEEDINFO =>
NEW Hi, moving to the new distro is a good point, for sure. I plan to do so, as soon as time permits. But, to say it honestly: It is annoying having to do a complete reinstall once per year. It would be better to have a "long term support", LTS installation, as ubuntu and others have. There are several packages not available or not fully supported in MGA, so, it always eats up a lot of time to rebuild these rpms (vpnc with AVM support etc.) to finally have a fully working installation again. Thanks for understanding. Best regards, Markus Off topic: LTS version is in pipeline. Are you sure OBS runs well on this system before? Such warning: > info: Initializing OpenGL... > error: X Error: GLXBadFBConfig, Major opcode: 152, Minor opcode: 34, Serial: 25 > 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. This is not encouraging. For this particular issue, it seems OBS can't run on your Intel integrated graphic chip. For as far as I see in comment 4, you have the latest Mesa stack for Mageia7 installed, not the latest kernel. Perhaps, try fully updating Mageia 7 to latest kernel. Also, adding some useful user view of OBS. CC:
(none) =>
vinceff I should have added this OpenGL bit of console O/P from my own M7 system where OBS does work: info: --------------------------------- info: Initializing OpenGL... info: Loading up OpenGL on adapter X.Org AMD PALM (DRM 2.50.0 / 5.10.45-desktop-2.mga7, LLVM 8.0.0) info: OpenGL loaded successfully, version 3.3 (Core Profile) Mesa 20.2.3, shading language 3.30 which supports the sad conclusion of Aurélien above: "it seems OBS can't run on your Intel integrated graphic chip". However, this is worth a try: install if necessary 'glmark2', and try it: $ glmark2 If that works, the problem certainly seems to be with obs-studio. CC'ing akien for his opinion, despite the lateness of the day for M7. @Markus I had checked that our Mesa versions are the same; but not noticed the kernel difference: - you Kernel: 5.10.43-desktop-1.mga7 x86_64 bits - me 5.10.45-desktop-2.mga7 So certainly worth "try fully updating Mageia 7 to latest kernel". In reply to your comment 6, you should be thinking *upgrade*, not "complete reinstall". This can preserve adaptations. Ideally, back up the Mageia system partition entirely beforehand in such a way that you can restore it - both necessarily from another system. CC:
(none) =>
rverschelde Hi,
trying to install glmark2 this requisits to install either nvidia-nsight or lib64png12_0.
Selecting nvidia-nsight prior to glmark2, the command stops instantly:
glmark2: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
When selecting lib64png12_0 for glmark2, the command runs, it opens a graphics window and shows a rotating horse and then a rotating wooden box, but after that glmark crashes:
=======================================================
glmark2 2017.07
=======================================================
OpenGL Information
GL_VENDOR: Intel Open Source Technology Center
GL_RENDERER: Mesa DRI Intel(R) 965GM (CL)
GL_VERSION: 2.1 Mesa 20.2.3
=======================================================
[build] use-vbo=false: FPS: 63 FrameTime: 15.873 ms
[build] use-vbo=true: FPS: 70 FrameTime: 14.286 ms
[texture] texture-filter=nearest: FPS: 69 FrameTime: 14.493 ms
[texture] texture-filter=linear: FPS: 69 FrameTime: 14.493 ms
Speicherzugriffsfehler (Speicherabzug geschrieben)
/* German for "coredump"... */
BR
Sorry, forgot to mention: kernel is now 5.10.45-desktop-2.mga7 Thanks for these extra efforts. Strange that installing glmark2 with your Intel video should offer an nVidia dependency. You ended up chosing the sensible one. The fact that glmark2 soon crashed is not a good sign, suggesting that openGL is not happy with your video system. We may have to change the bug direction to that. I see no choice but to assign this initially to akien, but do not be surprised if he says "Upgrade to Mageia 8 and revisit this". The bug can then be carried forward to M8 by: - changing the version to 8 - updating the SRPM ID appropriately. Assignee:
bugsquad =>
rverschelde Mageia 7 is EOL since July 1st 2021. There will not have any further bugfix for this release. You are encouraged to upgrade to Mageia 8 as soon as possible. @reporter, if this bug still apply with Mageia 8, please let us know it. @packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead. This bug report will be closed OLD if there is no further notice within 1st September 2021. Hi bug reporter and hi assignee and others involved, Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly. This report is being closed as OLD because it was filed against Mageia 7, for which support ended on June 30th 2021. Thanks, Marja Status:
NEW =>
RESOLVED |
Description of problem: OBS-Studio refuses to start due to graphics driver issue: <quote> 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/de-DE.ini Attempted path: /usr/share/obs/obs-studio/locale/de-DE.ini info: Using preferred locale 'de-DE' 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)2 Duo CPU T8100 @ 2.10GHz info: CPU Speed: 1228.797MHz info: Physical Cores: 2, Logical Cores: 2 info: Physical Memory: 3926MB Total, 2266MB Free info: Kernel Version: Linux 5.10.43-desktop-1.mga7 info: Distribution: "Mageia" 7 info: Window System: X11.0 - vendor string: Mageia - vendor release: 12011000 info: Portable mode: false 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_program_customContextMenuRequested(QPoint) info: OBS 23.1.0 (linux) info: --------------------------------- info: --------------------------------- info: audio settings reset: samples per sec: 44100 speakers: 2 info: --------------------------------- info: Initializing OpenGL... error: X Error: GLXBadFBConfig, Major opcode: 152, Minor opcode: 34, Serial: 25 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. </quote> If of interest: 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 03) 00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) (rev 03) How reproducible: Always Steps to Reproduce: 1. urpmi obs-studio 2. start obs via start menu or via shell 3.