Recent

Author Topic: Problems with TBGLVirtualScreen on GTK2  (Read 717 times)

Lulu

  • Full Member
  • ***
  • Posts: 226
Problems with TBGLVirtualScreen on GTK2
« on: June 24, 2022, 05:33:45 pm »
Hi, I work on a project that use TBGLVirtualScreen. The main windows have two TBGLVirtualScreen showing differents graphics at same time and the user can interact with the mouse.
All work fine on Windows, but  problems occurs when I try to port this application under Linux-GTK2: graphics blinks or becomes black, app freeze.

So I try Tux-Game demo in BGRABitmap package that use two TBGLVirtualScreen on same form. It compile and run well on windows, but on Linux, I have the same problems.
Since my machine is Windows 10 based, I use VirtualBox to test under Linux Ubuntu 20 and 22, widgetset GTK2. May be problems comes from the virtual machine...?

Does someone with a real Linux machine have tested tux_game in Bgrabitmap package ?

[EDIT] problems appears only when the second TBGLVirtualScreen is activated.
« Last Edit: June 24, 2022, 07:42:33 pm by Lulu »
wishing you a nice life

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Problems with TBGLVirtualScreen on GTK2
« Reply #1 on: June 24, 2022, 09:48:12 pm »

Does someone with a real Linux machine have tested tux_game in Bgrabitmap package ?


Hi!

No problems with Suse Tumbleweed, fpc 3.2.2 laz 2.2.2

Winni

Lulu

  • Full Member
  • ***
  • Posts: 226
Re: Problems with TBGLVirtualScreen on GTK2
« Reply #2 on: June 25, 2022, 08:40:10 am »
Thanks you Winni. Ok, I stay on the idea that this is the virtual machine that brings its package of problems.
Sorry for the noise about BGRABitmap !
wishing you a nice life

 

TinyPortal © 2005-2018