Announcement

Collapse
No announcement yet.

How do I get underscan with radeonhd ???

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

  • How do I get underscan with radeonhd ???

    Hi Folks,
    after my long fight with fglrx I found a way get radeonhd running on my system (with xv acceleration).
    But 1 Problem is still left.
    MY TV makes some overscan what is extremly annoying when you use the Desktop. There is DEFINITELY no way to turn the overscan off.
    So here's the big Question.
    How do I get a fitting Desktop on my TV (Panasonic TH-42PV60EH).
    Lets say I want to run 1280x720_50 but the visible Frame is only 1200x680.

    Is there any way (my be with Xrandr and virtual screensize) ????

  • #2
    man xrandr
    /scale
    n
    q
    xrandr --output <tv> --scale 0.937x0.944

    Comment


    • #3
      I should admit, that xorg is a mystery to me.
      Sorry, but I can't find "--scale" in "man xrandr".
      Maybe I should tell you that I' using Debian Lenny which has Randr 1.2.
      In the Online Manpage of "xrandr" I saw the option. But it was for xrandr 1.3. Maybe it's not in 1.2 ?
      Is there probably another solution ?

      Comment


      • #4
        Disable scaling in your tv settings or buy a better tv

        Comment


        • #5
          Hi Kano,

          funny thing is ... I'm using your Repo.
          Maybe you could backport Xorg. (hahaha )
          Joking aside. Is there no other way to get rid of this overscan ?
          I got this running with fglrx but there were enough other Problems (tearing or VDR with opengl and no OSD).

          So I need to change to SIDUX or similar ?

          Comment


          • #6
            The OSD can be be easyly enabled with opengl, well some may call it tricky (because 2D_Tex_Fragprog does not work, the same for nvidia, no fglrx fault it seems):

            In ~/.xine/config

            Code:
            video.driver:opengl
            video.output.opengl_renderer:2D_Tex

            Comment


            • #7
              Thanks I'll try this.
              But I hoped to stay with the OSS drivers ;-(
              We'll see.
              Maybe next time I'm going to stress you right in your own forum ;-)

              Comment


              • #8
                Ok, OSD is working with the parameters you said.
                But fglrx stays (like always) unusable for videoapplications. There's always tearing. No matter what I adjust in ControlCenter.
                So I'm staying with radeonhd.
                So has ANYONE a hint howto "underscan"with a Xorg driver under Debian Lenny ?

                Comment


                • #9
                  You have to force vsync for opengl (quality mode).

                  Comment


                  • #10
                    Originally posted by batesman View Post
                    So has ANYONE a hint howto "underscan"with a Xorg driver under Debian Lenny ?
                    You need a modeline with the timing adjusted to underscan.

                    Comment


                    • #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

                              Working...
                              X