![]() |
|
Error with OSMesa LDView - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: Administrative (https://forums.ldraw.org/forum-4.html) +--- Forum: Website Suggestions/Requests/Discussion (https://forums.ldraw.org/forum-23.html) +--- Thread: Error with OSMesa LDView (/thread-29534.html) |
Error with OSMesa LDView - Orion Pobursky - 2026-06-05 Travis, I updated the version of LDView on my dev server to 4.7 (Built from source using the 4.7 tag on the GitHub repo). 4.6 (also built from source using the 4.6 tag) works without error. 4.7 gives the following error: Quote:OSMesa not working! I verified that the server has libosmesa6 and libglu1-mesa installed. Apparently 4.7 added some other dependency that I can't figure out. The dev server is Debian 13. RE: Error with OSMesa LDView - Travis Cobbs - 2026-06-05 (2026-06-05, 18:14)Orion Pobursky Wrote: Travis, I will investigate. RE: Error with OSMesa LDView - Travis Cobbs - 2026-06-05 (2026-06-05, 18:22)Travis Cobbs Wrote: I will investigate. See if adding -IgnoreEGL=1 to the command line fixes the problem. RE: Error with OSMesa LDView - Orion Pobursky - 2026-06-05 I tried IgnoreEGL with both the ini file and commandline. Still have the same error. RE: Error with OSMesa LDView - Orion Pobursky - 2026-06-06 I did a build on my WSL Ubuntu image (24.04). If I run without input (just 'ldview') I get the following: Quote:libEGL warning: DRI3 error: Could not get DRI3 device If I run and specify a valid file path or if I run with -IgnoreEGL=1 (with or without a valid file path), I get the same error as Debian 13. RE: Error with OSMesa LDView - Travis Cobbs - 2026-06-08 (2026-06-06, 4:42)Orion Pobursky Wrote: I did a build on my WSL Ubuntu image (24.04). I think I tracked down the problem. The problem is that when EGL support was added, the OSMesa library moved in the link order, and that is causing it not to work. The solution is to put -lOSMesa before -lGLU like it was before. I have asked Peter (who did that change) to fix the Makefile properly, and will let you know once that has been done. RE: Error with OSMesa LDView - Orion Pobursky - 2026-06-08 (2026-06-08, 1:36)Travis Cobbs Wrote: I think I tracked down the problem. The problem is that when EGL support was added, the OSMesa library moved in the link order, and that is causing it not to work. The solution is to put -lOSMesa before -lGLU like it was before. I have asked Peter (who did that change) to fix the Makefile properly, and will let you know once that has been done. Awesome! Thanks, as always, for the effort. I really appreciate it. RE: Error with OSMesa LDView - Travis Cobbs - 2026-06-08 (2026-06-08, 4:04)Orion Pobursky Wrote: Awesome! Thanks, as always, for the effort. I really appreciate it. You're welcome. If you pull again from master, the Makefile fix will be present. RE: Error with OSMesa LDView - Orion Pobursky - 2026-06-08 (2026-06-08, 15:00)Travis Cobbs Wrote: You're welcome. If you pull again from master, the Makefile fix will be present. I rebuilt from master and it works now. Thanks again. RE: Error with OSMesa LDView - Orion Pobursky - 2026-06-08 (2026-06-08, 17:25)Orion Pobursky Wrote: I rebuilt from master and it works now. Thanks again. Not a deal breaker but I noticed that the -VerifyLDrawDir=0 flag isn't working. |