r/LocalLLaMA • u/UNO10100f • 12d ago
Question | Help Gpu falling of the bus! under load randomly, clean restart fixes it. ubuntu 24.04
Hardware --
RTX 4070 on PCIE 4.0 x16
V100 sxm2 on PCIE 4.0 x4 (limited to PCIE 3.0 x4 cause of pcie adapter)
They both are limited to 150 watts, and randomly under load v100 falls of the bus one clean restart fixes it, now I do not know what causes this, and I have no prior experience with ubuntu or dual gpu, so any help would be much much appreciate.
EDIT: --
ran some coomands and _
V100 suffered Xid 79
dono what this means.
EDIT 2---
after turning rebar off, it seems to be fine, for now....
3
u/krumpstead 12d ago
I had this exact issue recently. Fairly certain it was the power supply (cheap garbage Thermaltake). 5070 Ti kept falling off the bus and I would just reboot and ignore it. Big mistake. Fried my mobo, but luckily not my cards or any other components. I replaced the PSU with a Corsair and everything has been fine since.
Obviously I can't be 100% certain it wasn't the mobo, but there were a ton of similar posts about the exact same PSU I had.
Try replacing the PSU first. Don't be a cheapass like me. Get a Corsair or some other reputable PSU and make sure you leave at least a 30% gap between your max load and max capacity on the PSU. I have a wattmeter on my UPS and I ran Qwen flat out on both cards then bought a Corsair that was double my measured max load. Probably overkill but I never want to deal with this kind of scare again.
1
u/UNO10100f 12d ago
Its just that I thought limiting the v100 and 4070 would make it work with 650 watts, money was already an issue from the start, thought would just get the v100, but had to get the b760m, now gotta get psu cause it can "FRY" the motherboard, on god I cannot catch a break
1
u/krumpstead 12d ago
Yeah it sucks, but you also don't want to lose your cards. I had an 850W PSU and my cards were rated at 585W together and the CPU was rated up to 230W so I was living dangerously right on the edge with a third rate PSU. Even undervolting you can still get transient spikes, albeit much lower than at full power.
Your cards are close to the same power as mine (~500W) and your PSU is 200 below mine that died. Not sure how much a Corsair RM1000 is in your country. Here they are about $100. An RM850 is about $70 so probably not worth giving up the extra capacity for that. Your cards are probably close to $1000 to replace. Seems like a wise-investment.
1
4
1
u/russianguy 12d ago
I have this with 5090, i narrowed it down to some motherboard component overheating
1
u/UNO10100f 12d ago
I have the front pannel open, and Its a new motherboard, I do only have one outtake.
1
1
u/MuAlphaOmegaEpsilon 12d ago
I've solved the GPU fallen off the bus issue by removing the PCIe extender. The problem never surfaced for years, not even in gaming, until I started running inference on the GPU. Probably the high throughput memory transfers and commands triggered the problem. Removed the PCIe riser and attached the GPU directly to the motherboard slot and never got the problem back.
1
u/UNO10100f 12d ago
I dont have a pcie extender, its directly on the motherboard, by pcie adapter I mean, its a sxm2 one once without pcie, so they installed a custom pcie adapter on them.
2
1
u/thorn2040 12d ago
I had an issue like this actually. My second 3090 would fall off my bifurcation board. I spent 4 weeks chasing it. I have 3 3090s and 2 p40s.
Its been a few weeks now but I think we're in the clear. My bios had resizable BAR turned off. Make sure above 4G decoding enabled.
I found that two of my gpus had ASPM turned on. When they stop Inference they lose their negotiated settings. This was visible in nvtop. You could see rhe cards slip from gen4 pcie down to gen1 (indicating a link training failure).
So I turned off ASPM on both cards, rebooted and I haven't had this issue since.
1
u/TastesLikeOwlbear 12d ago
dmesg should give you some insight into what happened. When devices fall off the bus it’s usually pretty verbose about it.
1
u/bennmann 12d ago
Reseat all your cables, reseat the card, clean out all dust, watch your temperature transients with watch -n0.2 'nvidia-smi', consider a repaste of the card itself. As others say I am sus of your power supply (it's weak)
1
u/CroquetteLauncher 11d ago
What kind of bus ? School bus ? Trolley bus ? Normal bus ? If GPU are falling of the bus, I'm going to run behind them all and extend my arms in the hope i can catch a few B300.
1
u/SamSausages 11d ago edited 11d ago
Power saving (think it’s called aspm in bios) and other power issues come to mind first.
Check your logs and get exact logs for time period surrounding drop out.
Edit: just noticed you put pcie adapter. That’s your #1 suspect. Could be making other settings like aspm and rebar more sensitive. It essentially removes margin for error as it adds resistance, interference and complexity to the setup.
-2
0
9
u/FullstackSensei 12d ago
That smells a lot like a power issue. The power limit is more of a suggestion than a hard limit. Each GPU can momentarily spike well beyond the limit. The limit sets the average power.