Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: Adam on August 19, 2014, 12:29:59 PM

Title: Overscan problem: Screen is larger than monitor
Post by: Adam on August 19, 2014, 12:29:59 PM
Hi!

I using a A20-OlinuXino-Lime with debian with a LCD TV throught HDMI.
On any resolution, the Desktop/Screen is larger than my Monitor Display.

I readed many times, the problem is on TV side, but I have no any option for picture/scale settings on my TV. LCD TV is very old (Mirai 32"). On newer TV (LG LM670s) screen works fine. But I dont want to buy a new TV due to OlimexBoard. I need to fix this by software.

Can anyone help me to correct this on Debian A20?

Thanks for your help
Title: Re: Overscan problem: Screen is larger than monitor
Post by: Insomniac10102 on August 21, 2014, 01:49:01 AM
You should be able to use xrandr to offset it using underscan. Something like:

xrandr --output <output> --set underscan on --set "underscan hborder" <horizontal border> --set "underscan vborder" <vertical border>
Title: Re: Overscan problem: Screen is larger than monitor
Post by: Adam on August 22, 2014, 04:32:27 PM
Hi, thank you for your reply. I already tried play with xrandr, but with no success.

Here is list of screens:
root@a20-OLinuXino:/home/olimex# xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 720, current 1280 x 720, maximum 1280 x 720
default connected 1280x720+0+0 0mm x 0mm
   1280x720       50.0*


And here is output after command set underscan
root@a20-OLinuXino:/home/olimex# xrandr --output default --set underscan on
xrandr: Failed to get size of gamma for output default
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  149 (RANDR)
  Minor opcode of failed request:  11 (RRQueryOutputProperty)
  Serial number of failed request:  21
  Current serial number in output stream:  21


Dont really know, what to do... Please help.

Adam
Title: Re: Overscan problem: Screen is larger than monitor
Post by: Insomniac10102 on August 23, 2014, 10:09:34 AM
Try replacing --output default to --output Screen\ 0 or --output 'Screen 0'. Hopefully one of those works.
Title: Re: Overscan problem: Screen is larger than monitor
Post by: Adam on August 25, 2014, 05:15:01 PM
Hi insomniac... I tried your tip, but still not working. Here is output:

root@a20-OLinuXino:/home/olimex# xrandr --output 'Screen 0' --set underscan on
xrandr: Failed to get size of gamma for output default
warning: output Screen 0 not found; ignoring
X Error of failed request:  BadRROutput (invalid Output parameter)
  Major opcode of failed request:  149 (RANDR)
  Minor opcode of failed request:  15 (RRGetOutputProperty)
  Serial number of failed request:  20
  Current serial number in output stream:  20

root@a20-OLinuXino:/home/olimex# xrandr --output Screen\ 0 --set underscan on
xrandr: Failed to get size of gamma for output default
warning: output Screen 0 not found; ignoring
X Error of failed request:  BadRROutput (invalid Output parameter)
  Major opcode of failed request:  149 (RANDR)
  Minor opcode of failed request:  15 (RRGetOutputProperty)
  Serial number of failed request:  20
  Current serial number in output stream:  20
root@a20-OLinuXino:/home/olimex#
Title: Re: Overscan problem: Screen is larger than monitor
Post by: Insomniac10102 on August 25, 2014, 06:53:47 PM
Hi Adam,

Try running xrandr without any arguments. It should list all outputs. Is there an HDMI-0 or something? If so, try that in place of screen 0
Title: Re: Overscan problem: Screen is larger than monitor
Post by: Adam on August 25, 2014, 09:23:58 PM
This is the output of command "xrandr" without paramters:


root@a20-OLinuXino:/home/olimex# xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 720, current 1280 x 720, maximum 1280 x 720
default connected 1280x720+0+0 0mm x 0mm
   1280x720       50.0*
root@a20-OLinuXino:/home/olimex#
Title: Re: Overscan problem: Screen is larger than monitor
Post by: Adam on August 28, 2014, 11:23:19 AM
Does anybody have some more hints?
Title: Re: Overscan problem: Screen is larger than monitor
Post by: JohnS on August 28, 2014, 01:59:45 PM
If you've googled about xrandr widely and can't solve it I'd grab its source code and see what it does / add debug code.

John