You are not logged in.

#1 2024-10-14 13:02:29

Joyhunter
Member
Registered: 2024-10-14
Posts: 4

Obsidian + Hyprland + Nvidia: Slow Startup and Various Errors

Hi everyone,

I'm encountering issues with Obsidian on my Arch system running Hyprland and Nvidia. The main problem is that Obsidian takes an unusually long time to start up — around 5 minutes on average, and sometimes it may take up to 20 minutes or fail to start entirely. When opening Obsidian through the terminal, I see the following error logs:


➜ obsidian 
2024-10-14 12:57:47 Loading main app package /usr/lib/obsidian/obsidian.asar
2024-10-14 12:57:48 Checking for update using Github
2024-10-14 12:57:48 Success.
2024-10-14 12:57:48 Latest version is 1.6.7
2024-10-14 12:57:48 App is up to date.
[90208:1014/155818.103572:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[90109:1014/155818.106823:ERROR:gpu_process_host.cc(997)] GPU process exited unexpectedly: exit_code=512

In addition to this, I sometimes get messages like:

    "Can't find obsidian config.json."
    Errors related to the X server.
    Occasional Nvidia-related errors.

I've tried reinstalling Obsidian and updating my system, but the problem persists. This issue only started recently, and I'm not sure if it’s related to Nvidia, Hyprland, or a misconfiguration somewhere in the system.

I have rtx 4050 + core I7 g12


System Information:

    Arch Linux
    Hyprland (latest version)
    Nvidia GPU with proprietary drivers (latest version)
    Obsidian version: 1.6.7

Has anyone encountered a similar problem or have suggestions for how I can resolve this? I'd appreciate any help you can provide. Thanks in advance!

Last edited by Joyhunter (2024-10-14 18:02:42)

Offline

#2 2024-10-14 13:18:45

Joyhunter
Member
Registered: 2024-10-14
Posts: 4

Re: Obsidian + Hyprland + Nvidia: Slow Startup and Various Errors

Okay i am now using it fast without the gpu using --disable-gpu flag.
but, of course this is not the best solution because i am now  bypassing the problem instead of facing it.

Last edited by Joyhunter (2024-10-14 13:19:02)

Offline

#3 2024-10-14 14:13:05

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,322

Re: Obsidian + Hyprland + Nvidia: Slow Startup and Various Errors

Please use [code][/code] tags. Edit your post in this regard.

In addition to this, I sometimes get messages like:

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Start with

glxinfo -B

obsidian looks like it's some appimage that depend on a dated version of electron, but while I can see ABI incompatibilities resulting in a complete failure, random delays seem odd.
The easiest variable to check would be the LTS kernel (don't forget nvidia-lts)

Offline

#4 2024-10-14 18:10:43

Joyhunter
Member
Registered: 2024-10-14
Posts: 4

Re: Obsidian + Hyprland + Nvidia: Slow Startup and Various Errors

Okay i  made the modifications you said.

➜ glxinfo -B
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 6141 MB
    Total available memory: 6141 MB
    Currently available dedicated video memory: 5749 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 4050 Laptop GPU/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 560.35.03
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 560.35.03
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 560.35.03
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Offline

#5 2024-10-14 20:57:37

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,322

Re: Obsidian + Hyprland + Nvidia: Slow Startup and Various Errors

Thanks.
GLX seems fine

seth wrote:

The easiest variable to check would be the LTS kernel (don't forget nvidia-lts)

And provide the actual details on

Errors related to the X server.
    Occasional Nvidia-related errors.

We had a similar problem w/ google-chrome, https://bbs.archlinux.org/viewtopic.php?id=298567 (the thread is a mess, the OP probably doesn't speak English)

https://forums.linuxmint.com/viewtopic.php?t=385706 would blame the nvidia update, but I'm not sure how comparable that is.
There'd be https://aur.archlinux.org/packages/nvidia-535xx-dkms to test.

Offline

#6 2024-10-15 23:48:45

Joyhunter
Member
Registered: 2024-10-14
Posts: 4

Re: Obsidian + Hyprland + Nvidia: Slow Startup and Various Errors

I think i will keep it  as it is  with

obsidian --disable-gpu
 

because i really like   linux-zen   so dont want to switch. but, thanks seth!

Offline

#7 2025-05-08 04:18:39

aditya_an1l
Member
Registered: 2025-05-08
Posts: 2

Re: Obsidian + Hyprland + Nvidia: Slow Startup and Various Errors

I tinkered around this for a while, and two approaches  worked for me  -

1. Disable GPU Acceleration (Best for Most Setups)

obsidian --disable-gpu

This flag tells Electron not to use your GPU for rendering. It might sound like a downgrade, but in many cases—especially with integrated graphics or lower-end GPUs—this actually reduces startup time.

Obsidian's UI isn’t graphically intense, and most modern CPUs handle software rendering just fine. You’ll likely see faster launch times with no visual downsides.

---

2. Use X11 Rendering (Only if You're on X11)

obsidian --ozone-platform=x11

If you're still using X11 (not Wayland), this forces Electron to use the X11 rendering backend. It often starts faster and still uses the GPU for rendering, unlike the first option.

Note: This won't work if you're on Wayland-only environments like Sway or GNOME with native Wayland. The flag will either do nothing or cause issues.

Offline

#8 2025-05-08 18:15:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,104

Re: Obsidian + Hyprland + Nvidia: Slow Startup and Various Errors

The x11 platform should work if you're setting up xwayland properly, no?

Offline

Board footer

Powered by FluxBB