Bug #45348 Workbench hangs in splash screen
Submitted: 5 Jun 2009 12:42 Modified: 8 Jul 2009 15:38
Reporter: Valery Mosyagin Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:OSS: 5.0.28, 5.0.30, 5.2.1-Alpha OS:Windows (Professional XP SP3)
Assigned to: CPU Architecture:Any
Tags: hangs, OpenGl, splash screen, video driver

[5 Jun 2009 12:42] Valery Mosyagin
Description:
After start Workbench shows splash screen and hangs. In Task manager there is no any activity of Workbench and it uses 99% of CPU. I see some activity only when I move windows above splash screen and WB repaints it. 

Same problem has Steve Morton in Bug #41022.

I use Windows XP Professional SP3. I tried to switch to "Windows Classic Theme". I tried several versions on Workbench OSS: 5.0.28, 5.0.30, 5.2.1-Alpha. But no results.

When I tied to use FileMon to see file operations from MySQLWorkbench.exe.

I had:
 - Many READ Requests for C:\WINDOWS\system32\atioglxx.dll 
 - Many READ Requests for C:\WINDOWS\system32\atioglx1.dll 
 - Some READ,OPEN,QUERY,CLOSE for C:\WINDOWS\system32\MCD32.DLL
 - 1 READ Request for C:\WINDOWS\system32\OPENGL32.dll
 - And last READ request for C:\WINDOWS\system32\atioglx1.dll

It seems where are some problems with OpenGL and Workbench. 
I have Radeon 9200 Pro Family driver.
I changed hardware acceleration for Graphical Adapter.
"Display Properties->Settings->Advanced->Troubleshoot->Hardware acceleration"
I set it to second position after None. Previously it was set on Full.
After that Workbench will work OK.

How to repeat:
Start Workbench and wait. Maybe need to use ATI video adapter and set acceleration to Full.

In adapter properties I have:
Driver version: 6.14.10.6462
Driver provider: ATI Technologies Inc.
Driver Date: 23.03.2004
Chip type: Radeon 9200 PRO AGP (0x5960).
Adapter string: RADEON 9200 PRO Family (Microsoft Corporation)
Memory 64 Mb

Suggested fix:
1. I think there are some problems with OpenGL drawing. May be give to user to select way to draw graphics. Same method used in 3D Studio MAX. Before starting I can select OpenGL, DirectX, or Software render.
2. Set less graphical acceleration.
3. Upgrade video driver? (I did't try it)
[5 Jun 2009 15:02] MySQL Verification Team
Thank you for the bug report. Do you have the option: automatically reopen previous model when started?. Thanks in advance.
[5 Jun 2009 15:44] Valery Mosyagin
Miguel,
I can't set and can't saw any options because I can't started Workbench at all after installation :-)
Now after changing acceleration I can start Workbench and I have "automatically reopen previous model when started" is not checked. I think it is default value.
If I change acceleration to Full I can't start Workbench again. 
I think some problems in OpenGL initialization.

I test other levels of hardware accelerations:
Workbench can starts only in first three of them:
- "Disable all accelerations..."
- "Disable all but basic accelerations..."
- "Disable all DirectDraw and Direct3D acceleration..."
Checkbox "Enable write combining" is on.

And hanging doesn't depend on "automatically reopen previous model when started".

Valery
[8 Jun 2009 15:38] MySQL Verification Team
Thank you for the feedback. I asked for that option because it is the only way I could repeat the behavior reported and it was already reported.
[8 Jul 2009 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[6 Aug 2009 15:18] Gustavo Santos
Hi,
I have the exact same problem described by Valery.
I installed MySQL Workbench OSS 5.1.16 for the first time, and whenever I try to open the application it hangs on the splash screen.

I also have an ATI graphics card and changed hardware acceleration, after that it started working.

My OS is also XP SP3.
[30 Jan 2010 12:29] Gustavo Santos
This problem is apparently fixed on 5.1.18 rev 4456, but the 5.2 versions are showing the old behaviour again. All the 5.2 releases hang on the splash screen with hardware acceleration enabled.
[1 Feb 2010 13:07] Gustavo Santos
My system hardware specification is below. The workbench version specified is the one that works with no issues, the latest 5.2 versions have the problem again:

MySQL Workbench OSS for Windows version 5.1.18
Cairo Version: 1.8.6
Rendering Mode: GDI
OS: Windows XP
CPU: 2x Intel(R) Core(TM)2 Duo CPU     T8300  @ 2.40GHz, 3.0 GB RAM
Video adapter info:
Adapter type: ATI MOBILITY RADEON HD 2600
Chip Type: ATI Radeon Graphics Processor (0x9581)
BIOS String: BK-ATI VER010.060.000.000.026296
Video Memory: 524288 KB