cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

n00b
Adept I

FreeCAD freezes while editing an existing sketch

Hello,

I encoutered a driver bug related with OpenGL. It causes FreeCAD to freeze/crash while editing an existing sketch.

Why do I suspect it's AMD driver fault? Well, I made a few tests:
- Using Intel i5 8th gen laptop with iGPU doesn't crash
- Using desktop PC with Nvidia GPU doesn't crash
- Using desktop PC with AMD GPU results in crash
- Setting OpenGL acceleration to DISABLED in FreeCAD settings using desktop PC with AMD GPU prevents from crash.

I use updated Windows 10 with latest GPU drivers (adrenalin edition 24.1.1), CPU: Ryzen 5700x, GPU: RX 5700 XT.

To help you reproduce this problem I prepared a portable version of Freecad with a simple geometry file to test.
You can download it here:
7zip compressed: https://we.tl/t-QDgVCezjdn
zip compressed: https://we.tl/t-m7JpWzVd9o

Tutorial how to reproduce crash:
https://i.imgur.com/iXQZ3rg.png

Other people also encountered this bug with AMD GPU, you can find exaples here:
https://forum.freecad.org/viewtopic.php?t=80386
https://github.com/FreeCAD/FreeCAD/issues/9525
please read them thoroughly since you can find some (probably) useful hints there, e.g. this driver bug may be related with QT.

I think this information should be enough to fix this error. I spent a lot of time to prepare the files so you can test is easily.

0 Likes
4 Replies

Try posting this same thread at AMD Forum's  Developer Forum so that the Moderator can assign it to the forum's VULCAN/OPENGL forum for you by posting here: https://community.amd.com/t5/newcomers-start-here/bd-p/newcomer-forum

 

Thank you for the link, I reposted my problem there.

By the way have you contacted FreeCAD developers to see if it is a problem with FreeCAD itself?

I noticed that AMD doesn't have its ProRender Forum link anymore. I was going to include a link to that forum since it deals with AutoCad and other professional rendering apps. 

But I see under "Communities" ProRender seems to have been replaced with AI Forum instead.

0 Likes
peruka93
Staff

Fix is ready internally. Expect to be included in one of the future driver releases (may not be the soonest one).