You are not logged in.
I started using Hyprland yesterday. I havent encountered any problem except my nvidia driver. The problem is nvidia driver seems installed but I can't make it work.
[sam@ArchARH ~]$ nvidia-smi
Sat May 13 19:12:28 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.41.03 Driver Version: 530.41.03 CUDA Version: 12.1 |
|-----------------------------------------+----------------------+----------------------+
| 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 GTX 1650 Off| 00000000:01:00.0 Off | N/A |
| N/A 39C P8 1W / N/A| 3MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 642 G Hyprland 1MiB |
+---------------------------------------------------------------------------------------+
$ neofetch
-` sam@ArchARH
.o+` -----------
`ooo/ OS: Arch Linux x86_64
`+oooo: Host: 82EY IdeaPad Gaming 3 15ARH05
`+oooooo: Kernel: 6.3.1-arch2-1
-+oooooo+: Uptime: 2 hours, 29 mins
`/:-:++oooo+: Packages: 939 (pacman)
`/++++/+++++++: Shell: bash 5.1.16
`/++++++++++++++: Resolution: 1920x1080
`/+++ooooooooooooo/` DE: Hyprland
./ooosssso++osssssso+` WM: sway
.oossssso-````/ossssss+` Theme: Adwaita [GTK2/3]
-osssssso. :ssssssso. Icons: Adwaita [GTK2/3]
:osssssss/ osssso+++. Terminal: foot
/ossssssss/ +ssssooo/- CPU: AMD Ryzen 5 4600H with Radeon Graphics (12) @ 3.000GHz
`/ossssso+/:- -:/+osssso+- GPU: NVIDIA 01:00.0 NVIDIA Corporation TU117M
`+sso+:-` `.-/+oso: GPU: AMD ATI 05:00.0 Renoir
`++:. `-/+/ Memory: 5132MiB / 15359MiB
.` `/
Can you help me?
Last edited by helpneeded31 (2023-05-18 15:56:35)
Offline
Pls use code tags (https://bbs.archlinux.org/help.php) for better readability.
Offline
you have an optimus system, the nvidia gpu is just used when you need it by prepending 'prime-run' when launching a program/game.
read this page: https://wiki.archlinux.org/title/PRIME
Offline
Hi , I am also facing the same issue
GPU: Nvidia GeForce GTX 1650 Ti Mobile
Last edited by shadowelite (2023-05-14 08:52:54)
Offline
And you have the same solution.
Did you check the link in jonno2002's post?
Offline
I started using Hyprland yesterday. I havent encountered any problem except my nvidia driver. The problem is nvidia driver seems installed but I can't make it work.
[sam@ArchARH ~]$ nvidia-smi Sat May 13 19:12:28 2023 +---------------------------------------------------------------------------------------+ | NVIDIA-SMI 530.41.03 Driver Version: 530.41.03 CUDA Version: 12.1 | |-----------------------------------------+----------------------+----------------------+ | 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 GTX 1650 Off| 00000000:01:00.0 Off | N/A | | N/A 39C P8 1W / N/A| 3MiB / 4096MiB | 0% Default | | | | N/A | +-----------------------------------------+----------------------+----------------------+ +---------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=======================================================================================| | 0 N/A N/A 642 G Hyprland 1MiB | +---------------------------------------------------------------------------------------+
$ neofetch
-` sam@ArchARH .o+` ----------- `ooo/ OS: Arch Linux x86_64 `+oooo: Host: 82EY IdeaPad Gaming 3 15ARH05 `+oooooo: Kernel: 6.3.1-arch2-1 -+oooooo+: Uptime: 2 hours, 29 mins `/:-:++oooo+: Packages: 939 (pacman) `/++++/+++++++: Shell: bash 5.1.16 `/++++++++++++++: Resolution: 1920x1080 `/+++ooooooooooooo/` DE: Hyprland ./ooosssso++osssssso+` WM: sway .oossssso-````/ossssss+` Theme: Adwaita [GTK2/3] -osssssso. :ssssssso. Icons: Adwaita [GTK2/3] :osssssss/ osssso+++. Terminal: foot /ossssssss/ +ssssooo/- CPU: AMD Ryzen 5 4600H with Radeon Graphics (12) @ 3.000GHz `/ossssso+/:- -:/+osssso+- GPU: NVIDIA 01:00.0 NVIDIA Corporation TU117M `+sso+:-` `.-/+oso: GPU: AMD ATI 05:00.0 Renoir `++:. `-/+/ Memory: 5132MiB / 15359MiB .` `/
Can you help me?
Hi,
For me, the issue was solved by adding the following lines to the file ~/.config/hypr/hyprland.conf:
env = __NV_PRIME_RENDER_OFFLOAD,1
env = __VK_LAYER_NV_optimus,NVIDIA_only
After adding these lines, I tried running programs like mpv and firefox. I also checked the output of nvidia-smi. Everything seems to be working properly now.
I hope this helps!
Offline
Now you run everything on the nvidia GPU all the time which is "normally" not what you want, but you do you.
Offline
Thanks for all replys. Finally, I managed get it work. First I installed nvidia drivers and nvidia-prime package. When I want to run an application with nvidia, all I do is:
$ prime-run steam
Offline
That's how you should do it (...though for steam it might be more useful to do this as necessary on individual games, note that the common translation layers in use in Proton will already identify and use a discrete GPU without further action and you might just have to adjust the LAUNCH_OPTIONS of a select few titles with
prime-run %command%
In any case, if the topic is resolved, please mark it as such by editing the title in the first post and adding [SOLVED] or so.
Offline