GithubHelp home page GithubHelp logo

Comments (11)

alecjacobson avatar alecjacobson commented on August 22, 2024 2

from computer-graphics-bounding-volume-hierarchy.

abhimadan avatar abhimadan commented on August 22, 2024

Have you installed the relevant X11 packages? See the readme for a list of packages you need to have installed before starting the assignment.

from computer-graphics-bounding-volume-hierarchy.

s99090 avatar s99090 commented on August 22, 2024

Yes, I think I installed them all. Any specific one? So I can try to reinstall it.

from computer-graphics-bounding-volume-hierarchy.

s99090 avatar s99090 commented on August 22, 2024

I guess I need some Graphical Programs. Any suggestions for which program is better to install? Xming?

from computer-graphics-bounding-volume-hierarchy.

abhimadan avatar abhimadan commented on August 22, 2024

Yeah I was just about to suggest that, since I realized that those package problems prevented people from even compiling their code. Xming (or any X server really) should work fine.

from computer-graphics-bounding-volume-hierarchy.

abhimadan avatar abhimadan commented on August 22, 2024

I believe X windowing needs to be set up for this assignment to work on any Linux system, even when run locally. It usually isn't a problem since most conventional Linux systems already have everything set up out of the box, but you need to install a separate X server on Windows to get WSL to run graphical programs.

from computer-graphics-bounding-volume-hierarchy.

s99090 avatar s99090 commented on August 22, 2024

I am running WSL locally.
I installed Xming and then the error msg became
GLX: GLX version 1.3 is required

And my glxinfo is:

server glx version string: 1.2
client glx version string: 1.4
GLX version: 1.2
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL version string: 3.1 Mesa 19.0.8
OpenGL shading language version string: 1.40

I am still trying to figure out how to upgrade that. May I get some help?

from computer-graphics-bounding-volume-hierarchy.

abhimadan avatar abhimadan commented on August 22, 2024

I'm a Mac user, so unfortunately I don't know how to solve this problem, though it looks to me as though your server glx version is too old, which is forcefully downgrading the running version. I think you should try to install a newer version of Xming that runs glx 1.3+.

from computer-graphics-bounding-volume-hierarchy.

s99090 avatar s99090 commented on August 22, 2024

I installed VcXsrv and GLX version is good now.

But I still encountered another issue:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
GLX: Failed to create context: GLXBadFBConfigThe GLFW library is not initializedThe GLFW library is not initializedThe GLFW library is not initializedSegmentation fault (core dumped)

Please help!

from computer-graphics-bounding-volume-hierarchy.

s99090 avatar s99090 commented on August 22, 2024

Well, the same error also was shown when I ran glxinfo.

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast

from computer-graphics-bounding-volume-hierarchy.

s99090 avatar s99090 commented on August 22, 2024

NVM! I fixed it with disabling the native opengl when starting VcXsrv.
link here

from computer-graphics-bounding-volume-hierarchy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.