Jump to content

RichL

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by RichL

  1. Thought I'd update everyone. (edited original post as it implied that this was a Leadwerks error....which it is most definitely not) Tried some other OpenGL apps and found that they we also failing, it looks like some were running happily off the Intel HD4600, It depended n what I was using...oddly one that confirmed it was Virtualbox... So it would appear in my case (an Intel/AMD Radeon laptop config), that 15.11 Crimson is not going to work. Steps for this were. removed intel and AMD drivers, and reinstalled the latest for both, go the same result removed the AMD drivers (so just intel 4600HD running now), works like a charm again reinstall latest AMD (redownloaded) 15.11. failed again magically find a copy of the old 15.3 Beta drivers (Josh recommended the last time AMD messed up) .. Works perfectly now. So note to self, never, ever, ever update from the 15.3 Beta drivers....and same up some money to replace card with an Nvidia (this laptop has a replaceable GPU)
  2. **EDIT.... Not a Leadwerks problem, but it did help me identify it. Finally decided to give Leadwerks another go (the new tree painting features are looking awesome) and have run into what I assume is the Radeon driver issue (again). Cannot even start Leadwerks, goes straight to the error "Exception_access_violation" Just thought I'd post the details of my driver here. Have tried the latest beta (29-Nov-2015) and the current "release" version. Same error, so I am pretty comfortable is stating that AMD has broken something again for me. Driver details Radeon Software Version - 15.11 Radeon Software Edition - Crimson Windows Version - Windows 7 (Service Pack 1) System Memory - 16 GB CPU Type - Intel® Core™ i7-4700MQ CPU @ 2.40GHz Graphics Card Manufacturer - Powered by AMD Graphics Chipset - AMD Radeon™ HD8970M Device ID - 6801 Vendor ID - 1002 SubSystem ID - 7104 SubSystem Vendor ID - 1558 Revision ID - 00 Bus Type - PCI Express 3.0 Current Bus Settings - PCI Express 3.0 x16 BIOS Version - 015.032.000.003 BIOS Part Number - BR44465.003 BIOS Date - 2013/04/23 04:09 Memory Size - 4096 MB Memory Type - GDDR5 Memory Clock - 1250 MHz Core Clock - 900 MHz Total Memory Bandwidth - 160 GByte/s 2D Driver File Path - /REGISTRY/MACHINE/SYSTEM/ControlSet001/Control/Class/{4d36e968-e325-11ce-bfc1-08002be10318}/0001
  3. Thanks Josh. Is it likely that other Terrain commands (not for creation) will become part of the documented API? Like GetElevation for scripted object placement?
  4. so I wonder if we should raise the terrain functions not being documented as a bug (for visibility)?
  5. That's specifically the area I am looking at as well. Taking the only terrain code I found (in C++ ) and flipping it to Lua is a challenge to say the least (half commands don't work, or more likely I am calling them incorrectly).
  6. *bump* so have I got it wrong on the undocumented commands? (i.e. there are none?)
  7. Hi, I have started to play with Lua (on Linux) and terrain functions. Using some code that I copied and modified from the following post http://www.leadwerks.com/werkspace/topic/10978-procedural-terrain/page__hl__terrain While I was changing the code to get it to work for me, I noticed some function do not come up as blue in the IDE, and most of the functions (in this case) can not be found in the online documentation but work. Maybe I searched the wrong area, but I would assume it was in the Documentation link on the main website menu (full site search did not help anyway). eg: SetLayerTexture, SetHeight, Terrain Here's my code, that does not yet do anything than create a slightly raise block of terrain (specially only a 1/4 of the terrain is raised for testing purposes) So I know most of the functions work, but it was a long trial an error process to get here. I would rather have some documentation tat exposed all the function/elements I can call/use) function Script:Start() local terrainSize = 128 terrain = Terrain:Create(terrainSize, true); terrain:SetLayerTexture(0, Texture:Load("AddOns/mountain_grass.tex"), 0); terrain:SetLayerTexture(0, Texture:Load("AddOns/mountain_grassdot3.tex"), 1); for y = 0, 64 - 1, 1 do for x = 0, 64 -1, 1 do height = myFuncT_Interpolate(x / 100.0, y / 100.0, 1.0); terrain:SetHeight(x,y,height); terrain:SetScale(1.5, 1.5, 1.5); end end end cheers rich
  8. Not sure if this helps, and apologies for the rather garbled post below, but I have got it all working on Ubuntu 14.04 with the latest AMD drivers. Config is an Intel embedded GPU and a discreet AMD GPU which is typical laptop config. Tested the project manager and it now works reliably. Make absolutely sure you have never installed the Intel graphics drivers (they only support OpenGL3 on Linux anyway), as far as I can work out you can not uninstall them cleanly enough to make the AMD install work. First Installed steam via terminal (sudo apt-get install steam) rebooted Steps...sort of. open "Files" the filemanagler go to properties select behaviours tab select the option "Run executable text files when they are opened" select close open a terminal to set a root password (makes the AMD installer behave correctly whe you run it .. the prompting does not work correctly) sudo passwd root still in terminal (will probably fail as you generally will not have them installed) remove older open source AMD drivers sudo apt-get remove fglrx fglrx-amdcccle (shut down and POWER OFF LAPTOP Ubuntu has a weird bug where it does not power off laptops correctly and reset the hardware) Download the amd-catalyst-14-9-linux-x86-x86-64.zip for AMD's website Extract the files Double click on amd-driver-installer-14.10.1006.1001-x86.x86_64.run enter root password you should get a warning (cant remember the text exactly) This warning is about looking in the log file "usr/share/ati/fglrx-install.log" DO SO, it has a list of application tools that are required to be installed via apt-get (I lost my list of this in a reboot), select cancel to look in the file. Repeat until this warning goes away Now finally you can select the option to "Generate Distribution specific driver package" Exit.... do not install by default (even if it prompts you) in terminal go to directory where you originally extracted the AMD driver, the deb packages should be there. sudo dpkg -i fglrx_14.100-0ubuntu1_amd64.deb sudo dpkg -i fglrx-amdcccle_14.100-0ubuntu1_amd64.deb sudo dpkg -i fglrx-dev_14.100-0ubuntu1_amd64.deb reboot and it all should be good. I have the above deb packages that I can post if I am allowed to, but they are probably specific to my build so your mileage may vary. cheers rich
  9. Project Manager causes crash in Beta 3.x, 3.3 and 3.2 Leadwerks steam (indie) Ubuntu 14.04.1 LTS x64 Clevo gaming laptop (Intel HD and AMD Radeon 8970M GPU) AMD Catalyst 14.9 driver installed Intel GPU drivers NOT installed Ubuntu converted to Kubuntu running Gnome (tried Unity display manager, same result) Leadwerks does run fine but I cannot create a new project Start Leadwerks via Steam build 428249 Go to File -> Project Manager New Project (project Type Lua) Enter Name MyTestGame Enter Author Rich Enter Copyright Rich Click OK Displays the following Projects MyGame MyTestGame Select MyTestGame Click OK Briefly shows game editor/IDE and closes Have deleted Leadwerks from the entire SteamApps/Steam Common Leadwerks folder and re-installed Same result Also have tried to use Project Manager to load the MyGame project, IDE just closes No feed back by crash in either case, but it DOES create the new project under projects, attempting to import the project results in the IDE crashing, also clicking Cancel causes it do crash as well Tried September archive release (3.2) same result. Deleted Leadwerks from SteamApps/Steam Common again and tried September release again If there are any logs I can send let me know, but I do accept that it may be that I an running a Ubuntu to Kubuntu convert, just looking for some pointers before I go an rebuild back to clean Ubuntu 14.04 cheers rich
×
×
  • Create New...