Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Local Display 8.8 in 1920x480
#11
(12-26-2024, 07:32 PM)steve4star Wrote: You will probably need to correct the screen size in the xinit.rc file. 
Code:
SCREENSIZE="1920,480"

Thanks by your response. I am a newbie on this type of configuration.  Where is this file located? Is it necessary to alter the config.txt or any other file before?

QJA
Reply
#12
(12-26-2024, 07:52 PM)mtavares Wrote:
(12-26-2024, 07:32 PM)steve4star Wrote: You will probably need to correct the screen size in the xinit.rc file. 
Code:
SCREENSIZE="1920,480"

Thanks by your response. I am a newbie on this type of configuration.  Where is this file located? Is it necessary to alter the config.txt or any other file before?

QJA

you will need to edit the file .xinitrc e.g.

Code:
sudo nano ~/.xinit.rc
my screen requires the commands to rotate too, I have edited the file to include the following:

Code:
#Force rotation for Waveshare
xrandr --output DSI-1 --rotate right --mode 320x1480

# Capture screen size
#SCREENSIZE="$(fbset -s | awk '$1 == "geometry" { print $2","$3 }')"
SCREENSIZE="1480,320"
adjust to suit your rotation direction and screen size of the device.

Once done you can restart the local display from the web menu for peripherals.

[m]-->[configure]-->[peripherals]-->[restart]
Reply
#13
Is this procedure valid for the HDMI output or only DSI?
Reply
#14
(12-26-2024, 09:07 PM)mtavares Wrote: Is this procedure valid for the HDMI output or only DSI?

yes, change the xrandr command to use the one Tim asked you in an earlier post

Code:
xrandr --output HDMI-1 --rotate left
comment out the SCREENSIZE bit, and hard code with your dimensions.
Reply
#15
I'm possibly running the same screen with a Pi5 in my Volumio box.
That uses display_lcd_rotate=1 and display_hdmi_rotate=1 in the config.txt to rotate the touchscreen to landscape
Reply
#16
(12-26-2024, 09:21 PM)steve4star Wrote:
(12-26-2024, 09:07 PM)mtavares Wrote: Is this procedure valid for the HDMI output or only DSI?

yes, change the xrandr command to use the one Tim asked you in an earlier post

Code:
xrandr --output HDMI-1 --rotate left
comment out the SCREENSIZE bit, and hard code with your dimensions.

It is working now.  Problem solved.

It was necessary in addition to the commands you proposed to perform Tim's recommendation to change the DSI display to Pi Touch 2, DSI Port to DS-1 and Rotate to 90 deg.

The result is shown in the picture in the attachment.

Thank you and Tim by your support. 

Best Regards, QJA


Attached Files Thumbnail(s)
   
Reply
#17
@mtavares

Did you actually try just the changes suggested by Tim?

The changes to config.txt suggested by @2800GT are legacy settings that to the best of my knowledge are ignored by the Bookworm version of RaspiOS that moOde is currently built on.

Just to be sure I wasn't misreading the RaspiOS documentation, I tried adding display_lcd_rotate=2 to the config.txt file on a Pi3B+-based  moOde player with a Touch1 local display. Then I rebooted. If this parameter were functional it would have inverted the display. Instead, iIt had no effect. It also did no harm, which seems to confirm that legacy settings are ignored in Bookworm.

Hint: Volumio and moOde have some heritage in common but they are different animals these days. Further, moOde has been based on the Bookworm version (version 12) of RaspiOS for some time. The most recent version of Volumio is still based on the Buster version (version 10) of RaspiOS. That's 'legacy' with a capital L. No point in comparing internals.

Regards,
Kent
Reply
#18
Right, in Bookworm with the KMS (Kernel Mode Switch) video core driver the firmware driver (legacy) settings are ignored.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: