JaKooLit / Arch-Hyprland

For automated installation of Hyprland on Arch or any arch based distros
GNU General Public License v3.0
1.27k stars 106 forks source link

[Bug]: HDMI out of range #110

Closed TriDEntApollO closed 1 week ago

TriDEntApollO commented 1 month ago

Bug Report

External monitor connected through HDMI gives error: Out of range

Before submitting report

Nvidia bur report: nvidia-bug-report.log xorg.conf: xorg.conf.txt xrandr --verbose: xrandr-verbose.txt

Description

So I am using Asus ROG STRIX laptop with Arch and windows dual boot, I had GNOME and nouveau drivers working perfectly before on both my internal and external monitor. After I installed Hyprland using the install script and chose to install Nvidia drivers (since my laptop has RTX 3050) before rebbot when the nouveau drivers were still on everything worked fine. After reboot I noticed before even the SDDM login screen came my external monitor showed the error message out of range. Even though xrandr shows that my HDMI-A-1 is set to the correct resolution. i have attached all the logs and info above.

[If you have issue with installation, kindly attach the Install-Logs which was created by the install script]

Steps to Reproduce

  1. Have Arch installed with gnome and nouveau drivers on a laptop
  2. Install the Nvidia drivers when asked in the install script
  3. Reboot and now the external monitor is out of range

Expected Behavior

The external monitor would work and display as usual

Actual Behavior

The external monitor is giving error: out of range

Screenshots

[If applicable, add screenshots to help explain your problem.]

Environment

[Please add any other relevant information about the bug and remove the unnecessary lines.]

show output of inxi -CGIsSMnr install package inxi if not exist

show output here

System:
  Host: cassendra Kernel: 6.9.9-arch1-1 arch: x86_64 bits: 64
  Desktop: Hyprland v: 0.41.2 Distro: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ROG Strix G713RC_G713RC v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: G713RC v: 1.0 serial: <superuser required>
    UEFI: American Megatrends LLC. v: G713RC.327 date: 02/16/2023
CPU:
  Info: 8-core model: AMD Ryzen 7 6800H with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 640 min/max: 400/4785 cores: 1: 400 2: 400 3: 400 4: 400
    5: 400 6: 400 7: 4243 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400
    15: 400 16: 400
Graphics:
  Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile] driver: nvidia
    v: 555.58.02
  Device-2: AMD Rembrandt [Radeon 680M] driver: amdgpu v: kernel
  Display: wayland server: X.Org v: 24.1.1 with: Xwayland v: 24.1.1
    compositor: Hyprland v: 0.41.2 driver: X: loaded: nvidia unloaded: nouveau
    gpu: nvidia,nvidia-nvswitch resolution: 1920x1080~144Hz
  API: EGL v: 1.5 drivers: nvidia,radeonsi,swrast,zink
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 555.58.02
    renderer: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e
  IF: wlan1 state: up mac: 38:d5:7a:3b:44:a3
  Device-2: Realtek RTL8125 2.5GbE driver: r8169
  IF: enp4s0 state: down mac: 50:eb:f6:d0:de:54
  Device-3: TP-Link Archer T2U PLUS [RTL8821AU] driver: rtl8821au type: USB
  IF: wlan0 state: up mac: b4:b0:24:09:1a:a8
Sensors:
  System Temperatures: cpu: 60.1 C mobo: 42.0 C gpu: amdgpu temp: 53.0 C
  Fan Speeds (rpm): cpu: 2300
Repos:
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://mirror.osbeck.com/archlinux/$repo/os/$arch
    2: https://au.mirrors.cicku.me/archlinux/$repo/os/$arch
    3: https://de.mirrors.cicku.me/archlinux/$repo/os/$arch
    4: https://at.arch.mirror.kescher.at/$repo/os/$arch
    5: https://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch
    6: https://md.mirrors.hacktegic.com/archlinux/$repo/os/$arch
    7: https://mirrors.xtom.de/archlinux/$repo/os/$arch
    8: https://mirror.aarnet.edu.au/pub/archlinux/$repo/os/$arch
    9: https://mirror.lty.me/archlinux/$repo/os/$arch
    10: https://mirror.sunred.org/archlinux/$repo/os/$arch
    11: https://mirror.funami.tech/arch/$repo/os/$arch
    12: https://archlinux.thaller.ws/$repo/os/$arch
    13: https://mirror.moson.org/arch/$repo/os/$arch
    14: https://mirror.telepoint.bg/archlinux/$repo/os/$arch
    15: https://mirror.f4st.host/archlinux/$repo/os/$arch
    16: https://archlinux.c3sl.ufpr.br/$repo/os/$arch
    17: https://mirror.pseudoform.org/$repo/os/$arch
    18: https://mirror.ufscar.br/archlinux/$repo/os/$arch
    19: https://archlinux.za.mirror.allworldit.com/archlinux/$repo/os/$arch
    20: https://mirror.theash.xyz/arch/$repo/os/$arch
Info:
  Memory: total: 16 GiB note: est. available: 14.89 GiB used: 3.26 GiB (21.9%)
  Processes: 357 Uptime: 34m Shell: Zsh inxi: 3.3.35

Additional Information

If it helps the monitor I am using is LG Ultragear 24gn65r

JaKooLit commented 2 weeks ago

sorry I missed this

any updated?

note xrandr is x11 apps.

use wlrandr or built in hyprctl monitors instead

JaKooLit commented 1 week ago

closing as being dormant