Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error reading file on every step files #144

Open
physnoct opened this issue Aug 24, 2022 · 6 comments
Open

Error reading file on every step files #144

physnoct opened this issue Aug 24, 2022 · 6 comments
Labels

Comments

@physnoct
Copy link

physnoct commented Aug 24, 2022

DEBUG: OpenCascade settings file doesn't exist or is not readable [path=opencascade.conf]
TKOpenGl | Type: Other | ID: 0 | Severity: Medium | Message:
OpenGl_Window::CreateWindow: window Visual is incomplete: no stencil buffer
WARNING: internal error: void QXcbWindow::setNetWmStateOnUnmappedWindow() called on mapped window
TKOpenGl | Type: Other | ID: 0 | Severity: Medium | Message:
OpenGl_Window::CreateWindow: window Visual is incomplete: no stencil buffer

@sebmestrallet
Copy link

Hello, I may not be related, but I had a similar issue (infinite loading) with only the first 3 lines of your logs.

My solution was to use Intel graphics instead of NVIDIA (on Ubuntu, with __NV_PRIME_RENDER_OFFLOAD and __GLX_VENDOR_LIBRARY_NAME shell variables).

@HuguesDelorme
Copy link
Member

Hello @sebmestrallet
If you are running latest Mayo version(built from develop branch) then you should have access to Help->System Information command(see #210)
Could you then please post here the whole information with your NVidia device on
Post as well what you get with Intel chipset on(maybe only the "OpenGL" related infos)
Thanks!

@sebmestrallet
Copy link

I tried to install from sources (I used the AppImage before), but sadly Qt 5.14 is not available on the Ubuntu 20.04 LTS apt repository. And I don't have the rights to add PPAs on my PC...

I forgot to say in my last message that the warning/error lines are still printed with Intel drivers but it works.

@sebmestrallet
Copy link

Some news: I have another work PC on my hands, on Ubuntu 22.04 this time. The build instructions for Debian work perfectly. I no longer have any problems with NVIDIA drivers. Here is the System Information output, OpenGL parts.

With Intel graphics drivers:

OpenGL:
    GLXDirectRendering: Yes
    GLXVendor: SGI
    GLXVersion: 1.4
    GLXClientVendor: Mesa Project and SGI
    GLXClientVersion: 1.4
    GLvendor: Intel
    GLdevice: Mesa Intel(R) Graphics (ADL GT2)
    GLversion: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1
    GLSLversion: 4.60
    Max texture size: 16384
    Max FBO dump size: 4096x16384
    Max combined texture units: 192
    Max MSAA samples: 16
    Viewport: 100x100
    GPU memory: 31773 MiB
    MaxDegreeOfAnisotropy: 16
    MaxDrawBuffers: 8
    MaxClipPlanes: 8
    HasRayTracing: true
    HasRayTracingTextures: false
    HasRayTracingAdaptiveSampling: true
    UseVBO: true
    MaxDumpSizeX: 4096
    MaxDumpSizeY: 16384
    HasRayTracingAdaptiveSamplingAtomic: false
    HasTextureBaseLevel: true
    HasSRGB: true
    RenderSRGB: true
    IsWindowSRGB: true
    HasPBR: true

With NVIDIA drivers:

OpenGL:
    GLXDirectRendering: Yes
    GLXVendor: NVIDIA Corporation
    GLXVersion: 1.4
    GLXClientVendor: NVIDIA Corporation
    GLXClientVersion: 1.4
    GLvendor: NVIDIA Corporation
    GLdevice: NVIDIA T600 Laptop GPU/PCIe/SSE2
    GLversion: 4.6.0 NVIDIA 535.86.05
    GLSLversion: 4.60 NVIDIA
    Max texture size: 32768
    Max FBO dump size: 32768x32768
    Max combined texture units: 192
    Max MSAA samples: 64
    Viewport: 100x100
    GPU free memory: 3852 MiB
    GPU memory: 4096 MiB
    MaxDegreeOfAnisotropy: 16
    MaxDrawBuffers: 8
    MaxClipPlanes: 8
    HasRayTracing: true
    HasRayTracingTextures: true
    HasRayTracingAdaptiveSampling: true
    UseVBO: true
    MaxDumpSizeX: 32768
    MaxDumpSizeY: 32768
    HasRayTracingAdaptiveSamplingAtomic: true
    HasTextureBaseLevel: true
    HasSRGB: true
    RenderSRGB: true
    IsWindowSRGB: true
    HasPBR: true

I still have

DEBUG: OpenCascade settings file doesn't exist or is not readable [path=opencascade.conf]
TKOpenGl | Type: Other | ID: 0 | Severity: Medium | Message:
  OpenGl_Window::CreateWindow: window Visual is incomplete: no stencil buffer

warning lines printed at runtime in both cases.

@HuguesDelorme
Copy link
Member

Hello @sebmestrallet
Good to see it works on your side, thanks for the feedback
That TKOpenGl message is an OpenCascade warning and shouldn't cause rendering problems(see comment)

@HuguesDelorme
Copy link
Member

HuguesDelorme commented Nov 17, 2023

@physnoct
Are you still having the issue? What about the 3D graphics, do you see the STEP file correctly rendered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants