Last active
December 25, 2024 11:35
-
-
Save srlemke/6713ef3c507d0d57fcbdf1e62988eb2d to your computer and use it in GitHub Desktop.
Odissey G9 flicker at 240hz:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Odissey G9 flicker at 240hz: | |
-> add this as grub boot argument to fix resolution on VTs: | |
video=DP-1:2560x1440@120 | |
-> Systemd unit: | |
#localhost:~ # cat /etc/systemd/system/fixres.service | |
[Unit] | |
Description=Fix Resolution | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/bin/fixres | |
[Install] | |
WantedBy=multi-user.target | |
-> Script that systemd unit calls: (it may be 1 or 0, in my case its 0) | |
#localhost:~ # cat /usr/bin/fixres | |
#!/bin/bash | |
cat /root/MYEDID >/sys/kernel/debug/dri/1/DP-1/edid_override | |
echo 1 >/sys/kernel/debug/dri/1/DP-1/trigger_hotplug | |
#get MYEDID on the bellow link and place into /root | |
#https://gitlab.freedesktop.org/drm/amd/-/issues/1442#note_1017689 | |
-> Make script executable and enable and start the systemd service: | |
chmod +x /usr/bin/fixres | |
systemctl enable fixres.service | |
systemctl start fixres.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment