You are not logged in.

#1 2018-10-09 01:38:36

Ardyn
Member
Registered: 2018-10-09
Posts: 4

Can't mirror displays

Hi everyone.

I'm trying to mirror my display, but whenever I do nothing shows on the TV and the main display becomes unusable until I unplug the HDMI.

I'm using Arch on a Surface Book with Performance Base.

I've modified 20-intel.conf, 20-modesetting.conf and 10-monitor.conf. The configurations below allowed me to mirror in Debian, but not since I switched to Arch.

Many thanks for any help.

20-intel.conf

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "TripleBuffer" "true"
   Option      "TearFree"     "true"
   Option      "DRI"          "true"
EndSection

20-modesetting.conf

GNU nano 2.9.8                 20-modesetting.conf                            

Section "Device"
    Identifier  "Intel Graphics"
    Driver      "modesetting"
    Option      "AccelMethod"    "glamor"
    Option      "DRI"            "3"
EndSection

10-monitor.conf

Section "Device"
Identifier "Intel Graphics"
EndSection
Section "Monitor"
Identifier "eDP1"
Modeline "2056x1368" 187.00 2056 2104 2136 2216 1368 1371 1381 1407 -hsync -vsync
Modeline "1368x912" 85.75 1368 1416 1448 1528 912 915 925 938 -hsync -vsync
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync

EndSection
Section "Screen"
Identifier "Screen 0"
Device "Intel Graphics"
Monitor "eDP1"
EndSection

https://preview.ibb.co/dwB3zU/20181009_091622_1.jpg

Last edited by Ardyn (2018-10-10 01:21:28)

Offline

#2 2018-10-09 01:46:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Can't mirror displays

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code

...and what is "Powerbase"?



Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-10-09 01:50:16

Ardyn
Member
Registered: 2018-10-09
Posts: 4

Re: Can't mirror displays

Apologies for the image.

Whoops, it's Performance Base.

Last edited by Ardyn (2018-10-09 01:56:51)

Offline

#4 2018-10-09 02:00:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Can't mirror displays

Ardyn wrote:

Whoops, it's Performance Base.

Still none the wiser...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-10-09 02:40:58

Ardyn
Member
Registered: 2018-10-09
Posts: 4

Re: Can't mirror displays

Offline

#6 2018-10-09 10:39:37

sincomil
Member
Registered: 2018-02-13
Posts: 106

Re: Can't mirror displays

Never used xorg.conf files for screen mirroring purpose.
I believe you can do all you need with xrandr (universal) or kscreen (kde component) or use any other tool that utilizes xrandr capabilities for screen manipulation.
You can safely delete your xorg.conf Xorg does not need it for running novadays

Offline

#7 2018-10-09 11:26:45

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,933
Website

Re: Can't mirror displays

I don't know whether it's a copy-and-paste error, but "20-modesetting.conf" is missing an "EndSection" at the end.

Offline

#8 2018-10-09 13:01:00

seth
Member
Registered: 2012-09-03
Posts: 50,008

Re: Can't mirror displays

Output of "xrandr -q" and also try to toggle the compositor (SHIFT+Alt+F12), might be a forgotton gl viewport update.

Offline

#9 2018-10-10 01:10:20

Ardyn
Member
Registered: 2018-10-09
Posts: 4

Re: Can't mirror displays

Thanks for the help everyone. I forgot to post my 10-monitor.conf. I've updated the original post.

sincomil wrote:

Never used xorg.conf files for screen mirroring purpose.
I believe you can do all you need with xrandr (universal) or kscreen (kde component) or use any other tool that utilizes xrandr capabilities for screen manipulation.
You can safely delete your xorg.conf Xorg does not need it for running novadays

Thanks for the info about the .conf files. I have actually tried changing the resolution with xrandr but I got the same problem.

schard wrote:

I don't know whether it's a copy-and-paste error, but "20-modesetting.conf" is missing an "EndSection" at the end.

Cheers for that. Was pasted from my notes. Updated.

seth wrote:

Output of "xrandr -q" and also try to toggle the compositor (SHIFT+Alt+F12), might be a forgotton gl viewport update

xrandr gives mostly the same as what's in 10-monitor.conf:

Screen 0: minimum 8 x 8, current 3000 x 2000, maximum 32767 x 32767
eDP1 connected primary 3000x2000+0+0 (normal left inverted right x axis y axis) 290mm x 190mm
   3000x2000     59.99*+
   2560x1600     59.99  
   2056x1368     59.98  
   1920x1080_60.00  59.96  
   1368x912      59.83  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

SHIFT+Alt+F12 doesn't appear to do anything.

Offline

#10 2018-10-10 07:03:43

seth
Member
Registered: 2012-09-03
Posts: 50,008

Re: Can't mirror displays

a) remove the 10-monitor.conf
b) that's w/o the TV attached
c) you're running KDE, aren't you? The window shadows etc. should turn off. The question is how it behaves w/o the compositor when trying to clone the display.

Offline

Board footer

Powered by FluxBB