Thank you for your donation!


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


Waveshare 7.9" HDMI help Rotate Screen - Using MoOde 9.0
#1
Hi guys,
I recently posted this to a different thread but got no reply. If you know how to do this please let me know.

I just got the Waveshare 7.9inch HDMI screen with a RP4 running Moode 9.0 but can't seem to rotate it into landscape.  I just purchased this screen https://www.waveshare.com/7.9inch-hdmi-lcd.htm and I am attempting to  followed the instructions from their wiki https://www.waveshare.com/wiki/7.9inch_HDMI_LCD to rotate the screen by 90°. However, no matter what I try, the screen is still in portrait mode.

Here is what I have in my config.txt file. I have tried other things as well but this is what I have here:
#########################################
# This file is managed by moOde
#########################################

# Device filters
[cm4]
otg_mode=1
[pi4]
hdmi_force_hotplug:0=1
hdmi_force_hotplug:1=1
hdmi_enable_4kp60=0
[all]
dtoverlay=vc4-kms-v3d
max_framebuffers=2
display_auto_detect=1
disable_fw_kms_setup=1

# General settings
arm_boost=0
disable_splash=1
disable_overscan=1
hdmi_drive=2
hdmi_blanking=1
hdmi_force_edid_audio=1
hdmi_force_hotplug=1
# hdmi_group=0
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=audio=on
hdmi_group=2
hdmi_mode=87
hdmi_timings=400 0 100 10 140 1280 10 20 20 2 0 0 0 60 0 43000000 3
display_rotate=1
display_lcd_rotate=1
display_hdmi_rotate=1

# Do not alter this section
# Integrated adapters
dtoverlay=disable-bt
#dtoverlay=disable-wifi
# Audio overlays
#dtoverlay=none
#dtoverlay=force_eeprom_read=0
# Square pixels
#framebuffer_width=800
#framebuffer_height=444
#framebuffer_aspect=-1
#lcd_rotate=2
# PCI Express
#dtparam=pciex1
#dtparam=pciex1_gen=3


So far the screen is still in portrait mode.

Thank you very much for your help in advance!
   
Reply
#2
Cross-posting is a bad practice because we can end up with responses to the same question in multiple threads which then requires a mod to fix. I've deleted the other same post in the FAQ thread.

If you don't get any responses in a few days feel free to make a bump post, something like "Anyone?" or "This is just a friendly bump :-)"
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Bad news, sort of. Most of these config.txt settings are now considered "legacy" settings. See the Raspberry Pi documentation, Legacy config.txt options


Quote:The config.txt options described here are considered legacy settings, are not used by Raspberry Pi OS Bookworm, and are no longer officially supported. They either relate to older software such as the firmware graphics driver, have been deprecated, or are very unlikely to be used by most people. However they remain documented here as they may still be of benefit to users of older OSes, or people doing bare-metal development.

Candidly, I haven't had time to explore what this all means for moOde, but clearly some options are still working (moOde can flip the 7" touch screen 180-deg, for example). Nevertheless, officially, we're supposed to be following the new config.txt guidelines for HDMI (HDMI mode).

Regards,
Kent
Reply
#4
Thanks for the reply and for cleaning up the other post. I am still learning on what to post were.
I am not sure what to do at this point. I'm basically scouting for different solutions to build a streamer. I will reach out tot he Waveshare team to see if they can accommodate.
Thanks again.
Reply
#5
(06-05-2024, 06:44 PM)Acoustas Wrote: Thanks for the reply and for cleaning up the other post. I am still learning on what to post were.
I am not sure what to do at this point. I'm basically scouting for different solutions to build a streamer. I will reach out tot he Waveshare team to see if they can accommodate.
Thanks again.

See how I hacked it to reverse X and Y here. Probably not a blessed solution...
Reply
#6
Thank you @popeye65 that really helped. The only thing I changed was "vi" to "nano" for the editor and I was able to edit the files in the terminal on a Mac. Now I am trying to install PeppyMeter for the ultimate viewing experience :-) but having some troubles getting the needle to move. I did post about it here: https://moodeaudio.org/forum/showthread....9#pid57679
Reply
#7
A brand new article on raspberrypi.com describes how to rotate HDMI displays on Debian Bookworm based OS like Raspberry Pi OS and Moode. It focuses on their own 7" Raspberry Pi Touch Display but it should also work on other HDMI displays.

How to use the Raspberry Pi Touch Display
https://www.raspberrypi.com/news/how-to-use-the-raspberry-pi-touch-display/

Start at chapter "Change screen orientation", especially "Rotate screen without a desktop".

Code:
Rotate screen without a desktop

To set the screen orientation on a device that lacks a desktop environment, edit the /boot/firmware/cmdline.txt configuration file to pass an orientation to the system. Add the following line to cmdline.txt:

video=DSI-1:800x480@60,rotate=<rotation-value>

Replace the <rotation-value> placeholder with one of the following values, which correspond to the degree of rotation relative to the default on your display:

   0
   90
   180
   270

For example, a rotation value of 90 rotates the display 90 degrees to the right. 180 rotates the display 180 degrees, or upside-down.


If you need touch support, it becomes more complicated...
Reply
#8
If you have the Waveshare 7.9inch HDMI screen and you need to get it to work follow this link here https://moodeaudio.org/forum/showthread.php?tid=6416 by @popeye65 it worked for me. The only think I changes was "vi" to "nano" for the editor to work in the MacOS Terminal so you can edit the files as needed. To rotate touch just click and hold the button on the back if needed. Thats it.
Reply


Forum Jump: