• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

Mojo2 Canvas not working on Windows 7

grant

Member
CX Code Contributor
3rd Party Module Dev
3rd Party Tool Dev
Joined
Nov 19, 2019
Messages
80
When testing on my Windows 7 desktop and Windows Vista VM Mojo2 projects don't run. The window appears, but closes when myCanvas=New Canvas() is called.

Mojo1 and MiniB3D examples do run correctly. Only Mojo2 has the problem.

I'm using MSVC.

Log from bouncyaliens.cxs example
Code:
Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:05.11
Cerberus Runtime Error : Memory access violation
C:/Users/grant/Downloads/Cerberus_v2021-05-16-Windows/Cerberus_v2021-05-16/modules/mojo2/glutil.cxs<57>
STOPPED
C:/Users/grant/Downloads/Cerberus_v2021-05-16-Windows/Cerberus_v2021-05-16/modules/mojo2/graphics.cxs<707>
C:/Users/grant/Downloads/Cerberus_v2021-05-16-Windows/Cerberus_v2021-05-16/modules/mojo2/graphics.cxs<783>
C:/Users/grant/Downloads/Cerberus_v2021-05-16-Windows/Cerberus_v2021-05-16/modules/mojo2/graphics.cxs<636>
C:/Users/grant/Downloads/Cerberus_v2021-05-16-Windows/Cerberus_v2021-05-16/modules/mojo2/graphics.cxs<595>
C:/Users/grant/Downloads/Cerberus_v2021-05-16-Windows/Cerberus_v2021-05-16/modules/mojo2/graphics.cxs<161>
C:/Users/grant/Downloads/Cerberus_v2021-05-16-Windows/Cerberus_v2021-05-16/modules/mojo2/graphics.cxs<1564>
C:/Users/grant/Downloads/Cerberus_v2021-05-16-Windows/Cerberus_v2021-05-16/modules/mojo2/graphics.cxs<2551>
C:/Users/grant/Downloads/Cerberus_v2021-05-16-Windows/Cerberus_v2021-05-16/examples/mojo2/bouncyaliens/bouncyaliens.cxs<97>
C:/Users/grant/Downloads/Cerberus_v2021-05-16-Windows/Cerberus_v2021-05-16/modules/mojo/app.cxs<96>

TRANS FAILED: Error executing 'CerberusGame', return code=-805306369
Done.
 
Last edited:
Did you check, if older versions of Cerberus are working?
I remember having some problems running mojo2 on WinXP machines, but this had to do with graphics drivers and I didn't want to deal with that on every machine.
 
I attached a report from GLEW. It says "OpenGL version 1.4.0 - Build 8.15.10.1912 is supported", but it also says that GL_VERSION_1_5 and GL_VERSION_2_0 are all "OK". Also I attached a graphics report generated by the system. Do mojo1 and mojo2 use different versions of OpenGL?
 

Attachments

  • glewinfo.txt
    274.9 KB · Views: 83
  • DiagnosticReport.txt
    2.1 KB · Views: 88
Yes, they do. Mojo uses opengl 1 or 2, mojo2 opengles 2 with shaders.
 
So you are using an Intel cpu with an integrated graphics chip? I couldn't see which one exactly but can you tell me? Or is it an emulated machine?
 
Processor: Intel® Pentium® Processor E5300
Display Adapter: Intel(R) G33/G31 Express Chipset Family

It is not an emulated machine. That was the Windows 7 desktop.

When I used GLEW on the Vista virtual machine it says OpenGL 2.1 is supported. I attached the GLEW report for it.
 

Attachments

  • glewinfo - for Vista VM.txt
    274.3 KB · Views: 78
It doesn't support OpenGL 3 which is almost equal to OpenGL ES 2. did you try
the Angle target? That should work with mojo2. I think it translates to Directx 9 which this chip will support.
 
OK, I see. I can't get Angle to compile. I attached the compile log. All my Windows computers are over 10 years old or are VMs, so that's probably just why they have poor OpenGL support. The cheap Windows 10 tablet I have runs the OpenGL builds fine (it's like 6 years old).
 

Attachments

  • angle-log.txt
    11 KB · Views: 91
Intel video cards are the worst. I remember once writing my own engine and I caugt at least 3 cards LYING about their capabilities!
They all told me they supported 24-bits depth buffer, but in reality they only supported 16 bits on OpenGL (24 bits was only under Direct-X!)

So... do not trust those 'reports' when it comes to Intel cards. They will tell you 'feature x' works, but if you actually try to use it - specially under Windows with OpenGL - you're going to have tons of headache.
 
Back
Top Bottom