prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
7.31k stars 865 forks source link

Issue: Black screen when i restart hyprland (mainmod + del) #813

Closed RayDCabrera closed 6 months ago

RayDCabrera commented 9 months ago

I dont know why, My specifications are this 240130_12h13m36s_screenshot pls help, and When I turn on my laptop again and log in, I get the image of the girl on my wallpaper, that shouldn't happen right? and this morning I was working with openoffice calc and my computer stuck and I had to hold down the power button to make it turn off. I need help because with the specifications I have, I don't think I should have this type of problem. I understand that my Nvidia graphics card is being used, or not?

kRHYME7 commented 9 months ago

pls help, and When I turn on my laptop again and log in, I get the image of the girl on my wallpaper, that shouldn't happen right?

add this to your config on misc { .. }

814

misc {
    disable_hyprland_logo = true
    disable_splash_rendering = true
}

I understand that my Nvidia graphics card is being used, or not?

For rendering lighter apps this should not stress Nvidia as I see you have Intel GPU too.

I was working with openoffice calc and my computer stuck and I had to hold down the power button to make it turn off.

Does some other package exhibit this? Is this frequent?

RayDCabrera commented 9 months ago

Yes, i have another gpu, but the hyprl just use's nvidia right?, It's strange, because the thing about it freezing was the first time it happened to me, but the thing about pressing main + del, and it going black and forcing me to turn off the laptop, was not the first time

Does some other package exhibit this? Is this frequent? Now no, luckily now it's not happening to me anymore

kRHYME7 commented 9 months ago

I think Hyprland Uses your intel gpu for rendering.

RayDCabrera commented 9 months ago

Need help i change the gpu that hyprland use's 240202_12h51m11s_screenshot Thats my config, i insert that two lines in the env config, and now my second monitor, is the only recognized and my original monitor is freezed ![Uploading 240202_12h55m07s_screenshot.png…]()

kRHYME7 commented 9 months ago

why? is this an external GPU?

RayDCabrera commented 9 months ago

i have a laptop, and i read this https://wiki.hyprland.org/Configuring/Multi-GPU/ and i put that two lines to just use my nvidia gpu but when i use thats env configs, xrandr just recognize my external monitor, i dont know why

kRHYME7 commented 9 months ago

Because you set Nvidia as the primary GPU for hyprland. And your laptop monitor is attached to your intel GPU?

try to run this lspci | grep -Ei "VGA" what is the output ?

iGPU dGPU eGPU

sorry I ll fire up some gpt ref:

RayDCabrera commented 9 months ago

240202_13h32m53s_screenshot this

kRHYME7 commented 9 months ago

why would you choose nvidia as the GPU for hyprland session ?

now my second monitor, is the only recognized and my original monitor is freezer

can you plug you "original" monitor to another port ? Maybe it si using the intel GPU?

RayDCabrera commented 9 months ago

and more speed? or its the same? because sometime i have bugs, for example, i turn on and my wallpaper doesnt change or y restart the hyprland session and my laptop just freezed, you dont have these problems? can you pls share me your hyprland config?

kRHYME7 commented 9 months ago

hyprland config?

https://github.com/kRHYME7/Hyprdesk Just a fork of Hyprdots nothing much.

I think intel is enough for rendering this. Also have you check your laptop hardware how the main monitor is attached like does it use the integrated GPU or it can switch to dedicated GPu or it only uses the dGPU for speed.

i turn on and my wallpaper doesnt change or y restart the hyprland session and my laptop just freezer

turn on from reboot or turn on from suspend? Maybe check your journalctl? in case the problem is on system level..

RayDCabrera commented 9 months ago

turn on from reboot or turn on from suspend? the laptop is on and i press mainmod + DEL.

i can copy your .config files to my .config?

kRHYME7 commented 9 months ago

Hmm, I think having my .config is not a solution.

Let's prioritized first this part I think this is config related .

the laptop is on and i press mainmod + DEL.

run Hyprdots show binds then maybe search for "del" then find that part maybe that's a keybind

should look like this

image

kRHYME7 commented 9 months ago

I see image

RayDCabrera commented 9 months ago

yes is super+del and my session es off but my laptop stay freezed lol

kRHYME7 commented 9 months ago

can You describe this freeze?

For example in my case I am not using Display manager so naturally it logs me back to TTY Like this IMG_20240203_013305.jpg

But If I use SDDM the normal behavior will log me out and display Sddm login screen. Can you describe this Freeze? like which part it freezes? Also did it happen only on multiple monitor setup?

RayDCabrera commented 9 months ago

yes, only happends me when i have teo monitors, but i dont i never use my hyprland with only one, the freeze is, i press the command button and my screen stay on but black, and i can't do nothing, just holdpress the powerbutton to poweroff my laptop.. that is the problem i have sometimes.

RayDCabrera commented 9 months ago

you delete the display manager? how? I tried to do it but I was afraid of breaking something. lol

kRHYME7 commented 9 months ago

How about testing it first without an external monitor.

Also I think you don't necessarily needed the env for multi GPU.

Also mainMod + Del should be the same as logout try to log out in the session and see if it acts the same. Try to launch the Logout menu and logout

About the display manager, You can turn it off by disabling sddm.service.

In my case I just enabled autologin on my getty.service, more info on arch wiki. then on my .profile or .zprofile I just run a script that runs hyprlands.

RayDCabrera commented 9 months ago

ok thanks man, and im gonna copy your settings looks very good, I just hope something doesn't crash on me hahahahaha

Yes for now im just gonna launch de logout menu

kRHYME7 commented 9 months ago

Archwiki should be your best friend in that case.

rubiin commented 6 months ago

can be closed i guess