Repository navigation
Conversation
The Steam Deck OLED's APU (Sephiroth, PCI 0x1435, rev 0xAE, "AMD Custom GPU 0932") is a Van Gogh like the LCD model's 0x163F: the kernel lists both under FAMILY_VGH (dal_asic_id.h), and Proton's wine treats the two alike. Only 0x163F was in the table, so under Proton, where the AMD asic query returns nothing, the OLED got no FSR 4 model unless Fsr4GpuSupport was set by hand. With the entry it gets INT8 Lite, as the LCD model does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
|
Thanks, added to commit 4bd7a77 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1335.
The Steam Deck OLED's GPU,
1002:1435revAE("AMD Custom GPU 0932"), is a Van Gogh like the LCD model's0x163F, but only0x163Fwas in thedevice_infotable. Under Proton the AMD asic query gets nothing back: Wine, Proton's included, returnsSTATUS_NOT_IMPLEMENTEDforKMTQAITYPE_UMDRIVERPRIVATE. The FSR 4 model then comes from this table alone, and the OLED got none.The new entry is
kGfx10_3_3, an APU, like0x163F, so the OLED gets INT8 Lite as the LCD model does. It also follows the LCD model whereveramdHwGenerationis read: it becomeskGfx10_3, so whenLoadCustomAmdxc64OnRdna2is on (it's off by default), that option applies to the OLED as well.The revision is the real one, from libdrm's
amdgpu.ids. The LCD model has a revision-0 entry; the OLED's only entry is0xAE. DXVK reports revision 0, so on the OLEDGetAmdCardInfofinds the entry through its fallback to any revision of the device.Checked:
device_info.cppcompiles on its own with clang (-std=c++20), so the table's compile-time checks pass: it is sorted and has no duplicate device and revision pairs.A small lookup test:
{0x1002, 0x1435, 0xAE}and{0x1002, 0x1435, kRevisionIdAny}givekGfx10_3_3, an APU inkGfx10_3;{0x1002, 0x1435, 0x00}has no exact entry;0x163Fis unchanged.Against the table without the entry, both
0x1435lookups fail.Not tested on a Deck OLED.
🤖 Generated with Claude Code