Announcement

Collapse
No announcement yet.

How do I get underscan with radeonhd ???

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

  • #11
    @ Kano

    I did this already but the Tearing wasn't good at all (better but not good). I'g going to stay with the OSS drivers. There's no Tearing at all. Why is AMD/ATI not able to fix this ? I read in many forums about this.

    @ agd5f

    I tried to force a different res. but afterwards I got a black screen and had to reboot. For me it seems theat the TV needs a HD res.
    I need a solution similar to what I made with fglrx

    Code:
    aticonfig --set-dispattrib=tdms2i,positionX:30 
    aticonfig --set-dispattrib=tdms2i,positionY:15 
    aticonfig --set-dispattrib=tdms2i,sizeX:1220 
    aticonfig --set-dispattrib=tdms2i,sizeY:690
    For me it looks like I sent 1280x780 res. but within the Desktop is 1220x690. On a "normal" TV it would like a 1280x720 screen with black borders.

    After work I'll post some Xorg.logs

    Comment


    • #12
      Google for "underscan modelines"

      Comment


      • #13
        Ok, now it's getting clearer.
        I hope I'll get some proper info's via "startx -logverbose 6".
        I don't remember that I saw there much.
        My failure was to think I should take a smaller resolution.
        But the "movement" is done "within" the modeline.
        I'll report later

        Comment


        • #14
          @batesman

          basically no tv exists with a 1280x720 screen res, thats 720p, but the screen is more likely 1366x768, as you can not divide that res by 8 you have to use 1360x768 with a small black border. What's the name of your tv?

          Comment


          • #15
            Hello again,

            I raelly tried guys. But I can't force xserver to take my modified Modelines. But I even get very few Info from both (card and TV).
            So here's what I found out.

            Code:
            "get-edid | parse-edid"
            parse-edid: parse-edid version 1.4.1
            get-edid: get-edid version 1.4.1
            
            	Performing real mode VBE call
            	Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
            	Function unsupported
            	Call failed
            
            	VBE version 0
            	VBE string at 0x0 "
            
            VBE/DDC service about to be called
            	Report DDC capabilities
            
            	Performing real mode VBE call
            	Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
            	Function unsupported
            	Call failed
            
            Reading next EDID block
            
            VBE/DDC service about to be called
            	Read EDID
            
            	Performing real mode VBE call
            	Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
            	Function unsupported
            	Call failed
            And from "startx -logverbose 6"

            Code:
            X.Org X Server 1.4.2
            Release Date: 11 June 2008
            X Protocol Version 11, Revision 0
            Build Operating System: Linux Debian (xorg-server 2:1.4.2-10.lenny2)
            Current Operating System: Linux silver 2.6.32-9-generic #13 SMP Sat Dec 26 11:57:59 CET 2009 i686
            Build Date: 08 June 2009  09:12:57AM
             
            	Before reporting problems, check http://wiki.x.org
            	to make sure that you have the latest version.
            Module Loader present
            Markers: (--) probed, (**) from config file, (==) default setting,
            	(++) from command line, (!!) notice, (II) informational,
            	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
            (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 19 17:30:20 2010
            (==) Using config file: "/etc/X11/xorg.conf"
            (II) Module "ddc" already built-in
            (II) Module "i2c" already built-in
              XRANDR name: VGA-0
              Connector: VGA
              CRT1: INTERNAL_KLDSCP_DAC1
              DDC reg: 0x7e40
              XRANDR name: HDMI-0
              Connector: HDMI-A
              DFP3: INTERNAL_KLDSCP_LVTMA
              DDC reg: 0x7e50
            Dac detection success
            finished output detect: 0
            finished output detect: 1
            finished all detect
            before xf86InitialConfiguration
            Dac detection success
            after xf86InitialConfiguration
            (II) Module "ramdac" already built-in
            Output DIG0 transmitter setup success
            Blank CRTC 0 success
            Disable CRTC 0 success
            Disable CRTC memreq 0 success
            Blank CRTC 1 success
            Disable CRTC 1 success
            Disable CRTC memreq 1 success
            Output CRT1 disable success
            Output DIG0 transmitter setup success
            Blank CRTC 0 success
            Disable CRTC 0 success
            Disable CRTC memreq 0 success
            Blank CRTC 1 success
            Disable CRTC 1 success
            Disable CRTC memreq 1 success
            Output DIG0 transmitter setup success
            Blank CRTC 0 success
            Disable CRTC 0 success
            Disable CRTC memreq 0 success
            Mode 1280x720 - 1980 750 5
            freq: 74250000
            best_freq: 74251852
            best_feedback_div: 140
            best_ref_div: 3
            best_post_div: 9
            Set CRTC 0 PLL success
            Set CRTC Timing success
            Set CRTC 0 Overscan success
            Not using RMX
            scaler 0 setup success
            Set CRTC 0 Source success
            crtc 0 YUV disable setup success
            Output DIG0 transmitter setup success
            Output DIG2 encoder setup success
            Output DIG2 encoder setup success
            Output DIG0 transmitter setup success
            Output DIG0 transmitter setup success
            Output DIG0 transmitter setup success
            Enable CRTC memreq 0 success
            Enable CRTC 0 success
            Unblank CRTC 0 success
            Output CRT1 disable success
            Blank CRTC 1 success
            Disable CRTC 1 success
            Disable CRTC memreq 1 success
            Output DIG0 transmitter setup success
            Blank CRTC 0 success
            Disable CRTC 0 success
            Disable CRTC memreq 0 success
            Mode 1280x720 - 1980 750 5
            freq: 74250000
            best_freq: 74251852
            best_feedback_div: 140
            best_ref_div: 3
            best_post_div: 9
            Set CRTC 0 PLL success
            Set CRTC Timing success
            Set CRTC 0 Overscan success
            Not using RMX
            scaler 0 setup success
            Set CRTC 0 Source success
            crtc 0 YUV disable setup success
            Output DIG0 transmitter setup success
            Output DIG2 encoder setup success
            Output DIG2 encoder setup success
            Output DIG0 transmitter setup success
            Output DIG0 transmitter setup success
            Output DIG0 transmitter setup success
            Enable CRTC memreq 0 success
            Enable CRTC 0 success
            Unblank CRTC 0 success
            (EE) GLX error: Can not get required symbols.
            The XKEYBOARD keymap compiler (xkbcomp) reports:
            > Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
            >                   Ignoring extra symbols
            Errors from xkbcomp are not fatal to the X server
            xterm:  bad command line option "xterm"
            
            
            usage:  xterm [-/+132] [-C] [-Sccn] [-T string] [-/+ah] [-/+ai] [-/+aw]
            
                [-b number] [-/+bc] [-bcf milliseconds] [-bcn milliseconds] [-bd color]
            
                [-/+bdc] [-bg color] [-bw number] [-/+cb] [-cc classrange] [-/+cjk_width]
            
                [-class string] [-/+cm] [-/+cn] [-cr color] [-/+cu] [-/+dc]
            
                [-display displayname] [-e command args ...] [-fa pattern] [-fb fontname]
            
                [-/+fbb] [-/+fbx] [-fd pattern] [-fg color] [-fi fontname] [-fn fontname]
            
                [-fs size] [-fw fontname] [-fwb fontname] [-fx fontname] [%geom] [#geom]
            
                [-geometry geom] [-help] [-/+hm] [-/+hold] [-iconic] [-/+ie] [-/+im]
            
                [-into windowId] [-/+j] [-/+k8] [-kt keyboardtype] [-/+l] [-/+lc]
            
                [-lcc path] [-leftbar] [-lf filename] [-/+ls] [-/+mb] [-mc milliseconds]
            
                [-/+mesg] [-/+mk_width] [-ms color] [-n string] [-name string] [-nb number]
            
                [-/+nul] [-/+pc] [-/+pob] [-rightbar] [-/+rv] [-/+rvc] [-/+rw] [-/+s]
            
                [-/+samename] [-/+sb] [-selbg color] [-selfg color] [-/+sf] [-/+si] [-/+sk]
            
                [-sl number] [-/+sm] [-/+sp] [-/+t] [-ti termid] [-title string]
            
                [-tm string] [-tn name] [-/+u8] [-/+ulc] [-/+ulit] [-/+ut] [-/+vb]
            
                [-version] [-/+wc] [-/+wf] [-xrm resourcestring] [-ziconbeep percent]
            
            
            Type xterm -help for a full description.
            
            
            
            
            waiting for X server to shut down Output DIG0 transmitter setup success
            Blank CRTC 0 success
            Disable CRTC 0 success
            Disable CRTC memreq 0 success
            Blank CRTC 1 success
            Disable CRTC 1 success
            Disable CRTC memreq 1 success
            Enable CRTC memreq 0 success
            Enable CRTC 0 success
            Unblank CRTC 0 success
            FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing.

            Here's my xorg.conf with at least one modeline i figured out.

            Code:
            Section "InputDevice"
            
            #       Option      "XkbRules" "xorg"
                    Identifier  "Generic Keyboard"
                    Driver      "kbd"
                    Option      "XkbModel" "pc105"
                    Option      "XkbLayout" "de"
                    Option      "XkbVariant" "nodeadkeys"
            EndSection
            
            
            
            Section "InputDevice"
            	Identifier	"Configured Mouse"
            	Driver		"mouse"
            EndSection
            
            
            
            Section "Device"
            	Identifier	"Configured Video Device"
            	Driver      "radeonhd"
              	#Option       "IgnoreEDID" 		"true"              # Workaround for defect display
            	#Option       "NoDDC" 			"true"                   # Workaround for defect display
            	Option      "UseInternalAGPGART" 	"no"
            	#Option      "VideoOverlay" 		"on"
            	#Option      "OpenGLOverlay" 		"off"
            	#Option      "MonitorLayout" 		"AUTO, AUTO"
            	Option "RenderAccel" 			"on"
            	Option "AccelMethod" 			"EXA"
            	#Option "DMAForXv" 			"boolean"
            	#Option "Audio" 			"true"
            	#Option "HDMI" 				"all"
            EndSection
            
            Section "Monitor"
            	Identifier	"Configured Monitor"  
            	HorizSync 15-46
            	VertRefresh 48-61
                	Option	"UseEDIDFreqs" "FALSE"
                	Option	"UseEDIDDpi" "FALSE"
                	Option	"ModeValidation" "NoEdidModes"
            	# Max dot clock (video bandwidth) 80 MHz
              	# 1280x720 @ 50.00 Hz (GTF) hsync: 37.50 kHz; pclk: 74.25 MHz
              	#Modeline "1280x720_50.00"  74.25 1280 1464 1504 1980 720 725 730 750 +HSync +Vsync
              	# 1280x720 @ 50.00 Hz (GTF) hsync: 37.50 kHz; pclk: 74.25 MHz
              	Modeline "1280x720_50.00"  74.25 1200 1464 1504 1980 700 725 730 750 +HSync +Vsync
              	# 1280x720 @ 60.00 Hz (GTF) hsync: 45.00 kHz; pclk: 60.47 MHz
              	#Modeline "1280x720_60.00"  74.25 1280 1390 1430 1650 720 725 730 750 +HSync +Vsync
            EndSection
            
            Section "Screen"
            	Identifier	"Default Screen"
            	Monitor		"Configured Monitor"
                DefaultDepth 24
                SubSection     "Display"
                    Depth       24
                    Modes      "1280x720_50" 
                EndSubSection
            
            EndSection
            Section "DRI"
                    Mode            0666
            EndSection
            
            #Section "Extensions"
            #	Option	"Composite"	"1"
            #	Option	"RENDER"	"1"
            #EndSection
            But when I restartet Xorg there was no change at all.

            @Kano

            If you watch my first post You'll see it's a Panasonic TH-42PV60E
            Native Res. is 1024x768 .
            At DVI or HDMI Inpput it only takes HD-Res. and scales them to 1024x768.

            Comment


            • #16
              Then use vga port and native res, thats the most stupid thing to do when you use a higher res than native. It is impossible to get a good picture.

              Comment


              • #17
                Originally posted by batesman View Post
                Hello again,

                I raelly tried guys. But I can't force xserver to take my modified Modelines. But I even get very few Info from both (card and TV).
                So here's what I found out.

                But when I restartet Xorg there was no change at all.

                Comment


                • #18
                  @Kano

                  First of all. I don't know how your A/V-Reciever works, but mine has only connectors with HDMI (and Komponent) for Video.
                  Second is, you asked about the Monitor description. I told you that it has native 1024x768 but it's a 16:9 TV. So I think it's easier to tell my Mediacanter it's connected to 16:9 TV and let the inernal scaler of the TV do his, insteaad of trying to tell vdr/MMS that 1024x768 Pixel is like 16:9

                  @agd5f

                  Seems Xorg is still taking data from EDID (even though I inserted the "IgnoreEdid" Option. But I'll do some further searching to fix that too.

                  Comment


                  • #19
                    @batesman

                    DDC will report display size - so dpi is correct for X already ->

                    xdpyinfo|grep dots

                    also every video player can setup the aspect ratio, for mplayer it is

                    -monitoraspect 16:9

                    which could be put in .mplayer/config too as

                    monitoraspect=16:9

                    Your way is definitely not the best one - always best is it use native res.

                    Comment


                    • #20
                      @ Kano

                      Sure, you're right. Usually it's best to use native Res.. But I wanted to use as few cabling as possible to Connet the HTPC with TV AND A/V-Reciever. And I don't believe it makes any difference in quality for watching TV if use VGA/native Res. or HDMI/720p. But to use HDMI cabling makes it much easier.
                      But if I don't get it running this way I'll fall back to "your" solution.


                      PS: nix f?r ungut ;-)

                      Comment

                      Working...
                      X