[Manjaro] Problems with new monitor - black screen and frozen

Hi people, sorry to come here but I couldn’t find a solution on the Manjaro forum, and I’m frustrated and desperate to resolve my problem. Maybe someone here can help me or guide me with new ideas.

The problem
I bought a new 34’’ monitor with 160Hz. If I use HDMI, it works perfectly and starts up without problems! But it’s limited to 60Hz. However, when I connect using a USB-C to DisplayPort or USB-C to USB-C cable, problems start.

If the laptop is already running and I connect the cable, it works perfectly, detects the monitor, and functions well.

The issue arises when I try to restart from the application launcher. The session closes, I see some Manjaro shutdown texts for milliseconds, and then the screen goes black. I cannot do anything except hold the power button to reset.

I have the same problem when I startup the machine with the monitor connected. I can see the Manjaro logo, and sometimes it freezes there, or it freezes in the next step: when it’s supposed to load the desktop.

When it’s in black screen/frozen, I cannot access TTY; the only way is to reset and remove the cable. If I keep the cable connected, it will not start. It only works well if I load the desktop and then connect the cable.

Things that I tried and didn’t work

  • I tried two cables: the original USB-C to USB-C cable from the monitor and a new USB-C to DisplayPort cable.
  • I tried reducing to 60Hz.
  • I switched from x11 to Wayland.
  • I switched from linux66 to linux515.
  • I removed “quiet splash” from /etc/default/grub.
  • I tried a LiveUSB of Manjaro XFCE (I hope use XFCE it’s ok) because I have close to me and the System loaded but the monitor was not turned on. But was not frozen or black screen. I went to Settings >> Display and the monitor had the toggle in OFF. I pressed the toggle and the monitor loaded

In summary was not frozen and load one monitor but manually I could turned on.

This is my configuration of my /etc/default/grub

# GRUB boot loader configuration

GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Manjaro"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash resume=UUID=f868137e-dac2-4bd8-b260-70ad9aef5f1d udev.log_priority=3 optimus-manager.startup=nvidia nvidia_drm.modeset=1"
GRUB_CMDLINE_LINUX=""

When I had an old monitor (with HDMI), it was not detected either, and I remember adding the line:

optimus-manager.startup=nvidia nvidia_drm.modeset=1

I don’t know if this can help or not.

This is my system:

System:
  Kernel: 6.6.40-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=e8ad0b83-8ba5-4838-bd74-fb0464854b35 rw quiet splash
    resume=UUID=f868137e-dac2-4bd8-b260-70ad9aef5f1d udev.log_priority=3
    optimus-manager.startup=nvidia nvidia_drm.modeset=1
  Desktop: KDE Plasma v: 6.0.5 tk: Qt v: N/A info: frameworks v: 6.3.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: PCSpecialist product: GM6PX0X v: Standard
    serial: <superuser required>
  Mobo: TongFang model: GM6PX0X v: Standard serial: <superuser required>
    part-nu: 0001 uuid: <superuser required> UEFI: American Megatrends LLC.
    v: N.1.09A02 date: 05/15/2023
Battery:
  ID-1: BAT0 charge: 98.2 Wh (99.0%) condition: 99.2/99.2 Wh (100.0%)
    volts: 17.0 min: 15.5 model: standard type: Li-ion serial: <filter>
    status: not charging
