Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2013 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8020987 to your computer and use it in GitHub Desktop.
Save anonymous/8020987 to your computer and use it in GitHub Desktop.
Xorg.conf file for EMGD driver optimized for Sony Vaio P (1st gen)
##
## X Config options generated from CED
## x11 conf skeleton
## DriverVer=1.10
##
# parameters taken from http://pcloadletter.co.uk/2012/07/06/iemgd-for-vaio-p/
Section "Screen"
Identifier "Screen0"
Device "IntelEMGD-0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1600x768" "1366x768" "1280x768" "1024x768" "800x600"
EndSubSection
EndSection
# Primary (First/only) display
Section "Device"
Identifier "IntelEMGD-0"
Driver "emgd"
VendorName "Intel(R) DEG"
BoardName "Embedded Graphics"
BusID "0:2:0"
Screen 0
# VideoRam 262144
Option "PcfVersion" "1792"
Option "ConfigId" "1"
Option "ALL/1/name" "SonyVaioP"
Option "ALL/1/General/PortOrder" "40000"
Option "ALL/1/General/DisplayConfig" "1"
Option "ALL/1/General/DisplayDetect" "1"
# Option "ALL/1/General/FbBlendOvl" "1"
# Option "ALL/1/General/VideoKey" "0x00ff0000"
# Option "ALL/1/General/Refresh" "60"
# Option "ALL/1/General/OverlayNoClip" "1"
Option "ALL/1/General/DRI2" "1"
Option "ALL/1/General/DRI" "1"
Option "ALL/1/General/XVideo" "1"
Option "ALL/1/General/XVideoBlend" "1"
Option "ALL/1/General/XVideoMC" "0"
# Option "All/1/General/ShadowFB" "0"
# Option "ALL/1/General/TuningWA" "1"
Option "ALL/1/Port/4/General/name" "LVDSport"
# Option "ALL/1/Port/4/General/EdidAvail" "4"
# Option "ALL/1/Port/4/General/EdidNotAvail" "4"
Option "ALL/1/Port/4/General/Rotation" "0"
# Option "ALL/1/Port/4/General/Edid" "1"
# Option "ALL/1/Port/4/General/CenterOff" "1"
# Option "ALL/1/Port/4/FpInfo/BkltEnable" "1"
# Option "ALL/1/Port/4/FpInfo/BkltMethod" "1"
# Option "ALL/1/Port/4/FpInfo/BkltT1" "60"
# Option "ALL/1/Port/4/FpInfo/BkltT2" "200"
# Option "ALL/1/Port/4/FpInfo/BkltT3" "200"
# Option "ALL/1/Port/4/FpInfo/BkltT4" "50"
# Option "ALL/1/Port/4/FpInfo/BkltT5" "400"
Option "ALL/1/Port/4/Dtd/1/PixelClock" "83600"
Option "ALL/1/Port/4/Dtd/1/HorzActive" "1600"
Option "ALL/1/Port/4/Dtd/1/HorzSync" "32"
Option "ALL/1/Port/4/Dtd/1/HorzSyncPulse" "65"
Option "ALL/1/Port/4/Dtd/1/HorzBlank" "194"
Option "ALL/1/Port/4/Dtd/1/VertActive" "768"
Option "ALL/1/Port/4/Dtd/1/VertSync" "1"
Option "ALL/1/Port/4/Dtd/1/VertSyncPulse" "1"
Option "ALL/1/Port/4/Dtd/1/VertBlank" "10"
# Option "ALL/1/Port/4/Dtd/1/Flags" "0x20000"
# Option "ALL/1/Port/4/Attr/27" "0" # Single or Dual Channel, 0 pour Single ( Default )
# Option "ALL/1/Port/4/Attr/26" "18" # Video Depth, 18 ou 24 pour Z5xx Series
# Option "ALL/1/Port/4/Attr/60" "1"
# Option "ALL/1/Port/4/Attr/70" "100" #Backlight Intensity
# Option "ALL/1/Port/4/Attr/45" "1" # Dither=1 pour attr26=18, 0 pour attr26=24
Option "ALL/1/Port/4/Attr/72" "0" # 0 par defaut , Backlight legacy mode
Option "ALL/1/Port/4/Attr/71" "300" # Inverter Frequency
Option "ALL/1/General/Accel" "1"
Option "ALL/1/General/VideoRAM" "262144"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
# InputDevice "Mouse0" "CorePointer"
# InputDevice "Keyboard0" "CoreKeyboard"
# InputDevice "DevInputMice" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "composite" "enable"
# Option "RENDER" "Enable"
EndSection
Section "ServerFlags"
#Option "AIGLX" "true"
Option "DRM" "true"
Option "Xinerama" "false"
#Option "IgnoreABI" "true"
endSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment