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

MCEdit won't start... #696

Closed
silentdude247 opened this issue Jul 6, 2016 · 27 comments
Closed

MCEdit won't start... #696

silentdude247 opened this issue Jul 6, 2016 · 27 comments

Comments

@silentdude247
Copy link

I've been trying to run MCEdit 1.5.3.0 (64 bit) on my computer but it just refuses to run properly no matter what I do. I've tried searching for a solution on other threads but nothing seems to work for me. I've taken a screenshot in the hopes that it will somewhat help, and I expect a lot of people will look at it and think just how much of a noob I am, but can someone just please tell me how to fix the damn thing. I have read the code, I just have no idea what the heck any of it means.
capture

@LaChal
Copy link
Collaborator

LaChal commented Jul 6, 2016

According to the screen-shot, you have a video driver issue.

Depending the version of Windows you're running on, you may want to upgrade it or install a prior version.

Searching with the keywords 'mcedit' and 'glWindowPos2d' (on this Github repo and more generally in any search engine) may give you some other related issues and their solution.

Please, if you can solve this, just post here, so we can close this issue 😄
(Post here too if you can't, of course 😉)

@silentdude247
Copy link
Author

silentdude247 commented Jul 6, 2016

Thanks LaChal...still haven't found a suitable solution yet, but thank you for bringing up the issue with the video driver, that would never have occurred to me, not that I know how to fix that problem.

And I should probably mention I'm running Windows 10. I had a slight feeling that it may have something to do with my version of windows, because a couple years back I used to use MCEdit quite often, except back then I was running MCEdit on my Windows Vista computer (which I no longer have) and it ran just fine. But now that I'm on a new computer and running Windows 10, it just doesn't seem to work the same anymore. Could it be possible that MCEdit hasn't yet been optimized to run on Windows 10?

@inxomnyaa
Copy link

inxomnyaa commented Jul 14, 2016

Exactly the same for me ;)

@silentdude247 does minecraft itself work for you? for me it doesn't

But fun fact: there are 4 issues with the same content lol

@HimbeersaftLP
Copy link

Oh, @thebigsmileXD you're here, too xD

@LaChal
Copy link
Collaborator

LaChal commented Jul 14, 2016

Since several people reported the same type of error concerning Windows 10 and OpenGL, we can't do much ourselves...

Looks like the OpenGL version on Windows 10 video drivers miss some functions.

You can find information in other reports: #692, #636

@codewarrior0
Copy link
Contributor

Looks like the OpenGL version on Windows 10 video drivers miss some functions.

It's more likely that the display context is getting a software-based OpenGL renderer instead of the hardware-based one provided by the GPU driver. The software renderer provided by Windows only supports GL version 1.1, which doesn't provide glWindowPos since it is a GL 1.4 feature. You don't ever want to use the software renderer because it will be very slow and will never use the hardware GPU.

To aid in debugging this problem, you should, immediately after initializing the display context via pygame.set_mode, ask the GL for version and renderer info and print/log the info. The version and renderer info can be obtained by calling:

GL.glGetString(GL.GL_VERSION), GL.glGetString(GL.GL_VENDOR), GL.glGetString(GL.GL_RENDERER)

Example code.

@silentdude247
Copy link
Author

silentdude247 commented Jul 14, 2016

So, in simpler terms, the problem is Windows 10? I am so confused right now...

@codewarrior0
Copy link
Contributor

No. The problem may be that MCEdit is trying to use a software renderer instead of using the GPU. This is a problem on any operating system.

The directions I gave are for the developers to find out if this is actually the case.

@silentdude247
Copy link
Author

Oh, right

@Khroki
Copy link
Collaborator

Khroki commented Jul 15, 2016

Yeah, sorry for lack of action, I got a full time job so time has been sparse.

@silentdude247
Copy link
Author

Ok, tried updating my video driver and as you can tell from the screenshots, it obviously didn't make any difference so...I'm at a loss.
videodriver
videodriverupdate
extra

@Khroki
Copy link
Collaborator

Khroki commented Jul 18, 2016

The problem is drivers with Microsoft Corporation in their name typically don't support OpenGL 1.4 functionality since they are semi-generic drivers only tested with DirectX and OpenGL 1.1, nothing to do with Windows 10 specifically and some Windows 8 machines have the same issue. You need to go to the driver manufacturer's website and find a driver from them. If they don't have a windows 10 driver you may need to install one designed for a previous windows version.

@silentdude247
Copy link
Author

Thanks 👍

@inxomnyaa
Copy link

A new little note: Checked on my Windows 8 machine without any change in the system. It worked fine before, installed the latest version and only this doesn't work anymore. i guess i had 1.6 before.

@LaChal
Copy link
Collaborator

LaChal commented Jul 19, 2016

Some video driver for Windows may have dropped support for some OpenGL versions.
We are looking for a solution/workaround on our side.

@inxomnyaa
Copy link

@LaChal i am sure the old MCEdit versions also used OpenGL. The old MCEdit works, only the new one doesn't

@LaChal
Copy link
Collaborator

LaChal commented Jul 21, 2016

@thebigsmileXD I'm sure that the piece of code which annoy us now worked fine one year ago when it was written and first released.
The fact is since Windows 10 is out we encounter this issue with some Intel video chipset which driver can't support OpenGL version that drivers for the same chipset supported for older systems...
Hard to debug on our side, because we don't have such chipset.

@Khroki
Copy link
Collaborator

Khroki commented Jul 22, 2016

If you know a version that works with these integrated chipsets under windows 10, let us know what version it is so we can see what changed.
Edit: preferably the last functioning version.

@silentdude247
Copy link
Author

Will do. Thanks

@Khroki
Copy link
Collaborator

Khroki commented Jul 23, 2016

Could you test this build? [Link removed]

@Khroki
Copy link
Collaborator

Khroki commented Jul 23, 2016

I think you'll be surprised what it'll run on now.
untitled
That video card has about the same performance and fewer features than a 1999 Nvidia TNT2.

@Khroki
Copy link
Collaborator

Khroki commented Jul 24, 2016

Calling this fixed for next release.

@Khroki Khroki closed this as completed Jul 24, 2016
@inxomnyaa
Copy link

Thank you! i'll try out the latest build.

@silentdude247
Copy link
Author

silentdude247 commented Jul 25, 2016

Still doesn't seem to work, it still crashes when I try to open it...I downloaded the build straight from the McEdit Unified website, not sure if that was the link you gave because it's been removed.

@Khroki
Copy link
Collaborator

Khroki commented Jul 25, 2016

Oh I thought you guys had tested it already, the test build is not on the official site since it is a test. HTTP:\lavaexpert.org\mceditgl1.1.zip

@inxomnyaa
Copy link

inxomnyaa commented Jul 25, 2016

Totally does work fine!
(and you accidently used \ instead of / in the link ;) )

@silentdude247
Copy link
Author

silentdude247 commented Jul 25, 2016

Thank you for putting the link back up, and thank you so much for the test build, it works like a charm :)

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

No branches or pull requests

6 participants