TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: D.M. PROCIDA
from: THE NATURAL PHILOSOPHER
date: 2017-04-22 10:26:00
subject: Re: Non-square pixels on

6bf615ea
PID: SoupGate-Win32 v1.05
On 22/04/17 09:25, D.M. Procida wrote:
> For some unfathomable reason the 7" touchscreen has rectangular pixels.
>
> I can't imagine why anyone thought this was a good idea. It makes it
> useless as a device that has to display an image of anything unless you
> like distorted images.
>
> Is it possible correct by scaling the video output from the Pi?
>

I am almost certain it is, but I haven't a clue what the magic spell
would be.

I'd imagine deep in the bowels of xorg.conf, is away of telling it that
the display is bent.

Mmm. After a few minutes probing, it looks like there is a 'Displaysize'
directive in Xorg.conf that takes two parameters - the X and Y pixels
per inch.

Edit (or create) /etc/X11/xorg.conf and put in this


Section "Monitor"
     Identifier  "Touchscreen"
     VendorName  "Wombatronic Industries"
     ModelName   "Gargleblaster 8000"
     HorizSync   30 - 50
     VertRefresh 60
     DisplaySize  650 406
EndSection

and play around with the numbers if it makes a difference. Obviously you
will have top reboot the x server between changes


If that doesn't work, there is a program called xrandr that can be used
to interrogate and set parameters

https://bbs.archlinux.org/viewtopic.php?id=132170

But the poster there ended up having to use a startup script to invoke
it., because he never found a way to make the changes permanent.

I am now off firmly outside my sphere of competence, so I will sign off.

Good luck.

> Daniele
>


--
Ideas are more powerful than guns. We would not let our enemies have
guns, why should we let them have ideas?

Josef Stalin

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.