← Back to team overview

kernel-packages team mailing list archive

[Bug 1275398] Re: i945: GL clients are rendered as black or transparent windows when using i945 graphics

 

I think I can eliminate the possibility that the texture binding is
failing. Using direct bypass rendering (egltriangle -f) still has the
same bug. So it's not a server-side GL compositing issue.

Seems like a fundamental failure in the GBM/GEM/PRIME/DMAbuf stuff. Something the i915 driver doesn't do right... I noticed some comments in Wayland along the same lines, where Wayland too has a black buffer problem on i915:
http://lists.freedesktop.org/archives/wayland-devel/2013-October/011593.html

So on the plus side, the old PentiumD can run mir_demo_server_shell at
1920x1200 with super-smooth 60 FPS. On the down side, only software
clients are usable :(

** Also affects: mesa (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Summary changed:

- i945: GL clients are rendered as black or transparent windows when using i945 graphics
+ i945: Mir GL clients are rendered as black or transparent windows when using i945 graphics

** Description changed:

  Running Mir on a Pentium D system with integrated i945 graphics, appears
  to work at first. The server starts and software clients are rendered
- correctly. However hardware (GL) clients never appear on screen, despite
- logging to stdout that they think they are rendering:
+ correctly. However hardware (GL) clients are rendered as all black or
+ transparent windows, despite logging to stdout that they think they are
+ rendering:
  
- $ sudo bin/mir_demo_client_egltriangle 
+ $ sudo bin/mir_demo_client_egltriangle
  Current active output is 1920x1200 +0+0
  Server supports 2 of 6 surface pixel formats. Using format: 4
  libEGL warning: unsupported platform (null)
  1 FPS
  33 FPS
  60 FPS
  60 FPS
  60 FPS
  60 FPS
- 
- The GL demo clients are seemingly never composited at all.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1275398

Title:
  i945: Mir GL clients are rendered as black or transparent windows when
  using i945 graphics

Status in Mir:
  Triaged
Status in “linux” package in Ubuntu:
  Incomplete
Status in “mesa” package in Ubuntu:
  New

Bug description:
  Running Mir on a Pentium D system with integrated i945 graphics,
  appears to work at first. The server starts and software clients are
  rendered correctly. However hardware (GL) clients are rendered as all
  black or transparent windows, despite logging to stdout that they
  think they are rendering:

  $ sudo bin/mir_demo_client_egltriangle
  Current active output is 1920x1200 +0+0
  Server supports 2 of 6 surface pixel formats. Using format: 4
  libEGL warning: unsupported platform (null)
  1 FPS
  33 FPS
  60 FPS
  60 FPS
  60 FPS
  60 FPS

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1275398/+subscriptions