Would it be worthwhile to set TearFree on by default for radeon and amdgpu in Xenocara?
izzy Meyer <[email protected]> Wed, 22 Jul 2026 13:13:41 -0500
| Newsgroups | gmane.os.openbsd.tech,gmane.os.openbsd.misc |
|---|---|
| Message-ID | <[email protected]> |
--MP_/3cvKRL/jeoKO2YOtlRMb9rj
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hello misc@ (also sent to tech@)
A while back, the modesetting driver in Xenocara got the TearFree option
set to "on" by default:
https://marc.info/?l=openbsd-cvs&m=174949311406685&w=2
I think it may be worthwhile to do the same for amdgpu and radeon
users. I have vision issues that make me nauseous when there's any
level of screen tearing on my machine. It would be nice to not have to
manually override the default in Xenocara for these drivers. One more
sane default like this can go a long way for a fair number of users I
think.
FWIW, for now, I use this xorg.conf to solve my issue.
~ $ cat /etc/X11/xorg.conf
Section "Device"
Identifier "WX3100"
Driver "amdgpu"
BusID "PCI:1:0:0"
Option "TearFree" "true"
EndSection
Thanks,
May your day go well...
--
iz (she/her)
> I say mundane things
> so the uninteresting
> just might get noticed.
izder456 (dot) neocities (dot) org
--MP_/3cvKRL/jeoKO2YOtlRMb9rj
Content-Type: text/x-patch
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=tearfree.diff
diff --git a/driver/xf86-video-amdgpu/conf/10-amdgpu.conf b/driver/xf86-video-amdgpu/conf/10-amdgpu.conf
index fc5668eb..a718be46 100644
--- a/driver/xf86-video-amdgpu/conf/10-amdgpu.conf
+++ b/driver/xf86-video-amdgpu/conf/10-amdgpu.conf
@@ -3,4 +3,5 @@ Section "OutputClass"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "HotplugDriver" "amdgpu"
+ Option "TearFree" "true"
EndSection
diff --git a/driver/xf86-video-ati/conf/10-radeon.conf b/driver/xf86-video-ati/conf/10-radeon.conf
index 04217f67..a71a2778 100644
--- a/driver/xf86-video-ati/conf/10-radeon.conf
+++ b/driver/xf86-video-ati/conf/10-radeon.conf
@@ -2,4 +2,5 @@ Section "OutputClass"
Identifier "Radeon"
MatchDriver "radeon"
Driver "radeon"
+ Option "TearFree" "true"
EndSection
\ No newline at end of file
--MP_/3cvKRL/jeoKO2YOtlRMb9rj--