Add VIRTUAL output to Xorg
Clash Royale CLAN TAG#URR8PPP
up vote
6
down vote
favorite
I want to create a dummy, virtual output on my Xorg server on current Intel iGPU (on Ubuntu 16.04.2 HWE, with Xorg server version 1.18.4). It is the similiar to Linux Mint 18.2, which one of the xrandr
output shows the following:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
...
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
...
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
...
In the Linux Mint 18.2, I can turn off the built-in display (eDP1
) and turn on the VIRTUAL1
display with any arbitrary mode supported by the X server, attach x11vnc
to my main display and I'll get a GPU accelerated remote desktop.
But in Ubuntu 16.04.2, that's not the case. The VIRTUAL*
display doesn't exist at all from xrandr
. Also, FYI, xrandr's output names is a little bit different on Ubuntu 16.04.2, where every number is prefixed with a -
. E.g. eDP1
in Linux Mint becomes eDP-1
in Ubuntu, HDMI1
becomes HDMI-1
, and so on.
So, how to add the virtual output in Xorg/xrandr?
And how come Linux Mint 18.2 and Ubuntu 16.04.2 (which I believe uses the exact same Xorg server, since LM 18.2 is based on Ubuntu, right?) can have a very different xrandr configurations?
Using xserver-xorg-video-dummy
is not an option, because the virtual output won't be accelerated by GPU.
x11 xorg xrandr opengl virtual-desktop
add a comment |Â
up vote
6
down vote
favorite
I want to create a dummy, virtual output on my Xorg server on current Intel iGPU (on Ubuntu 16.04.2 HWE, with Xorg server version 1.18.4). It is the similiar to Linux Mint 18.2, which one of the xrandr
output shows the following:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
...
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
...
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
...
In the Linux Mint 18.2, I can turn off the built-in display (eDP1
) and turn on the VIRTUAL1
display with any arbitrary mode supported by the X server, attach x11vnc
to my main display and I'll get a GPU accelerated remote desktop.
But in Ubuntu 16.04.2, that's not the case. The VIRTUAL*
display doesn't exist at all from xrandr
. Also, FYI, xrandr's output names is a little bit different on Ubuntu 16.04.2, where every number is prefixed with a -
. E.g. eDP1
in Linux Mint becomes eDP-1
in Ubuntu, HDMI1
becomes HDMI-1
, and so on.
So, how to add the virtual output in Xorg/xrandr?
And how come Linux Mint 18.2 and Ubuntu 16.04.2 (which I believe uses the exact same Xorg server, since LM 18.2 is based on Ubuntu, right?) can have a very different xrandr configurations?
Using xserver-xorg-video-dummy
is not an option, because the virtual output won't be accelerated by GPU.
x11 xorg xrandr opengl virtual-desktop
add a comment |Â
up vote
6
down vote
favorite
up vote
6
down vote
favorite
I want to create a dummy, virtual output on my Xorg server on current Intel iGPU (on Ubuntu 16.04.2 HWE, with Xorg server version 1.18.4). It is the similiar to Linux Mint 18.2, which one of the xrandr
output shows the following:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
...
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
...
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
...
In the Linux Mint 18.2, I can turn off the built-in display (eDP1
) and turn on the VIRTUAL1
display with any arbitrary mode supported by the X server, attach x11vnc
to my main display and I'll get a GPU accelerated remote desktop.
But in Ubuntu 16.04.2, that's not the case. The VIRTUAL*
display doesn't exist at all from xrandr
. Also, FYI, xrandr's output names is a little bit different on Ubuntu 16.04.2, where every number is prefixed with a -
. E.g. eDP1
in Linux Mint becomes eDP-1
in Ubuntu, HDMI1
becomes HDMI-1
, and so on.
So, how to add the virtual output in Xorg/xrandr?
And how come Linux Mint 18.2 and Ubuntu 16.04.2 (which I believe uses the exact same Xorg server, since LM 18.2 is based on Ubuntu, right?) can have a very different xrandr configurations?
Using xserver-xorg-video-dummy
is not an option, because the virtual output won't be accelerated by GPU.
x11 xorg xrandr opengl virtual-desktop
I want to create a dummy, virtual output on my Xorg server on current Intel iGPU (on Ubuntu 16.04.2 HWE, with Xorg server version 1.18.4). It is the similiar to Linux Mint 18.2, which one of the xrandr
output shows the following:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
...
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
...
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
...
In the Linux Mint 18.2, I can turn off the built-in display (eDP1
) and turn on the VIRTUAL1
display with any arbitrary mode supported by the X server, attach x11vnc
to my main display and I'll get a GPU accelerated remote desktop.
But in Ubuntu 16.04.2, that's not the case. The VIRTUAL*
display doesn't exist at all from xrandr
. Also, FYI, xrandr's output names is a little bit different on Ubuntu 16.04.2, where every number is prefixed with a -
. E.g. eDP1
in Linux Mint becomes eDP-1
in Ubuntu, HDMI1
becomes HDMI-1
, and so on.
So, how to add the virtual output in Xorg/xrandr?
And how come Linux Mint 18.2 and Ubuntu 16.04.2 (which I believe uses the exact same Xorg server, since LM 18.2 is based on Ubuntu, right?) can have a very different xrandr configurations?
Using xserver-xorg-video-dummy
is not an option, because the virtual output won't be accelerated by GPU.
x11 xorg xrandr opengl virtual-desktop
x11 xorg xrandr opengl virtual-desktop
asked Jul 14 '17 at 2:36
Paulus
3314
3314
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
6
down vote
accepted
Create a 20-intel.conf
file:
sudo vi /usr/share/X11/xorg.conf.d/20-intel.conf
Add the following configuration information into the file:
Section "Device"
Identifier "intelgpu0"
Driver "intel"
Option "VirtualHeads" "2"
EndSection
This tells the Intel GPU to create 2 virtual displays. You can change the number of VirtualHeads
to your needs.
Then logout and login. You should see VIRTUAL1
and VIRTUAL2
when you run xrandr
.
And this also changes the xrandr display names to 'HDMI1' and 'eDP1' instead of 'HDMI-1' and 'eDP-1', as expected!
â Paulus
Sep 14 '17 at 6:52
add a comment |Â
up vote
0
down vote
It's not working for me Kde Neon Base 18.04 either
New contributor
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
accepted
Create a 20-intel.conf
file:
sudo vi /usr/share/X11/xorg.conf.d/20-intel.conf
Add the following configuration information into the file:
Section "Device"
Identifier "intelgpu0"
Driver "intel"
Option "VirtualHeads" "2"
EndSection
This tells the Intel GPU to create 2 virtual displays. You can change the number of VirtualHeads
to your needs.
Then logout and login. You should see VIRTUAL1
and VIRTUAL2
when you run xrandr
.
And this also changes the xrandr display names to 'HDMI1' and 'eDP1' instead of 'HDMI-1' and 'eDP-1', as expected!
â Paulus
Sep 14 '17 at 6:52
add a comment |Â
up vote
6
down vote
accepted
Create a 20-intel.conf
file:
sudo vi /usr/share/X11/xorg.conf.d/20-intel.conf
Add the following configuration information into the file:
Section "Device"
Identifier "intelgpu0"
Driver "intel"
Option "VirtualHeads" "2"
EndSection
This tells the Intel GPU to create 2 virtual displays. You can change the number of VirtualHeads
to your needs.
Then logout and login. You should see VIRTUAL1
and VIRTUAL2
when you run xrandr
.
And this also changes the xrandr display names to 'HDMI1' and 'eDP1' instead of 'HDMI-1' and 'eDP-1', as expected!
â Paulus
Sep 14 '17 at 6:52
add a comment |Â
up vote
6
down vote
accepted
up vote
6
down vote
accepted
Create a 20-intel.conf
file:
sudo vi /usr/share/X11/xorg.conf.d/20-intel.conf
Add the following configuration information into the file:
Section "Device"
Identifier "intelgpu0"
Driver "intel"
Option "VirtualHeads" "2"
EndSection
This tells the Intel GPU to create 2 virtual displays. You can change the number of VirtualHeads
to your needs.
Then logout and login. You should see VIRTUAL1
and VIRTUAL2
when you run xrandr
.
Create a 20-intel.conf
file:
sudo vi /usr/share/X11/xorg.conf.d/20-intel.conf
Add the following configuration information into the file:
Section "Device"
Identifier "intelgpu0"
Driver "intel"
Option "VirtualHeads" "2"
EndSection
This tells the Intel GPU to create 2 virtual displays. You can change the number of VirtualHeads
to your needs.
Then logout and login. You should see VIRTUAL1
and VIRTUAL2
when you run xrandr
.
answered Sep 11 '17 at 1:23
ooknosi
1765
1765
And this also changes the xrandr display names to 'HDMI1' and 'eDP1' instead of 'HDMI-1' and 'eDP-1', as expected!
â Paulus
Sep 14 '17 at 6:52
add a comment |Â
And this also changes the xrandr display names to 'HDMI1' and 'eDP1' instead of 'HDMI-1' and 'eDP-1', as expected!
â Paulus
Sep 14 '17 at 6:52
And this also changes the xrandr display names to 'HDMI1' and 'eDP1' instead of 'HDMI-1' and 'eDP-1', as expected!
â Paulus
Sep 14 '17 at 6:52
And this also changes the xrandr display names to 'HDMI1' and 'eDP1' instead of 'HDMI-1' and 'eDP-1', as expected!
â Paulus
Sep 14 '17 at 6:52
add a comment |Â
up vote
0
down vote
It's not working for me Kde Neon Base 18.04 either
New contributor
add a comment |Â
up vote
0
down vote
It's not working for me Kde Neon Base 18.04 either
New contributor
add a comment |Â
up vote
0
down vote
up vote
0
down vote
It's not working for me Kde Neon Base 18.04 either
New contributor
It's not working for me Kde Neon Base 18.04 either
New contributor
New contributor
answered 6 mins ago
MDarweash
11
11
New contributor
New contributor
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f378373%2fadd-virtual-output-to-xorg%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password