Skip to content

Conversation

@metux
Copy link
Contributor

@metux metux commented Jan 7, 2026

[DRAFT]

None of our drivers is using it (anymore). This has been special code for supporting overlays on cards not supporting them natively (SW fallback).
Nothing announcing them anymore since almost two decades now.

The proprietary Nvidia drivers still referencing them in the symbol table, but unlikely to ever call them.
This queue is dropping them entirely to see whether the driver can still be loaded at all.

If the driver fails to load, then the next experiment will be trying what happens if we turn them into no-ops (but leaving the symbols there) --> #1787

@metux metux requested review from a team January 7, 2026 13:54
@metux
Copy link
Contributor Author

metux commented Jan 7, 2026

@ONykyf @stefan11111 @b-aaz @josephcrowell @cepelinas9000

can anybody please test this one against various Nvidia driver versions (also the older ones) ?

metux added 7 commits January 7, 2026 17:20
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
@metux metux force-pushed the rfc/drop-mi-overlay branch from 0cfc0d3 to 8898251 Compare January 7, 2026 16:21
@cepelinas9000
Copy link
Contributor

Did short test (loaded xfce session, vkgears, glxgears etc) on nvidia 470 using GTX 650 Ti - it worked fine

@metux
Copy link
Contributor Author

metux commented Jan 9, 2026

Did short test (loaded xfce session, vkgears, glxgears etc) on nvidia 470 using GTX 650 Ti - it worked fine

Cool. Didn't expect that going so well.
If we can confirm this by more intensive testing, then we might really get completely rid of it (instead of turning into dummy). We probably should test things that might create an overlay, eg. some fancy video players (maybe Kodi) ?.

Did you already had a chance to test #1787 ? I wouldn't be surprised if that one's failing, because Nvidia has a tendency of dynamically looking up symbols and then taking different code pathes.

@stefan11111
Copy link
Contributor

@metux We could also keep the code around but no longer export the symbols.
This way, if anyone needs this code, they can make an issue and we can easily bring it back.

And if no one reports any issues for a long enough time, we can drop it entirely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants