Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: tbgl_usevsync info

  1. #1
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    tbgl_usevsync info

    Petr,

    I use a WINXP OS emulated under vmWare.
    tbgl_usevsync gives error on emulated OS while works under standard OS. It seems like tbgl_usevsync is not present but TBGL is exactly the same.

    Is tbgl_usevsync keyword always present or you check the GPU and load tbgl_usevsync keyword depending on the GPU?

    Thanks
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  2. #2
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: tbgl_usevsync info

    Hi Eros,

    TBGL_UseVsync is always present.
    In case it fails, it should return non-zero value.

    Which error does it produce?

    I will check the code again to see where the problem could have its roots.


    Thanks and sorry for problems,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  3. #3
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: tbgl_usevsync info

    Hi Eros,

    I found the possible problem.
    Try attached DLL.

    The problem was in fact that if the function was not supported, I exited before parsing the parameter. That confused parser and caused problem.


    Petr
    Attached Files Attached Files
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: tbgl_usevsync info

    Under WIN98/ME Core engine seems not able to find the keyword.
    Just commenting that line all is working as usual even latest examples on particle system.

    I thought you was creating the keyword only if it was possible to use vsync.

    Of course I testing under virtualized OS so GPU is simulated via software.

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  5. #5
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: tbgl_usevsync info

    So the fix didn't work?


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  6. #6
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: tbgl_usevsync info

    Thanks Petr.
    I will test this evening but I'm sure you solved the problem

    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  7. #7
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: tbgl_usevsync info

    We typed at the same time
    We are too fast ...
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  8. #8
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: tbgl_usevsync info

    ;D ok

    One thing - could you run openGL test script on that virtual machine?


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  9. #9
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: tbgl_usevsync info

    Petr,

    I just tested new TBGL and confirm all is fine now.

    The following is the report I get from inside WINME emulated under vmWare:

    Vendor: MICROSOFT CORPORATION
    Renderer: GDI GENERIC
    OpenGL: 1.1.0
    Extensions( 3 ):
    GL_WIN_SWAP_HINT
    GL_EXT_BGRA
    GL_EXT_PALETTED_TEXTURE
    Ciao
    Eros
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  10. #10
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Re: tbgl_usevsync info

    3 extensions, now that is something

    Thanks a lot for the tests - they mean OpenGL runs in software implementation by MS.
    Is it possible to use real graphic drivers in VMWare?


    Thanks,
    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Page 1 of 2 12 LastLast

Similar Threads

  1. AllBasic.INFO
    By John Spikowski in forum Shout Box Area
    Replies: 1
    Last Post: 06-09-2010, 01:51

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •