L
Latz90
Guest
Dumme Frage, aber kann man das nicht mit ner Virtual Box machen?
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
Dumme Frage, aber kann man das nicht mit ner Virtual Box machen?
Was meinst du?
Ich betriebe seit einiger Zeit ein Wqhd-Monitor an der Ultradock am Displayport. Im Videovollbildmodus habe ich öfter einen permanenten fehlerhaften Bildaufbau. Einiges Zeilen flackern wie verrückt. Diese fehlerhaften Zeilen wandern im mittleren Drittel auf und ab.
Hängt das mit dem Treiber zusammen?
Confirming fixed. I'm running 3.17.0-rc6 and dual external displays off of E7440 and the small PR03X dock, outputs are now named DP1-1 and DP1-2.
[sun@t440s ~]$ uname -a
Linux t440s 3.17.1-1-ARCH #1 SMP PREEMPT Wed Oct 15 15:04:35 CEST 2014 x86_64 GNU/Linux
[sun@t440s ~]$ xrandr
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
eDP1 connected (normal left inverted right x axis y axis)
1920x1080 60.05 +
1400x1050 59.98
1280x1024 60.02
1280x960 60.00
1024x768 60.00
800x600 60.32 56.25
640x480 59.94
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 connected (normal left inverted right x axis y axis)
1920x1080 60.00 50.00 59.94 24.00 23.98
2880x576 50.00
2880x480 60.00 59.94
1280x720 60.00 50.00 59.94
1440x576 50.00
1440x480 60.00 59.94
720x576 50.00
720x480 60.00 59.94
640x480 60.00 59.94
DP4 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95*+
1920x1200 59.88
1920x1080 60.00 60.00 50.00 59.94 24.00 23.98
1600x1200 60.00
1680x1050 59.95
1280x1024 75.02 60.02
1280x800 59.81
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.08 60.00
800x600 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
uname -r
3.17.1-031701-generic
xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 175mm
1920x1080 60.0*+ 59.9
1680x1050 60.0 59.9
1600x1024 60.2
1400x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
[ 45.123790] thinkpad_acpi: docked into hotplug port replicator
[ 46.247257] usb 2-3: new high-speed USB device number 6 using xhci_hcd
[ 46.377726] usb 2-3: New USB device found, idVendor=17ef, idProduct=1012
[ 46.377731] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 46.377733] usb 2-3: Product: Lenovo ThinkPad Dock
[ 46.377734] usb 2-3: Manufacturer: LENOVO
jonas@jonas-ThinkPad-T440s:~$ uname -rm
3.13.0-53-generic x86_64
jonas@jonas-ThinkPad-T440s:~$ xrandr --query
Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 32767 x 32767
eDP1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 309mm x 175mm
1920x1080 60.0*+ 59.9
1680x1050 60.0 59.9
1600x1024 60.2
1400x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 290mm
1920x1080 59.9*+ 60.0
1680x1050 60.0
1280x1024 75.0 60.0
1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
jonas@jonas-ThinkPad-T440s:~$ uname -rm
3.17.2-031702-generic x86_64
jonas@jonas-ThinkPad-T440s:~$ xrandr --query
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 175mm
1920x1080 60.0*+ 59.9
1680x1050 60.0 59.9
1600x1024 60.2
1400x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
[FONT=monospace][COLOR=#000000]#!/bin/bash [/COLOR]
# If an external monitor is connected, place it with xrandr
# External output may be "VGA" or "VGA-0" or "DVI-0" or or or...
# Look in KDE monitor config to find the names of detected screens
EXTERNAL_OUTPUT1="DP2-2" #linker DP Dock
EXTERNAL_OUTPUT2="HDMI1" #mDP
EXTERNAL_OUTPUT3="DP2-1" #HDMI Dock
INTERNAL_OUTPUT="eDP1" #Notebook-Display
# possible locations
# --left-of --right-of --above --below
xrandr |grep $EXTERNAL_OUTPUT1 | grep " connected "
if [ $? -eq 0 ]; then
# Wenn TFT angeschlossen ist, wird der interne deaktiviert und TFT als primärer Monitor verwendet. mDP wird aktiviert.
xrandr --output $EXTERNAL_OUTPUT1 --auto --primary && sleep 1 && xrandr --output $EXTERNAL_OUTPUT2 --auto --output $INT
ERNAL_OUTPUT --off
else
xrandr |grep $EXTERNAL_OUTPUT2 | grep " connected "
if [ $? -eq 0 ]; then
# Wenn mit mDP verbunden, dann diesen aktivieren und Internen deaktivieren
xrandr --output $EXTERNAL_OUTPUT2 --auto --primary && sleep 1 && xrandr --output $INTERNAL_OUTPUT --off
else
# Wenn kein ext. Monitor engeschlossen ist, wird der Interne aktiviert.
xrandr --output $INTERNAL_OUTPUT --auto --primary && sleep 1 && xrandr --output $EXTERNAL_OUTPUT1 --off --outpu
t $EXTERNAL_OUTPUT2 --off --output $EXTERNAL_OUTPUT3 --off
# battery1=`cat /sys/class/power_supply/BAT1/status`
# battery0=`cat /sys/class/power_supply/BAT0/status`
# running on battery = backlight 47%, else 60%
# if [ $battery1 = Discharging -o $battery0 = Discharging ]; then
# xbacklight -set 40
# else
# xbacklight -set 60
# fi
fi
fi
[/FONT]
[FONT=monospace]xrandr --output DP2-2 --auto --primary && xrandr --output eDP1 --off [/FONT]
[sun@t440s sun]$ xrandr
Screen 0: minimum 8 x 8, current 2560 x 1440, maximum 32767 x 32767
eDP1 connected (normal left inverted right x axis y axis)
1920x1080 60.05 +
1400x1050 59.98
1600x900 60.00
1280x1024 60.02
1280x960 60.00
1368x768 60.00
1280x720 60.00
1024x768 60.00
1024x576 60.00
960x540 60.00
800x600 60.32 56.25
864x486 60.00
640x480 59.94
720x405 60.00
640x360 60.00
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP2-1 disconnected (normal left inverted right x axis y axis)
DP2[COLOR=#ff0000][B]-2[/B][/COLOR] connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
2560x1440 59.95*+
1920x1200 59.88
1920x1080 60.00 60.00 50.00 59.94 24.00 23.98
1600x1200 60.00
1680x1050 59.95
1280x1024 75.02 60.02
1280x800 59.81
1152x864 75.00
1280x720 60.00 50.00 59.94
1024x768 75.08 60.00
800x600 75.00 60.32
720x576 50.00
720x480 60.00 59.94
640x480 75.00 60.00 59.94
720x400 70.08
DP2-3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
jonas@jonas-ThinkPad-T440s:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
1920x1080 0.0*
jonas@jonas-ThinkPad-T440s:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 175mm
1920x1080 60.0*+ 59.9
1680x1050 60.0 59.9
1600x1024 60.2
1400x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
jonas@jonas-ThinkPad-T440s:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 175mm
1920x1080 60.0*+ 59.9
1680x1050 60.0 59.9
1600x1024 60.2
1400x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x960 60.0
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Code:[FONT=monospace][COLOR=#000000]#!/bin/bash [/COLOR] # If an external monitor is connected, place it with xrandr # External output may be "VGA" or "VGA-0" or "DVI-0" or or or... # Look in KDE monitor config to find the names of detected screens EXTERNAL_OUTPUT1="DP2-2" #linker DP Dock EXTERNAL_OUTPUT2="HDMI1" #mDP EXTERNAL_OUTPUT3="DP2-1" #HDMI Dock INTERNAL_OUTPUT="eDP1" #Notebook-Display # possible locations # --left-of --right-of --above --below xrandr |grep $EXTERNAL_OUTPUT1 | grep " connected " if [ $? -eq 0 ]; then # Wenn TFT angeschlossen ist, wird der interne deaktiviert und TFT als primärer Monitor verwendet. mDP wird aktiviert. xrandr --output $EXTERNAL_OUTPUT1 --auto --primary && sleep 1 && xrandr --output $EXTERNAL_OUTPUT2 --auto --output $INT ERNAL_OUTPUT --off else xrandr |grep $EXTERNAL_OUTPUT2 | grep " connected " if [ $? -eq 0 ]; then # Wenn mit mDP verbunden, dann diesen aktivieren und Internen deaktivieren xrandr --output $EXTERNAL_OUTPUT2 --auto --primary && sleep 1 && xrandr --output $INTERNAL_OUTPUT --off else # Wenn kein ext. Monitor engeschlossen ist, wird der Interne aktiviert. xrandr --output $INTERNAL_OUTPUT --auto --primary && sleep 1 && xrandr --output $EXTERNAL_OUTPUT1 --off --outpu t $EXTERNAL_OUTPUT2 --off --output $EXTERNAL_OUTPUT3 --off # battery1=`cat /sys/class/power_supply/BAT1/status` # battery0=`cat /sys/class/power_supply/BAT0/status` # running on battery = backlight 47%, else 60% # if [ $battery1 = Discharging -o $battery0 = Discharging ]; then # xbacklight -set 40 # else # xbacklight -set 60 # fi fi fi [/FONT]