ventoy / Ventoy

A new bootable USB solution.
https://www.ventoy.net
GNU General Public License v3.0
63.16k stars 4.11k forks source link

[feature]: Detect Steamdeck and rotate display #2216

Open Merith-TK opened 1 year ago

Merith-TK commented 1 year ago

Official FAQ

Ventoy Version

1.0.88

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

Yes. I have tried them, but the bug still exist.

BIOS Mode

UEFI Mode

Partition Style

MBR

Disk Capacity

64

Disk Manufacturer

SanDisk

Image file checksum (if applicable)

None

Image file download link (if applicable)

No response

What happened?

So, I booted VenToy off my flashdrive so taht I could use it to install windows 10/11/archlinux for testing, and I noticed that Ventoy does not account for the display position

the steamdeck uses an "off the shelf" display that is default in portrait, but the bios and everything else about it (even linux distro's and windows) detects this oddity, and rotates the display accordingly,

would it be possible to implement an check for the steamdeck? as this would be the perfect tool for booting distros on the steam deck as then i dont have to have dedicated flashdrives for various other operating systems

robotman40 commented 1 year ago

Official FAQ

* [x]  I have checked the official FAQ.

Ventoy Version

1.0.88

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

Yes. I have tried them, but the bug still exist.

BIOS Mode

UEFI Mode

Partition Style

MBR

Disk Capacity

64

Disk Manufacturer

SanDisk

Image file checksum (if applicable)

None

Image file download link (if applicable)

No response

What happened?

So, I booted VenToy off my flashdrive so taht I could use it to install windows 10/11/archlinux for testing, and I noticed that Ventoy does not account for the display position

the steamdeck uses an "off the shelf" display that is default in portrait, but the bios and everything else about it (even linux distro's and windows) detects this oddity, and rotates the display accordingly,

would it be possible to implement an check for the steamdeck? as this would be the perfect tool for booting distros on the steam deck as then i dont have to have dedicated flashdrives for various other operating systems

I'm not quite sure if most OSes really adjust themselves for the Steam Deck. It's mainly SteamOS and the Steam Deck BIOS that accommodates for the odd display. Even so, workarounds seem to be used. For example, go into the Steam Deck's display settings in desktop mode and notice how they set the screen to tilt right so it shows a landscape display. When I boot another OS (like another Linux distro), I have to manually set the display orientation.

But yes, it would help if Ventoy could work on accommodating the Steam Deck.

Merith-TK commented 1 year ago

Most operating systems / linux distros do somehow detect and accommodate their displays during boot to the steamdeck, even windows pre-drivers (little touch and go occasionally)

Honestly even if its just detecting the very unique hardware configuration of the steam deck (Custom "in house" AMD APU exclusive to the SteamDeck) and then rotating the FrameBuffer 90 degrees, that alone would make it better

sugoidogo commented 1 year ago

The screen on the steam deck does have the rotation information embedded in the same way as the resolution information, but as far as I know there is no bootloader that supports screen rotation. Hopefully this is an easy thing to implement.

DoomTay commented 1 year ago

I'd like to add it still happens as of 1.0.96. Ubuntu 22.04.3 and Linux Mint 21.2 display properly, but Windows 10 installer and Lubuntu 22.04.3 do not. Or rather, the boot screen shows normally, the GUI itself, not so much

Blukenguyen commented 12 months ago

I can rotate by press F5 and change resolution. here the config for .json , "theme":{ "file": "/ventoy/theme/YUMI/theme.txt", "display_mode": "GUI", "gfxmode": "1280x800x32", "text_direction": "2", "ventoy_color": "#000" },

DoomTay commented 11 months ago

Something like pressing F5 would require an actual keyboard, which in the case of a Steam Deck, one might not always have handy.

ryanrudolfoba commented 1 month ago

Something like pressing F5 would require an actual keyboard, which in the case of a Steam Deck, one might not always have handy.

save the custom json to the flash drive that contains ventoy

Merith-TK commented 1 month ago

While that could work, in my opinion it is not an ideal solution if a flashdrive is used for multiple machines, with that config you are limiting yourself to machines with monitors rotated 90* clockwise during boot, Being able to detect this would prove valuable,

What would be even more valuable would be support for the steamdeck controls,

A few years ago, when helping development for plop6-efi in terms of supporting the steamdeck, I used this website to test inputs and came with this list,

https://unixpapa.com/js/testkey.html

A = 13 B = 27 Up = 38 Down = 40 Left = 37 Right = 39 SELECT = 9 START = 27

RT = Left Click LT = Right Click

Right Trackpad = Mouse Pad