Page MenuHomePhabricator

Multiple monitor setup not working with E22
Open, Pending on user inputPublic

Description

I'm using Enlightenment 0.22.4. I have a laptop with an Optimus setup with Intel and Nvidia cards. I have three external monitors connected to my laptop. When I enlightenment_start from console, my external monitors remain blank. When I go into Enlightenment settings under screen setup I only see my laptop's built-in monitor. I'm using the latest Nouveau drivers.

ProhtMeyhet added a project: Restricted Project.Aug 7 2019, 4:03 AM
ProhtMeyhet triaged this task as Pending on user input priority.
ProhtMeyhet added subscribers: devilhorns, ProhtMeyhet.

I'll have to assume you are using linux.

this very much sounds like you are using wayland and not X11. the X-Server is a very old display protocol and wayland is supposed to replace it. however while this replacement is under way, some things will just not be ready right away. you will have to use X11 for multiple outputs with Enlightenment for now.

you can check if you are using X11 or wayland in a terminal with the command

echo $DESKTOP_SESSION

which should print out something like

/usr/share/xsessions/enlightenment

you may read about wayland and X11 further on the arch wiki and on
our guide (which is more technical).

532910 added a subscriber: 532910.Aug 16 2020, 12:24 PM

Is any update there or a plan to support multiple monitors under wayland.

Is any update there or a plan to support multiple monitors under wayland.

Yes. A Plan and a few working branches....needs more people to kick the wheels of the older branches so that I can finish the clean one....Long story short, when you;re the only one doing it, you can only get one result....

Send your card specs please..hdmi?dp?1.2?

Of note the randr 1.2 stuff that got added. It seems, these optimus cards are offering DoubleScan in X a lot. I dont know how that'll translate to you but it might be useful.

Um, also regarding the above ticket query. I don't believe the optimus can be used as the primary driver for the display? I think it'll be intel only.

Send your card specs please..hdmi?dp?1.2?

1002:aa68 [AMD/ATI] Cedar GL [FirePro 2460]

wlr-randr shows outputs as DP-x, sway config:

output DP-3 position    0,0 transform 270
output DP-1 position 1200,0 transform 270
output DP-2 position 2400,0 transform 270

xrandr shows outputs as DisplayPort-x
% cat /etc/X11/xorg.conf.d/10-xrandr.conf

Section "Monitor"
	Identifier "DisplayPort-0"
	Option     "Primary" "yes"
	Option     "Rotate" "left"
EndSection
Section "Monitor"
	Identifier "DisplayPort-1"
	Option     "RightOf" "DisplayPort-0"
	Option     "Rotate" "left"
EndSection
Section "Monitor"
	Identifier "DisplayPort-2"
	Option     "LeftOf" "DisplayPort-0"
	Option     "Rotate" "left"
EndSection

Um, also regarding the above ticket query. I don't believe the optimus can be used as the primary driver for the display? I think it'll be intel only.

Likely not .. unless Optimus has its own drm/kms implement ... or some other method. Intel/Amd sure...

Can the Optimus do anything on it's own ? Can it Own vga/fb ?

devilhorns added a comment.EditedSun, Aug 23, 6:18 PM

Send your card specs please..hdmi?dp?1.2?

1002:aa68 [AMD/ATI] Cedar GL [FirePro 2460]

wlr-randr shows outputs as DP-x, sway config:

output DP-3 position    0,0 transform 270
output DP-1 position 1200,0 transform 270
output DP-2 position 2400,0 transform 270

xrandr shows outputs as DisplayPort-x
% cat /etc/X11/xorg.conf.d/10-xrandr.conf

Section "Monitor"
	Identifier "DisplayPort-0"
	Option     "Primary" "yes"
	Option     "Rotate" "left"
EndSection
Section "Monitor"
	Identifier "DisplayPort-1"
	Option     "RightOf" "DisplayPort-0"
	Option     "Rotate" "left"
EndSection
Section "Monitor"
	Identifier "DisplayPort-2"
	Option     "LeftOf" "DisplayPort-0"
	Option     "Rotate" "left"
EndSection

Thanks for the Excellent Report ! :-D Perfect

wl-r gets the positions too ... That's a good thing :) All at 270 ? Eh, doesn't matter on the rotation ... That they All get recognized & working is the important part ... Rotation is just rotation...a number....

Working in X too. Great !! :) Certainly NOT your hardware so far...

The reason it's not working from E-WL ... YET is that I have not "officially" pushed Anything that "functions" into master....

I have blockers in the drm2 code to Not do more than One Screen in Master still....If you find them, feel free to play around ;)
https://git.enlightenment.org/core/efl.git/commit/?h=devs/devilhorns/output&id=ccd0576df8c1bb2e96039fb749b98f38aa65c72c

Also have a couple "used to work" branches up there which do 2+ monitors on Wl...probably just need a rebase...

...

Have a WIP that trims down drm2. Strict & Clean.. Brand new EE and Vas (from scratch), but still builds on early years ;) Just clean engine code from the start...

No dmabuf yet implemented because I want the CORE solid first....but that's a small Add after everything works...Can add GL when the Core is good too old man ;) but still have old working gl codes....

Drm2 I am rebuilding in the sense that just a quick change in API... limit first, expose second....Some people seem to like NO Options rather than an Abundance ... so I will trim it down...Me? I Like EFL where you have All options 💃

Not sure where Cedar GL comes from ... but if the drivers work, then not my concern ;) It's Intel/Amd so we can do DRM np as long as the drivers work....

Optimus I am unsure on ... unsure it can own /dev/dri, etc, etc .. card0? card1? ... ??

devilhorns added a comment.EditedSun, Aug 23, 6:25 PM

Of note the randr 1.2 stuff that got added. It seems, these optimus cards are offering DoubleScan in X a lot. I dont know how that'll translate to you but it might be useful.

Not much of a problem on this end ... We can trap for Optimus and Half the Hz if we need to....or double others...Point is once we know what we are working with, then we can work....