[haiku-development] Re: Netbook video driver bug? BScreen.WaitForRetrace()

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 09 Aug 2010 12:23:29 +0200

hey68 you <hey68you@xxxxxxxxx> wrote:
> The Yab interpreter by Jan Bungeroth has a screenshot function. On 
> netbooks,
> this function seems to hang when it calls:
> 
> BScreen.WaitForRetrace()
> 
> (This is called without the timeout parameter).
> 
> Is this a netbook video-driver bug?

There is no "netbook video" driver, although most of them use Intel 
G945 graphics, and therefore the intel_extreme driver. And it's very 
well possible, that there is a bug in the driver that causes this 
behaviour.

> Also, as a work-around, would it be safe to comment this line out, as 
> doing
> so seems avoid the hang and it seems to work normally thereafter (and 
> would
> this affect using the screenshot function on other non-netbook 
> machines)?

For screenshots, this method makes little sense, anyway. It's useful 
for drawing on screen in order to not draw during screen update.

Bye,
   Axel.


Other related posts: