Jump to content
NotebookTalk

Clevo x170sm Bios modding RTX 3080 support


Recommended Posts

Goodday folks!

 

its been a journey to try to get the smg bios adjusted to native support the 3080 card. 
 

i have checked and asked multiple modders for this but they all seem to have no interest for this, including prema. 

 

we as a community try to get this card working in the SMG without this many issues. For some it works better then others but its not flawless. Theres only 1 way to get this done right and it requires a bios modification. 
With this topic im trying to get as many heads together and see if we can get it done with each other and the help of those with the knowledge thats missing.

 

3080 with x170smg has no tdp boost and gsync works half( gsync isnt that important ). Id wud be great if we can get it to work without the need of INF modding and the boost to work.

  • Thanks 1
Link to comment
Share on other sites

Thanks @Pfudaniel, let's hope that we can get similar results like the p870 or p775! Especially since some of us using the 3080 in the smg have power state driver failure after wake-up from sleep in win 10.

 

SMG's gpu Hardware ID is :

 

PCI\VEN_10DE&DEV_24DC&SUBSYS_77141558&REV_A1

 

as far as I know, the KMG which supports the 3080 natively is 7715, instead of 4.

 

Installing drivers directly with nvcleanstall, doing the inf modding manually, choosing the km-g template, doesn't change anything, the end result is a driver with the issues listed above, with or without Prema Bios.

 

Hopefully someone with quite more skill than me for instance, can provide any insight into modding the bios so that it can recognise the card natively or at least work with gsync, dynamic boost and no sleep issue.

 

Link to comment
Share on other sites

I think I found the cookie in my coreboot variant of the X170SM that associates it with the device whitelist in the Nvidia installer:

 

https://github.com/system76/coreboot/blob/6e1a07ca56bf6cfb3b0969971a886a59bb18a3e2/src/mainboard/system76/bonw14/devicetree.cb#L58

 

In theory changing that to the X170KM identifier should allow stock drivers to install. I have not tested that but will soon.

 

Just to catch up on the other feature support of the 3080 with this bios here is where it is at:

  • Suspend / Resume works but takes 30 seconds to resume (may be the same case with the 2080 super as I think their ACPI resume routines wait longer in each stage of powering the GPU back on to ensure the process succeeds)
  • No support for Nvidia PCF / Dynamic Boost as it did not exist until much later when they added support for 3080 mobile model refreshes but it may be possible to backport it
  • No support for GSync as I believe it was not supported on the 2080 super on this bios. Either they did not have time to add the feature or did not get necessary information from Nvidia to add it (more likely)
  • Video Output support - I have only tested the TB3 port on the back side to confirm it works. I did not test mDP or HDMI. I do know that the X170KM has a different port layout (TB4 is dual port on side) so the VBIOS for the 3080 may be configured differently than the 2080 Super. There is an ACPI table defining the port/pipe configuration for the Nvidia GPU but it seems to use a propritary format so we would need to dump ACPI from an X170KM to compare.
  • Thanks 1

Desktop - 12900KS, 32GB DDR5-6400 C32, 2TB WD SN850, Windows 10 Pro 22H2

Clevo PE60SNE - 14900HX, 32GB DDR5-5600 CL40, 4TB WD SN850X, RTX 4070 mobile, 16.0 inch FHD+ 165hz, System76 open source firmware, Windows 10 Pro 22H2

Link to comment
Share on other sites

1 hour ago, win32asmguy said:

I think I found the cookie in my coreboot variant of the X170SM that associates it with the device whitelist in the Nvidia installer:

 

https://github.com/system76/coreboot/blob/6e1a07ca56bf6cfb3b0969971a886a59bb18a3e2/src/mainboard/system76/bonw14/devicetree.cb#L58

 

In theory changing that to the X170KM identifier should allow stock drivers to install. I have not tested that but will soon.

 

Just to catch up on the other feature support of the 3080 with this bios here is where it is at:

  • Suspend / Resume works but takes 30 seconds to resume (may be the same case with the 2080 super as I think their ACPI resume routines wait longer in each stage of powering the GPU back on to ensure the process succeeds)
  • No support for Nvidia PCF / Dynamic Boost as it did not exist until much later when they added support for 3080 mobile model refreshes but it may be possible to backport it
  • No support for GSync as I believe it was not supported on the 2080 super on this bios. Either they did not have time to add the feature or did not get necessary information from Nvidia to add it (more likely)

This looks promising , and likely what we are looking for! Wil check this asap and report back

Link to comment
Share on other sites

18 minutes ago, Pfudaniel said:

This looks promising , and likely what we are looking for! Wil check this asap and report back

 

Oh, if you want to test the System76 firmware on your X170SM I can help with attempting to get it setup!

Desktop - 12900KS, 32GB DDR5-6400 C32, 2TB WD SN850, Windows 10 Pro 22H2

Clevo PE60SNE - 14900HX, 32GB DDR5-5600 CL40, 4TB WD SN850X, RTX 4070 mobile, 16.0 inch FHD+ 165hz, System76 open source firmware, Windows 10 Pro 22H2

Link to comment
Share on other sites

After some testing I determined that I was wrong on my initial assumption. The subsystem ID has to be overridden here instead specifically for the dGPU:

 

https://github.com/system76/coreboot/blob/f1caea884c49bebd657631bcbf8859ad9aac740b/src/drivers/system76/dgpu/ramstage.c#L36

 

Everywhere else it should remain 0x7714 except for the GPU and the GPU audio device. With that changed it allows the unmodded drivers without an issue. 

  • Thumb Up 1

Desktop - 12900KS, 32GB DDR5-6400 C32, 2TB WD SN850, Windows 10 Pro 22H2

Clevo PE60SNE - 14900HX, 32GB DDR5-5600 CL40, 4TB WD SN850X, RTX 4070 mobile, 16.0 inch FHD+ 165hz, System76 open source firmware, Windows 10 Pro 22H2

Link to comment
Share on other sites

13 hours ago, win32asmguy said:

After some testing I determined that I was wrong on my initial assumption. The subsystem ID has to be overridden here instead specifically for the dGPU:

 

https://github.com/system76/coreboot/blob/f1caea884c49bebd657631bcbf8859ad9aac740b/src/drivers/system76/dgpu/ramstage.c#L36

 

Everywhere else it should remain 0x7714 except for the GPU and the GPU audio device. With that changed it allows the unmodded drivers without an issue. 

Thats great u found it in opencore an managed to get it working. The question is now how to get this on insyde bios 😫

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use