LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   video problem (stumped) (https://www.linuxquestions.org/questions/linux-software-2/video-problem-stumped-90378/)

bkeating 09-08-2003 12:18 AM

video problem (stumped)
 
with any video device (so far; mplayer and tvtime) give me little red X's for the screen output... I believe it is due to a bad XFree86 driver but i have the proper card selected (SiS651). Anyway, it may not be, here is an example of what tvtime looks like when I run it;

http://rooster.teov.org/upload/files/videoerror.png

*note that when tvtime (and mplayer) first come up the screen displays the splash image [mplayer] and a pink screen [for tvtime] until i move or resize it...

Here is my XFree86config;

Code:

Section "Module
    Load        "dbe"          # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"  # don't initialise the DGA extension
    EndSubSection

# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load      "glx"
# This loads the DRI module
    Load      "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath        "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

    FontPath  "/usr/X11R6/lib/X11/fonts/local/"
    FontPath  "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath  "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath  "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath  "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath  "/usr/X11R6/lib/X11/fonts/TrueType/"
#    FontPath  "/usr/X11R6/lib/X11/fonts/freefont/"
    FontPath  "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath  "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier        "Keyboard1"
    Driver        "Keyboard"
#    Option    "Protocol"      "Xqueue"
    Option "AutoRepeat" "500 30"
#    Option        "Xleds"      "1 2 3"
#    Option "LeftAlt"    "Meta"
#    Option "RightAlt"    "ModeShift"
#    Option "XkbDisable"
    Option "XkbRules"        "xfree86"
    Option "XkbModel"        "pc104"
    Option "XkbLayout"        "us"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier        "Mouse1"
    Driver        "mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping" "4 5"
#    Option "Resolution"        "256"
#    Option "Protocol"        "Xqueue"
#    Option "BaudRate"        "9600"
#    Option "SampleRate"        "150"
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
#    Option "ChordMiddle"
EndSection

**********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"
    Identifier  "Cornerstone"
    HorizSync  31-115
    VertRefresh 50-160
EndSection

**********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier        "Standard VGA"
    VendorName        "Unknown"
    BoardName        "Unknown"

#    Chipset        "generic"
    Driver    "vga"
#    BusID      "PCI:0:10:0"
#    VideoRam        256
#    Clocks        25.2 28.3
EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "sis651"
    Driver      "sis"
    #VideoRam    32768
# Option "no_accel"
# Option "fifo_moderate"
# Option "fifo_conserv"
# Option "fifo_aggressive"
# Option "no_BitBlt"
# Option "fast_vram"
# Option "pci_burst_on"
# Option "xaa_benchmark"
# Option "ext_eng_queue"
    # Insert Clocks lines here if appropriate
EndSection


**********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen 1"
    Device      "sis651"
    Monitor    "Cornerstone"
    DefaultDepth 24

    Subsection "Display"
        Depth      8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth      24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

**********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard
EndSection

# Section "DRI"
#    Mode 0666
# EndSection


crashmeister 09-08-2003 06:07 AM

Check with the xfree log to see what driver you got and if it supports your chipset.Check with http://www.winischhofer.net for the newest drivers and specs.If everything else besides mplayer and tvtime is ok check what they use for output - xv should work with sis.


All times are GMT -5. The time now is 09:36 AM.