openpilot icon indicating copy to clipboard operation
openpilot copied to clipboard

Acados (& thus plannerd) fails on AMD FX 8350 when trying to run simulator

Open MikeBusuttil opened this issue 2 months ago • 0 comments

Describe the bug

Running the simulator (tools/sim/launch_openpilot.sh with tools/sim/run_bridge.py) on my AMD FX 8350, Radeon RX 6700 XT, Ubuntu 24.04 machine results in plannerd failing (see image below). Debugging has concluded that this is an issue with Acados on older hardware (invoked on this line).

If the team thinks bandwidth should be expended to support circa 2015 hardware then by all means let's act on it. Otherwise, I'll just leave this here for posterity and the ticket can be closed.

Reproduction steps:

run the simulator or Acados

from openpilot.selfdrive.controls.lib.longitudinal_mpc_lib.c_generated_code.acados_ocp_solver_pyx import AcadosOcpSolverCython
AcadosOcpSolverCython('long', 'SQP_RTI', 12)

Acados failure:

image

plannerd failure:

image

OS Version

Ubuntu 24.04

openpilot version or commit

87f7bb6a9e90d385dbc336ad08befb04b60efccf

Additional info

Clearly communicating the reason for plannerd's failure is worth considering in my opinion

MikeBusuttil avatar Dec 26 '24 06:12 MikeBusuttil