fix screen orientation on boot and game mode

In desktop mode I changed it to be correct via the system settings but it’s still sideways on the boot logo and upside down in game mode
No description
No description
No description
39 Replies
indigo
indigoOP3mo ago
For reference using an 8840u onexfly
HikariKnight
HikariKnight3mo ago
expected, since we dont have any quirks for the onexfly (yet) will need the output of /usr/libexec/hwsupport/sysid it will give us the dmi product name for the device. if it shares the dmi of a different onex device then it needs more work to rotate it correctly we will need to add a quirk for it in gamescope-session and a different quirk for it for the desktop. nvm i see you replied to antheas its ONEXPLAYER F1L
indigo
indigoOP3mo ago
Actively trying to run this command right now You don’t need the screen DMI thing? Or is support for the older onexfly models already there
HikariKnight
HikariKnight3mo ago
the command i gave does the same thing as the command antheas needed you to run, this one is just easier to remember and it trunctates some known dmi results from hardware with many revisions that mean nothing for us to support them (the normal rog ally)
indigo
indigoOP3mo ago
Oh okay
HikariKnight
HikariKnight3mo ago
im looking, not sure i get to deal with it today but i have time tomorrow to write patches havent even eaten breakfast yet 🤣 and im already behind schedule by 4 hours
indigo
indigoOP3mo ago
Oh okay 🙂 Also handheld daemon ask for a token when I enter it from the desktop mode, does that seem normal
HikariKnight
HikariKnight3mo ago
lets see we have the ONEXPLAYER_F1 for boot but not the F1L that you have
indigo
indigoOP3mo ago
Is it possible the L variant is the 8840u model
HikariKnight
HikariKnight3mo ago
most likely
indigo
indigoOP3mo ago
I see
HikariKnight
HikariKnight3mo ago
just making some notes here looks like it will need boot: right side up gamescope: flipped
indigo
indigoOP3mo ago
Yes In the pictures you can see the screen orientation
HikariKnight
HikariKnight3mo ago
thats what i was refering to and noting down how they had to be rotated
indigo
indigoOP3mo ago
On the desktop mode I changed the orientation to be correct via the system settings but its the same orientation as the boot logo before doing that
indigo
indigoOP3mo ago
No description
indigo
indigoOP3mo ago
No idea if this helps but I’ll send it anyway
HikariKnight
HikariKnight3mo ago
for gamemode at least you can try add this to ~/.config/environment.d/10-gamescope-session.conf
ORIENTATION=right
ORIENTATION=right
then go back into gamemode and see if that does anything
indigo
indigoOP3mo ago
With nano?
HikariKnight
HikariKnight3mo ago
yep you might need to make the environment.d folder other values for ORIENTATION are left, normal, upsidedown so try different ones also just @ me when you have found the right orientation and me or kyle will prepare some patches for it (whoever of us gets to it first)
indigo
indigoOP3mo ago
I’ll work on this soon when I get done with antheas
HikariKnight
HikariKnight3mo ago
nice just ping me when you have the gamescope orientation that works, as i am not going to wing it and go upsidedown in case its already rotated by accident from something else. the boot orientation is more straight forward since its so early nothing has touched it. then i will ping you once its ready or with links to 2 PRs to follow
indigo
indigoOP3mo ago
Dunno if it matters but on a fresh install of windows this appears to be the displays true or default orientation
No description
HikariKnight
HikariKnight3mo ago
yeah right side up i think will correct that (grub will still be sideways though) gamescope however might do some funny business so i just want to make sure that orientation is correct before writing the patches i will be going afk to start baking now so will be a good while before i can type again so just ping me with the info and i will get patches written as soon as i got clean hands again 🤣
indigo
indigoOP3mo ago
is this ~/.config located in the home folder?
HikariKnight
HikariKnight3mo ago
yes ~/ is a shortcut to your homefolder and any file/folder with a . first is hidden, press CTRL+H to show/hide the hidden files
indigo
indigoOP3mo ago
No description
indigo
indigoOP3mo ago
This look right? After booting back into game mode it’s still upside down do I don’t know if I did it right Currently trying upsidedown So orientation right did nothing
indigo
indigoOP3mo ago
Upsidedown did this
No description
indigo
indigoOP3mo ago
@HikariKnight ORIENTATION=left is the correct one
indigo
indigoOP3mo ago
No description
HikariKnight
HikariKnight3mo ago
awesome noted, keep the conf file for now, until we have patched it
HikariKnight
HikariKnight3mo ago
@indigo keep an eye on this PR https://github.com/KyleGospo/gamescope-session/pull/87 once thats merged and there is a new build for bazzite with it included then you can remove that conf file will be working on the desktop rotation and boot rotation next
GitHub
feat: add dmi for onexfly with 8840U cpu by HikariKnight · Pull Req...
Fixes the rotation on the ONEXPLAYER F1L (the version with the 8840U)
indigo
indigoOP3mo ago
Alright I’m gonna try some tinkering with the button mapping to see if maybe antheas could add support for the top buttons
HikariKnight
HikariKnight3mo ago
lets hope he can 😄 @indigo is this the 16GB ram or 32GB ram version?
indigo
indigoOP3mo ago
this is the 32gb ram version with a 2tb ssd
HikariKnight
HikariKnight3mo ago
might need kyles input on something then for the boot rotation since i see there is a flag for the 32gb onexfly here but i see the one you got comes in 32gb and 16gb versions and the check will trigger on both
HikariKnight
HikariKnight3mo ago
GitHub
feat: add support for onexfly 8840U by HikariKnight · Pull Request ...
However this sysid is shared between the 16gb model and the 32gb model, will this cause issues with the GTTSize being applied if this happens on a 16GB model? or will i have to separate out the 2 m...
indigo
indigoOP3mo ago
Ok
Want results from more Discord servers?
Add your server