elly on Nostr: I really can't wait until gpu resetting on Linux will become a thing... Many ...
I really can't wait until gpu resetting on Linux will become a thing...
Many motherboards (especially reference boards from silicon vendors or laptops) allow you to enable/disable power to the slot by controlling the GPIO (SoC pincontrol).
You can spot this by looking for "rtd" in src/mainboard/* directory in coreboot tree, there are pins specified for PCIe power and reset.
Imagine being able to cut the power to something like a dedicated GPU in your system by setting PCIE_PWR pin low and decreasing your desktop power's consumption by ~30W (or even ~80W if you happen to use first-generation Intel Arc GPU).
Then when you want to play a game, you would set the pin high, DRM would re-initialize the card, and you could either play as-is (displays connected to iGPU would cost you *some* performance due to DMA framebuffer copy) or press the button on (very inexpensive these days) DP/HDMI switch and play with full performance straight from dGPU.
Of course none of that would be required *if* board vendor would implement ASPM correctly, but vast majority of board vendors fuck up their power management/board designs, so that would be nice to have.
(One day I will go insane enough to design an open-source ATX board that would implement everything correctly and use STM32 as an Embedded Controller)
Published at
2026-03-20 22:39:05 UTCEvent JSON
{
"id": "0e5e2845ebe3c00df26c85721c289f4acf5f4ba01c67a1430712942ff54e0f29",
"pubkey": "2ba475a1340ebd9f8ec27d9173cd47f78bde6f58760f13854303ba6bd6f3a930",
"created_at": 1774046345,
"kind": 1,
"tags": [
[
"proxy",
"https://donotsta.re/objects/745f8bf7-4415-4097-b6d0-8a365e9f4094",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://donotsta.re/objects/745f8bf7-4415-4097-b6d0-8a365e9f4094",
"pink.momostr"
],
[
"-"
]
],
"content": "I really can't wait until gpu resetting on Linux will become a thing...\r\n\r\nMany motherboards (especially reference boards from silicon vendors or laptops) allow you to enable/disable power to the slot by controlling the GPIO (SoC pincontrol).\r\n\r\nYou can spot this by looking for \"rtd\" in src/mainboard/* directory in coreboot tree, there are pins specified for PCIe power and reset.\r\n\r\nImagine being able to cut the power to something like a dedicated GPU in your system by setting PCIE_PWR pin low and decreasing your desktop power's consumption by ~30W (or even ~80W if you happen to use first-generation Intel Arc GPU).\r\n\r\nThen when you want to play a game, you would set the pin high, DRM would re-initialize the card, and you could either play as-is (displays connected to iGPU would cost you *some* performance due to DMA framebuffer copy) or press the button on (very inexpensive these days) DP/HDMI switch and play with full performance straight from dGPU.\r\n\r\nOf course none of that would be required *if* board vendor would implement ASPM correctly, but vast majority of board vendors fuck up their power management/board designs, so that would be nice to have.\r\n\r\n(One day I will go insane enough to design an open-source ATX board that would implement everything correctly and use STM32 as an Embedded Controller)",
"sig": "98edff4e1952cc19cee543fb85ba2a9cd0da6d3218d2183133fe98a3828d9e0f755b8883af61e73d64fd4de2a8bc929a1c4facaae2ac2e2eb7b9a441035a44dd"
}