On 6/20/24 16:29, Pierre Ossman wrote:
On 6/19/24 11:36, Pierre Ossman wrote:

Is there something special I need to pay attention to when doing cross GPU stuff? I would have assumed that gbm_bo_import() would have complained if this was an incompatible setup.


It does indeed look like some step is missing. If I examine /proc/<pid>/maps, I can see that the accessed memory address is associated with the wrong render node:

Crash reading 0x7fffe4176000
7fffe4176000-7fffe4400000 rw-s 100602000 00:06 500 /dev/dri/renderD128


In cross-GPU combinations where it works, I'm seeing this map instead:

7fffef30e000-7fffef408000 rw-s 100056000 00:0b 533 /dmabuf:

Regards
--
Pierre Ossman           Software Development
Cendio AB               https://cendio.com
Teknikringen 8          https://twitter.com/ThinLinc
583 30 Linköping        https://facebook.com/ThinLinc
Phone: +46-13-214600

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Reply via email to