CPU:
  Info: model: 13th Gen Intel Core i9-13900HX bits: 64 type: MST AMCP
    arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
    process: Intel 7 (10nm) family: 6 model-id: 0xB7 (183) stepping: 1
    microcode: 0x123
  Topology: cpus: 1x cores: 24 mt: 8 tpc: 2 st: 16 threads: 32 smt: enabled
    cache: L1: 2.1 MiB desc: d-16x32 KiB, 8x48 KiB; i-8x32 KiB, 16x64 KiB
    L2: 32 MiB desc: 8x2 MiB, 4x4 MiB L3: 36 MiB desc: 1x36 MiB
  Speed (MHz): avg: 811 high: 992 min/max: 800/5200:5400:3900 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 986 8: 800 9: 800 10: 800 11: 800 12: 800 13: 800 14: 992
    15: 800 16: 800 17: 800 18: 800 19: 800 20: 800 21: 800 22: 800 23: 800
    24: 800 25: 800 26: 800 27: 800 28: 800 29: 800 30: 800 31: 800 32: 800
    bogomips: 154880
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling mitigation: Clear Register File
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional;
    RSB filling; PBRSB-eIBRS: SW sequence; BHI: BHI_DIS_S
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Raptor Lake-S UHD Graphics vendor: Tongfang Hongkong
    driver: i915 v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+
    ports: active: eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2, HDMI-A-3,
    HDMI-A-4 bus-ID: 00:02.0 chip-ID: 8086:a788 class-ID: 0300
  Device-2: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile]
    vendor: Tongfang Hongkong driver: nvidia v: 550.100
    alternate: nouveau,nvidia_drm non-free: 550.xx+
    status: current (as of 2024-06) arch: Lovelace code: AD1xx
    process: TSMC n4 (5nm) built: 2022+ pcie: gen: 3 speed: 8 GT/s lanes: 8
    link-max: gen: 4 speed: 16 GT/s ports: active: none off: DP-3
    empty: DP-4,HDMI-A-5,eDP-2 bus-ID: 01:00.0 chip-ID: 10de:28a0
    class-ID: 0300
  Device-3: Chicony FHD Webcam driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:4 chip-ID: 04f2:b7c2
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.1
    compositor: kwin_x11 driver: X: loaded: modesetting,nvidia
    gpu: i915,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5360x1440 s-dpi: 96 s-size: 1417x380mm (55.79x14.96")
    s-diag: 1467mm (57.76")
  Monitor-1: DP-3 mapped: DP-0 note: disabled pos: right
    model: LG (GoldStar) ULTRAWIDE serial: <filter> built: 2024 res: 3440x1440
    hz: 160 dpi: 109 gamma: 1.2 size: 800x330mm (31.5x12.99")
    diag: 867mm (34.1") modes: max: 3440x1440 min: 640x480
  Monitor-2: eDP-1 mapped: eDP-1-1 pos: primary,left
    model: BOE Display 0x0a3b built: 2021 res: 1920x1080 hz: 60 dpi: 142
    gamma: 1.2 size: 344x215mm (13.54x8.46") diag: 406mm (16") ratio: 16:10
    modes: 2560x1600
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 1 drv: iris device: 3 drv: swrast gbm: drv: iris
    surfaceless: drv: nvidia x11: drv: nvidia inactive: wayland,device-2
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.100
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 4060 Laptop
    GPU/PCIe/SSE2 memory: 7.81 GiB
  API: Vulkan v: 1.3.279 layers: 5 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 4060 Laptop GPU driver: nvidia v: 550.100 device-ID: 10de:28a0
    surfaces: xcb,xlib
Audio:
  Device-1: Intel Raptor Lake High Definition Audio vendor: Tongfang Hongkong
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:7a50 class-ID: 0403
  Device-2: NVIDIA vendor: Tongfang Hongkong driver: snd_hda_intel v: kernel
    pcie: gen: 4 speed: 16 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:22be
    class-ID: 0403
  API: ALSA v: k6.6.40-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.1 status: off with: wireplumber status: active
    tools: pw-cli,wpctl
  Server-3: PulseAudio v: 17.0 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Intel Raptor Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:7a70 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: Tongfang Hongkong driver: r8169
    v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 3a:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp58s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: docker0 state: down mac: <filter>
  Info: services: NetworkManager,wpa_supplicant
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:8 chip-ID: 8087:0033
    class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
  Local Storage: total: 1.86 TiB used: 484.61 GiB (25.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: solidgm model: SSDPFKNU020TZ
    size: 1.86 TiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 002C temp: 33.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 120 GiB size: 117.81 GiB (98.17%) used: 67.86 GiB (57.6%)
    fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 301 MiB size: 300.4 MiB (99.79%)
    used: 296 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 1.34 TiB size: 1.31 TiB (98.35%)
    used: 416.74 GiB (31.0%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A gpu: nvidia temp: 44 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 64 GiB note: est. available: 62.54 GiB used: 7.83 GiB (12.5%)
  Processes: 536 Power: uptime: 1h 5m states: freeze,mem,disk suspend: s2idle
    avail: deep wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend,
    test_resume image: 25 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Packages: 1698 pm: pacman pkgs: 1653 libs: 421 tools: pamac,yay pm: flatpak
    pkgs: 32 pm: snap pkgs: 13 Compilers: clang: 18.1.8 gcc: 14.1.1 Shell: Zsh
    v: 5.9 running-in: kitty inxi: 3.3.35

I hope with all this information someone can help me or try to give me another idea.

Thanks for your time and help!

Sorry I forgot my nvidia-bug-report. I hope this information helps.

nvidia-bug-report.log.gz (832.5 KB)

Finally I did it!!!
I’m so happy I didn’t give up and I tried and I tried and now it’s working perfectly.

Here I will post my solution and I hope more people with the same problem find the solution.

In my /etc/default/grub my line was like this:

GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID=f868137e-dac2-4bd8-b260-70ad9aef5f1d udev.log_priority=3 optimus-manager.startup=nvidia nvidia_drm.modeset=1"

And I changed to:

GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID=f868137e-dac2-4bd8-b260-70ad9aef5f1d udev.log_priority=3 optimus-manager.startup=hybrid nvidia_drm.modeset=1"

The only change was

optimus-manager.startup=hybrid

instead of:

optimus-manager.startup=nvidia

I hope this solution help to others users with the same problem!

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