Padman Posted August 7, 2014 Share Posted August 7, 2014 Just for information, I succesfully install Leadwerks on my Arch Linux with nvidia drivers so I just want to explain how I did it if someone has some trouble. My system : Arch Linux x64 with Nvidia drivers Nvidia GTX 670 Core i5 3570K Gnome 3 First, I installed these packages : # pacman -S gcc nvidia-libgl lib32-openal gtk-engines gtk-engine-murrine lib32-libx11 lib32-libxxf86vm lib32-glib2 lib32-gtk2 Next, I had some problems with the gtk lib path, so I had to set this environment variable : $ export GTK_PATH=:/usr/lib/gtk-2.0 You can also add this line at the end of your .xinitrc file to automatically set this env at startup. Now you can start the LeadwerksUpdater and finally the editor when the update has finished. If someone have an other arch linux configuration with some other steps to do. You can post it here. 1 2 Quote Link to comment Share on other sites More sharing options...
Maokei Posted January 7, 2015 Share Posted January 7, 2015 Noticed that when I click on a texture in the editor to open the Texture editor leadwerks crashes for me on arch, anyone else been having this problem ? Quote Link to comment Share on other sites More sharing options...
DerRidda Posted January 7, 2015 Share Posted January 7, 2015 Some detailed system information would be nice and also check if there is something in ~/.leadwerks/leadwerks.log Quote Link to comment Share on other sites More sharing options...
Maokei Posted January 7, 2015 Share Posted January 7, 2015 I'm running leadwerks on an optimus laptop with nvidia 620M, so I run leadwerks with primusrun %command%. Noticed that when leadwerks starts it complains about a missing font but leadwerks seems to work just fine anyway running examples etc so I don't think that caused the crash. Error: Failed to load font "/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf" Arch Linux 64 Gnome Shell Installed dependencies just like above and set gtk environment variable. Here is my Leadwerks.log : ~/.leadwerks/leadwerks.log Initializing OpenGL4 graphics driver... OpenGL version 440 GLSL version 440 Device: GeForce GT 620M/PCIe/SSE2 Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Common/bfn.tex"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/terraintool.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/wireframe.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/solid.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Model/default.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/grid.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Lighting/ambientlight.shader"... Error: Failed to load font "/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf" Loading font "/home/maokei/Documents/Leadwerks/Projects/MyGame/Fonts/arial.ttf"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Drawing/drawtext.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Drawing/drawprimitive.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/skybox.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Misc/occlusionquery.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Model/Shadow/shadow.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Lighting/directionallight.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Drawing/drawimage.shader"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Sky/skybox_texture.tex"... Loading material "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Icons/DirectionalLight.mat"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/sprite.shader"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Icons/DirectionalLight.tex"... Loading model "/home/maokei/Documents/Leadwerks/Projects/MyGame/Models/Characters/Generic/generic.mdl" Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/stamp.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/updatenormals.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/clear.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/clipmap.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/terrain.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/textured.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/solid.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/wireframe.shader"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Dirt/dirt01.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Dirt/dirt01_dot3.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Rock/rockwall01.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Rock/rockwall01_dot3.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Rock/rockwall01_disp.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Snow/snow01.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Snow/snow01_dot3.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Snow/snow01_disp.tex"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Lighting/directionallight.shader"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Developer/GreenGrid.tex"... Deleting te - The model viewer and material editor seems to work just fine. also log from /document/Leadwerks/Leadwerks.log Syncing Addons... Initializing... Initializing OpenGL4 graphics driver... OpenGL version 440 GLSL version 440 Device: GeForce GT 620M/PCIe/SSE2 Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Common/bfn.tex"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/terraintool.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/wireframe.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/solid.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Model/default.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/grid.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Lighting/ambientlight.shader"... Error: Failed to load font "/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-L.ttf" Loading font "/home/maokei/Documents/Leadwerks/Projects/MyGame/Fonts/arial.ttf"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Drawing/drawtext.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Drawing/drawprimitive.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/skybox.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Misc/occlusionquery.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Model/Shadow/shadow.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Lighting/directionallight.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Drawing/drawimage.shader"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Sky/skybox_texture.tex"... Loading material "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Icons/DirectionalLight.mat"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Editor/sprite.shader"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Icons/DirectionalLight.tex"... Loading model "/home/maokei/Documents/Leadwerks/Projects/MyGame/Models/Characters/Generic/generic.mdl" Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/stamp.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/updatenormals.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/clear.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/clipmap.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/terrain.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/textured.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/solid.shader"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Terrain/wireframe.shader"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Dirt/dirt01.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Dirt/dirt01_dot3.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Rock/rockwall01.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Rock/rockwall01_dot3.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Rock/rockwall01_disp.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Snow/snow01.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Snow/snow01_dot3.tex"... Loading texture "/home/maokei/Documents/Leadwerks/Projects/MyGame/Materials/Snow/snow01_disp.tex"... Loading shader "/home/maokei/Documents/Leadwerks/Projects/MyGame/Shaders/Lighting/directionallight.shader"... Failed to load thumbnail 6 for /home 1 Quote Link to comment Share on other sites More sharing options...
gamedeviancy Posted January 28, 2015 Share Posted January 28, 2015 Did you try looking in the arch repository for ubuntu font family? Quote "The only true wisdom is in knowing you know nothing." ~ Socrates Link to comment Share on other sites More sharing options...
Guppy Posted January 28, 2015 Share Posted January 28, 2015 From what I can tell above you don't need the font, but you can get it for free here; http://font.ubuntu.com/ Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k Link to comment Share on other sites More sharing options...
gamedeviancy Posted January 28, 2015 Share Posted January 28, 2015 An arch user can in fact obtain the ubuntu font family package from the official arch repositories, with: pacman -S ttf-ubuntu-font-family The error will still occur on launching the editor, as Arch stores the fonts in a different directory setup. I see it every time I load up the editor on my system. I haven't bothered to ask about fixing it, and I know I even could redneck rig it up by sym linking the font to a different directory (structured the Ubuntu way). I haven't bothered with this either, because like Guppy said, it shouldn't matter. The editor seems to run fine for me even though it throws the error upon booting every time. I posed the question because I was hesitant to give a fellow arch user the entire solution any problem, as this is not the 'Arch Way'. The message boards over at Arch have a different culture than the ones here at Leadwerks, and it is so with good reason. Leadwerks is a commercially licensed product, whereas Arch is an open source project developed by programmers/hobbyists in their spare time. It made me cringe to read through a post on Leadwerks boards that an 'Arch user' requested a refund because he/she was upset that Leadwerks didn't work out of the box. That particular user failed to recognized that his/her issue was in fact O/S specific. The Arch O/S is extremely vulnerable to the PEBKAC virus. Quote "The only true wisdom is in knowing you know nothing." ~ Socrates Link to comment Share on other sites More sharing options...
Ronald Buanno Posted February 1, 2015 Share Posted February 1, 2015 Why Arch of Ubuntu? Just curious? Quote Ubuntu 14.04 (64-Bit) - Intel Core i7-2700K - Geforce GTX 670 - 8GB RAM Link to comment Share on other sites More sharing options...
gamedeviancy Posted February 13, 2015 Share Posted February 13, 2015 Why Arch of Ubuntu? Why choose Arch over Ubuntu? The answer is simple. https://wiki.archlinux.org/index.php/The_Arch_Way Also this. https://wiki.archlinux.org/index.php/Arch_compared_to_other_distributions#Ubuntu Quote "The only true wisdom is in knowing you know nothing." ~ Socrates Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.