Wlroots: iGPU textures stripes on eGPU outputs

Created on 28 Oct 2018  路  4Comments  路  Source: swaywm/wlroots

Setup is:

  • One thinkpad with an Intel integrated GPU and an internal screen
  • One AMD external GPU
  • One ExpressCard V8.0 GDC eGPU dock
  • One output connected via DVI to the eGPU

rootston starts fine with this setup using the iGPU as primary and eGPU as secondary, paints a gray background on both outputs. Moving the cursor works well on both.

However when I spawn weston-terminal it shows up on the internal screen but is invisible on the external one. Logs: https://sr.ht/GT26.log

It works well with the eGPU as primary and with the iGPU disabled. I think there's an issue with DMA-BUFs.

bug backendrm

Most helpful comment

Indeed, this is the same issue. I've come up with a fix, will submit a PR soon. I still have issues with multi-GPU though, now instead of not being updated the multi-GPU output has stripes like so:

I've tried screenshooting everything, and the screenshot doesn't have these stripes. So I think something goes wrong when exporting and importing the DMA-BUF. Maybe a stride issue?

All 4 comments

Indeed, this is the same issue. I've come up with a fix, will submit a PR soon. I still have issues with multi-GPU though, now instead of not being updated the multi-GPU output has stripes like so:

I've tried screenshooting everything, and the screenshot doesn't have these stripes. So I think something goes wrong when exporting and importing the DMA-BUF. Maybe a stride issue?

This may be a driver bug, connecting via VGA makes it work properly.

Closing because this doesn't sound like a wlroots bug.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

emersion picture emersion  路  5Comments

RPigott picture RPigott  路  4Comments

acrisci picture acrisci  路  5Comments

Ferdi265 picture Ferdi265  路  5Comments

ddevault picture ddevault  路  5Comments