Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monitors attached to the 2º GPU are ignored #45

Open
Zeioth opened this issue Aug 10, 2024 · 14 comments
Open

Monitors attached to the 2º GPU are ignored #45

Zeioth opened this issue Aug 10, 2024 · 14 comments

Comments

@Zeioth
Copy link

Zeioth commented Aug 10, 2024

Short description

Out of my 6 monitors, only the 3 attached to the first GPU turn on.

Details

Everything was working fine until I upgraded from hyprland stable to hyprland-git (with aquamarine) today. I've read the docs A and B so I made the required change from

WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0

to

AQ_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0

hyprctl monitors can list all my monitors correctly, it is just they don't turn on anymore.

screenshot_2024-08-10_23-34-29_798234812

Logs

Using Hyprland > mylog from TTY with HYPRLAND_TRACE=1.
https://pastebin.com/raw/fubmZ0Ji

(Nothing super remarkable here)

@Zeioth
Copy link
Author

Zeioth commented Aug 10, 2024

also I haven't changed the config file, it is the same one as usual:
https://github.com/Zeioth/zeioth-hyprland-config

@romanstingler
Copy link
Contributor

probably related to #40

@romanstingler
Copy link
Contributor

can you try building all packages new.
Something like this.
Meanwhile, I guess most outputs except Thunderbolt should be fixed/

yay -S aquamarine-git hyprlang-git hyprcursor-git hyprutils-git hyprland-git --overwrite="*"

@Zeioth
Copy link
Author

Zeioth commented Sep 4, 2024

@romanstingler yes i can test give me a sec

@Zeioth
Copy link
Author

Zeioth commented Sep 4, 2024

Issue remains

@romanstingler
Copy link
Contributor

please build yay -S hyprland-git aquamarine-git new and add env = AQ_NO_MODIFIERS,1 to your hyperland.conf

@Zeioth
Copy link
Author

Zeioth commented Sep 6, 2024

Issue remains.

@Zeioth
Copy link
Author

Zeioth commented Sep 13, 2024

I've debugged this a bit more and all monitors turn on fine when the GPUs are passed in the default order.

AQ_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1

Doing the opposite is what causes some monitors to not turn on at all.

AQ_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0

@Zeioth
Copy link
Author

Zeioth commented Sep 13, 2024

The point is to be able to decide what GPU commands what monitors. This is important because the monitors attached to the secondary GPU will max 30 FPS (this also happened in wlroots).

@vaxerski
Copy link
Member

is card1 nvidia? Reverse-feeding from nvidia to an igpu of any brand is physically impossible due to hardware limitations

@Zeioth
Copy link
Author

Zeioth commented Sep 14, 2024

@vaxerski both AMD.
screenshot_2024-09-14_11-00-02_371730347

@Zeioth
Copy link
Author

Zeioth commented Nov 24, 2024

@vaxerski I've been able to discover the root issue by buying a new GPU. As I suspected:

So this is not a bug, this is the new minimum spec requirement for AMD gpus using multi GPU, and we should probably maybe indicate it on the hyprland manual here.

@Zeioth
Copy link
Author

Zeioth commented Nov 24, 2024

This one can be closed once we document.

@vaxerski
Copy link
Member

right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants