You are not logged in.
I am having an issue where obsidian is not working with hardware acceleration, when launching from the command the output is this
$obsidian
2023-08-31 22:24:15 Loading updated app package /home/forest/.config/obsidian/obsidian-1.4.5.asar
2023-08-31 22:24:15 Checking for update using Github
MESA-LOADER: failed to open nvidia-drm: /usr/lib/gbm/nvidia-drm_gbm.so: cannot open shared object file: Permission denied (search paths /usr/lib/gbm, suffix _gbm)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open nvidia-drm: /usr/lib/dri/nvidia-drm_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)
2023-08-31 22:24:18 Success.
2023-08-31 22:24:18 Latest version is 1.4.5
2023-08-31 22:24:18 App is up to date.i have mesa installed and i have electron installed, I am using the nvidia-dkms drivers. Most of the files that is not finding i dont have in that folder
$ls /usr/lib/dri
crocus_dri.so d3d12_dri.so i915_dri.so iris_dri.so kms_swrast_dri.so nouveau_dri.so r300_dri.so r600_dri.so radeonsi_dri.so swrast_dri.so virtio_gpu_dri.so vmwgfx_dri.so zink_dri.soSorry if this is irrelevant or something i just don't want to provide not enough information and i don't know what is relevant. I also dont want to go messing around with permissions as i am not very experienced yet as i figured
that arch would be the fastest way to learn and i dont mind if i break something and have to even reinstall
Last edited by hiracat (2023-09-01 16:44:00)
Offline
Please use [code][/code] tags. Edit your post in this regard.
◉ pacman -F nvidia-drm_gbm.so
extra/nvidia-utils 525.89.02-1
usr/lib/gbm/nvidia-drm_gbm.soHowever cannot open shared object file: Permission denied does not mean that the file isn't there.
stat /usr/lib/gbm/nvidia-drm_gbm.soIf that doesn't suggest that you did something very stupid to the system, this will be a problem w/ the https://aur.archlinux.org/packages/obsidian-bin (I guess?) appimage installation
Offline
Do you know how to fix the permissions for the nvidia-drm_gbm.so file because it does exist and i think i have read and execute permissions on the file
$ stat /usr/lib/gbm/nvidia-drm_gbm.so
File: /usr/lib/gbm/nvidia-drm_gbm.so -> ../libnvidia-allocator.so.535.104.05
Size: 36 Blocks: 0 IO Block: 4096 symbolic link
Device: 259,3 Inode: 2076 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2023-08-31 13:05:36.574947677 -0400
Modify: 2023-08-22 13:37:15.000000000 -0400
Change: 2023-08-25 14:48:35.542326685 -0400
Birth: 2023-08-25 14:48:35.542326685 -0400I am using the obsidian in the extra repo it is not from the aur.
The /usr/lib/dri/nvidia-drm_dri.so does not exist I looked.
$ stat /usr/lib/dri/nvidia-drm_dri.so
stat: cannot statx '/usr/lib/dri/nvidia-drm_dri.so': No such file or directoryAs for doing something stupid with my system I don't think I did anything wierd. I also reinstalled everything related to nvidia and it did not fix it.
Offline
stat /usr/lib/libnvidia-allocator.so.535.104.05But assuming the file exists and has normal permissions
pacman -Qikk nvidia-utilsthe problem will the the context in which obsidian runs (and eg. whether you're using a flatpak/docker thing or firejail etcetc)
How did you install the program?
Is https://aur.archlinux.org/packages/obsidian-bin the relevant package at all?
Offline
This is the package i used to install it https://archlinux.org/packages/extra/x86_64/obsidian
$ stat /usr/lib/libnvidia-allocator.so.535.104.05
File: /usr/lib/libnvidia-allocator.so.535.104.05
Size: 160552 Blocks: 320 IO Block: 4096 regular file
Device: 259,3 Inode: 2402643 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2023-09-01 13:13:07.272914944 -0400
Modify: 2023-08-22 13:37:15.000000000 -0400
Change: 2023-09-01 13:13:05.753379553 -0400
Birth: 2023-09-01 13:13:05.750047236 -0400
& pacman -Qikk nvidia-utils
Name : nvidia-utils
Version : 535.104.05-1
Description : NVIDIA drivers utilities
Architecture : x86_64
URL : http://www.nvidia.com/
Licenses : custom
Groups : None
Provides : vulkan-driver opengl-driver nvidia-libgl
Depends On : xorg-server libglvnd egl-wayland
Optional Deps : nvidia-settings: configuration tool [installed]
xorg-server-devel: nvidia-xconfig
opencl-nvidia: OpenCL support [installed]
Required By : hyprland-nvidia lib32-nvidia-utils libglvnd nvidia-dkms nvidia-settings steam
Optional For : ffmpeg ffmpeg4.4 libvdpau vulkan-icd-loader
Conflicts With : nvidia-libgl
Replaces : nvidia-libgl
Installed Size : 671.09 MiB
Packager : Sven-Hendrik Haase <svenstaro@archlinux.org>
Build Date : Tue 22 Aug 2023 01:37:15 PM EDT
Install Date : Fri 01 Sep 2023 01:13:06 PM EDT
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
nvidia-utils: 230 total files, 0 altered filesI have no clue why this is not working, should i just make myself the owner of that file the only problem is that i feel like that is a bad idea
Offline
2023-08-31 22:24:15 Loading updated app package /home/forest/.config/obsidian/obsidian-1.4.5.asarThe version in repos is 1.3.7 so it seems obsidian ran some kind of autoupdate .
I also noticed it uses electron, output of pacman -Qs electron ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
$ pacman -Qs electron
local/electron 1:25-1
Meta package, always depends on the latest stable Electron build
local/electron25 25.6.0-1
Build cross platform desktop apps with web technologiesI reinstalled obsidian with #pacman -Rns obsidian and the installed it again and i ran a full system upgrade and i reset obsidians config files and it still is not working
running a full system update does not fix it
I am running version 1.4.5 of obsidian which is the latest version
Offline
I am running version 1.4.5 of obsidian which is the latest version
We can see that, but it doesn't answer the critical question.
pacman -Qs obsidianLast edited by seth (2023-09-02 15:32:13)
Offline
$pacman -Qs obsidian
local/obsidian 1.3.7-1
A powerful knowledge base that works on top of a local folder of plain text Markdown filesLast edited by hiracat (2023-09-02 16:05:31)
Offline
Gee, I wonder what that edit was ![]()
So if you've installed 1.3.7, where does 1.4.5 come from?
type obsidian
pacman -Qikk obsidianOffline
Sorry i thought i had done it already anyway here
$type obsidian
obsidian is /usr/bin/obsidian
$ pacman -Qikk obsidian
Name : obsidian
Version : 1.3.7-1
Description : A powerful knowledge base that works on top of a local folder of plain text Markdown files
Architecture : x86_64
URL : https://obsidian.md/
Licenses : custom:Commercial
Groups : None
Provides : None
Depends On : zlib hicolor-icon-theme fuse electron
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 20.98 MiB
Packager : Sven-Hendrik Haase <svenstaro@archlinux.org>
Build Date : Tue 01 Aug 2023 07:59:17 PM EDT
Install Date : Sat 02 Sep 2023 11:16:16 AM EDT
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
obsidian: 20 total files, 0 altered filesOffline
I am using the one from the official repos, not from the aur, i will try and see if switching to that one fixes it
Offline
Nope
still the same output
$ obsidian
2023-09-02 16:15:21 Loading main app package /tmp/.mount_obsidirYYxOi/resources/obsidian.asar
2023-09-02 16:15:21 Checking for update using Github
2023-09-02 16:15:22 Success.
2023-09-02 16:15:22 Latest version is 1.4.5
2023-09-02 16:15:22 App is up to date.
MESA-LOADER: failed to open nvidia-drm: /usr/lib/gbm/nvidia-drm_gbm.so: cannot open shared object file: Permission denied (search paths /usr/lib/gbm, suffix _gbm)
MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open nvidia-drm: /usr/lib/dri/nvidia-drm_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)this is the output from those two commands
$ pacman -Qikk obsidian
error: package 'obsidian' was not found
$ pacman -Qikk obsidian-bin
Name : obsidian-bin
Version : 1.4.5-1
Description : A powerful knowledge base that works on top of a local folder of plain text Markdown files
Architecture : x86_64
URL : https://github.com/obsidianmd/obsidian-releases
Licenses : custom:Commercial
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : obsidian
Replaces : None
Installed Size : 100.41 MiB
Packager : Unknown Packager
Build Date : Sat 02 Sep 2023 12:15:06 PM EDT
Install Date : Sat 02 Sep 2023 12:15:10 PM EDT
Install Reason : Explicitly installed
Install Script : No
Validated By : None
obsidian-bin: 11 total files, 0 altered filesOffline
The error is actually from electron, https://bbs.archlinux.org/viewtopic.php?id=280800
Are you trying to run this on a wayland or X11 session? (And does the other work)
Offline
wayland and i cant get xorg to work i will tell you when i do
Offline
i cant get xorg
You can open a new thread about this if you need help; whether this is a wayland exclusive problem is going to be rather relevant.
Offline
i created a new one here https://bbs.archlinux.org/viewtopic.php?id=288525 i spent a while trying to figure it out by my self but i cant
Offline