Skip to content

Instantly share code, notes, and snippets.

@pcolby
Last active August 24, 2017 19:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcolby/a28f6dac5c370526b42f to your computer and use it in GitHub Desktop.
Save pcolby/a28f6dac5c370526b42f to your computer and use it in GitHub Desktop.
XPS 13 9343

Just some notes on my XPS 13 (9343) setup.

See also mpalourdio/xps13.

DP-1
  -> DP-1-1
    -> DP-1-1-1: Dell 2007FPB (Left)  [eVGA DP3]
    -> DP-1-1-2: Dell 2007FPB (Right) [eVGA DP2]
  -> DP-1-2: Dell U3014 (Middle)     [eVGA DP1]
eDP-1: Internal Infinity Display.

apt-get install cmake doxygen libboost-all-dev sudo apt-get install firmware-b43-installer

Section "Monitor"
Identifier "DP-1-2"
VendorName "Dell"
ModelName "U3014"
DisplaySize 641.3 400.8
EndSection
Section "Monitor"
Identifier "DP-1-1-1"
VendorName "Dell"
ModelName "2007FPB"
DisplaySize 408 306
Option "LeftOf" "DP-1-2"
Option "Rotate" "left"
Option "PreferredMode" "1600x1200@60Hz"
Horizsync 30-83
VertRefresh 56-76
Modeline "1600x1200@60Hz" 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
EndSection
Section "Monitor"
Identifier "DP-1-1-2"
VendorName "Dell"
ModelName "2007FPB"
DisplaySize 408 306
Option "RightOf" "DP-1-2"
Option "Rotate" "right"
Option "PreferredMode" "1600x1200@60Hz"
Horizsync 30-83
VertRefresh 56-76
Modeline "1600x1200@60Hz" 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
EndSection
# Internal display attached to embedded DisplayPort 1.
Section "Monitor"
Identifier "eDP-1"
VendorName "Dell"
ModelName "Infinity Display"
DisplaySize 293.76 165.24
Option "Rotate" "normal"
EndSection
## This is the one that fixed that annoying X11 mouse cursor positioning error.
Start-Date: 2015-10-16 08:30:46
Commandline: apt upgrade
Upgrade: xserver-xorg-video-intel:amd64 (2.99.917+git20150926.f0fd4d50-0ubuntu0sarvatt~vivid, 2.99.917+git20151015.6861391f-0ubuntu0sarvatt~vivid)
End-Date: 2015-10-16 08:30:48
#!/bin/bash
xdpyinfo | grep -B2 resolution
Only trying 6 as per your request.
256-byte EDID successfully retrieved from i2c bus 6
Looks like i2c was successful. Have a good day.
Checksum Correct
Section "Monitor"
Identifier ""
ModelName ""
VendorName "SHP"
# Monitor Manufactured week 50 of 2014
# EDID version 1.4
# Digital Display
DisplaySize 290 170
Gamma 2.20
Option "DPMS" "false"
Modeline "Mode 0" 373.25 3200 3248 3280 3360 1800 1803 1808 1852 -hsync -vsync
EndSection
Only trying 9 as per your request.
256-byte EDID successfully retrieved from i2c bus 9
Looks like i2c was successful. Have a good day.
Checksum Correct
Section "Monitor"
Identifier "DELL 2007FP"
ModelName "DELL 2007FP"
VendorName "DEL"
# Monitor Manufactured week 48 of 2009
# EDID version 1.3
# Digital Display
DisplaySize 410 310
Gamma 2.20
Option "DPMS" "true"
Horizsync 30-83
VertRefresh 56-76
# Maximum pixel clock is 170MHz
#Not giving standard mode: 1280x1024, 60Hz
#Not giving standard mode: 1600x1200, 60Hz
#Not giving standard mode: 1152x864, 75Hz
Modeline "Mode 0" 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
EndSection
#!/bin/bash
[ $# -eq 1 ] || { echo "Usage: $0 dpi" >&2 && exit; }
xrandr --dpi $1 --verbose || exit
kwin_x11 --replace \
1> /var/tmp/kwin_x11.stdout \
2> /var/tmp/kwin_x11.stderr &
killall plasmashell || exit
kstart plasmashell \
1> /var/tmp/plasmashell.stdout \
2> /var/tmp/plasmashell.stderr
#!/bin/bash
[ $1 -eq 1 ] && xrandr --output eDP-1 --off --output DP-1-2 --auto --dpi 96
[ $1 -eq 2 ] && xrandr --output DP-1-1-1 --auto --left-of DP-1-2 --dpi 96 --rotate left
[ $1 -eq 3 ] && xrandr --output DP-1-1-2 --auto --right-of DP-1-2 --dpi 96 --rotate right
# Tres
xrandr --output eD-P1 --off --output DP-1-2 --auto --dpi 96
xrandr --output DP-1-1-1 --auto --left-of DP-1-2 --dpi 96 --rotate left
xrandr --output DP-1-1-2 --auto --right-of DP-1-2 --dpi 96 --rotate right
# Uno
xrandr --output DP-1-1-1 --off --output DP-1-1-2 --off
xrandr --output DP-1-2 --off --output eDP-1 --auto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment