I recently bought an Acer Nitro 5 laptop with a Nvidia GeForce RTX 3050 Ti 4GB graphics card. I downloaded the driver from Nvidia’s website:
Product Series: GeForce RTX 30 series (Notebook)
Product: GeForce RTX 3050 Ti Laptop GPU
Operating system: Linux (64 bit)
Download type: Production Branch
I successfully installed the official Nvidia driver and disabled the Nouveau driver but when I reboot, the screen doesn’t enter into graphical mode (login screen) but just hangs. Thankfully, CTRL ALT F2 works and I am able to login via text mode. I run nvidia-smi and this is the output:
Sat Feb 25 00:38:32 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.89.02 Driver Version: 525.89.02 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 35C P8 6W / 60W | 29MiB / 4096MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1615 G /usr/bin/X 8MiB |
| 0 N/A N/A 1842 G /usr/bin/sddm-greeter 18MiB |
+-----------------------------------------------------------------------------+
Even though graphical mode doesn’t start, it looks like it recognizes the GPU: 1) GPU is enumerated (as 0 in processes table); 2) there are processes started with GPU 0; 3) it reports 29MiB of 4096 MiB in use. However, I am confused why nvidia-smi still reports: 0 NVIDIA GeForce…Off !!! Why? Is it supposed to be “on”? Is my GPU active and running? Why doesn’t graphical mode start? Can someone please detail how to get graphical mode going with my GPU active. I searched for answers and didn’t find anything relevant. I was very careful to follow the steps to install the driver and any dependencies.
This is the generated /etc/X11/xorg.conf file by the Nvidia driver:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 525.89.02
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etc/sysconfig/mouse"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "yes"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
If I rename xorg.conf to xorg.conf.dontuse, effectively not using any xorg.conf file (or even a blank xorg.conf) and rebooting, graphical mode starts normally and I land at a graphical login screen. KDE works normally. In this configuration, this is what nvidia-smi reports:
Mon Feb 27 16:59:40 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.89.02 Driver Version: 525.89.02 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 30C P8 6W / 60W | 0MiB / 4096MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
with no xorg.conf, boots into graphical mode with no problems but no GPU. (I am still confused what is: 0 NVIDIA GeForce … Off | 00000000:01:00.0 Off). I did try installing the nvidia drivers from the additional repositories in YaST but the GPU was not actived.
Can someone please help? Thank you so much. Thank you also to give detailed steps to try or to do. I have used Linux for several years and comfortable using the Terminal but would still say I have much to learn still. I am on OpenSUSE Leap Linux 15.4. My laptop’s hardware is: https://store.acer.com/en-ca/nitro-5-gaming-laptop-an515-57-79yr.