Dell Latitude E6520 Xorg Problems

dweimer dweimer at dweimer.net
Fri Jul 19 01:21:23 UTC 2013


On 07/18/2013 9:18 am, Dean E. Weimer wrote:
> Success X is running after some more playing to verify what works and
> doesn't I will post back with full config, FYI I did have to re-enable
> Optimus after rebuilding with KMS.
> 

So far I still haven't been able to get the external monitor working, I 
have rebuilt the system using options KMS and NEW_XORG, in the 
make.conf, here is the full make.conf file.

# Port Options
WITH_OPENSSL_PORT=YES
WRKDIRPREFIX=/var/ports
PACKAGES=/var/ports/packages
WITH_PKGNG="YES"
WITH_KMS="YES"
WITH_NEW_XORG="YES"

# Build Options
NO_WERROR=
WERROR=

#${.CURDIR:M*/www/squid*} | \
# Use Clang instead of GCC
.if target(index) | \
${.CURDIR:M*/lang/gcc*}
USE_GCC?=4.2
.endif
.if !defined(USE_GCC)
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
.if !defined(CPP) || ${CPP} == "cpp"
CPP=clang-cpp
.endif
.endif

# added by use.perl 2013-07-18 17:54:32
PERL_VERSION=5.16.3

Here is the content of /etc/X11/xorg.conf:
Section "ServerLayout"
         Identifier     "X.org Configured"
         Screen      0  "Screen0" 0 0
         Screen      1  "Screen1" LeftOf "Screen0"
         InputDevice    "Mouse0" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
         ModulePath   "/usr/local/lib/xorg/modules"
         FontPath     "/usr/local/lib/X11/fonts/misc/"
         FontPath     "/usr/local/lib/X11/fonts/TTF/"
         FontPath     "/usr/local/lib/X11/fonts/OTF/"
         FontPath     "/usr/local/lib/X11/fonts/Type1/"
         FontPath     "/usr/local/lib/X11/fonts/100dpi/"
         FontPath     "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
         Load  "extmod"
         Load  "dri2"
         Load  "dbe"
         Load  "dri"
         Load  "record"
         Load  "glx"
EndSection

Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "kbd"
EndSection

Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
         Option      "Protocol" "auto"
         Option      "Device" "/dev/sysmouse"
         Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
         Identifier   "Monitor0"
         VendorName   "Monitor Vendor"
         ModelName    "Monitor Model"
EndSection

Section "Monitor"
         Identifier   "Monitor1"
         VendorName   "Monitor Vendor"
         ModelName    "Monitor Model"
EndSection

Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
         ### <percent>: "<f>%"
         ### [arg]: arg optional
         #Option     "SWcursor"                  # [<bool>]
         #Option     "HWcursor"                  # [<bool>]
         #Option     "NoAccel"                   # [<bool>]
         #Option     "ShadowFB"                  # [<bool>]
         #Option     "UseFBDev"                  # [<bool>]
         #Option     "Rotate"                    # [<str>]
         #Option     "VideoKey"                  # <i>
         #Option     "FlatPanel"                 # [<bool>]
         #Option     "FPDither"                  # [<bool>]
         #Option     "CrtcNumber"                # <i>
         #Option     "FPScale"                   # [<bool>]
         #Option     "FPTweak"                   # <i>
         #Option     "DualHead"                  # [<bool>]
         Identifier  "Card0"
         Driver      "nv"
         BusID       "PCI:1:0:0"
EndSection

Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
         ### <percent>: "<f>%"
         ### [arg]: arg optional
         #Option     "NoAccel"                   # [<bool>]
         #Option     "AccelMethod"               # <str>
         #Option     "Backlight"                 # <str>
         #Option     "DRI"                       # <str>
         #Option     "ColorKey"                  # <i>
         #Option     "VideoKey"                  # <i>
         #Option     "Tiling"                    # [<bool>]
         #Option     "LinearFramebuffer"         # [<bool>]
         #Option     "SwapbuffersWait"           # [<bool>]
         #Option     "TripleBuffer"              # [<bool>]
         #Option     "XvPreferOverlay"           # [<bool>]
         #Option     "HotPlug"                   # [<bool>]
         #Option     "RelaxedFencing"            # [<bool>]
         #Option     "XvMC"                      # [<bool>]
         #Option     "ZaphodHeads"               # <str>
         #Option     "TearFree"                  # [<bool>]
         #Option     "PerCrtcPixmaps"            # [<bool>]
         #Option     "FallbackDebug"             # [<bool>]
         #Option     "DebugFlushBatches"         # [<bool>]
         #Option     "DebugFlushCaches"          # [<bool>]
         #Option     "DebugWait"                 # [<bool>]
         #Option     "BufferCache"               # [<bool>]
         Identifier  "Card1"
         Driver      "intel"
         BusID       "PCI:0:2:0"
EndSection

Section "Screen"
         Identifier "Screen0"
         Device     "Card1"
         Monitor    "Monitor0"
         SubSection "Display"
                 Viewport   0 0
                 Depth     1
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     4
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     8
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     15
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     16
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     24
         EndSubSection
EndSection

Section "Screen"
         Identifier "Screen1"
         Device     "Card1"
         Monitor    "Monitor1"
         SubSection "Display"
                 Viewport   0 0
                 Depth     1
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     4
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     8
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     15
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     16
         EndSubSection
         SubSection "Display"
                 Viewport   0 0
                 Depth     24
         EndSubSection
EndSection

I have tried changing the second monitor to the nvidia card, but its 
still doesn't identify one being connected, I currently have the machine 
rebuilding all ports with the new make options set instead of just the 
Xorg related ports I did earlier to see if that makes a difference I 
don't expect that to be finished until well after I'm asleep.  But if 
anyone has any ideas on how to get it to recognize an external monitor I 
am open to suggestions to try tomorrow.  Kind of spoiled being use to 
two monitors when I am at my desk.  Just can't fit everything on one 
display.

-- 
Thanks,
    Dean E. Weimer
    http://www.dweimer.net/


More information about the freebsd-questions mailing list