Closed awb99 closed 10 months ago
@awb99 looking at information you provided
this works for me
cd nixpkgs
git checkout 1eeea1f1922
nix-build vscodium
./result/bin/codium --verbose
but looking at your logs there are a lot of errors, maybe first one to focus on, is dbus not running ?
can you also confirm what package of vscodium you are using and from what version of nixpkgs (just in case)
codium --version 1.75.0 d48b950f7741008f7fb375881b45188dd73ecac4 x64
nix-env --version nix-env (Nix) 2.5.1
There is no /run/dbus folder. I believe guix starts dbus with GNOME desktop.
perhaps it is looking to start on opengl ?
`
➜ infra-guix git:(main) neofetch
.. . florian@gram2022
--....` `..
..------------------ .-:///-:::.
-:::///:-. OS: Guix System x86_64
.:::` `:::.
Host: 17Z90Q-K.AAC7U1 0.1
-//:-::- Kernel: 6.1.15 ://: -::- Uptime: 13 hours, 15 mins
///- .:::Packages: 206 (guix-system), 8 (guix-user), 222 (nix-user), 8 (flatpak) -+++-:::. Shell: zsh 5.8.1 :+/:::- Resolution: 2560x1600
-....` DE: GNOME 42.4
WM: Mutter
Terminal: .kgx-real
CPU: 12th Gen Intel i7-1260P (16) @ 4.700GHz
GPU: Intel Device 46a6
Memory: 3290MiB / 15726MiB
`
perhaps it is looking to start on opengl ?
`
➜ infra-guix git:(main) neofetch ... florian@gram2022 `` --..```.. `` `` ..```..-- `` ---------------- .-:///-:::. `` -:::///:-. OS: Guix System x86_64 ````.::: `` `` :::.```` Host: 17Z90Q-K.AAC7U1 0.1 -//: `` -::- Kernel: 6.1.15 ://: -::- Uptime: 13 hours, 15 mins
///- .:::Packages: 206 (guix-system), 8 (guix-user), 222 (nix-user), 8 (flatpak) -+++-:::. Shell: zsh 5.8.1 :+/:::- Resolution: 2560x1600
-....` DE: GNOME 42.4 WM: Mutter Terminal: .kgx-real CPU: 12th Gen Intel i7-1260P (16) @ 4.700GHz GPU: Intel Device 46a6 Memory: 3290MiB / 15726MiB
`
so i dont have any sold leads to try to investigate this, but maybe this helps
1) try to install same package via nix on a common linux distro in a vm, eg ubuntu, if it works, we can look further and similarities /differences 2) i assume dbus is pretty vital, try symlinking maybe its expecting dbus in different location to what guix does
otherwise, maybe someone else who knows whats going on will find this issue :-) all the best
Describe the bug
I used to run electrum apps from nix in a guix os on wayland display. Since a few months this approach is broken. Note that flatpak install works.
when run
codium --verbose
I get this error:`
CodeWindow: renderer process gone (reason: crashed, code: 5)`
This error appears alsoo for signal.
Steps To Reproduce
`
codium --verbose Fontconfig error: Cannot load default config file: No such file: (null) Fontconfig error: Cannot load default config file: No such file: (null) [7356:0308/214611.726086:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [7356:0308/214611.726136:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [7356:0308/214611.771797:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable. [7387:0308/214611.782390:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: glXQueryExtensionsString returned NULL [7387:0308/214611.782665:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: glXQueryExtensionsString returned NULL [7387:0308/214611.782790:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [7387:0308/214611.783282:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: glXQueryExtensionsString returned NULL [7387:0308/214611.783349:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: glXQueryExtensionsString returned NULL [7387:0308/214611.783388:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [7387:0308/214611.783534:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed. [7387:0308/214611.786805:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [7399:0308/214611.821969:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: glXQueryExtensionsString returned NULL [7399:0308/214611.822228:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: glXQueryExtensionsString returned NULL [7399:0308/214611.822335:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [7399:0308/214611.822691:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: glXQueryExtensionsString returned NULL [7399:0308/214611.822842:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: glXQueryExtensionsString returned NULL [7399:0308/214611.822884:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [7399:0308/214611.822915:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed. [7399:0308/214611.826401:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [7406:0308/214611.888919:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: glXQueryExtensionsString returned NULL [7406:0308/214611.890616:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: glXQueryExtensionsString returned NULL [7406:0308/214611.890733:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGL failed with error EGL_NOT_INITIALIZED, trying next display type [7406:0308/214611.890914:ERROR:angle_platform_impl.cc(43)] Display.cpp:977 (initialize): ANGLE Display::initialize error 12289: glXQueryExtensionsString returned NULL [7406:0308/214611.891003:ERROR:gl_surface_egl.cc(852)] EGL Driver message (Critical) eglInitialize: glXQueryExtensionsString returned NULL [7406:0308/214611.891026:ERROR:gl_surface_egl.cc(1489)] eglInitialize OpenGLES failed with error EGL_NOT_INITIALIZED [7406:0308/214611.891049:ERROR:gl_ozone_egl.cc(21)] GLSurfaceEGL::InitializeOneOff failed. [7406:0308/214611.893493:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization [main 2023-03-09T02:46:11.902Z] [File Watcher (node.js)] Request to start watching: /home/florian/.config/VSCodium/User (excludes:`
Metadata
`
nix-shell -p nix-info --run "nix-info -m" this path will be fetched (0.00 MiB download, 0.00 MiB unpacked): /nix/store/crx575dqd0kpvqmimh623lwsm35fqsy8-nix-info copying path '/nix/store/crx575dqd0kpvqmimh623lwsm35fqsy8-nix-info' from 'https://cache.nixos.org'..."x86_64-linux"
Linux 6.1.15, Guix System, noversion, nobuild
yes
yes
nix-env (Nix) 2.5.1
"nixpkgs-23.05pre461344.1eeea1f1922"
/nix/var/nix/profiles/per-user/root/channels/nixpkgs
`