Skip to content

[core] PLATFORM_DRM rotate screen/window #3958

Closed
@colesnicov

Description

@colesnicov

Hello, I have set my raspberry to start so that the screen is rotated 90 degrees. boot and console are now found. Otherwise, I have a display that is made for mounting in a vertical position.

The console is displayed fine for me (horizontally), but the raylib window still appears the same, so it is now turned 90 degrees sideways... I read somewhere that the DRM setting has no effect on fbdev.? And now I'm not sure if it will be the team, @raysan5 , are you using fbdev here? I read somewhere that when writing directly to fbdev, the settings sent to cmdline.txt are not reflected...

Environment

RPI 2B, Rapberry OS LITE

Code Example

I added this to my /boot/firmware/cmdline.txt:

video=HDMI-A-1:400x1280M@60,rotate=90

console good - gui rotated
console good - gui rotated
console good - gui rotated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions