JaKooLit / Debian-Hyprland

Automated Hyprland installer for Debian 13 Trixie and Debian SID (unstable) and Ubuntu 24.04 Noble Numbat
GNU General Public License v3.0
525 stars 44 forks source link

[Bug]: m_sWLRBackend was NULL! #117

Open pulltheflower opened 1 week ago

pulltheflower commented 1 week ago

Bug Report

Before submitting report

[Kindly review the log files in Install-Logs directory. Some apps may have not installed properly.]

Description

I run the install script in ubuntu 24.04 LTS Destop with nvidia GPU, after installed, I type hyprland in the terminal to start the hyprland, but I got the errors below:

[LOG] [hookSystem] New hook event registered: preRender
[LOG] Creating the LayoutManager!
[LOG] [hookSystem] New hook event registered: preConfigReload
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 11.90µs. Estimated average calc time: 0.00µs.
[LOG] Using config: /home/zzh/.config/hypr/hyprland.conf
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 12.30µs. Estimated average calc time: 0.00µs.
[LOG] Disabling stdout logs! Check the log for further logs.
[backend/backend.c:224] Cannot create X11 backend: disabled at compile-time
[CRITICAL] m_sWLRBackend was NULL! This usually means wlroots could not find a GPU or enountered some issues.
[CRITICAL] Critical error thrown: wlr_backend_autocreate() failed!

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected Behavior

[What did you expect to happen?]

Actual Behavior

[What actually happened?]

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: zzh-computer Kernel: 6.8.0-36-generic arch: x86_64 bits: 64
  Desktop: GNOME v: 46.0 Distro: Ubuntu 24.04 LTS (Noble Numbat)
Machine:
  Type: Desktop Mobo: ASUSTeK model: PRIME B360-PLUS v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 0602
    date: 03/23/2018
CPU:
  Info: 6-core model: Intel Core i7-8700 bits: 64 type: MT MCP cache:
    L2: 1.5 MiB
  Speed (MHz): avg: 800 min/max: 800/4600 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 5GB] driver: nvidia v: 535.183.01
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: modesetting,nouveau,nvidia unloaded: fbdev,vesa
    gpu: nvidia,nvidia-nvswitch resolution: 1: 3440x1440~100Hz 2: N/A
  API: EGL v: 1.5 drivers: kms_swrast,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 535.183.01
    renderer: NVIDIA GeForce GTX 1060 5GB/PCIe/SSE2
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: 0c:9d:92:16:09:fa
Sensors:
  System Temperatures: cpu: 45.0 C mobo: N/A gpu: nvidia temp: 46 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 28%
Repos:
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/ubuntu.sources
    1: deb http://cn.archive.ubuntu.com/ubuntu/ noble noble-updates noble-backports main restricted universe multiverse
    2: deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
Info:
  Memory: total: 24 GiB available: 23.38 GiB used: 3.03 GiB (12.9%)
  Processes: 314 Uptime: 32m Shell: Zsh inxi: 3.3.34

Additional Information

[Add any other information about the problem here. For example, you might include the error message, any recent changes that you made to the project, or any other relevant details.]

JaKooLit commented 1 week ago

complete all the details bug report template

and at the beginning it states

"Before submitting report [Kindly review the log files in Install-Logs directory. Some apps may have not installed properly.]"

at most cases, re-running the script again fixes most of issues

JaKooLit commented 5 days ago

this looks like a driver issue.

try to reinstall nvidia