Page 1 of 1

[PB 5.46LTS] WebGadget content flickering?

Posted: Tue Dec 11, 2018 2:59 pm
by Kukulkan
Hi,

I'm on PB 5.46 LTS (x64) on Mac OS High Sierra. Even if I run the WebGadget example from the PB help, the content (website) is flickering. The more action, the more it flickers (scrolling, mouse movement). Opening the same pages in Safari is with no problems.

The flickering also appears on the PureBasic Help pages. I believe PB help uses WebGadget to display the help, too. So it might be a general WebGadget issue?

Any idea about how I can stop this? Is it the same for others?

Re: [PB 5.46LTS] WebGadget content flickering?

Posted: Tue Dec 11, 2018 5:08 pm
by Kukulkan
I did a video of the flicker. Sadly, it does not show all the flicker, but most:

http://x-beliebig.info/Images/simplescr ... .05.07.mp4

Re: [PB 5.46LTS] WebGadget content flickering?

Posted: Tue Dec 11, 2018 5:51 pm
by ccode
Hi Kukulkan!

I do not use a Mac, but I know such a problem on Windows and Linux too.
This had to do with the hardware acceleration of the browser and old graphics card drivers.
I think it is due to the display settings of the browser. (Renderer)

Re: [PB 5.46LTS] WebGadget content flickering?

Posted: Sun Dec 16, 2018 10:08 pm
by Shardik
I can't confirm any flicker running the 1st WebGadget example from PureBasic help using PB 5.46 x86 on MacOS 10.6.8 (Snow Leopard) and PB 5.46 x64 on MacOS 10.13.6 (High Sierra).

What hardware are you using for your video demonstrating the flickering?

My hardware is already 8 years old:
iMac 21.5', mid 2010
Intel Core i5 3.6 GHz
12 GB 1333 MHz DDR3
ATI Radeon HD 5670 512 MB

Re: [PB 5.46LTS] WebGadget content flickering?

Posted: Fri Feb 12, 2021 3:56 pm
by J. Baker
I get the flickering too. Lots of it. It's like there's no hardware acceleration or something. Debugger is off.

Code: Select all

If OpenWindow(0, 0, 0, 1024, 600, "WebGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) 
    WebGadget(0, 0, 0, 1024, 600, "https://www.purebasic.com") 
  Repeat 
  Until WaitWindowEvent() = #PB_Event_CloseWindow 
EndIf

Re: [PB 5.46LTS] WebGadget content flickering?

Posted: Fri Feb 12, 2021 10:02 pm
by Shardik
I still can't confirm any flickering running J. Baker's example on my more current iMac 2019 with Big Sur 11.2.1 using PB 5.46 x64 and PB 5.73 x64.

My hardware:
iMac Retina 5K, 27", 2019
3 GHz 6-Core intel Core i5
8 GB 2667 MHz DDR4
Radeon Pro 570X 4 GB

Re: [PB 5.46LTS] WebGadget content flickering?

Posted: Sun Feb 14, 2021 3:39 am
by dibor
I do not have any flickering, but trackpad 2 works bad.
Page is stack, time to time, while moving.

Here Mac mini with M1 and Big Sur 11.2, PB 5.73