You are not logged in.

#1 2016-10-07 18:58:56

tbrock
Member
From: San Francisco, CA
Registered: 2014-04-13
Posts: 4

How to configure 2 screens + 2 videocards on gnome-wayland

I've got two AMD/ATI Radeons in this box:

$ lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland [Radeon HD 8570 / R7 240/340 OEM]
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland [Radeon HD 8570 / R7 240/340 OEM]

I've got two monitors hooked into the display port output on each of them but for the life of me I can only get one of them to display any output. I'm running gnome.

Unfortunately, xrandr only lists one provider...

$ xrandr --listproviders                             
Providers: number : 0

How do you get two monitors working on two video cards on Linux with Gnome (or X in general)?

Last edited by tbrock (2016-10-10 21:20:10)

Offline

#2 2016-10-08 13:44:13

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: How to configure 2 screens + 2 videocards on gnome-wayland

$ xrandr --listproviders                             
Providers: number : 0

That output doesn't mean xrandr sees 1 provider, it means xrandr doesn't see ANY providers.

please post lspci -k , full dmesg and xorg log (use a Pastebin client for the last 2 ).

Last edited by Lone_Wolf (2016-10-08 13:44:38)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2016-10-10 20:15:50

tbrock
Member
From: San Francisco, CA
Registered: 2014-04-13
Posts: 4

Re: How to configure 2 screens + 2 videocards on gnome-wayland

$ lspci -k | grep VGA -A3
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland [Radeon HD 8570 / R7 240/340 OEM]
	Subsystem: Dell Radeon R5 240 OEM
	Kernel driver in use: radeon
	Kernel modules: radeon
--
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland [Radeon HD 8570 / R7 240/340 OEM]
	Subsystem: Dell Radeon R5 240 OEM
	Kernel driver in use: radeon
	Kernel modules: radeon

dmesg: http://pastebin.com/VmvsBR7e

I'm using wayland so I think everything should be in my dmesg log but let me know if there is something else I should attach.

Offline

#4 2016-10-10 21:08:51

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: How to configure 2 screens + 2 videocards on gnome-wayland

Apart from missing intel microcode updates, nothing stands out in dmesg .

See https://wiki.archlinux.org/index.php/Microcode .

Xrandr and the PRIME wiki page deal with setups for running Xorg .
For wayland you need to configure outputs through the compositor. Gnome on wayland uses Mutter as compositor.

I know very little about Gnome and suggest you change to title to something like :  2 screens + 2 videocards on gnome-wayland (just edit the first post).
Hopefully that will attract attention from gnome users that can help.

Last edited by Lone_Wolf (2016-10-10 21:09:16)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2016-10-10 21:12:54

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: How to configure 2 screens + 2 videocards on gnome-wayland

Isn't PRIME for rendering offload only? I don't know if it will allow having two separate cards displaying images.

I would be inclined to say that from the information in the wiki this is your best bet https://wiki.archlinux.org/index.php/Multihead#Xinerama


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2016-10-10 21:26:45

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: How to configure 2 screens + 2 videocards on gnome-wayland

I mentioned PRIME because the xrandr --listproviders command is mostly used with PRIME setups.

If OP switches from gnome-on-wayland to gnome-on-X Xinerama would indeed be a good choice.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2016-10-10 22:13:33

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: How to configure 2 screens + 2 videocards on gnome-wayland

Yeah ... wayland, completely forgot about that. I guess wayland in general is still a bit unbaked, support is still being worked out, at least it's what it seems to me. Don't get me wrong, I think it will be great once everything is ready but for now I'd let wayland bake a bit more before trying to use it.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#8 2016-10-11 14:32:59

tbrock
Member
From: San Francisco, CA
Registered: 2014-04-13
Posts: 4

Re: How to configure 2 screens + 2 videocards on gnome-wayland

Thanks for the tip about the microcode! Super helpful and I'm amazed because I am not sure how you noticed that it was out of date (do you memorize the latest microcode versions?).

I'm perfectly willing to run X but I thought everyone was on wayland at this point. I've been running it for almost 2 years now without issue.

Last edited by tbrock (2016-10-11 14:33:43)

Offline

#9 2016-10-11 14:42:22

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: How to configure 2 screens + 2 videocards on gnome-wayland

Super helpful and I'm amazed because I am not sure how you noticed that it was out of date (do you memorize the latest microcode versions?).

No need to memorize, just run "dmesg | grep microcode" with and without intel microcode updates configured and compare the outputs.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#10 2016-10-11 16:11:18

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: How to configure 2 screens + 2 videocards on gnome-wayland

tbrock wrote:

I'm perfectly willing to run X but I thought everyone was on wayland at this point. I've been running it for almost 2 years now without issue.

I'm surprised. I guess my quick interactions with weston are not very representative of the current state of things then. On the other hand every once in a while I see news about a new wayland feature/functionality being implemented, things that are "basic" and you'd expect to be working before you start depending on wayland for everyday work.

That said, you may want to ask about this on a forum or mailing list more focused on wayland/gnome as it may be already possible but not exposed in a graphical way.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB