Steam deck and jovian-nixos flake

was apparently fixed in some recent versions of pkgs.linuxPackages_latest (at least), jovian-nixos is no longer necessary :tada:

sorry, please ignore. it took only 1 minute this time for the issue to return.

I FIXED IT!!! for REAL this time! and it took me only about half an hour to find it… the new solution which has been flying around… that i didnt know even existed:

  boot.kernelParams = [ "amdgpu.ppfeaturemask=0xf7fff" ]; # disable "PP_GFXOFF_MASK" dynamic graphics engine

and that’s it!!!

ppfeaturemask stands for “ppower feature”, yes, with a double “P” /j

P.S. just in case though, i also added some of these, which worked for a few people too:

  boot.kernelParams = [
    "amdgpu.ppfeaturemask=0xf7fff" # disable "PP_GFXOFF_MASK" dynamic graphics engine     
    "amdgpu.aspm=0" # disable pcie active state power management
    "amdgpu.bapm=0" # disable bidirectional application CPU/GPU TDP power management
    "amdgpu.runpm=0" # disable runtime power management
    "pcie_aspm=off" # disable active state power management
  ];

(btw why does discourse translate double -- dashes into “–”? sus)

EDIT: hmm, if you were to do this, this will come up on stage 1:

kernel: amdgpu: Overdrive is enabled, please disable it before reporting any bugs unrelated to overdrive.

but this DOES NOT enable amd “overdrive” (overclock)? and it still starts up nicely? i mean, if my steam deck didnt die, then surely wouldnt a desktop pc, right? strange! :woozy_face:

one could also look into:

"amdgpu.debug_mask="

anyway, all of these can be found here:

https://www.kernel.org/doc/html/latest/gpu/amdgpu/module-parameters.html

drivers/gpu/drm/amd/include/amd_shared.h

and dc enumerations (unrelated):

https://www.kernel.org/doc/html/latest/gpu/amdgpu/driver-core.html#c.DC_DEBUG_MASK

i suppose the valve kernel HAS these patches and parameters ALREADY… but i finally dont need jovian-nixos anymore! :tada:

P.P.S. this also (apparently) fixes DMUB/DMCUB errors too! :tada:

P.P.P.S. sorry for many post redirections, it is a bit awkward…

EDIT: okay, maybe i still do need the jovian-nixos flake a little bit, to update the microcode/BIOS firmware that cant be updated via the vanilla hardware.cpu.amd.updateMicrocode, nor hardware.enableAllFirmware (unfree) for some reason… and yeah, jovian.devices.steamdeck.enableFwupdBiosUpdates is also unfree and proprietary. for example, right now there is a “zenbleed” vulnurability situation with steam decks… and a kernel patch wont do the job…

im giving up on jovian-nixos, FOREVER. thats it. there is no jupiter-controller-update command nor service, there is no jupiter-biosupdate command nor service. this never would have worked. in the repo’s issues i have no idea how did they even get this command running. it’s as if it was deprecated and i am clueless, as usual. and it’s a very problematic device, this “deck”.

jupiter-biosupdate: Auto-update to F7A0133 was attempted within the last 24 hours, skipping for now

(it didnt even try, but ok)

what a waste of time. i just dont care, thanks

1 Like