[Bug 1257612] Re: divide by zero error in radeon_surface.c when opening chrome with WebGL enabled

Bug Watch Updater 1257612 at bugs.launchpad.net
Wed Dec 11 04:22:17 UTC 2013


Launchpad has imported 2 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=72425.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2013-12-07T02:21:54+00:00 Chris Wulff wrote:

Created attachment 90384
Fix divide by zero in radeon_surface

Passing a tile_split of zero to eg_surface_init_2d causes a divide by
zero error. Launching chromium with WebGL enabled on a AMD Llano
(A8-3850) exhibits this behavior and webgl then fails to work. The
attached patch fixes the problem and allows WebGL to work in chrome on
this platform.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1257612/comments/4

------------------------------------------------------------------------
On 2013-12-10T17:36:34+00:00 agd5f wrote:

Can you attach a backtrace of the divide by 0?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/libdrm/+bug/1257612/comments/6


** Changed in: nouveau
       Status: Unknown => Confirmed

** Changed in: nouveau
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to libdrm in Ubuntu.
https://bugs.launchpad.net/bugs/1257612

Title:
  divide by zero error in radeon_surface.c when opening chrome with
  WebGL enabled

Status in Accelerated Xorg driver for nVidia cards:
  Confirmed
Status in “libdrm” package in Ubuntu:
  New

Bug description:
  Passing a tile_split of zero to eg_surface_init_2d causes a divide by
  zero error. Launching chromium with WebGL enabled on a AMD Llano
  (A8-3850) exhibits this behavior and webgl then fails to work. The
  attached patch fixes the problem and allows WebGL to work in chrome on
  this platform.

  Additional information:

  lsb_release -rd
  Description:	Ubuntu 13.10
  Release:	13.10

  Package version: 
  libdrm_2.4.46-1ubuntu1

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



More information about the foundations-bugs mailing list