hyprdots icon indicating copy to clipboard operation
hyprdots copied to clipboard

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

Open h4or opened this issue 1 year ago • 21 comments

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.

h4or avatar Nov 23 '23 19:11 h4or

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

OctavianOG avatar Nov 23 '23 23:11 OctavianOG

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 avatar Nov 24 '23 06:11 h4or

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 avatar Nov 24 '23 06:11 h4or

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

h4or avatar Nov 24 '23 07:11 h4or

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.

kRHYME7 avatar Nov 24 '23 12:11 kRHYME7

@ka1ry , could you try setting your monitors manually ?

You can do so by:

  1. Open monitors.conf
Sudo nano ~/.config/hypr/monitors.conf
  1. Add your monitors as you prefer by following this official documentation example

OctavianOG avatar Nov 24 '23 12:11 OctavianOG

@ka1ry Hello any progress on this ?

kRHYME7 avatar Feb 17 '24 10:02 kRHYME7

@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.

h4or avatar Mar 14 '24 13:03 h4or

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 😄 )

kRHYME7 avatar Mar 14 '24 13:03 kRHYME7

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

h4or avatar Mar 14 '24 13:03 h4or

This is the nvidia related envs.

image

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

kRHYME7 avatar Mar 14 '24 13:03 kRHYME7

image

image

image

h4or avatar Mar 14 '24 13:03 h4or

Just updated to 550 but still same problem

h4or avatar Mar 14 '24 14:03 h4or

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.

kRHYME7 avatar Mar 14 '24 14:03 kRHYME7

20240315_140410.jpg

20240315_140502.jpg

First img is hyprland in tty stuck on that screen

Second is another tty session

h4or avatar Mar 15 '24 13:03 h4or

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 ?

kRHYME7 avatar Mar 15 '24 13:03 kRHYME7

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

h4or avatar Mar 15 '24 13:03 h4or

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?

kRHYME7 avatar Mar 15 '24 14:03 kRHYME7

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

h4or avatar Mar 15 '24 14:03 h4or

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/

kRHYME7 avatar Mar 15 '24 14:03 kRHYME7

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/

Something is actually wrong with that LG monitor. as you can see on pictures it is connected to HDMI, after switching it’s the same. Basically on any linux distro I can’t use nvidia drivers.

I have using custom edid for that monitor but stil didn’t work. i need to mentions everything was perfect on windows for example

h4or avatar Jul 24 '24 03:07 h4or

Could you close as solved if you no longer have this issue. Thank you @h4or

abenezerw avatar Sep 17 '24 16:09 abenezerw