Hi, I’ve recently installed Ubuntu on my desktop PC alongside Windows 11 (on a separate drive partition). Things were working well for a couple of days but I now just get a black screen after I login to Ubuntu and I can’t do anything (other than open a terminal using ctrl-alt-f5). I am using an Ultrawide LG monitor which I have switched to using DisplayPort 1.1.
Everything is updated to the latest versions but I can’t for the life of me figure out what is going wrong - the graphics card works fine when I boot onto my Windows 11 partition.
I’ve tried switching to using HDMI on the graphics card but that just shows a black screen from boot i.e. no boot screen, BIOS, etc.
The weird part is that the screen is detected by the xrandr, here’s the result
xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 310mm x 174mm
2560x1440 120.00 + 60.00
1920x1200 120.00
1920x1080 120.00*
1600x1200 120.00
1680x1050 120.00
1280x1024 120.00
1440x900 120.00
1280x800 120.00
1280x720 120.00
1024x768 120.00
800x600 120.00
640x480 120.00
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
DP-1-0.1 connected (normal left inverted right x axis y axis)
1920x1080 60.00 + 59.94 50.00
1680x1050 59.95
1440x900 59.89
1440x576 50.00
1440x480 59.94
1280x1024 75.02 60.02
1280x960 60.00
1280x720 60.00 59.94 50.00
1152x864 75.00
1024x768 75.03 70.07 60.00
800x600 75.00 72.19 60.32 56.25
720x576 50.00
720x480 59.94
640x480 75.00 72.81 59.94 59.93
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
Here’s the result for the nvidia-smi
Fri Nov 11 18:21:12 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 520.56.06 Driver Version: 520.56.06 CUDA Version: 11.8 |
|-------------------------------+----------------------+----------------------+
| 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 51C P8 7W / N/A | 125MiB / 4096MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1199 G /usr/lib/xorg/Xorg 44MiB |
| 0 N/A N/A 5660 C+G ...141527590322221790,131072 79MiB |
+-----------------------------------------------------------------------------+
Running the nvidia-xconfig solves the external display issue but “kills” the primary display of the laptop, ie, external displays work fine but the laptop’s display goes black.,
@generix sorry for tagging you but, after looking reading old forums issues, you seem to have a black belt in solving this kind of issues. Do you have any idea how to solve this?
ADDITIONAL INFORMATION
Laptop Model: Asus ROG Zephyrus G14 GA401QE
CPU: Ryzen 5900HS
GPU: Nvidia 3050 Ti
NVidia drivers info: Driver Version: 520.56.06 CUDA Version: 11.8