Black screen after updating applications + VGA Monitor not displaying

Hello,

I recently installed Manjaro 5.9 on my PC as a dual boot with Windows, and I am having some issues setting it up.

  • First, I have 2 monitors, a VGA one (which should be my primary), and an HDMI one (secondary). On Windows, both works just fine. However, on Manjaro, only the HDMI one is displaying (the other one detects a signal, but is just showing a black screen).

    In the screen menu, the VGA screen does not seem to be detected at all.

    Also, in the boot menu, I noticed that only the HDMI screen is used, which was always the case. By setting the VGA option to choose Intel rather than NVidia in the BIOS settings, it displays on both screens, but Manjaro keeps displaying to the HDMI screen only.

  • Secondly, when updating the applications and packages (that found conflict issues with nvidia utils particularly), it reboots to a black screen (on both screens).

    ctrl+alt+delete reboots the PC, and ctrl+alt+f2 displays a terminal that i can use normally.

    When I tried to run startx, a message appeared stating that the connection to the X server was refused. I did not catch the exact error message, since I re-installed Manjaro completely to go back to a “stable” state (where at least one monitor can display properly).

  • Also, when I tried to boot with open source drivers, the HDMI screen went black with colorful squares displaying randomly on the screen (I don’t know if that could give any information).

    I also tried this solution, but sudo mhwd -r pci video-nvidia and reboot rendered a black screen with colorful pixels (the same as an installation attempt with open source drivers), and from there, I was not able to enter ctrl+alt+f2 again…

Finally, here are some system information (from the “stable” state) :

  • inxi -FZa :
System:
  Host: clemetayer-hp Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=fba5a919-85a0-4511-a800-8b6240a4ee20 ro quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: Xfce 4.14.3 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:
  Type: Desktop System: Hewlett-Packard product: HP EliteDesk 800 G1 TWR 
  v: N/A serial: <superuser required> Chassis: type: 6 
  serial: <superuser required> 
  Mobo: Hewlett-Packard model: 18E4 serial: <superuser required> 
  UEFI: Hewlett-Packard v: L01 v02.75 date: 05/04/2018 
