You are not logged in.

#26 2024-06-02 18:43:26

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

I will check the config

Offline

#27 2024-06-02 18:48:53

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: Hyprland crashing at startup...

If that does not work please try the kernel linux-mainline-v6.8.rc3.r272.g9040d02-1-x86_64.pkg.tar.zst from https://gitlab.archlinux.org/archlinux/ … ote_188874 with both options set.

Offline

#28 2024-06-02 18:53:05

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

I completely forgot what I did previously. Just tell me step by step what to do please

Offline

#29 2024-06-02 18:54:44

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

I remember configuring it in /etc/...

Offline

#30 2024-06-02 19:00:42

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: Hyprland crashing at startup...

See Kernel_module#Using_files_in_/etc/modprobe.d/
You proably have a file in /etc/modprobe.d/ containing:

options nvidia_drm  modeset=1

I want you to change the contents to

options nvidia_drm modeset=1 fbdev=1

Offline

#31 2024-06-02 19:06:25

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

In /etc/mkinitcpio.conf I have this:
http://0×0.st/Xq88.txt

Offline

#32 2024-06-02 19:09:34

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: Hyprland crashing at startup...

What is the output of

tail /etc/modules-load.d/*.conf

Last edited by loqs (2024-06-02 19:09:59)

Offline

#33 2024-06-02 19:12:02

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

loqs wrote:

See Kernel_module#Using_files_in_/etc/modprobe.d/
You proably have a file in /etc/modprobe.d/ containing:

options nvidia_drm  modeset=1

I want you to change the contents to

options nvidia_drm modeset=1 fbdev=1

I did that, now what, because Hyprland still doesn't start

Offline

#34 2024-06-02 19:13:14

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: Hyprland crashing at startup...

Please see post #27

Offline

#35 2024-06-02 19:13:38

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

loqs wrote:

What is the output of

tail /etc/modules-load.d/*.conf

#tls

Offline

#36 2024-06-02 19:17:13

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

loqs wrote:

If that does not work please try the kernel linux-mainline-v6.8.rc3.r272.g9040d02-1-x86_64.pkg.tar.zst from https://gitlab.archlinux.org/archlinux/ … ote_188874 with both options set.

I roughly understand but not really what I have to do

Offline

#37 2024-06-02 20:02:39

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: Hyprland crashing at startup...

# pacman -U https://pkgbuild.com/~gromit/linux-bisection-kernels/linux-mainline-v6.8.rc3.r272.g9040d02-1-x86_64.pkg.tar.zst https://pkgbuild.com/~gromit/linux-bisection-kernels/linux-mainline-headers-v6.8.rc3.r272.g9040d02-1-x86_64.pkg.tar.zst

This installs the bisection kernel which is reported to work with nvidia_drm.fbdev=1 and nvidia_drm.modeset=1. After installing it you may need to add an option for it to your bootloader.  You will need to replace nividia with nvidis-dkms if the system uses the nvidia package.

Offline

#38 2024-06-02 20:19:43

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

Surely I will not get it on first try because I have a few questions:
1. Should I from now on autoboot into it and how? Will it replace the current kernel?
2. How do I replace nvidia with nvidia-dkms and how do I check if the system uses the nvidia package

Edit:
3. Why did it work before then?

Last edited by t0mate (2024-06-02 20:21:15)

Offline

#39 2024-06-02 21:19:15

loqs
Member
Registered: 2014-03-06
Posts: 18,900

Re: Hyprland crashing at startup...

t0mate wrote:

1. Should I from now on autoboot into it and how? Will it replace the current kernel?

Which kernel is selected by default depends on the bootloader and how it is configured. linux-mainline does not replace the linux package both kernels can be selected from the bootloader depending on its configuration.

t0mate wrote:

2. How do I replace nvidia with nvidia-dkms and how do I check if the system uses the nvidia package

To find out which nvidia packages are currently installed

pacman -Qs nvidia

You can have both nvidia and nvidia-dkms installed at the same time they provide the same functionality for the linux package (provided linux-headers is installed).

t0mate wrote:

3. Why did it work before then?

The hypothesis is the issue was introduced with the linux 6.9 kernel upgrade.

Offline

#40 2024-06-02 21:21:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,946

Re: Hyprland crashing at startup...

$ modprobe -c | grep -v alias | grep nvidia
# cat /sys/module/nvidia_drm/parameters/modeset
# cat /sys/module/nvidia_drm/parameters/fbdev
# journalctl -b | curl -F 'file=@-' 0x0.st

Also hyprland in the previous journal didn't "crash", it aborted - an abort typically also prints an error on the console, which one?

Next

Jun 02 22:25:52 flower4you systemd[577]: /usr/lib/environment.d/99-environment.conf:7: invalid variable name "export WLR_NO_HARDWARE_CURSORS", ignoring.

obviously fix that.

Offline

#41 2024-06-03 03:42:37

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

The command has failed:
http://0x0.st/Xqq1.txt

Offline

#42 2024-06-03 03:43:50

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

I don't know how to upload the text that I've written onto the web

Offline

#43 2024-06-03 03:44:21

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

I mean command

Offline

#44 2024-06-03 03:44:22

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: Hyprland crashing at startup...

Read the link I gave you again

Offline

#45 2024-06-03 03:47:11

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

Can I use pastebin even though its not recommended?

Edit: Ok I won't, srry

Last edited by t0mate (2024-06-03 03:50:00)

Offline

#46 2024-06-03 03:51:42

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

I think I will use github?

Edit: Now I'm watching this video https://m.youtube.com/watch?v=josjRSBqE … dmljZXM%3D

Last edited by t0mate (2024-06-03 03:56:04)

Offline

#47 2024-06-03 04:05:39

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

Offline

#48 2024-06-03 04:11:19

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

Offline

#49 2024-06-03 06:44:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,946

Re: Hyprland crashing at startup...

Stop bumping, edit your previous post to mend them  if nobody has replied.
Also stop blogging your youtube habits, NOBODY FUCKING CARES.
Then post the outputs in the commands in #40, explain what kind of "error" or "failure" https://0x0.st/Xqq1.txt is supposed to indicate. Cause it doesn't.

This is going absolutely nowhere.

Offline

#50 2024-06-10 16:10:33

t0mate
Member
Registered: 2024-01-28
Posts: 39

Re: Hyprland crashing at startup...

I want to try posting the command output of:

loqs wrote:
# pacman -U https://pkgbuild.com/~gromit/linux-bisection-kernels/linux-mainline-v6.8.rc3.r272.g9040d02-1-x86_64.pkg.tar.zst https://pkgbuild.com/~gromit/linux-bisection-kernels/linux-mainline-headers-v6.8.rc3.r272.g9040d02-1-x86_64.pkg.tar.zst

This installs the bisection kernel which is reported to work with nvidia_drm.fbdev=1 and nvidia_drm.modeset=1. After installing it you may need to add an option for it to your bootloader.  You will need to replace nividia with nvidis-dkms if the system uses the nvidia package.

But I don't know how to use hastebin from the console. I tried writing a bash script like on this website: https://christitus.com/hastebin/
on the file /bin/bash, but when I try to execute it via "hb" and something after, it doesn't work. Like on the video in my previous post...

Thanks seth for the reminder

Offline

Board footer

Powered by FluxBB