Open jakobrs opened 4 years ago
Hello, I'm a bot and I thank you in the name of the community for opening this issue.
To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.
The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.
If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.
Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.
faced same issue with installing obs-studio
using nix on ubuntu
obs
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /nix/store/36ij88raz7qfczh9sjagqyafdrdz4hx9-obs-studio-26.1.2/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /nix/store/36ij88raz7qfczh9sjagqyafdrdz4hx9-obs-studio-26.1.2/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
info: CPU Speed: 2550.579MHz
info: Physical Cores: 2, Logical Cores: 4
info: Physical Memory: 15138MB Total, 3679MB Free
info: Kernel Version: Linux 5.4.0-64-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/36ij88raz7qfczh9sjagqyafdrdz4hx9-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: 12082.1 ms
info: ┣OBSApp::AppInit: 2.368 ms
info: ┃ ┗OBSApp::InitLocale: 0.902 ms
info: ┗OBSApp::OBSInit: 99.936 ms
info: ┣obs_startup: 17.981 ms
info: ┗OBSBasic::OBSInit: 9.024 ms
info: ┣OBSBasic::InitBasicConfig: 0.076 ms
info: ┣OBSBasic::ResetAudio: 0.178 ms
info: ┗OBSBasic::ResetVideo: 8.383 ms
info: obs_hotkey_thread(25 ms): min=0.111 ms, median=0.772 ms, max=2.82 ms, 99th percentile=1.357 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.001 ms, median=0.048 ms, max=0.126 ms, 99th percentile=0.087 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.196 ms, median=25.99 ms, max=28.743 ms, 1.30435% within ±2% of 25 ms (0% lower, 98.6957% higher)
info: =================================================
info: Number of memory leaks: 182
I marked this as stale due to inactivity. → More info
Describe the bug Attempting to launch OBS from the Application Launcher results in an error that says "Failed to initialise video. Your GPU may not be supported, or your graphics drivers may need to be updated."
To Reproduce Steps to reproduce the behavior:
nix-env -iA nixpkgs.obs-studio
Expected behavior Not crashing
Screenshots
Additional context Running OBS via "Run in terminal window" works fine.
Logs with list of environment variables: https://gist.github.com/jakobrs/8800492df1c8ed17ca9593dabe34c315. The environment variables that are different are:
Metadata
"x86_64-linux"
Linux 5.6.2, NixOS, 19.09.2350.d011e474945 (Loris)
yes
yes
nix-env (Nix) 2.3.3
"nixos-19.09.2370.e10c65cdb35, nixos-20.03-20.03beta1155.29eddfc36d7, nixos-unstable-20.09pre220217.39247f8d04c, nixos-unstable-small-20.09pre220496.d7b98129fea"
"nixpkgs-20.09pre219796.f601ab37c2f"
/home/jakob/.nix-defexpr/channels/nixpkgs
Maintainer information: