prasanthrangan / hyprdots

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

After fresh install (nvidia gpu) and reboot second monitors disconnects #544

Open h4or opened 7 months ago

h4or commented 7 months ago

I installed script on minimal arch install and everything worked fine. After reboot pc starts and second monitors loads in very low resolution (also with black bars bcs native is 1920 1080). I tried rebooting again and then it didnt work anymore. I tried xrandr list monitors and it showes me only my primary monitor. But when i use hyprctl monitors it shows both but second one doesnt have all valuea provided, like monitor brand, resolution, and everything else that main does have while second doesnt.

OctavianOG commented 7 months ago

Greetings @ka1ry , could you provide your system's specifications?

h4or commented 7 months ago

Greetings @ka1ry , could you provide your system's specifications?

CPU: I7 3770 GPU: GTX 1060 3GB nuidia/545.29.02

As I said; I installed minimal arch, booted installed rice with install.sh script, everything started, both monitors worked, after reboot monitor that wasn't primary disconnected (it works on windows so problem is on arch). Now when I do xrandr list monitors it displays only one, but hyprctl monitors display both but the one that is diaconnected doesnt include all information.

h4or commented 7 months ago

Also, I am using hyprland (this rice) for 5 months now and problem happend yesterday when I updated nvidia graph. Version to latest. Before that I used 535..

h4or commented 7 months ago

image

DVI-D-1 is the one that makes problems. 20231124_074919 This monitor is main (HDMI) 20231124_074922 This one in login starts like this But after login:

20231124_074936

kRHYME7 commented 7 months ago

have you tried downgrading the driver? Also, you can try to run your hyprland with the default config to see if it's the configs messing around.

OctavianOG commented 7 months ago

@ka1ry , could you try setting your monitors manually ?

You can do so by:

  1. Open monitors.conf
    Sudo nano ~/.config/hypr/monitors.conf
  2. Add your monitors as you prefer by following this official documentation example
kRHYME7 commented 4 months ago

@ka1ry Hello any progress on this ?

h4or commented 3 months ago

@ka1ry Hello any progress on this ?

Hello after long time. I switched to another rice that day and totally forgot about this issue.

I installed arch again and installed hyprdots, waited for script to finish and everything worked fine. But after reboot I still have same problems like before. Tried setting up monitors.conf but nothing changes.

kRHYME7 commented 3 months ago

Have you tried using nwg-displays or any GUI to help you set up the monitor?

Also, what is the output if you ran wlr-randr (wayland counter part of xrandr)

Did it only happen if you're using this rice?

v550 is out that fixes issues of 545 ( not much 😄 )

h4or commented 3 months ago

Its only with this rice. Will let u know when i try out.

kRHYME7 commented 3 months ago

This is the nvidia related envs.

image

also lsmod | grep nvidia to check if nvidia drivers are correctly set

h4or commented 3 months ago

image

image

image

h4or commented 3 months ago

Just updated to 550 but still same problem

kRHYME7 commented 3 months ago

Let's assume first that the ENVS are the issue. Try to run Hyprland -c /usr/share/hyprland/hyprland.conf on the tty please. ( will run Hyprland with default configs) then execute hyprctl monitors or wlr-randr If wlr-randr gives same results, we can assume this is the configs issue. But if not maybe this is due the nvidia installation and mode setting script.

Also can you share what rice did you used that works? Maybe we could get something.

h4or commented 3 months ago

20240315_140410.jpg

20240315_140502.jpg

First img is hyprland in tty stuck on that screen

Second is another tty session

kRHYME7 commented 3 months ago

First img is hyprland in tty stuck on that screen

Oh ctrl + Q to launch kitty. wlr-randr Needs a Wayland compositor to be use IG.

Or do you mean hyprland is not responding using the default configuration ?

h4or commented 3 months ago

I just didnt know def keybinds

20240315_143534.jpg

20240315_143548.jpg

Second works here but with loe res, and in xlrrandr is not detected properly as u can see

kRHYME7 commented 3 months ago

Okay so This is not related to the ricing configuration of hyprland but maybe due to the installation part?

FYI, the installation does check what NVIDIA driver to be installed then also added the mode setting of NVIDIA. The script only does those two things, so I am confused with those errors.

EDIT : So WHY, haha, I'm lost for ideas to debug this right now.

Also, I am using hyprland (this rice) for 5 months now and problem happend yesterday when I updated nvidia graph. Version to latest. Before that I used 535..

Would you care to share what dots did you tried that did not exhibit these errors? I would like to check if they attempted to modify NVIDIA configurations, if not then I assume ~that the driver installed is nouveau.~ it's a driver issue?

h4or commented 3 months ago

I don't remember. Some of them I just made and installed drivers normally. Used dwm mostly so nothing special. What about switching from dkms to normal nvidia?

EDIT: Same problem with NVIDIA only

kRHYME7 commented 3 months ago

Some of them I just made and installed drivers normally.

Owki, I am starting to think this is either Nvidia or wlroots/Hyprland issues. As you mentioned, this happened after you updated from 535xx driver.

If you have DWM (X11 ), and it works well then might be wayland is not playing along with your GPU.

1 more hint I can think of is telling Hyprland to use your NVIDIA GPU. Here are the instructions. https://wiki.hyprland.org/configuring/multi-gpu/