CPU:
  Info: Quad Core model: Intel Core i7-4770 bits: 64 type: MT MCP 
  arch: Haswell family: 6 model-id: 3C (60) stepping: 3 microcode: 28 
  L2 cache: 8 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 54296 
  Speed: 2490 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 2490 2: 1749 
  3: 2127 4: 1741 5: 963 6: 1433 7: 1746 8: 2130 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics 
  vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0 
  chip ID: 8086:0412 
  Device-2: NVIDIA TU117 [GeForce GTX 1650] vendor: Micro-Star MSI 
  driver: nvidia v: 455.45.01 alternate: nouveau,nvidia_drm bus ID: 01:00.0 
  chip ID: 10de:1f82 
  Display: x11 server: X.Org 1.20.10 driver: nvidia display ID: :0.0 
  screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 305 s-size: 160x90mm (6.3x3.5") 
  s-diag: 184mm (7.2") 
  Monitor-1: HDMI-0 res: 1920x1080 hz: 60 dpi: 305 size: 160x90mm (6.3x3.5") 
  diag: 184mm (7.2") 
  OpenGL: renderer: GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 455.45.01 
  direct render: Yes 
Audio:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:03.0 
  chip ID: 8086:0c0c 
  Device-2: Intel 8 Series/C220 Series High Definition Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  chip ID: 8086:8c20 
  Device-3: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 chip ID: 10de:10fa 
  Sound Server: ALSA v: k5.9.16-1-MANJARO 
Network:
  Device-1: Intel Ethernet I217-LM vendor: Hewlett-Packard driver: e1000e 
  v: kernel port: f080 bus ID: 00:19.0 chip ID: 8086:153a 
  IF: eno1 state: down mac: 2c:44:fd:32:de:f4 
  Device-2: NetGear A6150 type: USB driver: usb-network bus ID: 2-5:3 
  chip ID: 0846:9055 serial: 5UW10B7RA2273 
  IF-ID-1: enp0s20u4 state: unknown speed: N/A duplex: N/A 
  mac: a6:23:8c:f8:fc:b6 
Drives:
  Local Storage: total: 1.15 TiB used: 8.03 GiB (0.7%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Micron model: MTFDDAK256MAM-1K12 
  size: 238.47 GiB block size: physical: 512 B logical: 512 B 
  speed: 6.0 Gb/s serial: 1345095847B6 rev: 08TH 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000DM003-1CH162 
  size: 931.51 GiB block size: physical: 4096 B logical: 512 B 
  speed: 6.0 Gb/s serial: Z1D9B7CY rev: CC49 
  ID-3: /dev/sdc maj-min: 8:32 type: USB model: General size: 7.5 GiB 
  block size: physical: 512 B logical: 512 B serial: UDisk rev: 5.00 
Partition:
  ID-1: / raw size: 128 GiB size: 124.99 GiB (97.65%) used: 8.01 GiB (6.4%) 
  fs: ext4 dev: /dev/sdb3 maj-min: 8:19 
  ID-2: /boot/efi raw size: 1000 MiB size: 996 MiB (99.60%) 
  used: 25.7 MiB (2.6%) fs: vfat dev: /dev/sda2 maj-min: 8:2 
Swap:
  Alert: No Swap data was found. 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 27 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 30% 
Info:
  Processes: 223 Uptime: 41m wakeups: 0 Memory: 15.53 GiB 
  used: 2.06 GiB (13.2%) Init: systemd v: 247 Compilers: gcc: N/A Packages: 
  pacman: 1151 lib: 393 flatpak: 0 Shell: Bash v: 5.1.0 
  running in: xfce4-terminal inxi: 3.2.01
  • mhwd -l:
> 0000:01:00.0 (0300:10de:1f82) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:00:02.0 (0380:8086:0412) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
  • mhwd -li:
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI


Warning: No installed USB configs!
  • sudo mhwd -a pci nonfree 0300
> Skipping already installed config 'video-nvidia' for device: 0000:01:00.0 (0300:10de:1f82) Display controller nVidia Corporation TU117 [GeForce GTX 1650]

I hope that provides good enough information :smiley:. I suspect this is an issue with NVidia drivers, but I can’t really figure out how to fix it. I browsed some very similar issues, so, sorry if it is a duplicate topic…

Also, sorry if this is a basic question, it is my first time posting on this forum, and I am not really an expert on Manjaro.

Thank you in advance for any advice to solve this issue :smiley: !

Kernel 5.9 is EOL. Switch to a supported kernel:

sudo pacman-mirrors --fasttrack 5 && sudo pacman -Syyu 
sudo mhwd-kernel -i linux515

Then reboot into 5.15 (Press Esc during boot to get into grub menu and boot with 5.15)
Double check your running kernel is not 5.9 then remove it:

uname -r #to check kernel version
sudo mhwd-kernel -r linux59

Thanks for your answer, but sadly this does not seem to fix it :frowning:

However, I still can interact with the terminal with ctrl+alt+f2, meaning that I can pipe the result of some commands to text files, and get them after booting through USB.

So here is what I tried :

  • uname -r:
5.15.16-1-MANJARO
  • startx :
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
Current Operating System: Linux clemetayer-hp 5.15.16-1-MANJARO #1 SMP PREEMPT Thu Jan 20 13:58:19 UTC 2022 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64 root=UUID=fba5a919-85a0-4511-a800-8b6240a4ee20 ro quiet apparmor=1 security=apparmor udev.log_priority=3
 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/clemetayer/.local/share/xorg/Xorg.0.log", Time: Sat Jan 29 18:52:06 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/home/clemetayer/.local/share/xorg/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
  • mhwd -l:
e[1me[31m> e[m0000:01:00.0 (0300:10de:1f82) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.12.18               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.12.18               false            PCI
          video-nvidia            2021.12.18               false            PCI
    video-nvidia-470xx            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


e[1me[31m> e[m0000:00:02.0 (0300:8086:0412) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2021.12.18               false            PCI
video-hybrid-intel-nvidia-470xx-prime            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI
  • mhwd -li
e[1me[31m> e[mInstalled PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2021.12.18               false            PCI
           video-linux            2018.05.04                true            PCI


e[1me[31mWarning: e[mNo installed USB configs!
  • sudo mhwd -a pci nonfree 0300
e[1me[31m> e[mUsing config 'video-hybrid-intel-nvidia-prime' for device: 0000:01:00.0 (0300:10de:1f82) Display controller nVidia Corporation TU117 [GeForce GTX 1650]
e[1me[31m> e[mUsing config 'video-hybrid-intel-nvidia-prime' for device: 0000:00:02.0 (0300:8086:0412) Display controller Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
e[1me[31mError: e[mconfig 'video-hybrid-intel-nvidia-prime' conflicts with config(s): video-nvidia

The last log is interesting, since it shows that there is a conflict between video-nvidia and video-hybrid-intel-nvidia-prime. I guess i could run sudo mhwd -r pci video-nvidia and sudo mhwd -i pci video-hybrid-intel-nvidia-prime or sudo mhwd -i pci video-hybrid-intel-nvidia-470xx-prime to fix the issue, but i’m a bit scared to run into the same problem that when i first tried to remove video-nvidia (black screen with colorful pixels) and have to reinstall once again…

What do you think ?

Well, I actually tried sudo mhwd -r pci video-nvidia then mhwd -i pci video-hybrid-intel-nvidia-prime and it fixed the issue !

:slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.