kmkolasinski / AwesomeBump

AwesomeBump is a free program written using Qt library designed to generate normal, height, specular or ambient occlusion textures from a single image. Since the image processing is done in 99% on GPU the program runs very fast and all the parameters can be changed in real time. AB was made to be a new alternative to known gimp plugin called Insane Bump.
GNU General Public License v3.0
1.66k stars 179 forks source link

Awesome bump crash GPU driver when opening and freeze? #44

Closed ghost closed 8 years ago

ghost commented 9 years ago

Hello I have an AMD HD 5450 running on windows 10.When I opened awesome bump it crashes the driver and then it not respond,while putting in mind that it was working fine in windows 8.Using version 4 from awesome bump.

kmkolasinski commented 9 years ago

Hi, 1) I would like to see the log file. 2) I don't know if provided Qt libraries will work win 10.

ghost commented 9 years ago

[10/07/2015 04:47:55] {Debug} Starting application: [10/07/2015 04:47:56] {Debug} "Running the AwesomeBump 4.0 Beta (2015)" [10/07/2015 04:47:56] {Debug} Checking OpenGL version... [10/07/2015 04:47:56] {Debug} Widget OpenGL: 4 . 5 [10/07/2015 04:47:56] {Debug} Context valid: true [10/07/2015 04:47:56] {Debug} OpenGL information: [10/07/2015 04:47:56] {Debug} VENDOR: ATI Technologies Inc. [10/07/2015 04:47:56] {Debug} RENDERER: AMD Radeon HD 5450 [10/07/2015 04:47:56] {Debug} VERSION: 4.5.13394 Compatibility Profile Context 15.200.1023.7 [10/07/2015 04:47:56] {Debug} GLSL VERSION: 4.40 [10/07/2015 04:47:56] {Debug} Version: 4.5 [10/07/2015 04:47:56] {Debug} Loading cubemaps folders: [10/07/2015 04:47:56] {Debug} Enviromental map: "ground1.png" [10/07/2015 04:47:57] {Debug} Enviromental map: "pattern1.png" [10/07/2015 04:47:57] {Debug} Enviromental map: "pattern2.png" [10/07/2015 04:47:57] {Debug} Enviromental map: "pattern3.png" [10/07/2015 04:47:57] {Debug} Enviromental map: "pattern4.png" [10/07/2015 04:47:57] {Debug} Reading the list of available configs settings: [10/07/2015 04:47:57] {Debug} Loading Settings: "Configs/37_Bricks.ini" [10/07/2015 04:47:57] {Debug} Loading Settings: "Configs/38_Doors.ini" [10/07/2015 04:47:57] {Debug} Loading Settings: "Configs/39_window1.ini" [10/07/2015 04:47:57] {Debug} Loading Settings: "Configs/40_pistol.ini" [10/07/2015 04:47:57] {Debug} Loading Settings: "Configs/41_Default.ini" [10/07/2015 04:47:57] {Debug} Loading Settings: "Configs/42_piran_house.ini" [10/07/2015 04:47:57] {Debug} Loading Settings: "Configs/43_BlackMaterial.ini" [10/07/2015 04:47:57] {Debug} Loading Settings: "Configs/44_Test.ini" [10/07/2015 04:47:57] {Debug} Loading Settings: "Configs/45stone.ini" [10/07/2015 04:47:57] {Debug} Supported GUI styles: "Windows, WindowsXP, WindowsVista, Fusion" [10/07/2015 04:47:57] {Debug} Load settings: [10/07/2015 04:47:57] {Debug} Calling void MainWindow::loadSettings() loading from "config.ini" [10/07/2015 04:47:57] {Debug} Changing 3D settings [10/07/2015 04:47:57] {Debug} void FBOImageProporties::init(QImage&) [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 2 [10/07/2015 04:47:57] {Debug} void FBOImageProporties::init(QImage&) [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 4 [10/07/2015 04:47:57] {Debug} void FBOImageProporties::init(QImage&) [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 6 [10/07/2015 04:47:57] {Debug} void FBOImageProporties::init(QImage&) [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 8 [10/07/2015 04:47:57] {Debug} void FBOImageProporties::init(QImage&) [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 10 [10/07/2015 04:47:57] {Debug} void FBOImageProporties::init(QImage&) [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 12 [10/07/2015 04:47:57] {Debug} void FBOImageProporties::init(QImage&) [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 14 [10/07/2015 04:47:57] {Debug} void FBOImageProporties::init(QImage&) [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 16 [10/07/2015 04:47:57] {Debug} Material index: 0 Color : QColor(ARGB 1, 0, 0, 0) [10/07/2015 04:47:57] {Debug} Material index: 16646655 Color : QColor(ARGB 1, 1, 1, 1) [10/07/2015 04:47:57] {Debug} Updating material indices. Total indices count: 2 [10/07/2015 04:47:57] {Debug} void FBOImageProporties::init(QImage&) [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 18 [10/07/2015 04:47:57] {Debug} Loading cubemaps folders: [10/07/2015 04:47:57] {Debug} Enviromental map: "1SaintLazarusChurch" [10/07/2015 04:47:57] {Debug} Enviromental map: "LancellottiChapel" [10/07/2015 04:47:57] {Debug} Enviromental map: "MarriottMadisonWest" [10/07/2015 04:47:57] {Debug} Enviromental map: "Park" [10/07/2015 04:47:57] {Debug} Enviromental map: "PereaBeach" [10/07/2015 04:47:57] {Debug} Enviromental map: "White" [10/07/2015 04:47:57] {Debug} Enviromental map: "Yokohama" [10/07/2015 04:47:57] {Debug} Reading new cube map: ("Core/2D/skyboxes/1SaintLazarusChurch/posx.jpg", "Core/2D/skyboxes/1SaintLazarusChurch/negx.jpg", "Core/2D/skyboxes/1SaintLazarusChurch/posy.jpg", "Core/2D/skyboxes/1SaintLazarusChurch/negy.jpg", "Core/2D/skyboxes/1SaintLazarusChurch/posz.jpg", "Core/2D/skyboxes/1SaintLazarusChurch/negz.jpg") [10/07/2015 04:47:57] {Debug} Generated number of mipmaps: 10 [10/07/2015 04:47:57] {Debug} Skipping glWidget repainting during first Env. maps. load. [10/07/2015 04:47:57] {Debug} calling virtual void MainWindow::resizeEvent(QResizeEvent) [10/07/2015 04:47:57] {Debug} calling virtual void GLImage::initializeGL() [10/07/2015 04:47:57] {Debug} OpenGL error "INVALID_ENUM" 500 at glClearColor((GLfloat)clearColor.red() / 255.0, (GLfloat)clearColor.green() / 255.0, (GLfloat)clearColor.blue() / 255.0, (GLfloat)clearColor.alpha() / 255.0) called from virtual void GLImage::initializeGL() in file ..\AwesomeBump\Sources\glimageeditor.cpp line 130 [10/07/2015 04:47:57] {Debug} Loading filters (fragment shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading filters (vertex shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 256 , 256 ) with id= 20 [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 1024 , 1024 ) with id= 21 [10/07/2015 04:47:57] {Debug} FBOImages::creating new FBO( 1024 , 1024 ) with id= 22 [10/07/2015 04:47:57] {Debug} Initializing 3D widget: detected openGL version: "4.5" [10/07/2015 04:47:57] {Debug} Loading quad (fragment shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading quad (geometry shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading quad (vertex shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading quad (tessellation control shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading quad (tessellation evaluation shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} OpenGL error "INVALID_ENUM" 500 at program->link() called from virtual void GLWidget::initializeGL() in file ..\AwesomeBump\Sources\glwidget.cpp line 309 [10/07/2015 04:47:57] {Debug} Compiling lines program... [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading skybox shader (vertex shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading skybox shader (fragment shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading enviromental shader (vertex shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading enviromental shader (geometry shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading enviromental shader (fragment shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading post-processing shader (vertex shader) [10/07/2015 04:47:57] {Debug} done [10/07/2015 04:47:57] {Debug} Loading post-processing shaders (fragment shader) [10/07/2015 04:47:57] {Debug} Compiling filter: "NORMAL_FILTER" [10/07/2015 04:47:57] {Debug} Compiling filter: "GAUSSIAN_BLUR_FILTER" [10/07/2015 04:47:57] {Debug} Compiling filter: "BLOOM_FILTER" [10/07/2015 04:47:57] {Debug} Compiling filter: "DOF_FILTER" [10/07/2015 04:47:57] {Debug} Compiling filter: "TONE_MAPPING_FILTER" [10/07/2015 04:47:57] {Debug} Compiling filter: "LENS_FLARES_FILTER" [10/07/2015 04:47:57] {Debug} Loading lensColors texture: (id= 23 ) [10/07/2015 04:47:57] {Debug} Loading lensDirt texture: (id= 24 ) [10/07/2015 04:47:57] {Debug} Loading lensDirt texture: (id= 25 ) [10/07/2015 04:47:58] {Debug} Mesh::Mesh(QString, QString) Loading new mesh: "Core/3D/Cube.obj" [10/07/2015 04:47:58] {Debug} Mesh::Mesh(QString, QString) Loading new mesh: "Core/3D/sky_cube.obj" [10/07/2015 04:47:58] {Debug} Mesh::Mesh(QString, QString) Loading new mesh: "Core/3D/sky_cubeenv.obj" [10/07/2015 04:47:58] {Debug} Mesh::Mesh(QString, QString) Loading new mesh: "Core/3D/quad.obj" [10/07/2015 04:47:58] {Debug} calling virtual void MainWindow::showEvent(QShowEvent) [10/07/2015 04:47:58] {Warning} setGeometryDp: Unable to set geometry 1600x838+8+31 on QWidgetWindow/'MainWindowWindow'. Resulting geometry: 1262x741+8+31 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 1262x491, maximum size: 16777215x16777215). [10/07/2015 04:47:58] {Debug} OpenGL error "INVALID_ENUM" 500 at glBindTexture(GL_TEXTURE_2D, 0) called from GLFrameBufferObject::GLFrameBufferObject(int, int) in file ..\AwesomeBump\Sources\utils\qglbuffers.cpp line 365 [10/07/2015 04:47:58] {Debug} calling virtual void MainWindow::resizeEvent(QResizeEvent*) [10/07/2015 04:47:58] {Debug} OpenGL error "INVALID_VALUE" 501 at m_prefiltered_env_map->bind() called from virtual void GLWidget::paintGL() in file ..\AwesomeBump\Sources\glwidget.cpp line 696 [10/07/2015 04:47:58] {Debug} OpenGL error "INVALID_VALUE" 501 at m_env_map->bind() called from virtual void GLWidget::paintGL() in file ..\AwesomeBump\Sources\glwidget.cpp line 700 [10/07/2015 04:47:58] {Debug} OpenGL error "INVALID_ENUM" 500 at glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) called from void GLImage::render() in file ..\AwesomeBump\Sources\glimageeditor.cpp line 328 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 41 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 42 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 43 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 512 , 512 ) with id= 44 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 1 , 1 ) with id= 45 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 1 , 1 ) with id= 46 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 1 , 1 ) with id= 47 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 1 , 1 ) with id= 48 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 1 , 1 ) with id= 49 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 1 , 1 ) with id= 50 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 1 , 1 ) with id= 51 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 1 , 1 ) with id= 52 [10/07/2015 04:47:58] {Debug} FBOImages::creating new FBO( 1 , 1 ) with id= 53 [10/07/2015 04:47:58] {Debug} Doing first draw of "diffuse" texture. [10/07/2015 04:47:58] {Debug} MainWindow::Initialization [10/07/2015 04:47:58] {Debug} OpenGL error "INVALID_VALUE" 501 at m_prefiltered_env_map->bind() called from virtual void GLWidget::paintGL() in file ..\AwesomeBump\Sources\glwidget.cpp line 696 [10/07/2015 04:47:58] {Debug} OpenGL error "INVALID_VALUE" 501 at m_env_map->bind() called from virtual void GLWidget::paintGL() in file ..\AwesomeBump\Sources\glwidget.cpp line 700 [10/07/2015 04:47:58] {Warning} QWidget::repaint: Recursive repaint detected [10/07/2015 04:48:00] {Debug} Doing first draw of "grunge" texture. [10/07/2015 04:48:00] {Debug} OpenGL error "INVALID_VALUE" 501 at m_prefiltered_env_map->bind() called from virtual void GLWidget::paintGL() in file ..\AwesomeBump\Sources\glwidget.cpp line 696 [10/07/2015 04:48:00] {Debug} OpenGL error "INVALID_VALUE" 501 at m_env_map->bind() called from virtual void GLWidget::paintGL() in file ..\AwesomeBump\Sources\glwidget.cpp line 700

kmkolasinski commented 9 years ago

I dont have no idea what causes the problem, but I will have access to a laptop with old ATI GPU this weekend, so I will try to locate any bugs.

kmkolasinski commented 9 years ago

Ok, I checked 4.0 on my old laptop. I have no problem with ATI. Did you tried to build AB from source? I uploaded a small fix tonight.

ghost commented 9 years ago

Sorry,but how do I build it,

kmkolasinski commented 9 years ago

Here is the instruction: https://github.com/kmkolasinski/AwesomeBump/releases/download/BuildingAB/BuildingInstruction.pdf Firstly you need to download the Qt creator from website: https://www.qt.io/download/

In the first post you wrote that AB was working for you on win 8. So if AB does not want to work with win10 it means that there are some driver problems or library problems. Building on win10 may help, but I'm not sure as I have not tried it yet.

ghost commented 9 years ago

Ok,will try that and tell you.

ghost commented 9 years ago

the project awesome bump is not yet configured QT creator uses the invaled kit desktop to parse the project. I cant build it.Is there is anything I should do?

kmkolasinski commented 9 years ago

I does not work if you push the "configure project" button? (Step 6 in pdf. )

ghost commented 9 years ago

The "configure project" button is grayed error

kmkolasinski commented 9 years ago

Did you try to build any example code provided by Qt? The process is similar. You can find examples in "Welcome" tab.

ghost commented 9 years ago

Actually they are not working either,there is a problem I cant identify,I will do some searches on the internet until I find a solution.

kmkolasinski commented 9 years ago

Maybe you don't have installed gcc toolkit compiler. I don't know, just guessing.

Sp4iK commented 8 years ago

No news since July? I'm having almost the same problem with the same video card on Win10 x64. I have the latest drivers from AMD/Ati.

kmkolasinski commented 8 years ago

Could you try the clean-legacy branch: https://github.com/kmkolasinski/AwesomeBump/tree/clean-legacy-gl Its not working properly, but we are testing there different possibilities to make AB working on other GPUs. Thats the only changes since july...

Sp4iK commented 8 years ago

I'll try as soon as I can and comment you.

kmkolasinski commented 8 years ago

All right, thanks!

Sp4iK commented 8 years ago

Found the problem, nothing to do with the software but with the Windows (I don't know if this is only on Win10 or previous versions are also affected). I've found it after installing and trying to use Quixel Suite and Allegorithmic Substance Painter and both were crashing the same way.

It looks like it is something to do with a timeout the system has to prevent it from locking if there is a long rendering process going on. More info here: https://support.allegorithmic.com/documentation/display/SPDOC/GPU+drivers+crash+with+long+computations

I have just edited the registry to change the timeout values and after a reboot everything is working fine.

kmkolasinski commented 8 years ago

Ok, thanks for the info, I've already meet similar problem few months ago. BTW: Why do you need AB since you have already much better program? :)

Sp4iK commented 8 years ago

Because they're trials.. :(

kmkolasinski commented 8 years ago

Yeah that's true.

noobniper1 commented 6 years ago

i have a problem with this softwer when i inzip it an click on exe file the screen of my pc start turnin on and off the programe start but image