xv does not work on high resolutions

Eduardo M Kalinowski ekalin at gmail.com
Fri Aug 11 04:16:20 PDT 2006


Hi,

     I recently bought a 19" monitor, configured X to use a higher
resolution (1600x1200), but now xv does not work on that resolution.

    With mplayer I get a blue screen. With xine I get a screen full of
small red crosses. But otherwise the video plays fine, there are no
error messages.

    However, if I change the mode with Ctrl+Alt+- / +, then the video
displays correctly in lower resolutions. I don't even need to stop the
player and start again, it just starts displaying and stops if I get
back to the highest resolution.

xvinfo gives me this information:
X-Video Extension version 2.2
screen #0
  Adaptor #0: "SIS 300/315/330 series Video Overlay"
    number of ports: 1
    port base: 60
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x22
      depth 24, visualID 0x23
      depth 24, visualID 0x24
      depth 24, visualID 0x25
    number of attributes: 20
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_BRIGHTNESS" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is 10)
      "XV_CONTRAST" (range 0 to 7)
              client settable attribute
              client gettable attribute (current value is 2)
      "XV_SATURATION" (range -7 to 7)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_HUE" (range -8 to 7)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_AUTOPAINT_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_SET_DEFAULTS" (range 0 to 0)
              client settable attribute
      "XV_TVXPOSITION" (range -32 to 32)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_TVYPOSITION" (range -32 to 32)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_GAMMA_RED" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_GAMMA_GREEN" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_GAMMA_BLUE" (range 100 to 10000)
              client settable attribute
              client gettable attribute (current value is 1000)
      "XV_DISABLE_GRAPHICS" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_DISABLE_GRAPHICS_LR" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_DISABLE_COLORKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_USE_CHROMAKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_INSIDE_CHROMAKEY" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
      "XV_CHROMAMIN" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_CHROMAMAX" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66047)
      "XV_SWITCHCRT" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 0)
    maximum XvImage size: 1920 x 1080
    Number of image formats: 7
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x35315652 (RV15)
        guid: 52563135-0000-0000-0000-000000000000
        bits per pixel: 16
        number of planes: 1
        type: RGB (packed)
        depth: 15
        red, green, blue masks: 0x7c00, 0x3e0, 0x1f
      id: 0x36315652 (RV16)
        guid: 52563136-0000-0000-0000-000000000000
        bits per pixel: 16
        number of planes: 1
        type: RGB (packed)
        depth: 16
        red, green, blue masks: 0xf800, 0x7e0, 0x1f
      id: 0x55595659 (YVYU)
        guid: 59565955-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)

X version:
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.16-1-vserver-amd64-k8 x86_64
Current Operating System: Linux elrond 2.6.17-1-amd64-k8 #1 Mon Jul 17
11:59:49 UTC 2006 x86_64

Also, relevant parts of xorg.conf:
Section "Module"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "type1"
        Load    "v4l"
        Load    "vbe"
        Load    "xv"
EndSection

Section "Device"
        Identifier      "Silicon Integrated Systems (SiS) 315PRO PCI/AGP VGA Di
splay Adapter"
        Driver          "sis"
        BusID           "PCI:1:0:0"
EndSection

Section "Monitor"
        Identifier      "SyncMaster 997MB"
        Option          "DPMS"
        HorizSync       30-96
        VertRefresh     50-160
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Silicon Integrated Systems (SiS) 315PRO PCI/AGP VGA Di
splay Adapter"
        Monitor         "SyncMaster 997MB"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1600x1200" "1280x1024" "1024x768" "832x624" "8
00x600" "720x400" "640x480" "1x1"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1600x1200" "1280x1024" "1024x768" "832x624" "8
00x600" "720x400" "640x480" "1x1"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1600x1200" "1280x1024" "1024x768" "832x624" "8
00x600" "720x400" "640x480" "1x1"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1600x1200" "1280x1024" "1024x768" "832x624" "8
00x600" "720x400" "640x480" "1x1"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1600x1200" "1280x1024" "1024x768" "832x624" "8
00x600" "720x400" "640x480" "1x1"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1600x1200" "1280x1024" "1024x768" "832x624" "8
00x600" "720x400" "640x480" "1x1"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection



More information about the xorg mailing list