Device-Quirks
I am trying to add a model number of an older GPD device to the GPD_LIST Device-Quirks section.
I just need to add G1619-03 to the device models. However because of the immutable file system the file cannot be edited.
I just need the game scope to display is “right” orientation
I have used sudo rpm-ostree usroverlay and my fix works well but it doesn’t hold after reboot.
Please Help!
15 Replies
Open a PR so you can benefit others
There is nothing we can do to help you make that change permanent, that would go against the entire design of this operating system
Since it sounds like you've already tested it locally, we would be more than happy to accept that if they fix for everybody in the next release
So I’d have to wait for the next release for this to be usable?
Is there another way to force Right Orientation in gamescope?
I don't know what a PR is but I created a bug report.
basically do what you do in your device but do it inside the repo
if you dont understand git atleast create the step by step here
@asen23 I'm sorry I'm not familiar with Git. I'll put together a step by step here instead.
sudo rpm-ostree kargs --append-if-missing video=eDP-1:panel_orientation=left_side_up
I think adding a karg can fix it without usr overlay, change the left_side_up
accordingly
But PRing it and making it available for others would definitely be best@Aru But that would reset on reboot correct?
If you add the karg via rpm-ostree, it stays even after reboots, updates, etc
@aru Ok I'll try that and update you, Thanks!!
@Aru That did not work. Orientation in gamescope is still portrait. However, it does appear the changes did commit as when I run the command again, it says no changes have been made.
This is the section that needs to be modified in device_quirks
GDP Win devices
GDP_LIST="G1619-01:G1621-02:MicroPC:WIN2"
if [[ ":$GDP_LIST:" =~ ":$SYS_ID:" ]]; then
OUTPUT_CONNECTOR=',DSI-1'
DRM_MODE=fixed
ORIENTATION=right
fi
===========================
sudo rpm-ostree usoverlay - Disabling read only file system
sudoedit /usr/share/gamescope-session-plus/device-quirks
Find the GPD Win Section
GDP Win devices
GDP_LIST="G1619-01:G1621-02:MicroPC:WIN2"
if [[ ":$GDP_LIST:" =~ ":$SYS_ID:" ]]; then
OUTPUT_CONNECTOR=',DSI-1'
DRM_MODE=fixed
ORIENTATION=right
fi
Add the following ":G1619-03" to the GPD_LIST
Save the file
Enter Gaming Mode and Gamescope is oriented correctly.
You might need to change the
left_side_up
in the karg for your device
But you'll need to remove the karg first, then re-add it with the new value
rpm-ostree kargs --remove=video=eDP-1:panel_orientation=left_side_up
what does it need to be changed to?
Maybe try
right_side_up
So output connector in Device Quirks is set to DSI-1, does that video=DSI-1 need to be changed too?
@Aru @asen23 @Kyle Gospo Thanks everyone for their help. I was able to find my own solution by creating an environment.d folder and creating a 10-gamescope-session.conf file and forced orientation=right. Gamescope now is oriented correctly even if the boot screen is still portait at least it will work inside gamescope for now. I hope my bug request makes it into the next version. Can anyone tell me how I can get that done?
Ok lucky you
New patch from today in testing includes rotation for intel
ohhhh well that sounds promising. How can I update to the testing channel?
Look at the
brh
command it explains itself.
Im not home atm