JaKooLit / Ubuntu-Hyprland

Automated Hyprland installer for Ubuntu. NOTE: Repo Branches as per Ubuntu Versions
GNU General Public License v3.0
196 stars 15 forks source link

[Bug]: GPU not recognised on fresh Ubuntu install #18

Open noxidsoft opened 1 month ago

noxidsoft commented 1 month ago

Bug Report

Description

[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. Install latest Ubuntu 24.04.1 LTS
  2. Follow download and install instruction on this repo
  3. Run Hyprland on terminal

Expected Behavior

Run Hyprland in terminal and Hyprland starts

Actual Behavior

Log is long, see Additional information at bottom...

Environment

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

show output here

└─[$] <> inxi -CGIsSMnr
System:
  Host: nole-ubuntu Kernel: 6.8.0-47-generic arch: x86_64 bits: 64
  Desktop: GNOME v: 46.0 Distro: Ubuntu 24.04.1 LTS (Noble Numbat)
Machine:
  Type: Desktop System: Micro-Star product: MS-7B86 v: 4.0
    serial: <superuser required>
  Mobo: Micro-Star model: B450-A PRO MAX (MS-7B86) v: 4.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: M.H0
    date: 07/26/2022
CPU:
  Info: 6-core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP cache: L2: 3 MiB
  Speed (MHz): avg: 2808 min/max: 2200/4650 cores: 1: 2200 2: 3600 3: 2200
    4: 2200 5: 3600 6: 2200 7: 2200 8: 3700 9: 3700 10: 3700 11: 2200 12: 2200
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660] driver: nvidia v: 550.107.02
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
    gpu: nvidia,nvidia-nvswitch resolution: 2560x1080~60Hz
  API: EGL v: 1.5 drivers: nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.107.02
    renderer: NVIDIA GeForce GTX 1660/PCIe/SSE2
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp34s0 state: down mac: 04:7c:16:6d:7a:55
  Device-2: Realtek RTL8852BE PCIe 802.11ax Wireless Network
    driver: rtw89_8852be
  IF: wlp38s0 state: up mac: cc:47:40:fd:11:f0
Sensors:
  System Temperatures: cpu: 37.1 C mobo: N/A gpu: nvidia temp: 31 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 45%
Repos:
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/ubuntu.sources
    1: deb http://au.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: 32 GiB available: 31.26 GiB used: 2.33 GiB (7.5%)
  Processes: 326 Uptime: 16m Shell: Zsh inxi: 3.3.34

Additional Information

─[$] <> cat /home/nole/.cache/hyprland/hyprlandCrashReport4690.txt

Hyprland Crash Report

I hope you didn't have any unsaved progress.

Hyprland received signal 6 (Aborted)

Version: fe7b748eb668136dd0558b7c8279bfcd7ab4d759 Tag: v0.39.1

System info: System name: Linux Node name: nole-ubuntu Release: 6.8.0-47-generic Version: #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024

GPU: 29:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1660] [10de:2184] (rev a1) (prog-if 00 [VGA controller])

os-release: PRETTY_NAME="Ubuntu 24.04.1 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.1 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo

Backtrace:

0 | Hyprland(_Z12getBacktracev+0x61) [0x5d9c6ea94e81]

    getBacktrace()
    ??:?
#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x6df) [0x5d9c6ea1bb7f]
    CrashReporter::createAndSaveCrash(int)
    ??:?
#2 | Hyprland(_Z25handleUnrecoverableSignali+0x45) [0x5d9c6e998295]
    handleUnrecoverableSignal(int)
    ??:?
#3 | /lib/x86_64-linux-gnu/libc.so.6(+0x45320) [0x7546c7645320]
    ??
    ??:0
#4 | /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11c) [0x7546c769eb1c]
    ??
    ??:0
#5 | /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x1e) [0x7546c764526e]
    ??
    ??:0
#6 | /lib/x86_64-linux-gnu/libc.so.6(abort+0xdf) [0x7546c76288ff]
    ??
    ??:0
#7 | /lib/x86_64-linux-gnu/libstdc++.so.6(+0xa5ff5) [0x7546c7aa5ff5]
    CCompositor::initManagers(eManagersInitStage) [clone .cold]
    Compositor.cpp:?
