Skip to content

Nvidia Support #4

Closed
Closed

Description

@LeAlencar

Installing Omarchy here for the first time. I have a RTX 4060 TI and had to install some packages later because hyprland was breaking in a infinite loop :)

Had to go to another TTY and install the drivers as said here: https://wiki.hypr.land/Nvidia/#further-installation, after reboot seems to work just fine.

Just a heads up, maybe adding a section in the manual for people that don't know about it should help!

Thanks for the great work man, it's amazing!

Activity

  1. sayantachaudhary commented on Jun 27, 2025

    @sayantachaudhary
  2. dhh commented on Jun 27, 2025

    @dhh
    Contributor

    I'd take a patch that auto installs the nvidea fixes when detected that it's needed! Thanks for noticing this.

  3. dhh commented on Jun 27, 2025

    @dhh
    Contributor

    Added some temporary notes about the extra Nvidia steps needed on https://manuals.omamix.org/2/the-omarchy-manual/50/getting-started. Can someone with an Nvidia card please confirm this is all that's needed?

  4. LeAlencar commented on Jun 27, 2025

    @LeAlencar
    Author

    i also installed nvidia-dkms for the proprietary drivers.

    For the entirely proprietary Nvidia drivers, you can therefore use the nvidia-dkms package. And for those wanting / needing to use the open source kernel modules, nvidia-open-dkms can be used.

  5. sayantachaudhary commented on Jun 28, 2025

    @sayantachaudhary
  6. danmack commented on Jun 29, 2025

    @danmack

    If you want compatibility with NVIDIA-5090/5080/50x0 cards, I believe you need to use the new "-open" packages. At least that is what provided me with the most compatible set of drivers. This is the set of packages I am using where the nvidia-smi , CUDA, and Steam is functioning. Following the instructions in the arch install portion of the video I just added the nvidia-open package along with wget.

    lib32-nvidia-cg-toolkit` 3.1-10
    lib32-nvidia-utils 575.64-2
    linux-firmware-nvidia 20250613.12fe085f-9
    nvidia-cg-toolkit 3.1-8
    nvidia-open 575.64-2
    nvidia-utils 575.64-1 
    

    dkms might also be desired but in my case it is not necessary with the latest 2025 era drivers.

    This is the system configuration I am using with dhh's instructions:

    ┌──────────────────────Hardware──────────────────────┐
     PC: G482 (1.0)
    │ ├: Intel(R) Core(TM) Ultra 9 285K (8+16) @ 5.80 GHz
    │ ├: NVIDIA GeForce RTX 5090 [Discrete]
    │ ├󱄄: 3840x2160 @ 120 Hz in 47" [External]
    │ ├󰋊: 131.50 GiB / 3.64 TiB (4%) - btrfs
    │ ├: 3.22 GiB / 62.50 GiB (5%)
    └ └󰓡 : 0 B / 4.00 GiB (0%)
    └────────────────────────────────────────────────────┘
    
    ┌──────────────────────Software──────────────────────┐
     OS: Arch Linux x86_64
    │ ├: Linux 6.15.3-arch1-1
    │ ├󰏖: 964 (pacman)
    └ └: bash 5.2.37
    
    │ ├: Hyprland 0.49.0 (Wayland)
    │ ├: Adwaita
    │ ├: alacritty (9pt)
    └ └: alacritty 0.15.1
    └────────────────────────────────────────────────────┘
    

    Dan

  7. dhh commented on Jun 29, 2025

    @dhh
    Contributor

    Anyone want to help us get all this sorted out with auto-detection, so it'll just install the right stuff depending on what you have on your system?

  8. BigMitchGit commented on Jun 29, 2025

    @BigMitchGit

    Added some temporary notes about the extra Nvidia steps needed on https://manuals.omamix.org/2/the-omarchy-manual/50/getting-started. Can someone with an Nvidia card please confirm this is all that's needed?

    I've ran hyprland on a 5070 TI for months.

    I don't believe you need different auto-configuration between nvidia cards (i could be wrong?)

    just defaulting to nvidia-open-dkms drivers instead of nvidia-dkms should do the trick i believe

    in my hypr config i have:

    env = LIBVA_DRIVER_NAME,nvidia
    env = __GLX_VENDOR_LIBRARY_NAME,nvidia
    env = GBM_BACKEND,nvidia-drm
    

    If those env variables are actually needed, i haven't got a clue. but it's whats in my config.

  9. Kn0ax commented on Jun 29, 2025

    @Kn0ax
    Contributor

    #13
    I am looking for someone who can test this.

    wget -qO- https://raw.githubusercontent.com/Kn0ax/omarchy/refs/heads/patch-install/boot.sh | bash

  10. icehunt commented on Jun 29, 2025

    @icehunt
    Contributor

    testing right now

  11. icehunt commented on Jun 29, 2025

    @icehunt
    Contributor

    I had to enable multilib to get it to work otherwise lib32-zlib would fail.

    [multilib]
    Include = /etc/pacman.d/mirrorlist
    

    Also the auto install didn't seem to work, running source ./nvidia did work, that might be an issue on my end though can try it again when the multilib is fixed.

  12. Kn0ax commented on Jun 29, 2025

    @Kn0ax
    Contributor

    @icehunt

    Also the auto install didn't seem to work

    “It’s really weird, because gpu_info=$(lspci | grep -i 'nvidia') appears both in the Hyprlandia script where it checks for an NVIDIA card and in ./nvidia, which installs the correct nvidia-dkms package. If it doesn’t work in the detection phase, it shouldn’t work in ./nvidia either.”

    if you have time can you try to run lspci | grep -i 'nvidia' in arch iso?

  13. icehunt commented on Jun 29, 2025

    @icehunt
    Contributor

    I get this when I run it inside the install.

    [zhephod@archlinux hypr]$ sudo lspci | grep -i 'nvidia'
    00:05.0 Audio device: NVIDIA Corporation Device 22eb (rev a1)
    00:06.0 VGA compatible controller: NVIDIA Corporation GB206 [GeForce RTX 5060 Ti] (rev a1)
    

    I did get distracted a bit while the install was running, so I may have just missed the prompt.

  14. Kn0ax commented on Jun 29, 2025

    @Kn0ax
    Contributor

    Oh, I think I’ve found the issue! 😄
    Using source ./nvidia was the culprit
    What I really needed was:

    'source ~/.local/share/omarchy/install/nvidia'

    I’d assumed ./nvidia would work, but because we’re running the script from Omarchy’s root, it couldn’t locate the file.
    Just a small oversight!
    xd

    also now edits pacman config ƒor multilib.

  15. icehunt commented on Jun 29, 2025

    @icehunt
    Contributor

    alright, testing now

  16. 7 remaining items

  17. Kn0ax commented on Jun 30, 2025

    @Kn0ax
    Contributor

    Could you please confirm whether you both attempted to run this one with a clean installation? @Mohamedsayhii @gianmeg
    wget -qO- https://raw.githubusercontent.com/Kn0ax/omarchy/refs/heads/patch-install/boot.sh | bash

    Can you also post your logs with this command?

    sudo journalctl -b | curl -F 'file=@-' 0x0.st

    (This command temporarily uploads your system startup logs to a third-party site. If you are uncomfortable with this, please review the log yourself or upload it to GitHub yourself.)

    @dhh Is there any problem with requesting logs from users like this?

  18. Mohamedsayhii commented on Jun 30, 2025

    @Mohamedsayhii
    Contributor

    @Kn0ax my installation got stuck on building Pinta (as I pointed in a separate issue). After installing the nvidia packages then editing hyprland.conf file and running source ~/.local/share/omarchy/install.sh and rebooting, my second monitor is now working.

    Note: I had to remove pinta from installs/xtras.sh file, for some reason omarchy installer keeps on getting stuck at building pinta

  19. jonashan commented on Jun 30, 2025

    @jonashan

    My installation worked just fine without any hiccups through the installation itself. I'm running a RTX 4060 TI.

    I do however have a UI problem with Chromium and some other apps eg. Steam The UI scaling is simply off as shown on the screenshot below. I don't know if this is an nvidia thing only? (If not, I will repost a separate issue)

    Picture below if from my Samsung Oddysey g7, 2560x1440. Alacritty, waybar etc. is just fine.
    Image

  20. dhh commented on Jun 30, 2025

    @dhh
    Contributor

    @jonashan Looks like it's doing 2x scaling on a 1x scaling screen. Can you try changing env = GDK_SCALE,1 in ~/.config/hypr/hyprland.conf, then restart Hyprland to see if that solves it?

  21. Kn0ax commented on Jun 30, 2025

    @Kn0ax
    Contributor

    @jonashan Looks like it's doing 2x scaling on a 1x scaling screen. Can you try changing env = GDK_SCALE,1 in ~/.config/hypr/hyprland.conf, then restart Hyprland to see if that solves it?

    Should we make the scale dynamic so that the script can adjust the value based on the resolution?

  22. dhh commented on Jun 30, 2025

    @dhh
    Contributor

    @jonashan Looks like it's doing 2x scaling on a 1x scaling screen. Can you try changing env = GDK_SCALE,1 in ~/.config/hypr/hyprland.conf, then restart Hyprland to see if that solves it?

    Should we make the scale dynamic so that the script can adjust the value based on the resolution?

    Yes, it would be great if this as auto-detected and set properly! Now of course someone can change the scale factor in monitors.conf after the fact. But if we can make the out-of-the-box default do the right thing, that's ideal. Please Do Investigate!

  23. kk1694 commented on Jul 1, 2025

    @kk1694

    FYI for those who want to use 1X scaling, you might need to update more than just hyprland.conf as described above.

    In addition, I had to change ~/.config/hypr/monitor.conf to

    monitor=,preferred,auto,1
    

    And for Zoom, I needed to change ~/.local/share/applications/Zoom.desktop from

    Exec=env QT_SCALE_FACTOR=2 /usr/bin/zoom %U
    

    to

    Exec=env QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_SCALE_FACTOR=1 /usr/bin/zoom %U
    

    Haven't checked many of the other apps, but some other ones might also need updating.

  24. jonashan commented on Jul 1, 2025

    @jonashan

    @jonashan Looks like it's doing 2x scaling on a 1x scaling screen. Can you try changing env = GDK_SCALE,1 in ~/.config/hypr/hyprland.conf, then restart Hyprland to see if that solves it?

    Thanks! Easy fix. Working wonders.

  25. gianmeg commented on Jul 1, 2025

    @gianmeg

    Could you please confirm whether you both attempted to run this one with a clean installation? @Mohamedsayhii @gianmeg wget -qO- https://raw.githubusercontent.com/Kn0ax/omarchy/refs/heads/patch-install/boot.sh | bash

    Can you also post your logs with this command?

    sudo journalctl -b | curl -F 'file=@-' 0x0.st

    (This command temporarily uploads your system startup logs to a third-party site. If you are uncomfortable with this, please review the log yourself or upload it to GitHub yourself.)

    @dhh Is there any problem with requesting logs from users like this?

    it seem work now @Kn0ax try execute your script no need clean install

  26. dhh commented on Jul 2, 2025

    @dhh
    Contributor

    Shipped it! #13

  27. benjohnson77 commented on Jul 21, 2025

    @benjohnson77

    The Zoom configuration change was really helpful for me on this thread.

  28. gregg-cbs commented on Nov 4, 2025

    @gregg-cbs

    Only downer is we cant edit nvidia setting via gui because of Wayland.

  29. added a commit that references this issue on Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions