Attention is currently required from: Michael Spang.
Maksim Sisov would like Michael Spang to review this change.
ozone/wayland: gbm: use gbm API if drm ioctl fails.
Nouveau driver may fail to return a valid fd from drmPrimeHandleToFD,
which results the browser to crash.
However, when the gbm API is used, the fd is valid and the browser
starts normally. Thus, if the drmPrimeHandleToFD calls fail and
the bo is single planed, use gbm_bo_get_fd directly, which
increases a chance of supporting more machines than before this
patch.
Bug: 1273758
Change-Id: Iab7815ac459e6c35dc84ac288fd4d4765369d6ef
---
M ui/gfx/linux/gbm_wrapper.cc
1 file changed, 42 insertions(+), 4 deletions(-)
To view, visit change 3298123. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Michael Spang.
Attention is currently required from: Maksim Sisov.
1 comment:
Patchset:
Can you please investigate why it fails and at least explain in the description?
To view, visit change 3298123. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Michael Spang.
1 comment:
Patchset:
Can you please investigate why it fails and at least explain in the description?
The error is the following [49022:49022:1129/114923.199405:ERROR:gbm_wrapper.cc(275)] Failed to export buffer to dma_buf: No such file or directory (2) . I've no idea what happens with the drivers as it's not my machine and I don't have a direct access to that.
To view, visit change 3298123. To unsubscribe, or for help writing mail filters, visit settings.
Patchset:
The error is the following [49022:49022:1129/114923.199405:ERROR:gbm_wrapper. […]
Gentle reminder :)
To view, visit change 3298123. To unsubscribe, or for help writing mail filters, visit settings.
Attention is currently required from: Maksim Sisov.
1 comment:
Patchset:
Gentle reminder :)
It's open source, we should investigate the issue more before fixing it.
To view, visit change 3298123. To unsubscribe, or for help writing mail filters, visit settings.
Maksim Sisov abandoned this change.
To view, visit change 3298123. To unsubscribe, or for help writing mail filters, visit settings.