HDMI Display Problems with Pi 3A+ and LS060R1SX01 screen

Hardware-related questions that don't fit into any of the specialized hardware categories go here.
Post Reply
User avatar
tyon2006
Posts: 6
Joined: Sun Jun 02, 2019 7:00 pm
Has thanked: 1 time

HDMI Display Problems with Pi 3A+ and LS060R1SX01 screen

Post by tyon2006 » Sat Jun 22, 2019 4:42 pm

Hello! I bought a LS060R1SX01 screen from aliexpress for a mobile retropie project, and I'm having some trouble getting the screen to rotate. The supplier gave me a config.txt file and it works well for displaying in Raspbian w1440 and h2560, but I cannot rotate it 90 degrees without quite a few problems.

I've tried just about everything I can think of with the config.txt file, including changing the buffer, maxbuffer, hdmi timings, display hdmi rotate, etc, but I cannot produce any good results. I've changed many of them 1 at a time, and then some in conjunction, and the closest I can get is a square. Check out my images and the original config file below. Any bright ideas?

Before anyone asks, yes I've updated the OS and the screen rotates just fine when I attached it to a windows 10 machine and extend, lol.

Product Page
https://www.aliexpress.com/item/6-inch- ... 4c4dCBcP7Q

Here's the config.txt on its own. Fine, right? (Let's just rotate that 90 degrees, right? :) )
SpoilerShow
display_hdmi_rotate 0 20190622_172336.jpg
display_hdmi_rotate 0 20190622_172336.jpg (226.63 KiB) Viewed 203 times
Here's what happens when I set display_rotate_hdmi=1 (Uh, I guess not. How about I flip the H/W of the timings? :? )
SpoilerShow
display_hdmi_rotate 1 20190622_172547.jpg
display_hdmi_rotate 1 20190622_172547.jpg (153.75 KiB) Viewed 203 times
And here's the goofiness that occurs if I flip the hdmi timings w/h (So bad... :cry: )
SpoilerShow
swapped hdmi_timing w and h 20190622_122741.jpg
swapped hdmi_timing w and h 20190622_122741.jpg (211.74 KiB) Viewed 203 times
Aaaand finally here's the config.txt the supplier gave me in its original format.
SpoilerShow

Code: Select all

# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details
# ***********************************************
# Includes Display settings for Sharp 2K Display
# ***********************************************

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

hdmi_pixel_freq_limit=300000000
hdmi_timings=1440 0 60 10 35 2560 0 4 4 2 0 0 0 60 0 198378000 0
hdmi_drive=1
disable_overscan=1
max_framebuffer_width=2560
max_framebuffer_height=2560

display_rotate=0
framebuffer_width=1440
framebuffer_height=2560

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on
gpu_mem=256

User avatar
VeteranGamer
Posts: 1677
Joined: Thu Jan 26, 2017 11:12 am
Location: London, UK
Has thanked: 488 times
Been thanked: 874 times

Re: HDMI Display Problems with Pi 3A+ and LS060R1SX01 screen

Post by VeteranGamer » Sun Jun 23, 2019 7:39 am

tyon2006 wrote:
Sat Jun 22, 2019 4:42 pm
I've tried just about everything I can think of with the config.txt file, including changing the buffer, maxbuffer, hdmi timings, display hdmi rotate, etc, but I cannot produce any good results. I've changed many of them 1 at a time, and then some in conjunction, and the closest I can get is a square. Check out my images and the original config file below. Any bright ideas?

try it on standalone Retropie...

https://retropie.org.uk/download/

instead of Raspbian...


and adjust the resolution accordingly......




.

User avatar
tyon2006
Posts: 6
Joined: Sun Jun 02, 2019 7:00 pm
Has thanked: 1 time

Re: HDMI Display Problems with Pi 3A+ and LS060R1SX01 screen

Post by tyon2006 » Sun Jun 23, 2019 9:06 am

VeteranGamer wrote:
Sun Jun 23, 2019 7:39 am
tyon2006 wrote:
Sat Jun 22, 2019 4:42 pm
I've tried just about everything I can think of with the config.txt file, including changing the buffer, maxbuffer, hdmi timings, display hdmi rotate, etc, but I cannot produce any good results. I've changed many of them 1 at a time, and then some in conjunction, and the closest I can get is a square. Check out my images and the original config file below. Any bright ideas?

try it on standalone Retropie...

https://retropie.org.uk/download/

instead of Raspbian...


and adjust the resolution accordingly......
.

I tried that! The reason I took the fight to raspbian was because I get this message in retropie, almost always and regardless of what resolution settings I enter. In raspbian, I could at least get the screen to boot in portrait as a starting point. It will get past the retropie splash screen, but fails to boot emulation station.
SpoilerShow
"lvl0: Error creating SDL window!
Could not create GLES window
lvl0: Renderer failed to initialize!
lvl0: Window failed to initialize!"

There were a few tries where I got it to boot into emulation station, but the results were pretty rough (repeating screen image, bad colors, vertical lines repeating, etc).

floppes
Posts: 31
Joined: Thu Apr 19, 2018 5:58 am
Has thanked: 2 times
Been thanked: 31 times

Re: HDMI Display Problems with Pi 3A+ and LS060R1SX01 screen

Post by floppes » Mon Jun 24, 2019 5:05 am

I had a similar problem with a 320x480 DPI display. It's native orientation was portrait mode, but I wanted it to be in landscape mode. Just rotating it resulted very similar to your second picture: big black borders and the aspect ratio didn't change. By forcing the framebuffer size (not the maximum framebuffer size) to the correct resolution, the following settings solved it for me:

Code: Select all

framebuffer_width=480
framebuffer_height=320
display_hdmi_rotate=1
If you have an up-to-date firmware, you can add

Code: Select all

extra_transpose_buffer=2
to avoid tearing effects resulting from the rotation.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest