On Mon, 30 Sep 2024, Gleb Smirnoff wrote:
Carsten, On Mon, Sep 30, 2024 at 09:49:50AM +0100, Carsten Haitzler wrote: C> > Reading through sources it seems the old API XF86VidModeDeleteModeline still C> > can delete it, but is there any working tool left that uses it old API? C> > xvidtune seems to be not functional at all. C> > C> > Any ideas? C> C> xvidtune was never really working (well) anyway. it was a poor extension... :) C> C> what you probably want is an LD_PRELOAD to just override xvidtune calls just C> for this program and have it filter/change responses. :) this is what i've done C> various times in the past for misbehaving apps i wanted to tame. Not a solution for this particular app, as it is statically linked. Actually this fact keeps it functional on a modern system after so many years. While I can solve the particular problem for myself (hack the sources), my point is that X.Org needs a generic tool to filter out modes reported by hardware, cause some of them can be completely faulty (my case) or just undesired by a user.
Maybe I am missing something, but you could specify modelines in xorg.conf and then only those modelines are reported. At least that how thing used to work last time I tried it.
best Vladimir Dergachev
-- Gleb Smirnoff