#8 | /lib/x86_64-linux-gnu/libstdc++.so.6(+0xbb0da) [0x7546c7abb0da]
    std::__format::_Sink_iter<char> std::__format::__formatter_chrono<char>::_M_locale_fmt<std::__format::_Sink_iter<char> >(std::__format::_Sink_iter<char>, std::locale const&, tm const&, char, char) const [clone .isra.0] [clone .cold]
    IHyprLayout.cpp:?
#9 | /lib/x86_64-linux-gnu/libstdc++.so.6(_ZSt10unexpectedv+0) [0x7546c7aa5a55]
    std::__format::_Sink_iter<char> std::__format::__formatter_chrono<char>::_M_locale_fmt<std::__format::_Sink_iter<char> >(std::__format::_Sink_iter<char>, std::locale const&, tm const&, char, char) const [clone .isra.0] [clone .cold]
    Compositor.cpp:?
#10 | /lib/x86_64-linux-gnu/libstdc++.so.6(+0xbb391) [0x7546c7abb391]
    IHyprLayout::onWindowCreatedFloating(CWindow*) [clone .cold]
    IHyprLayout.cpp:?
#11 | Hyprland(+0xb766c) [0x5d9c6e94e66c]
    throwError(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .cold]
    MiscFunctions.cpp:?
#12 | Hyprland(_ZN11CCompositor10initServerEv+0x5cd) [0x5d9c6e9a993d]
    CCompositor::initServer()
    ??:?
#13 | Hyprland(main+0x765) [0x5d9c6e97e2e5]
    main
    ??:?
#14 | /lib/x86_64-linux-gnu/libc.so.6(+0x2a1ca) [0x7546c762a1ca]
    ??
    ??:0
#15 | /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x8b) [0x7546c762a28b]
    ??
    ??:0
#16 | Hyprland(_start+0x25) [0x5d9c6e998145]
    _start
    ??:?

Log tail: [LOG] Hyprland PID: 4690 [LOG] ===== SYSTEM INFO: ===== [LOG] System name: Linux [LOG] Node name: nole-ubuntu [LOG] Release: 6.8.0-47-generic [LOG] Version: #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024

[LOG] GPU information: 29:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1660] [10de:2184] (rev a1) (prog-if 00 [VGA controller])

[WARN] Warning: you're using an NVIDIA GPU. Make sure you follow the instructions on the wiki if anything is amiss.

[LOG] os-release: PRETTY_NAME="Ubuntu 24.04.1 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.1 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo

[LOG] ========================

[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/

[LOG] Current splash: What's in your head, in your head?

[LOG] Creating the EventLoopManager! [LOG] Creating the HookSystem! [LOG] Creating the KeybindManager! [LOG] [hookSystem] New hook event registered: configReloaded [LOG] Creating the AnimationManager! [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 30.11µs. Estimated average calc time: 0.00µs. [LOG] Creating the ConfigManager! [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 11.32µs. Estimated average calc time: 0.00µs. [LOG] Using config: /home/nole/.config/hypr/hyprland.conf [LOG] !!!!HEY YOU, YES YOU!!!!: further logs to stdout / logfile are disabled by default. BEFORE SENDING THIS LOG, ENABLE THEM. Use debug:disable_logs = false to do so: https://wiki.hyprland.org/Configuring/Variables/#debug [LOG] Creating the CHyprError! [LOG] [hookSystem] New hook event registered: focusedMon [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.38µs. Estimated average calc time: 0.00µs. [LOG] Using config: /home/nole/.config/hypr/hyprland.conf [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 11.44µs. Estimated average calc time: 0.00µs. [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 11.02µs. Estimated average calc time: 0.00µs. [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 10.98µs. Estimated average calc time: 0.00µs. [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 10.97µs. Estimated average calc time: 0.00µs. [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 11.05µs. Estimated average calc time: 0.00µs. [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 10.84µs. Estimated average calc time: 0.00µs. [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 10.81µ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! ┌─[nole@nole-ubuntu] - [~] - [Wed Oct 16, 16:14]

JaKooLit commented 1 month ago

https://ubuntu.com/server/docs/nvidia-drivers-installation

try to reinstall nvidia drivers using the wiki