Closed Greatz08 closed 2 months ago
I assume this is a regression ? If it is, check where it resides please.
@Aqa-Ib i tried my best to find similar issue but couldnt and that's why created fresh. If you can find anything similar which can solve my issue then please guide me to that i will gladly try that out
Try with other wayland compositor or downgrade hyprland to see if it works to identify the cause of the issue.
@Aqa-Ib i tried with previous versions of hyprland like 2 previous versions and got the same result and that is why creating this finally after spending hours in trying to fix it with no result :-(( so expecting from some people to help this poor soul. I know people wont have same specs or laptop like me but still i shared whatever i could to get solution for it
@HakaishinShwet try this https://wiki.hyprland.org/Configuring/Multi-GPU/ and only using one gpu
You should change from 0.42.0 with aquamarine
env = WLR_NO_HARDWARE_CURSORS,1
to
cursor {
no_hardware_cursors = true
}
Also, if you're going to use Multi-GPU be aware that using it, like me, with kernel modules early loading, at least on Fedora with dracut, may change the enumeration of the GPUs as happens on my laptop (Lenovo 5i i7 10750H + RTX 2060).
Relevant: https://github.com/bayasdev/envycontrol
@Aqa-Ib i did tried that out and struggled in live os to correct back things :-)) .Thanks for suggesting something new tho.
i think amdgpu drivers have issue with wayland or maybe is it hyprland specific ? Because i did run journalctl on amdgpu and see its output :
journalctl -b | grep amdgpu
Sep 09 21:41:49 AIbo kernel: [drm] amdgpu kernel modesetting enabled.
Sep 09 21:41:49 AIbo kernel: amdgpu: vga_switcheroo: detected switching method \_SB_.PCI0.GP17.VGA_.ATPX handle
Sep 09 21:41:49 AIbo kernel: amdgpu: ATPX version 1, functions 0x00000001
Sep 09 21:41:49 AIbo kernel: amdgpu: ATPX Hybrid Graphics
Sep 09 21:41:49 AIbo kernel: amdgpu: Virtual CRAT table created for CPU
Sep 09 21:41:49 AIbo kernel: amdgpu: Topology: Add CPU node
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: enabling device (0000 -> 0003)
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: Fetched VBIOS from VFCT
Sep 09 21:41:49 AIbo kernel: amdgpu: ATOM BIOS: 113-PHXGENERIC-001
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: [drm:jpeg_v4_0_early_init [amdgpu]] JPEG decode is enabled in VM mode
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: VRAM: 512M 0x0000008000000000 - 0x000000801FFFFFFF (512M used)
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: GART: 512M 0x00007FFF00000000 - 0x00007FFF1FFFFFFF
Sep 09 21:41:49 AIbo kernel: [drm] amdgpu: 512M of VRAM memory ready
Sep 09 21:41:49 AIbo kernel: [drm] amdgpu: 7586M of GTT memory ready.
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: Will use PSP to load VCN firmware
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: reserve 0x4a00000 from 0x8010000000 for PSP TMR
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: RAS: optional ras ta ucode is not available
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: RAP: optional rap ta ucode is not available
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: SMU is initialized successfully!
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: [drm:jpeg_v4_0_hw_init [amdgpu]] JPEG decode initialized successfully.
Sep 09 21:41:49 AIbo kernel: kfd kfd: amdgpu: Allocated 3969056 bytes on gart
Sep 09 21:41:49 AIbo kernel: kfd kfd: amdgpu: Total number of KFD nodes to be created: 1
Sep 09 21:41:49 AIbo kernel: amdgpu: Virtual CRAT table created for GPU
Sep 09 21:41:49 AIbo kernel: amdgpu: Topology: Add dGPU node [0x15bf:0x1002]
Sep 09 21:41:49 AIbo kernel: kfd kfd: amdgpu: added device 1002:15bf
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: SE 1, SH per SE 2, CU per SH 6, active_cu_number 12
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 6 on hub 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 7 on hub 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 8 on hub 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 9 on hub 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 10 on hub 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 11 on hub 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring vcn_unified_0 uses VM inv eng 0 on hub 8
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring jpeg_dec uses VM inv eng 1 on hub 8
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 13 on hub 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: amdgpu: Runtime PM not available
Sep 09 21:41:49 AIbo kernel: [drm] Initialized amdgpu 3.57.0 20150101 for 0000:05:00.0 on minor 0
Sep 09 21:41:49 AIbo kernel: amdgpu 0000:05:00.0: [drm] Cannot find any crtc or sizes
Sep 09 21:41:49 AIbo kernel: snd_hda_intel 0000:05:00.1: bound 0000:05:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
its showing black screen i guess on login because of this issue i believe and i dont know if its wayland specific or hyprland . I tried to search on internet regarding this but to be honest i did find some issues result on "amdgpu 0000:05:00.0: [drm] Cannot find any crtc " but couldnt understand and they all were of x11 so i dont if it requires x11 or something which hyprland missing or i am missing so please if you all can help me resolve this issue then maybe i can see the display with my igpu.
@ikalco until and unless we resolve this issue that wont work i tried and same thing happens if i try envycontrol . Both methods just force use amdgpu and its loading too just that not showing screen at all and i have provided error log so please help on this :-)
does setting AQ_NO_MODIFIERS=1
resolve your issue
@ikalco until and unless we resolve this issue that wont work i tried and same thing happens if i try envycontrol . Both methods just force use amdgpu and its loading too just that not showing screen at all and i have provided error log so please help on this :-)
hmm.. amdgpu 0000:05:00.0: [drm] Cannot find any crtc
definitely seems like a driver issue
can you try sway to see if it works?
also give a hyprland.log of you booting up Hyprland, might be some clues there
@romanstingler nah it didnt worked. I did tried custom kernel and booted and it showed weired type of black screen again when i tried on dynamic mode but this time i typed password on that blackscreen and boom it did login and i was inside hyprland and its working great. But issue is that i tried both sddm and lightdm but none of them are showing actual gui when it should while login and it does load perfectly fine just that with complete black screen so i have to currently type passowrd on that black screen and enter and i am inside hyprland. Pretty weird thing in my opinion i tried to remove sddm and installed sddm-git but same issue and then i tried with lightdm and same issue
this is the log of current lightdm
Sep 10 21:42:50 AIbo lightdm[1119]: pam_systemd_home(lightdm:auth): New sd-bus connection (system-bus-pam-systemd-home-1119) opened.
Sep 10 21:43:12 AIbo lightdm[1119]: pam_unix(lightdm:session): session opened for user hakaishin(uid=1000) by hakaishin(uid=0)
Sep 10 21:43:12 AIbo lightdm[1119]: pam_systemd(lightdm:session): New sd-bus connection (system-bus-pam-systemd-1119) opened.
Sep 10 21:43:13 AIbo lightdm[1119]: Error opening audit socket: Protocol not supported
Sep 10 21:43:21 AIbo lightdm[1649]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=940) by (uid=0)
Sep 10 21:43:21 AIbo lightdm[1649]: pam_systemd(lightdm-greeter:session): New sd-bus connection (system-bus-pam-systemd-1649) opened.
Sep 10 21:43:22 AIbo lightdm[1668]: pam_systemd_home(lightdm:auth): New sd-bus connection (system-bus-pam-systemd-home-1668) opened.
Sep 10 21:43:24 AIbo lightdm[1668]: pam_unix(lightdm:session): session opened for user hakaishin(uid=1000) by hakaishin(uid=0)
Sep 10 21:43:24 AIbo lightdm[1668]: pam_systemd(lightdm:session): New sd-bus connection (system-bus-pam-systemd-1668) opened.
Sep 10 21:43:24 AIbo lightdm[1668]: Error opening audit socket: Protocol not supported
sddm had this log :
Sep 10 12:38:18 AIbo sddm[796]: Initializing... Sep 10 12:38:18 AIbo sddm[796]: Starting... Sep 10 12:38:18 AIbo sddm[796]: Logind interface found Sep 10 12:38:18 AIbo sddm[796]: Adding new display... Sep 10 12:38:18 AIbo sddm[796]: Loaded empty theme configuration Sep 10 12:38:18 AIbo sddm[796]: Xauthority path: "/run/sddm/xauth_MQZyrk" Sep 10 12:38:18 AIbo sddm[796]: Using VT 2 Sep 10 12:38:18 AIbo sddm[796]: Display server starting... Sep 10 12:38:18 AIbo sddm[796]: Writing cookie to "/run/sddm/xauth_MQZyrk" Sep 10 12:38:18 AIbo sddm[796]: Running: /usr/bin/X -nolisten tcp -background none -seat seat0 vt2 -auth /run/sddm/xauth_MQZyrk -noreset -displayfd 16 Sep 10 12:38:20 AIbo sddm[796]: Setting default cursor Sep 10 12:38:20 AIbo sddm[796]: Running display setup script "/usr/share/sddm/scripts/Xsetup" Sep 10 12:38:20 AIbo sddm[796]: Display server started. Sep 10 12:38:20 AIbo sddm[796]: Socket server starting... Sep 10 12:38:20 AIbo sddm[796]: Socket server started. Sep 10 12:38:20 AIbo sddm[796]: Loading theme configuration from "/usr/share/sddm/themes/Sweet/theme.conf" Sep 10 12:38:20 AIbo sddm[796]: Greeter starting... Sep 10 12:38:20 AIbo sddm-helper[850]: [PAM] Starting... Sep 10 12:38:20 AIbo sddm-helper[850]: [PAM] Authenticating... Sep 10 12:38:20 AIbo sddm-helper[850]: [PAM] returning. Sep 10 12:38:20 AIbo sddm-helper[850]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=959) by (uid=0) Sep 10 12:38:20 AIbo sddm-helper[850]: pam_systemd(sddm-greeter:session): New sd-bus connection (system-bus-pam-systemd-850) opened. Sep 10 12:38:20 AIbo systemd-logind[685]: New session c1 of user sddm. Sep 10 12:38:20 AIbo (systemd)[854]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[sddm] ruser=[<unknown>] rhost=[<unknown>] Sep 10 12:38:20 AIbo (systemd)[854]: pam_unix(systemd-user:session): session opened for user sddm(uid=959) by sddm(uid=0) Sep 10 12:38:20 AIbo systemd-logind[685]: New session 1 of user sddm. Sep 10 12:38:20 AIbo systemd[1]: Started Session c1 of User sddm. Sep 10 12:38:20 AIbo sddm-helper[850]: Writing cookie to "/tmp/xauth_fjmldP" Sep 10 12:38:20 AIbo sddm-helper[850]: Starting X11 session: "" "/usr/bin/sddm-greeter --socket /tmp/sddm-:0-liZFCj --theme /usr/share/sddm/themes/Sweet" Sep 10 12:38:20 AIbo sddm[796]: Greeter session started successfully Sep 10 12:38:20 AIbo sddm-greeter[865]: High-DPI autoscaling Enabled Sep 10 12:38:20 AIbo sddm-greeter[865]: Reading from "/usr/share/wayland-sessions/garuda-hyprland.desktop" Sep 10 12:38:20 AIbo sddm-greeter[865]: Reading from "/usr/share/wayland-sessions/hyprland.desktop" Sep 10 12:38:20 AIbo sddm-greeter[865]: Loading theme configuration from "/usr/share/sddm/themes/Sweet/theme.conf" Sep 10 12:38:20 AIbo sddm-greeter[865]: Connected to the daemon. Sep 10 12:38:20 AIbo sddm[796]: Message received from greeter: Connect Sep 10 12:38:20 AIbo sddm-greeter[865]: Loading file:///usr/share/sddm/themes/Sweet/Main.qml... Sep 10 12:38:21 AIbo sddm-greeter[865]: QObject: Cannot create children for a parent that is in a different thread. Sep 10 12:38:21 AIbo sddm-greeter[865]: QObject: Cannot create children for a parent that is in a different thread. Sep 10 12:38:21 AIbo sddm-greeter[865]: QObject: Cannot create children for a parent that is in a different thread. Sep 10 12:38:21 AIbo sddm-greeter[865]: QObject::installEventFilter(): Cannot filter events for objects in a different thread. Sep 10 12:38:21 AIbo sddm-greeter[865]: Could not locate plasma theme "default" in plasma/desktoptheme/ using search path ("/var/lib/sddm/.local/share", "/usr/local/share", "/usr/share") Sep 10 12:38:21 AIbo sddm-greeter[865]: Could not locate plasma theme "default" in plasma/desktoptheme/ using search path ("/var/lib/sddm/.local/share", "/usr/local/share", "/usr/share") Sep 10 12:38:21 AIbo sddm-greeter[865]: file:///usr/share/sddm/themes/Sweet/Main.qml:440:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } Sep 10 12:38:21 AIbo sddm-greeter[865]: file:///usr/share/sddm/themes/Sweet/components/VirtualKeyboard.qml:21:1: module "QtQuick.VirtualKeyboard" is not installed Sep 10 12:38:21 AIbo sddm-greeter[865]: file:///usr/share/sddm/themes/Sweet/Login.qml:94:9: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } Sep 10 12:38:21 AIbo sddm-greeter[865]: file:///usr/share/sddm/themes/Sweet/components/Clock.qml:29: TypeError: Cannot read property 'DateTime' of undefined Sep 10 12:38:21 AIbo sddm-greeter[865]: file:///usr/share/sddm/themes/Sweet/components/Clock.qml:39: TypeError: Cannot read property 'DateTime' of undefined Sep 10 12:38:21 AIbo sddm-greeter[865]: file:///usr/share/sddm/themes/Sweet/Main.qml:154: TypeError: Cannot read property 'Locked' of undefined Sep 10 12:38:21 AIbo sddm-greeter[865]: Adding view for "eDP-1" QRect(0,0 2560x1600) Sep 10 12:38:21 AIbo sddm-greeter[865]: Message received from daemon: Capabilities Sep 10 12:38:21 AIbo sddm-greeter[865]: Message received from daemon: HostName Sep 10 12:38:21 AIbo sddm-greeter[865]: findInCache with a lastModified timestamp of 0 is deprecated Sep 10 12:38:21 AIbo sddm-greeter[865]: findInCache with a lastModified timestamp of 0 is deprecated Sep 10 12:38:27 AIbo sddm-greeter[865]: failed to create compose table Sep 10 12:38:29 AIbo sddm-greeter[865]: Reading from "/usr/share/wayland-sessions/garuda-hyprland.desktop" Sep 10 12:38:29 AIbo sddm[796]: Message received from greeter: Login Sep 10 12:38:29 AIbo sddm[796]: Reading from "/usr/share/wayland-sessions/garuda-hyprland.desktop" Sep 10 12:38:29 AIbo sddm[796]: Session "/usr/share/wayland-sessions/garuda-hyprland.desktop" selected, command: "hyprstart" for VT 1 Sep 10 12:38:29 AIbo sddm-helper[1398]: [PAM] Starting... Sep 10 12:38:29 AIbo sddm-helper[1398]: [PAM] Authenticating... Sep 10 12:38:29 AIbo sddm-helper[1398]: pam_systemd_home(sddm:auth): New sd-bus connection (system-bus-pam-systemd-home-1398) opened. Sep 10 12:38:29 AIbo sddm-helper[1398]: [PAM] Preparing to converse... Sep 10 12:38:29 AIbo sddm-helper[1398]: [PAM] Conversation with 1 messages Sep 10 12:38:29 AIbo sddm-helper[1398]: gkr-pam: unable to locate daemon control file Sep 10 12:38:29 AIbo sddm-helper[1398]: gkr-pam: stashed password to try later in open session Sep 10 12:38:29 AIbo sddm-helper[1398]: [PAM] returning. Sep 10 12:38:29 AIbo sddm[796]: Authentication for user "hakaishin" successful Sep 10 12:38:29 AIbo sddm-greeter[865]: Message received from daemon: LoginSucceeded Sep 10 12:38:29 AIbo sddm-helper[1398]: pam_unix(sddm:session): session opened for user hakaishin(uid=1000) by hakaishin(uid=0)
so if possible guide to resolve this now :-) @ikalco
Execute hyprland without a session manager. Use the TTY.
@Aqa-Ib solution wont be to run hyprland from TTY when it is already running perfectly as i explained in my message. Only issue that i mentioned after using with custom kernel approach with amdgpu mkinit rebuild was not been able to see graphical interface of sddm which means sddm graphical greeter display was not showing visually but was working and only thing i was able to see was blackscreen on which i had to write password and enter and i am inside hyprland and as i mentioned earlier i tested with lightdm too and got same behavior from this testing so i researched alot for this and google didnt helped from some random reddit i browse through to reach this issue page on this arch page :
https://bbs.archlinux.org/viewtopic.php?id=286847
This guided me to understand what could be the possible issue because i did know that issue is not from sddm or lightdm side and not from hyprland side so i was assuming it was issue from kernel side so tested with lts and other custom kernels but nothing fixed this specific issue so on this page i got two major packages intel which could be the possible cause of this behavior and those were : amd-ucode
and linux-firmware
so different users had different experience of fixing this issue with these packages so anyone can read from the above link.
What worked for me to resolve this issue was to downgrade both the packages and rebuild initramfs and reboot , So my exact steps to guide peeps who might face this issue in future or are currently facing this issue to fix are :
so install those packages and rebuild and reboot and boom it will work for sure i hope so as it did work for me and i tested with three 3-4 consecutive reboots after 30 mins so far no issues and btw kernel which i used is latest cachyos bore kernel : Linux 6.10.6-2-cachyos-bore but i tested with linux-lqx too in that too it did work so yeah thats all i can share my side to fix this.
Thats all , now sddm also shows graphical interface instead of black screen and amd latest igpu works too with hyprland without issues. Attaching two screenshots for others and for myself too as backup to get idea of what all linux and amd related packages were installed in my system when i achieved success :-))
so if anyone has any better advice or wanted to ask any question regarding this so you can ask i will try my best to answer else you can close this issue :-))
Weird regressions everywhere. Why the f are we not using debian i wonder xD
haha because we love problems and less stable life XD
Already reported ? *
Regression?
No
System Info and Version
System/Version info
```sh Hyprland, built from branch main at commit 7c4c402bd7f24241c096d809cc80408a469f15cb (config: include XF86Audio* key bindings to default cfg (7695)). Date: Sun Sep 8 23:04:07 2024 Tag: v0.43.0-4-g7c4c402b, commits: 5200 flags: (if any) System Information: System name: Linux Node name: AIbo Release: 6.10.6-arch Version: #1 ZEN SMP PREEMPT Wed, 21 Aug 2024 10:37:55 +0000 GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] [10de:28e0] (rev a1) (prog-if 00 [VGA controller]) 05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c2) (prog-if 00 [VGA controller]) NVRM version: NVIDIA UNIX Open Kernel Module for x86_64 560.35.03 Release Build (archlinux-builder@AIbo) os-release: NAME="Garuda Linux" PRETTY_NAME="Garuda Linux" ID=garuda ID_LIKE=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://garudalinux.org/" DOCUMENTATION_URL="https://wiki.garudalinux.org/" SUPPORT_URL="https://forum.garudalinux.org/" BUG_REPORT_URL="https://gitlab.com/groups/garuda-linux/" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=garudalinux plugins: ======Config-Start====== Config File: /home/hakaishin/.config/hypr/hyprland.conf: Read Succeeded # ####################################################################################### # AUTOGENERATED HYPR CONFIG. # PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, # OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. # ####################################################################################### # # Please note not all available settings / options are set here. # For a full list, see the wiki # # autogenerated = 1 # remove this line to remove the warning # See https://wiki.hyprland.org/Configuring/Monitors/ monitor= , 2560x1600@165.00, auto, 1.60 # See https://wiki.hyprland.org/Configuring/Keywords/ for more env = WLR_NO_HARDWARE_CURSORS,1 env = ELECTRON_OZONE_PLATFORM_HINT,wayland #exec-once = wbg ~/Documents/wallpaperflare.com_wallpaper.jpg & exec-once = killall swww-daemon || swww-daemon && swww img ~/Music/wallpaperflare.com_wallpaper.jpg #------------------------------------------------------------------------------------------ env = NVD_BACKEND,direct env = LIBVA_DRIVER_NAME,nvidia env = XDG_SESSION_TYPE,wayland env = GBM_BACKEND,nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME,nvidia #env = QT_QPA_PLATFORMTHEME,qt5ct env = QT_QPA_PLATFORM,wayland #------------------------------------------------------------------------------------------- env = MOZ_ENABLE_WAYLAND,1 env = KITTY_ENABLE_WAYLAND,1 #----------------------------------------------------------------------------------------------------------------------------------------- xwayland { force_zero_scaling = false } exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Wayland magic (screen sharing etc.) exec-once = systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # More wayland magic (screen sharing etc.) #exec-once = nekoray # Add networkmanager applet to tray in waybar exec-once = nm-applet --indicator # Set keyboard layout #exec-once = .local/bin/garuda-locale.sh # Set monitor values. For own values, please comment with # #exec-once = .local/bin/mon.sh # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = us kb_variant = kb_model = kb_options = kb_rules = numlock_by_default= true follow_mouse = 1 touchpad { natural_scroll = false tap-to-click = true disable_while_typing = true } sensitivity = 0.4 # -1.0 - 1.0, 0 means no modification. --- modifed to 0.5 from 0 for more mouse speed changed on july 20 } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 5 gaps_out = 10 border_size = 2 col.active_border = rgba(33ccffee) rgba(8f00ffee) 45deg col.inactive_border = rgba(595959aa) allow_tearing = true layout = dwindle } #env = WLR_DRM_NO_ATOMIC,1 decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 10 blur { enabled = false size = 3 #5 passes = 2 #1 new_optimizations = true } drop_shadow = false shadow_range = 0 shadow_render_power = 0 col.shadow = rgba(1a1a1aee) } bezier=slow,0,0.85,0.3,1 bezier=overshot,0.7,0.6,0.1,1.1 bezier=bounce,1,1.6,0.1,0.85 bezier=slingshot,1,-1,0.15,1.25 bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animations { enabled=1 animation = windows, 1, 14, myBezier animation = windowsOut, 1, 14, default, popin animation = border, 1, 14, default animation = fade, 1, 14, default animation = workspaces, 1, 14, default, slidevert } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # you probably want this } #master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more # new_is_master = true # new_on_top=0 # mfact = 0.5 #} binds { workspace_back_and_forth=1 allow_workspace_cycles=1 pass_mouse_when_bound=0 } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = on } misc { disable_hyprland_logo = true disable_splash_rendering = true mouse_move_enables_dpms = true vrr = 2 enable_swallow = true # no_direct_scanout = true #for fullscreen games } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/ # executing for more #device:epic mouse V1 { # sensitivity = -0.5 #} # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # Example windowrule v1 #windowrule = float, ^(kitty)$ windowrule = float, ^(garuda-assistant)$ windowrule = float, ^(garuda-boot-options)$ windowrule = float, ^(garuda-boot-repair)$ windowrule = float, ^(garuda-gamer)$ windowrule = float, ^(garuda-network-assistant)$ windowrule = float, ^(garuda-settings-manager)$ windowrule = float, ^(garuda-welcome)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod SHIFT, R, exec, hyprctl reload #bind = $mainMod, 36, exec, footclient bind = $mainMod, Q, exec, kitty #bind = $mainMod, B, exec, exec swayidle -w timeout 2 'swaylock -f -c 000000'; swayidle -w timeout 2 'hyprctl dispatch dpms off'; swayidle -w resume 'hyprctl dispatch dpms on && pkill swayidle' # suspend bind = $mainMod, B, exec,/home/hakaishin/.config/hypr/scripts/locktime.sh bind = $mainMod, X, killactive, bind = $mainMod, E, exec, codium bind = $mainMod, F, exec, thunar bind = $mainMod, W, exec, /usr/lib/firefox-nightly/firefox bind = $mainMod SHIFT, 65, togglefloating, bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, SPACE, exec, wofi --normal-window --show drun --allow-images bind = $mainMod SHIFT, SPACE, exec, nwg-drawer -mb 10 -mr 10 -ml 10 -mt 10 bind = $mainMod, P, pseudo, # dwindle bind = $mainMod SHIFT, P, togglesplit, # dwindle bind = $mainMod, L, exec, swaylock -f -i 'Downloads/wallhaven-01mv61_1920x1200.png' bind = $mainMod, M, exec, nwgbar # show the logout window #bind = $mainMod, C, exec, export QT_QPA_PLATFORM="wayland" && chromium -enable-features=UseOzonePlatform -ozone-platform=wayland bind = $mainMod, C, exec, chromium --disable-gpu-compositing --ozone-platform-hint=auto bind = $mainMod, T, exec, xed bind = $mainMod, N, exec, gammastep -O 4500K bind = ALT, N,exec, killall gammastep #========================================================================================================================================================================================== #bind = $mainMod SHIFT,S, exec, region="$(slurp)" && screenshot="$(mktemp --suffix=.png)" && grim -g "$region" "$screenshot" && tesseract "$screenshot" stdout | wl-copy bind = $mainMod SHIFT,S, exec, region="$(slurp)" && screenshot="$(mktemp --suffix=.png)" && grim -g "$region" "$screenshot" && ocrs "$screenshot" stdout | wl-copy #========================================================================================================================================================================================== bind = $mainMod, F2, exec, thunderbird bind = $mainMod, F3, exec, thunar #bind = $mainMod, F4, exec, geany bind = $mainMod, F5, exec, github-desktop bind = $mainMod, F6, exec, gparted bind = $mainMod, F7, exec, inkscape bind = $mainMod, F8, exec, blender bind = $mainMod, F9, exec, meld bind = $mainMod, F10, exec, joplin-desktop bind = $mainMod, F11, exec, snapper-tools bind = $mainMod, F12, exec, galculator # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l #bind = $mainMod, H, movefocus, l bind = $mainMod, right, movefocus, r #bind = $mainMod, L, movefocus, r bind = $mainMod, up, movefocus, u #bind = $mainMod, K, movefocus, u bind = $mainMod, down, movefocus, d #bind = $mainMod, J, movefocus, d # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 bind = $mainMod, 3, workspace, 3 bind = $mainMod, 4, workspace, 4 bind = $mainMod, 5, workspace, 5 bind = $mainMod, 6, workspace, 6 bind = $mainMod, 7, workspace, 7 bind = $mainMod, 8, workspace, 8 bind = $mainMod, 9, workspace, 9 bind = $mainMod, 0, workspace, 10 # Move to workspace with focused container with ALT + SHIFT + [0-9] bind = ALT SHIFT, 1, movetoworkspace, 1 bind = ALT SHIFT, 2, movetoworkspace, 2 bind = ALT SHIFT, 3, movetoworkspace, 3 bind = ALT SHIFT, 4, movetoworkspace, 4 bind = ALT SHIFT, 5, movetoworkspace, 5 bind = ALT SHIFT, 6, movetoworkspace, 6 bind = ALT SHIFT, 7, movetoworkspace, 7 bind = ALT SHIFT, 8, movetoworkspace, 8 bind = ALT SHIFT, 9, movetoworkspace, 9 bind = ALT SHIFT, 0, movetoworkspace, 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1 bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2 bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3 bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4 bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5 bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6 bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7 bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8 bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9 bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10 # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bind = SUPER ALT, left, movewindow, l bind = SUPER ALT, right, movewindow, r bind = SUPER ALT, up, movewindow, u bind = SUPER ALT, down, movewindow, d bindm = $mainMod, R, resizewindow bindm = $mainMod, mouse:272, movewindow # status bar exec-once = waybar layerrule = blur , waybar layerrule = ignorezero , waybar # set volume (laptops only and may or may not work on PCs) bind = ,122, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% bind = ,123, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% bind = ,121, exec, pactl set-sink-volume @DEFAULT_SINK@ 0% # other bindings bind = $mainMod, O, exec, firedragon bind = $mainMod, D, fullscreen #bind = $mainMod SHIFT, F, fakefullscreen #bind = ,232,exec,brightnessctl -c backlight set 5%- #bind = ,233,exec,brightnessctl -c backlight set +5% binde=, XF86MonBrightnessUp, exec, brightnessctl s 5%+ binde=, XF86MonBrightnessDown, exec, brightnessctl s 5%- bind = $mainMod SHIFT,C, exec, killall -9 wpaperd && wpaperd bind = $mainMod, P ,exec,imv Pictures # Screenshots: # # Change to swappy https://github.com/jtheoof/swappy # Old functions only commented out to make it easier for the user to change if necessary. # Snip a selection and pipe to swappy #bind = ,Print, exec, grim -g "$(slurp)" - | swappy -f - #bind = $mainMod ,S, exec, grim -o eDP-1 bind = $mainMod ,S, exec, grim -o $(wlr-randr | grep -oP '^eDP-\d+') bind = $mainMod, S, exec, dunstify -t 3000 HAKAI # Screenshot a window and pipe to swappy bind = CTRL, Print, exec, .config/hypr/scripts/screenshot_window.sh # Screenshot the current display and pipe to swappy bind = SHIFT, , exec, .config/hypr/scripts/screenshot_display.sh # https://github.com/hyprwm/contrib/blob/main/grimblast/grimblast.1.scd # Print: All outputs # SHIFT+Print: Select area # $mainMod+Print: Current window # $mainMod+Shfit+Print: Current output # # bind = ,Print, exec, grimblast save screen && notify-send Screenshot captured # bind = SHIFT, Print, exec, grimblast save area && notify-send Selected\ area captured # bind = $mainMod, Print, exec, grimblast save active && notify-send Active\ window captured # bind = $mainMod SHIFT, Print, exec, grimblast output active && notify-send Output captured # for resizing window # will switch to a submap called resize bind=$mainMod,R,submap,resize # will start a submap called "resize" submap=resize # sets repeatable binds for resizing the active window binde=,right,resizeactive,50 0 binde=,L,resizeactive,50 0 binde=,left,resizeactive,-50 0 binde=,H,resizeactive,-50 0 binde=,up,resizeactive,0 -50 binde=,K,resizeactive,0 -50 binde=,down,resizeactive,0 50 binde=,J,resizeactive,0 50 # use reset to go back to the global submap bind=,escape,submap,reset # will reset the submap, meaning end the current one and return to the global one submap=reset # to move window bind = $mainMod SHIFT,up, movewindow, u bind = $mainMod SHIFT,K, movewindow, u bind = $mainMod SHIFT,down, movewindow, d bind = $mainMod SHIFT,J, movewindow, d bind = $mainMod SHIFT,left, movewindow, l bind = $mainMod SHIFT,H, movewindow, l bind = $mainMod SHIFT,right, movewindow, r bind = $mainMod SHIFT,L, movewindow, r # other blurings blurls = wofi blurls = thunar blurls = gedit blurls = gtk-layer-shell # for nwg-drawer blurls = catfish # window rules windowrule = opacity 0.85 override 0.85 override,^(thunar)$ windowrule = opacity 0.85 override 0.85 override,^(gedit)$ windowrule = opacity 0.85 override 0.85 override,^(catfish)$ windowrule = stayfocused, ^(wofi)$ # window rules with evaluation windowrulev2 = opacity 0.85 0.85,floating:1 exec-once = mako # used for user sudo graphical elevation exec-once =/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 #exec-once = foot --server # experimental(might work might won't) # pre executions (under development) #exec-once=exec xrdb -load ~/.Xresources # Clipboard Manager exec-once = wl-paste --type text --watch cliphist store #Stores only text data exec-once = wl-paste --type image --watch cliphist store #Stores only image data bind = SUPER, A, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy # video play paues bindings bind=,172,exec,playerctl play-pause bind=,171,exec,playerctl next bind=,173,exec,playerctl previous # Use gtk-settings exec-once = apply-gsettings # Performance Tweaks (For less power consumption without sacrificing performance) # See : https://wiki.hyprland.org/Configuring/Performance/ misc:vfr = true # enable G-Hyprland bind = $mainMod SHIFT, G, exec, footclient -e ~/.local/bin/bear/implement_gum.sh enable # Install Garuda Hyprland bind = $mainMod, I, exec, .local/bin/calamares.sh # Let the user customize this hyprstart script by overriding stuff in $hyprstart exec-once = .config/hypr/exec-hyprland ======Config-End======== ```Description
Little Introduction for my system : My Laptop has two modes for graphics in BIOS of lenovo legion slim 5 -> Dynamic Mode (in which system can use both amd and nvidia ) and Discrete Mode (Nvidia only) which means it can use igpu on in dynamic mode. My Main Issue : When i am trying to boot with dynamic mode i get black screen after passing kernel printing all processings (in verbose mode) while i can boot in discrete mode (Nvidia only) easily and been using for months on this mode only but finally got fed up with more battery usage so wanted to use with number 2 best igpu which my amd ryzen 7840 hs comes with which is 780M with hyprland and i tried Alottt of things but nothing worked as per AI help and some docs for multi gpu i tried to apply but couldnt boot and all amd gpu drivers are already installed in default kernel plus i installed amdgpu pro ones too thats all i could do from my side but couldnt boot so finally creating the issue regarding this and expect help to resolve this issue. In docs i have read that hyprland will by default use igpu if we dont set specific param so idk why the hell it is not booting with my amd igpu while in windows its working fine as expected so no hardware issues and from drivers side too i updated to latest and installed max possible drivers plus tested with different kernels too like Liquorix Kernel, tkgbore, xanmod and build custom kernel tkg-bore and all support zen4 on which my latest amd ryzen is based on so i dont know seriously what can be the actual issue so please guide this poor soul :-(
How to reproduce
I tried it with hyprland garuda linux variant and with endeavour os . Both of them are great arch based linux which worked great for me so tried all i explained above on both but couldnt make it work so you can install those with my device spec and check if you have :-)) . I didnt do anything fancy just modified conf according to my habits and thats all. Normal 30-40 linux apps are what i use btw .
Crash reports, logs, images, videos
No response