Announcement

Collapse
No announcement yet.

PAL TV-out & overscan support for xorg ati driver

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

  • #11
    Originally posted by airlied View Post
    Alex checked in a fix for pal tv-out please test it...
    Does the new version build against xserver 1.3 (xorg 7.2)? That's the version ubuntu gutsy has by default.

    Comment


    • #12
      Originally posted by vemon View Post
      Does the new version build against xserver 1.3 (xorg 7.2)? That's the version ubuntu gutsy has by default.
      yes. xf86-video-ati requires xserver 1.3 or newer.

      Comment


      • #13
        Can somebody point me out to xorg.conf, for Monitor + TV out in dual head, xinerama or big desktop. I have radeon 9500 and trying to configure some time now without success!

        TV out is working great with PAL and xrandr, but I would like to have it already on startup of the computer and not as cloned monitor!

        Thanks!

        Gujs

        Comment


        • #14
          Originally posted by Gujs View Post
          Can somebody point me out to xorg.conf, for Monitor + TV out in dual head, xinerama or big desktop. I have radeon 9500 and trying to configure some time now without success!

          TV out is working great with PAL and xrandr, but I would like to have it already on startup of the computer and not as cloned monitor!

          Thanks!

          Gujs
          Take a look at this page:

          You'll probably also need:
          Option ?ForceTVOut? ?true?
          Option ?TVStandard? ?pal?

          Alex

          Comment


          • #15
            I tried and got something like this:
            Code:
            # xorg.conf (xorg X Window System server configuration file)
            #
            # This file was generated by dexconf, the Debian X Configuration tool, using
            # values from the debconf database.
            #
            # Edit this file with caution, and see the xorg.conf manual page.
            # (Type "man xorg.conf" at the shell prompt.)
            #
            # This file is automatically updated on xserver-xorg package upgrades *only*
            # if it has not been modified since the last upgrade of the xserver-xorg
            # package.
            #
            # If you have edited this file but would like it to be automatically updated
            # again, run the following command:
            #   sudo dpkg-reconfigure -phigh xserver-xorg
            
            Section "InputDevice"
            	Identifier	"Generic Keyboard"
            	Driver		"kbd"
            	Option		"CoreKeyboard"
            	Option		"XkbRules"	"xorg"
            	Option		"XkbModel"	"pc105"
            	Option		"XkbLayout"	"si"
            EndSection
            
            Section "InputDevice"
            	Identifier	"Configured Mouse"
            	Driver		"mouse"
            	Option		"CorePointer"
            	Option		"Device"		"/dev/input/mice"
            	Option		"Protocol"		"ImPS/2"
            	Option		"ZAxisMapping"		"4 5"
            	Option		"Emulate3Buttons"	"true"
            EndSection
            
            Section "InputDevice"
            	Driver		"wacom"
            	Identifier	"stylus"
            	Option		"Device"	"/dev/input/wacom"
            	Option		"Type"		"stylus"
            	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
            EndSection
            
            Section "InputDevice"
            	Driver		"wacom"
            	Identifier	"eraser"
            	Option		"Device"	"/dev/input/wacom"
            	Option		"Type"		"eraser"
            	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
            EndSection
            
            Section "InputDevice"
            	Driver		"wacom"
            	Identifier	"cursor"
            	Option		"Device"	"/dev/input/wacom"
            	Option		"Type"		"cursor"
            	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
            EndSection
            
            Section "Device"
            	Identifier	"ATI Technologies Inc R300 AD [Radeon 9500 Pro]"
            	Driver		"ati"
            	BusID		"PCI:1:0:0"
            	Option 		"ForceTVOut" "true"
            	Option		"TVStandard" "pal"
            	Option		"Monitor-VGA-0" "SyncMaster"
            	Option		"Monitor-S-video"	"TV"
            EndSection
            
            Section "Monitor"
            	Identifier	"SyncMaster"
            #	Option		"DPMS"
            #	HorizSync	30-110
            #	VertRefresh	50-160
            EndSection
            
            Section "Monitor"
                    Identifier      "TV"
            #        Option          "DPMS"
            	Option		"LeftOf"	"SyncMaster"
            EndSection
            
            Section "Screen"
            	Identifier	"Default Screen"
            	Device		"ATI Technologies Inc R300 AD [Radeon 9500 Pro]"
            	Monitor		"SyncMaster"
            	DefaultDepth	24
            	SubSection "Display"
            		Modes		"1920x1440" "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
            		Virtual		2048	2048
            	EndSubSection
            EndSection
            
            Section "ServerLayout"
            	Identifier	"Default Layout"
            	Screen		"Default Screen"
            	InputDevice	"Generic Keyboard"
            	InputDevice	"Configured Mouse"
            
            # Uncomment if you have a wacom tablet
            #	InputDevice     "stylus"	"SendCoreEvents"
            #	InputDevice     "cursor"	"SendCoreEvents"
            #	InputDevice     "eraser"	"SendCoreEvents"
            EndSection

            But this is still not working. Xorg log is here:
            http://pastebin.com/m61578a94

            Comment


            • #16
              Originally posted by Gujs View Post
              I tried and got something like this:
              Code:
              # xorg.conf (xorg X Window System server configuration file)
              #
              # This file was generated by dexconf, the Debian X Configuration tool, using
              # values from the debconf database.
              #
              # Edit this file with caution, and see the xorg.conf manual page.
              # (Type "man xorg.conf" at the shell prompt.)
              #
              # This file is automatically updated on xserver-xorg package upgrades *only*
              # if it has not been modified since the last upgrade of the xserver-xorg
              # package.
              #
              # If you have edited this file but would like it to be automatically updated
              # again, run the following command:
              #   sudo dpkg-reconfigure -phigh xserver-xorg
              
              Section "InputDevice"
              	Identifier	"Generic Keyboard"
              	Driver		"kbd"
              	Option		"CoreKeyboard"
              	Option		"XkbRules"	"xorg"
              	Option		"XkbModel"	"pc105"
              	Option		"XkbLayout"	"si"
              EndSection
              
              Section "InputDevice"
              	Identifier	"Configured Mouse"
              	Driver		"mouse"
              	Option		"CorePointer"
              	Option		"Device"		"/dev/input/mice"
              	Option		"Protocol"		"ImPS/2"
              	Option		"ZAxisMapping"		"4 5"
              	Option		"Emulate3Buttons"	"true"
              EndSection
              
              Section "InputDevice"
              	Driver		"wacom"
              	Identifier	"stylus"
              	Option		"Device"	"/dev/input/wacom"
              	Option		"Type"		"stylus"
              	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
              EndSection
              
              Section "InputDevice"
              	Driver		"wacom"
              	Identifier	"eraser"
              	Option		"Device"	"/dev/input/wacom"
              	Option		"Type"		"eraser"
              	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
              EndSection
              
              Section "InputDevice"
              	Driver		"wacom"
              	Identifier	"cursor"
              	Option		"Device"	"/dev/input/wacom"
              	Option		"Type"		"cursor"
              	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
              EndSection
              
              Section "Device"
              	Identifier	"ATI Technologies Inc R300 AD [Radeon 9500 Pro]"
              	Driver		"ati"
              	BusID		"PCI:1:0:0"
              	Option 		"ForceTVOut" "true"
              	Option		"TVStandard" "pal"
              	Option		"Monitor-VGA-0" "SyncMaster"
              	Option		"Monitor-S-video"	"TV"
              EndSection
              
              Section "Monitor"
              	Identifier	"SyncMaster"
              #	Option		"DPMS"
              #	HorizSync	30-110
              #	VertRefresh	50-160
              EndSection
              
              Section "Monitor"
                      Identifier      "TV"
              #        Option          "DPMS"
              	Option		"LeftOf"	"SyncMaster"
              EndSection
              
              Section "Screen"
              	Identifier	"Default Screen"
              	Device		"ATI Technologies Inc R300 AD [Radeon 9500 Pro]"
              	Monitor		"SyncMaster"
              	DefaultDepth	24
              	SubSection "Display"
              		Modes		"1920x1440" "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
              		Virtual		2048	2048
              	EndSubSection
              EndSection
              
              Section "ServerLayout"
              	Identifier	"Default Layout"
              	Screen		"Default Screen"
              	InputDevice	"Generic Keyboard"
              	InputDevice	"Configured Mouse"
              
              # Uncomment if you have a wacom tablet
              #	InputDevice     "stylus"	"SendCoreEvents"
              #	InputDevice     "cursor"	"SendCoreEvents"
              #	InputDevice     "eraser"	"SendCoreEvents"
              EndSection

              But this is still not working. Xorg log is here:
              http://pastebin.com/m61578a94
              Looks like the patched version of 6.7.197 you are using is broken WRT that option. make sure you have commit bfa22d676a6f333503104041f62222f4de9bb7d8

              Alex

              Comment


              • #17
                Thanks,

                it works now until I login. When I login booth screens just shutdown and it doesn't look like x would crash.

                Here is log:
                Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


                EDIT:

                I just got it working with crt monitor when I login. TV out just shutdowns after login. When I reenable it witx xrandr I can use it, but when I want to play video in full screen with ubuntu Movie Player, tv out shutdowns and movie starts to play on crt monitor in fullscreen.

                Here is log after login:
                Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


                Regards,
                Gujs
                Last edited by Gujs; 03 January 2008, 01:40 PM.

                Comment


                • #18
                  Originally posted by Gujs View Post
                  Thanks,

                  it works now until I login. When I login booth screens just shutdown and it doesn't look like x would crash.

                  Here is log:
                  Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


                  EDIT:

                  I just got it working with crt monitor when I login. TV out just shutdowns after login. When I reenable it witx xrandr I can use it, but when I want to play video in full screen with ubuntu Movie Player, tv out shutdowns and movie starts to play on crt monitor in fullscreen.

                  Here is log after login:
                  Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.


                  Regards,
                  Gujs
                  if you are using gnome (maybe kde too), it "remembers"
                  the output setup you were using at some point and resets it when you log in. You have to delete some file to fix that, but I don't remember what off hand.

                  Alex

                  Comment


                  • #19
                    Originally posted by airlied View Post
                    Alex checked in a fix for pal tv-out please test it...
                    Thanks! PAL output works fine now

                    But there is still something missing: with the GATOS patch, there is a little utility called tvo_set which I used to correctly set the image position on the TV.

                    without this utility, a tiny part of the screen is missing on the right side of it.

                    Is there an alternative with the new driver?

                    Comment


                    • #20
                      Originally posted by sebos69 View Post
                      Thanks! PAL output works fine now

                      But there is still something missing: with the GATOS patch, there is a little utility called tvo_set which I used to correctly set the image position on the TV.

                      without this utility, a tiny part of the screen is missing on the right side of it.

                      Is there an alternative with the new driver?
                      use xrandr. run xrandr --verbose to see the output options.

                      xrandr --output S-video --set tv_standard pal
                      xrandr --output S-video --set tv_vertical_position 3
                      etc.

                      Alex

                      Comment

                      Working...
                      X