Dell Inspiron 5160 Volare XP5 video setup

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Dell Inspiron 5160 Volare XP5 video setup

David Shuman
A Dell Inspiron 5160 with the Volare XP5 video option has
been somewhere between difficult/impossible to configure in
Linux and other OS's than Windows.  The default X
configuration on this Pentium 4 box was incorrect after
  X - configure
(and hung the machine requiring for me a reboot when tested)

I however modified xorg.conf and appear to have a working
configuration.

I modified the video driver from Trident to vesa
    Identifier  "Card0"
    Driver      "vesa"
    VendorName  "Trident"

I added an additional display option to Monitors
to allow 32 bit and forced a resolution of 1024x768.
(the same one I use in Windows)
    SubSection "Display"
        Viewport   0 0
                Depth     32
                Modes   "1024X768"
        EndSubSection


The complete text of the xorg.conf file follows.  
I do not know where to report this so that the documentation
can contain this workaround or possibly the autoconfiguration
code could be changed. I probably have to figure out dmesg
before this information is completely usable.

Contents of    /etc/X11/xorg.conf

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

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

Section "Module"
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
    Load  "freetype"
EndSection

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

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

Section "Monitor"
    #DisplaySize      300   230    # mm
    Identifier   "Monitor0"
    VendorName   "LGP"
    ModelName    "b946"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "AccelMethod"            # [<str>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "PciRetry"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "SetMClk"                # <freq>
        #Option     "MUXThreshold"           # <i>
        #Option     "ShadowFB"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoKey"               # <i>
        #Option     "NoMMIO"                 # [<bool>]
        #Option     "NoPciBurst"             # [<bool>]
        #Option     "MMIOonly"               # [<bool>]
        #Option     "CyberShadow"            # [<bool>]
        #Option     "CyberStretch"           # [<bool>]
        #Option     "XvHsync"                # <i>
        #Option     "XvVsync"                # <i>
        #Option     "XvBskew"                # <i>
        #Option     "XvRskew"                # <i>
        #Option     "FpDelay"                # <i>
        #Option     "Display1400"            # [<bool>]
        #Option     "Display"                # [<str>]
        #Option     "GammaBrightness"        # [<str>]
        #Option     "TVChipset"              # [<str>]
        #Option     "TVSignal"               # <i>
    Identifier  "Card0"
    Driver      "vesa"
    VendorName  "Trident"
    BoardName   "Unknown Board"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    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
    SubSection "Display"
        Viewport   0 0
                Depth     32
                Modes   "1024X768"
        EndSubSection
EndSection

Reply | Threaded
Open this post in threaded view
|

Re: Dell Inspiron 5160 Volare XP5 video setup

Matthieu Herrb
On Mon, Dec 21, 2009 at 05:30:29PM -0800, David Shuman wrote:

> A Dell Inspiron 5160 with the Volare XP5 video option has
> been somewhere between difficult/impossible to configure in
> Linux and other OS's than Windows.  The default X
> configuration on this Pentium 4 box was incorrect after
>   X - configure
> (and hung the machine requiring for me a reboot when tested)
>
> I however modified xorg.conf and appear to have a working
> configuration.
>
> I modified the video driver from Trident to vesa
>     Identifier  "Card0"
>     Driver      "vesa"
>     VendorName  "Trident"
>
> I added an additional display option to Monitors
> to allow 32 bit and forced a resolution of 1024x768.
> (the same one I use in Windows)
>     SubSection "Display"
>         Viewport   0 0
>                 Depth     32
>                 Modes   "1024X768"
>         EndSubSection
>
>
> The complete text of the xorg.conf file follows.  
> I do not know where to report this so that the documentation
> can contain this workaround or possibly the autoconfiguration
> code could be changed. I probably have to figure out dmesg
> before this information is completely usable.
>

Yes, please send us a dmesg.

Generally I think that the various information available in the
OpenBSD FAQ or on other sites like the X.Org one about X configuration
is enough to tell people that the vesa driver can be tried as an
alternative when there's no driver or when the default driver doesn't
work.

If you think it's not clear enough, it would be nice to send a diff
against the existing OpenBSD FAQ.

--
Matthieu Herrb