Repository navigation
Nvidia support for omarchy - #13
Conversation
this commit tries to add nvidia suppport. it's not tested yet.
meh, stupid me
dhh
left a comment
There was a problem hiding this comment.
Awesome! Thanks for working on this! Left a few comments to tidy things up.
| "egl-wayland" | ||
| "libva-nvidia-driver" # For VA-API hardware acceleration | ||
| "qt5-wayland" | ||
| "qt6-wayland" |
There was a problem hiding this comment.
How does the q5*-wayland packages relate to this nvidia stuff?
There was a problem hiding this comment.
some old qt apps used require to be installed for Nvidia setups, i can check it again.
| ) | ||
|
|
||
| if ! yay -Syu --needed --noconfirm "${PACKAGES_TO_INSTALL[@]}"; then | ||
| echo -e "${C_RED}${C_BOLD}[ERROR]${C_RESET} Failed to install NVIDIA packages. Please check the output for errors." >&2 |
There was a problem hiding this comment.
Why would this ever fail? We're not doing defensive package installations in the other installers.
There was a problem hiding this comment.
I wanted the error output to be understandable to the user.
When it comes to Arch or Linux in general, Nvidia drivers sometimes have random installation issues or dependency problems.
|
I can do one more test later tonight (pacific time) to make sure nothing got broken by the changes. |
i pushed changes to installer branch. you can use the same command above to test. |
|
@Kn0ax I fixed the stuff dhh asked for, and tested it, put a pr up against your fork. |
|
Thanks for saving a lot of work! I've used the script on a clean install and it seems that the combination nvidia+chromium+webgl is an issue at the moment. I am digging right now, but can't find an ad hoc solution. UPDATE: |
|
Looks like we are there on the code side. Can someone verify that what we have now works? Then I'll merge. Thanks for all the work on this, gang! Will be super nice if things just work out the box with Nvidia. |
|
I will run a clean install with this script tonight on my 4070 build to test it out and report back. |
|
I just ran clean install on my machine (rtx 2070, ryzen 5 2600) using the command from the original comment and it went smooth, everything looks alright, scaling is ok (using 1 monitor - 2560x1440) |
|
I ran this on an existing install by just running nvidia.sh, after reverting the commands in the Getting Started guide. Idle battery usage has come down to about 8W, where it was about 16-20W before. Everything worked. Intel Core i9 8950HK Thanks for working on this! |
|
Ran this on a fresh install on Z790 intel build and Nvidia 4070 was setup correctly out of the gate, no issues. Thanks! |
|
Looking back through this PR, is there any reason it does not automatically add the NVIDIA kernel parameter flag recommended by Hyprland in its Nvidia docs? I.e. |
It's done by nvidia-dkms package byself. |



This PR attempts to implement automatic NVIDIA detection in Omarchy. For cards newer than the GTX 1000 series, nvidia-open-dkms should be used, while older cards should use nvidia-dkms, along with additional packages for a more seamless NVIDIA + Hyprland setup.
This is untested, please test it and let me know!
You can try to install with:
wget -qO- https://raw.githubusercontent.com/Kn0ax/omarchy/refs/heads/patch-install/boot.sh | bash