Viewing variables in debug window disables Aero interface
이전 댓글 표시
Hi,
When I run code in debug mode, reach a break point, and hover my cursor over a variable name to view its contents, my screen blinks and when it comes back my windows 7 aero interface is disabled. This typically happens when the variable contains a long vector of values rather than a scalar. I have to reboot the computer to restore aero.
I have tried installing the latest version of the Java Runtime environment (Version 7 Update 5), and setting the MATLAB_JAVA environment variable to the corresponding path, however the issue has not been resolved.
Below are my system specs:
OS: Windows 7 64 bit
MATLAB: 2012a
JRE: 7 Update 5
Video Card: ATI Radeon HD 6970
Screen Resolution: 2560x1440
RAM: 8GB
Suggestions would be greatly appreciated.
Thanks, Nick
댓글 수: 4
Jan
2012년 7월 10일
Sorry for this almost trivial suggestion: You can disable Aero manually such that this problem disappears magically. Be aware that semi-transparent user-interfaces are much harder to read, because they show information, which is not relevant currently. So from the point of usability, the disabling of Aero is a feature, not a bug.
Let me mention, that the humor level of this answer is below 10%. It is not an accident that Win8 does not use Aero anymore, it is an improvement!
Pawel Kusmierek
2014년 4월 3일
Actually using Aero improves performance of some programs, as it provides better screen buffering and reduces the rquired number of redraws.
I also came across this recently. I checked the Windows 7 Event Viewer and under applications it shows:
The Desktop Window Manager has encountered a fatal error (0x88980406)
The Desktop Window Manager has exited with code (0x88980406)
My system:
OS: Windows 7 x64 (Aero enabled)
MATLAB: 2014a
JRE: default for 2014a -- Java 1.7.0_11-b21
Video Card: NVIDIA GeForce GT 635, v335.23 driver
Screen Resolution: 2560x1080
RAM: 64 GB
A repro case for my system is as follows:
function [] = aeroDisableRepro()
var_ok = rand(370,1);
var_bad = rand(371,1);
return
If I place a breakpoint and hover over var_ok, nothing happens. If I hover over var_bad, Aero crashes as explained above. This is reproducible from a clean boot, and subsequently.
I was unable to reproduce the behavior on a different Win 7 x64 PC with the same MATLAB version, 4GB RAM, and Intel HD graphics v10.18.10.3412. I also attempted to reproduce with MATLAB 2013b and 2012b on another Win 7 x64 PC with ATI 4550 card and it did not happen either.
I updated to the latest NVIDIA drivers 337.88, and that didn't fix it either. I thought I had found a fix, and posted it as an answer, but it just improved the problem, and didn't eliminate it altogether.
Tim leonard
2016년 2월 2일
This is a very nice write up. Exactly the same problem I am having. Quattro 600, Driver 361.75.
채택된 답변
추가 답변 (3개)
Pawel Kusmierek
2014년 4월 3일
1 개 추천
I noticed the same thing in 2014a, Win 64-bit, ATI Radeon HD 7700.
By the way, there is a way to re-enable Aero without restarting Windows.
Run Command prompt as administrator type in the following commands: net stop uxsms net start uxsms
Not an answer but I also have this same problem.
I am using HP8570w with Win7 64 bit, 16gb RAM, nvidia quadro k1000m, 1920x1080.
It seems to happen when I hover over variables that are very large like single column variables that are large but can still be displayed when hovering.
I like the Aero interface and absolutely do not want it disabled.
Any ideas?
Thanks, Aditya
I'm posting the answer that worked to improve the problem with the repro case I mentioned above.
The fix that led to this was that I added another user to the system, and the new user was not experiencing the problem, so I figured it might be MATLAB preferences related.
I deleted the contents of:
%USERPROFILE%\AppData\Local\MathWorks
%USERPROFILE%\AppData\Roaming\MathWorks
Note that doing the above will reset the MATLAB desktop layout to the default, delete the current user's command history, and any other user-level MATLAB settings.
After doing that, restarting MATLAB and hovering over both var_ok and var_bad variables the DWM crash disappeared.
Edit: It seems the problem is still present regardless of resetting the MATLAB settings, even using a new Windows 7 User Account, except now I get the problem with:
var_ok = rand(453,1);
var_bad = rand(454,1);
I also tried pointing MATLAB to a newer Java Runtime v7 update 55 on my system, and as the OP (Nick) mentioned, this does not resolve the problem.
Edit 2: In the end, my resolution ended up being installing Windows 8 x64. That being said, I noticed that there is at least one DWM / DirectX registry setting that affects the behavior of the minimum variable size where the problem happens, but I was not able to eliminate it, given I didn't have time to keep debugging the issue. This particular one was the one I tried:
[HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphics]
"Force10Level9"=dword:00000001
카테고리
도움말 센터 및 File Exchange에서 Install Products에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!