Announcement

Collapse
No announcement yet.

Xv video output has purple tint instead of beeing black

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #21
    Originally posted by legume View Post
    This happens if your screen res x and y aren't divisible by 64 AFAICT.

    The work around is to add a virtual line to your xorg.conf with 1 added (it will mean your screen will scroll by a pixel).
    well, my resolution is 1024x768
    so, I think maybe there is something wrong parameters I set in xorg.conf:
    Code:
    Section "ServerLayout"
    	Identifier     "Default Layout"
    	Screen      0  "aticonfig-Screen[0]-0" 0 0
    	InputDevice    "MX300" "AlwaysCore"
            InputDevice    "Synaptics Touchpad" "CorePointer"
    	InputDevice    "Keyboard1" "CoreKeyboard"
    EndSection
    
    Section "Files"
        RgbPath	 "/usr/share/X11/rgb"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/wenquanyi/wqy-zenhei"
        FontPath     "/usr/share/fonts/wqy-bitmapfont/"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
    EndSection
    
    Section "Module"
        Load "glx"
        Load "dri"
        Load "GLcore"
        Load "freetype"
    EndSection
    
    Section "InputDevice"
    	Identifier  "Keyboard1"
    	Driver      "kbd"
    	Option	    "XkbRules" "xorg"
    	Option	    "XkbModel" "pc105"
    	Option	    "XkbLayout" "us"
    EndSection
    
    Section "InputDevice"
    	Identifier  "MX300"
    	Driver      "mouse"
    	Option      "CorePointer"
            Option      "Protocol" "ExplorerPS/2"
            Option	    "Device" "/dev/input/mice"
    	Option	    "Emulate3Buttons"
            Option      "Emulate3Timeout"    "50"
            Option      "EmulateWheel" "on"
            Option      "EmulateWheelButton" "2"
            Option      "EmulateWheelTimeOut" "200"
    	Option	    "YAxisMapping" "4 5"
            Option	    "XAxisMapping" "6 7"
            Option	    "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
            Identifier      "Synaptics Touchpad"
            Driver          "synaptics"
            Option          "SendCoreEvents"        "true"
            Option          "Device"                "/dev/psaux"
            Option          "Protocol"              "auto-dev"
            Option          "HorizScrollDelta"      "0"
            Option          "SHMConfig"             "true"
    EndSection
    
    Section "Monitor"
    	Identifier   "aticonfig-Monitor[0]-0"
    	Option	    "VendorName" "ATI Proprietary Driver"
    	Option	    "ModelName" "Generic Autodetecting Monitor"
    	Option	    "DPMS" "true"
            DisplaySize    271    203    # 1024x768 96dpi
    EndSection
    
    Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        BusID       "PCI:1:0:0"
        Option          "ForceMonitors" "lvds,crt1"
        Option          "TexturedVideo" "on"
        Option          "Centermode" "off"
        Option          "VideoOverlay" "on"
        Option          "OpenGLOverlay" "off"
        Option          "OverlayOnCRTC2" "0"
        Option          "PseudoColorVisuals" "off"
        Option          "UseFastTLS" "2"
        Option          "XAANoOffscreenPixmaps" "true"
        Option          "DRI" "true"
    EndSection
    
    Section "Screen"
    	Identifier "aticonfig-Screen[0]-0"
    	Device     "aticonfig-Device[0]-0"
    	Monitor    "aticonfig-Monitor[0]-0"
    	DefaultDepth     24
    	SubSection "Display"
    		Viewport   0 0
    		Depth     24
            Modes "1024x768"
    	EndSubSection
    EndSection
    
    Section "Extensions"
        Option "Composite" "0"
        Option "XVideo" "Enable"
    EndSection
    
    Section "DRI"
        Mode 0666
    EndSection
    my card is x1300 on T60
    I post my xorf.conf here, maybe someone can tell me what's wrong.

    Comment


    • #22
      Originally posted by archman View Post
      well, my resolution is 1024x768
      so, I think maybe there is something wrong parameters I set in xorg.conf:
      Hmm 1024x768 works for me. Maybe you could try removing a few things from you device section - don't know if it will help, though. IIRC the TLS one gets ignored and you get whatever is set with aticonfig anyway. I don't know what you actually need - On a single CRT mine is empty now, though I used to need XAANoOffscreenPixmaps for my old (R5xx) card. As a start try -

      Code:
      Section "Device"
          Identifier  "aticonfig-Device[0]-0"
          Driver      "fglrx"
          BusID       "PCI:1:0:0"
          Option          "ForceMonitors" "lvds,crt1"
          Option          "Centermode" "off"
          Option          "XAANoOffscreenPixmaps" "true"
          Option          "DRI" "true"
      EndSection

      Comment

      Working...
      X