https://bugs.winehq.org/show_bug.cgi?id=54339
Bug ID: 54339 Summary: Wine doesn't recognize RTX 3xxx and 4xxx Product: Wine Version: 7.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: kohen.d@gmail.com Distribution: ---
Wine does not recognize RTX 30xx and 40xx Nvidia cards, it prevents games from auto-configuring the performance. https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/wined3d/adapter_gl.c#... Tested on 3050, but should be on 3070, 3070, 3090, 4070, 4090...
https://bugs.winehq.org/show_bug.cgi?id=54339
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source
https://bugs.winehq.org/show_bug.cgi?id=54339
morgwai foss@morgwai.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |foss@morgwai.pl
--- Comment #1 from morgwai foss@morgwai.pl --- I took a moment and gathered PCI IDs for most desktop Nvidia GPUs and built patched packages for Ubuntu 24.04 and 24.10:
https://launchpad.net/~morgwai/+archive/ubuntu/wine
I tested the patch on Debian trixie with a 3090: it worked correctly and there were some performance gains when playing SC2. I have no way of testing it with other GPU models, so it would be great if ppl could try it and reported back their experiences here. If no issues are found, I will create a merge-request on wine's gitlab.
I'm also trying to find some reputable package hosting service with source-only uploads for Debian as Launchpad only allows Ubuntu packages... I will update this bug later if I find something. In the mean time here is a source package for trixie: https://morgwai.pl/wine/wine_9.0~repack-7morgwai2.dsc https://morgwai.pl/wine/wine_9.0~repack-7morgwai2.debian.tar.xz
I will attache raw source patches in a moment as well.
https://bugs.winehq.org/show_bug.cgi?id=54339
--- Comment #2 from morgwai foss@morgwai.pl --- Created attachment 77870 --> https://bugs.winehq.org/attachment.cgi?id=77870 patch for 3090
1st in the series
https://bugs.winehq.org/show_bug.cgi?id=54339
--- Comment #3 from morgwai foss@morgwai.pl --- Created attachment 77871 --> https://bugs.winehq.org/attachment.cgi?id=77871 patch for 30xx series
2nd in the series
https://bugs.winehq.org/show_bug.cgi?id=54339
--- Comment #4 from morgwai foss@morgwai.pl --- Created attachment 77872 --> https://bugs.winehq.org/attachment.cgi?id=77872 patch for 40xx series
3rd in the series
https://bugs.winehq.org/show_bug.cgi?id=54339
morgwai foss@morgwai.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #77870|patch for 3090 |patch for 3090, 1st in the description| |series
https://bugs.winehq.org/show_bug.cgi?id=54339
morgwai foss@morgwai.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #77871|patch for 30xx series |patch for 30xx series, 2nd description| |in the series
https://bugs.winehq.org/show_bug.cgi?id=54339
morgwai foss@morgwai.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #77872|patch for 40xx series |patch for 40xx series, 3rd description| |in the series
https://bugs.winehq.org/show_bug.cgi?id=54339
darkblaze69 bigfoothart@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bigfoothart@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=54339
--- Comment #5 from morgwai foss@morgwai.pl --- 10.0~rc2 source package for Debian sid: https://morgwai.pl/wine/wine_10.0~rc2~repack-2morgwai1.dsc https://morgwai.pl/wine/wine_10.0~rc2~repack-2morgwai1.debian.tar.xz
https://bugs.winehq.org/show_bug.cgi?id=54339
morgwai foss@morgwai.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #77870|0 |1 is obsolete| | Attachment #77871|0 |1 is obsolete| |
--- Comment #6 from morgwai foss@morgwai.pl --- Created attachment 77911 --> https://bugs.winehq.org/attachment.cgi?id=77911 patch for 30xx series
patch for 30xx series for wine 10.x (includes 3090)
https://bugs.winehq.org/show_bug.cgi?id=54339
morgwai foss@morgwai.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #77872|0 |1 is obsolete| |
--- Comment #7 from morgwai foss@morgwai.pl --- Created attachment 77912 --> https://bugs.winehq.org/attachment.cgi?id=77912 patch for 40xx series
patch for 40xx series for wine 10.x
https://bugs.winehq.org/show_bug.cgi?id=54339
--- Comment #8 from morgwai foss@morgwai.pl --- Binary apt repo for Debian (with source-only upload) is here! OpenSUSE Build Service was recommended to me by Stephen Kitt himself :) ( https://unix.stackexchange.com/a/789689/271042 ) The project is located here:
https://build.opensuse.org/project/show/home:morgwai:wine
simplified installation instructions: install the signing key from "Signing keys" tab on the above project's page and add _ONE_ of the below entries to your apt sources list:
deb http://download.opensuse.org/repositories/home:/morgwai:/wine/Debian_Testing / deb http://download.opensuse.org/repositories/home:/morgwai:/wine/Debian_Unstabl... /
(append `signed-by` directive as needed)
https://bugs.winehq.org/show_bug.cgi?id=54339
--- Comment #9 from morgwai foss@morgwai.pl --- Patches for desktop models were merged into the upstream :) https://gitlab.winehq.org/wine/wine/-/merge_requests/7171