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
#19
(12-24-2024, 03:44 PM)mtavares Wrote: Tim,

See below the print and the pictures of the display presentation.


Connector 0 (32) HDMI-A-1 (disconnected)                                                                                                                                                                                                                                                  
 Encoder 0 (31) TMDS                                                                                                                                                                                                                                                                    
Connector 1 (42) HDMI-A-2 (connected)                                                                                                                                                                                                                                                    
 Encoder 1 (41) TMDS                                                                                                                                                                                                                                                                    
   Crtc 4 (113) 480x1920@60.00 66.280 480/30/30/30/+ 1920/6/6/6/+ 60 (60.00)                                                                                                                                                                                                            
     Plane 4 (102) fb-id: 723 (crtcs: 4) 0,0 480x1920 -> 0,0 480x1920 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 P030 XR30 AR30 AB30 XB30 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12)                                  
       FB 723 480x1920 XR24                                

Thanks by your support. QJA
Hello All,

I have exactly same situation. I am using the on board fcc connector and cable connect to screen. All edit/change in config.txt seems not work.
The following code does not work for me.

Code:
DISPLAY=:0 xrandr --output HDMI-1 --rotate left

options: left, right, inverted, normal

The local display will rotate correctly if i use genetic hdmi cable. here is the status
Code:
Connector 0 (33) HDMI-A-1 (connected)
 Encoder 0 (32) TMDS
   Crtc 3 (100) 480x1920@60.00 66.280 480/30/30/30/+ 1920/6/6/6/+ 60 (60.00)  
     Plane 3 (89) fb-id: 721 (crtcs: 3) 0,0 480x1920 -> 0,0 480x1920 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 P030 XR30 AR30 AB30 XB30 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12)
       FB 721 480x1920 XR24
Connector 1 (42) HDMI-A-2 (disconnected)
 Encoder 1 (41) TMDS

Regards,
Kit
Reply


Forum Jump: