You are not logged in.

#1 2024-03-25 14:54:11

BURAKGGM
Member
Registered: 2024-03-25
Posts: 3

Electron app's opening so slow on Hyprland

I am on a laptop with RTX 3050 and Intel Tigerlake GPU's. With hyprland and linux zen. I think I have done everything I need to do on Hyprland Nvidia wiki and I checked NVIDIA on Arch Wiki. Electron apps open after 30-60 seconds but other apps like firefox or terminal or anything but not electron is opening immediately. I am using proprietary NVIDIA drivers (nvidia-dkms). I think problem is with libva driver but I tried to reinstall everything (libva drivers, nvidia-dkms) I can but didn't managed to fix the issue.

Terminal output of chromium

❯ chromium
[2]  + 9060 killed     chromium
[9295:9295:0325/154043.910682:ERROR:policy_logger.cc(157)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(161) Cloud management controller initialization aborted as CBCM is not enabled. Please use the `--enable-chrome-browser-cloud-management` command line flag to enable it if you are not using the official Google Chrome build.
libva error: /usr/lib/dri/nvidia_drv_video.so init failed
[9393:1:0325/154114.071877:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[9295:9295:0325/154114.075672:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=512
libva error: /usr/lib/dri/nvidia_drv_video.so init failed
[9477:1:0325/154144.255483:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[9295:9295:0325/154144.259565:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=512
libva error: /usr/lib/dri/nvidia_drv_video.so init failed
[9295:9295:0325/154214.449056:ERROR:gpu_process_host.cc(1002)] GPU process exited unexpectedly: exit_code=512
libva error: /usr/lib/dri/nvidia_drv_video.so init failed
[9393:7:0325/154214.593592:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[9394:7:0325/154214.593644:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

Here is supporting info:

sudo pacman -Q | grep libva
lib32-libva 2.20.0-1
lib32-libva-vdpau-driver 0.7.4-7
libva 2.21.0-1
libva-nvidia-driver-git 0.0.11.r29.g746d551-1
libva-nvidia-driver-git-debug 0.0.11.r29.g746d551-1
sudo pacman -Q | grep nvidia
[sudo] password for burak: 
libva-nvidia-driver-git 0.0.11.r29.g746d551-1
libva-nvidia-driver-git-debug 0.0.11.r29.g746d551-1
nvidia-dkms 550.67-1
nvidia-prime 1.0-4
nvidia-settings 550.54.14-1
nvidia-utils 550.67-1
nvidia-smi
Mon Mar 25 15:52:50 2024       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.67                 Driver Version: 550.67         CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3050 ...    Off |   00000000:01:00.0  On |                  N/A |
| N/A   55C    P8              9W /   60W |      19MiB /   4096MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A       563      G   /usr/lib/Xorg                                   4MiB |
|    0   N/A  N/A       647      G   Hyprland                                        1MiB |
+-----------------------------------------------------------------------------------------+
cat /etc/environment
LIBVA_DRIVER_NAME=nvidia

Offline

#2 2024-04-07 22:45:58

sergiomb
Member
Registered: 2016-08-14
Posts: 4

Re: Electron app's opening so slow on Hyprland

Hi,
I was googling and found this page here, I have a completely different problem, but they also used
LIBVA_DRIVER_NAME=nvidia , someone told me that it shouldn't be necessary to force LIBVA_DRIVER_NAME , and unset LIBVA_DRIVER_NAME fixed my problem , you also may try HTH

Offline

#3 2024-04-08 04:48:15

BURAKGGM
Member
Registered: 2024-03-25
Posts: 3

Re: Electron app's opening so slow on Hyprland

I have installed arch again with Gnome. It works fine. If you guys find a answer to problem you can write so other guys with this error. But thx sergiomb

Offline

Board footer

Powered by FluxBB