Re: SIGBUS with gbm_bo_map() and Intel ARC

2024-06-20 Thread Pierre Ossman
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

Re: SIGBUS with gbm_bo_map() and Intel ARC

2024-06-20 Thread Pierre Ossman
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//ma

Re: SIGBUS with gbm_bo_map() and Intel ARC

2024-06-19 Thread Pierre Ossman
On 19/06/2024 11:36, Pierre Ossman wrote: Hi, More gbm_bo_map() issues from me that could use some expert insight. When I mix GPU access in my GBM adventures, one combination results in a SIGBUS when reading the memory given from gbm_bo_map(). I'm unsure if this is a bug in the driver, or in

SIGBUS with gbm_bo_map() and Intel ARC

2024-06-19 Thread Pierre Ossman
Hi, More gbm_bo_map() issues from me that could use some expert insight. When I mix GPU access in my GBM adventures, one combination results in a SIGBUS when reading the memory given from gbm_bo_map(). I'm unsure if this is a bug in the driver, or in my access? What I do is: 1. X server doe