ansible-role-nvidia-driver icon indicating copy to clipboard operation
ansible-role-nvidia-driver copied to clipboard

Driver does not Install or Configure SLI correctly

Open SysAdminShed opened this issue 2 years ago • 4 comments

Hello,

I am realizing that having 2 GPU or more installed does not work with the module.

If I run the driver 515.105.01, via the .run, it works for dual GPU, but running the playbook does not.

Rocky Linux 8.7, RTX 2080TI (Dual).

Please do not hesitate if you need anymore info,

SysAdminShed avatar Apr 11 '23 17:04 SysAdminShed

Do you have any error messages that you can fail from the failed install?

supertetelman avatar Apr 11 '23 18:04 supertetelman

So the install does actually works but screen gets blank and Graphical.Target service will not start.

If I only have one GPU, works but with Dual, no joy.

There's no actual Error message anyware, I've found so far.

SysAdminShed avatar Apr 11 '23 18:04 SysAdminShed

To put you in context and see if I'm missing something, here's my playbook :


Install NVIDIA Driver and Dependencies

  • hosts: XXX become: true tasks:
    • name: Update package list dnf: update_cache: yes

    • name: Remove conflicting packages dnf: name: - nvidia-driver-cuda - xorg-x11-drv-nvidia-cuda - xorg-x11-drv-nvidia - xorg-x11-drv-nvidia-power state: absent

    • name: Install NVIDIA driver and related packages include_role: name: nvidia.nvidia_driver tasks_from: main.yml vars: nvidia_dkms_enabled: true nvidia_dkms_autoinstall_enabled: true nvidia_vulkan_enabled: true nvidia_opengl_enabled: true nvidia_xconfig_enabled: true

    • name: Install nvidia-settings dnf: name: nvidia-settings state: present

SysAdminShed avatar Apr 11 '23 18:04 SysAdminShed

To add more to this, when running the .run of the same driver with UI, I have to say yes to everything.

In silent mode, I need to add the following argument : NVIDIA-Linux-x86_64-515.105.01.run --accept-license --silent --run-nvidia-xconfig --dkms

I can't find in the read.me or documentation if this can also be done.

Thanks in advance,

SysAdminShed avatar Apr 11 '23 20:04 SysAdminShed