Phiên Hỏi & Đáp hôm nay đến với chúng tôi theo lịch sự của SuperUser - một phân khu của Stack Exchange, một nhóm các trang web Hỏi & Đáp dành cho cộng đồng.
Câu hỏi
Người đọc SuperUser, William Stewart, bị bệnh của Windows 7, đã khiến anh:
Sometimes this dialog box will pop up (see screenshot above). Every time it appears I select “Keep the current color scheme, and don’t show this message again”. Windows then reminds me again - either the next day or after reboot, or sometimes another 5 minutes later
Do you want to change the color scheme to improve performance?
Windows has detected your computer’s performance is slow. This could be because there are not enough resources to run the Windows Aero color scheme. To improve performance, try changing the color scheme to Windows 7 Basic. Any change you make will be in effect until the next time you log on to Windows
- Change the color scheme to Windows 7 Basic
- Keep the current color scheme, but ask me again if my computer continues to perform slowly
- Keep the current color scheme, and don’t show this message again
Is there some reason why Windows is ignoring/forgetting my attempts to suppress the dialog? I’d love to never ever see it again, it’s annoying, and it alt-tabs me out of fullscreen applications.
If it matters, I’m running Windows 7 x64 Professional. I believe the dialog appears because I’m forcing Vsync and Triple Buffering for DirectX applications.
Rõ ràng William cần một kế hoạch tấn công mới vì Windows đang phớt lờ yêu cầu của anh ta để nhớ lựa chọn của anh ta.
Những câu trả lời
Người đóng góp SuperUser Một Dwarf cung cấp một giải pháp nhanh chóng và bẩn cho vấn đề của William:
Assuming you realize this message is informing you your system is low on resources and is asking you to disable Aero so it can keep performing at optimum speed,
- Go to the Start Menu and type Action Center on the Search box
- Start it (it should be the top entry, under the “Control Panel” group)
-
On the left sidebar, click
Change Action Center settings
-
Bỏ chọn
Windows Troubleshooting
trong “Thông báo bảo trì”.
-
Nhấn vào
Ok
và bạn đã hoàn tất.
Đây là ảnh chụp màn hình của màn hình cài đặt:
- Bạn có thể thử và giữ nguyên cài đặt này và chuyển sang chế độ Máy tính để bàn cơ bản trước khi khởi chạy các ứng dụng thường kích hoạt thông báo Trung tâm hành động này. Hoặc là,
-
Bạn có thể nhấp chuột phải vào các biểu tượng bạn sử dụng để kích hoạt các ứng dụng toàn màn hình này, nhấp vào các thuộc tính và trong tab Đánh dấu tương thích
Disable desktop composition
. Điều này sẽ vô hiệu hóaban điều hành quản lý của màn hình Window dịch vụ trong khi thực hiện ứng dụng này sẽ làm tăng bộ nhớ hệ thống và video và tránh một số ứng dụng không tương thích. Nguyên nhân có thể xảy ra đối với tin nhắn trong Trung tâm Hành động của bạn nếu bạn có đủ bộ nhớ hệ thống và video nhưng sẽ khiến bạn nhận được thông báo này với một số trò chơi hoặc ứng dụng toàn màn hình nhất định.
Một người đóng góp khác, Oliver Salzburg, đã đi sâu vào giải pháp Disable Desktop Composition Một chú lùn nổi bật cuối cùng. Anh ấy viết:
I’m constantly in a similar situation even though I never get that exact same message, and have done a bit of testing around.
To my understanding, the core resource that is under stress here, is the GPU memory. But this doesn’t necessarily indicate that you’re running out of this resource in general. It might just mean the Desktop Window Manager has detected that you’re running so low that one specific feature of this service could be disabled to free up more memory.
To test this, I started opening up GPU memory intensive applications:
I had to push a bit further and start a couple more Visual Studio instances…
Now, when I’m already at a critical level, and I start an application that uses excessive amounts of GPU memory in fullscreen, I can even go beyond this critical limit. Here’s the result after running Black Mesa for a while on 2560×1440 at max details:
So, two things can be deducted from this. While going over the 75% mark on the desktop can force Windows to disable desktop composition, when reaching the same limit in a fullscreen application (and, optionally exiting that application) desktop composition is not disabled. The second thing is, while you’re in your game, you can get the idea “Hey, I have enough resources to run this game, why don’t I have enough resources for the desktop?”. The reason is, both require memory at the same time.
Windows might only be able to tell you about the memory situation after you exited the game. So, when I start another Visual Studio after exiting Black Mesa…
Get more GPU memory
Sweet and simple.
Disable Desktop Composition (per process)
As was already suggested, you can disable desktop composition for a single executable. This has the effect that desktop composition is temporarily disabled while the executable is being executed. This drastically reduced the overall memory consumption while the application is executed in my tests:
Disable Desktop Composition (globally)
I wouldn’t consider this a solution as desktop composition is usually desired. But this is where to disable it:
I just want to get rid of the annoying message!
Just because you remove the warning “ Your battery is almost empty! You can only talk for 10 more minutes! ” does not mean you can talk for longer than 10 minutes. In fact, your phone will most likely simply shut off and that’s it. Now how’s that for an improvement?
I never assumed the message can be turned off and I don’t see how that could be considered a benefit.
You might think you know better, but you don’t. If the system is telling you it’s running out of resources, it is.
But it isn’t! I know!
Ok, let’s assume Windows is just not smart enough to detect the special situation you’re in and the warning message is simply an annoying inconvenience. What now?
The thing is, me personally, I’m also affected by this and it’s annoying the hell out of me. Because I don’t even get that warning message. Windows simply switches my color profile and that’s it. And I like that actually.
When it happens I usually quickly run a script that calls
net stop uxsms & net start uxsms
Điều này khởi động lại Desktop Window Manager và đưa tôi trở lại máy tính để bàn tổng hợp của tôi (và nó giải phóng rất nhiều tài nguyên trong quá trình này).
Biết được điều này, bạn cũng có thể xây dựng cho mình một môi trường chơi game đặc biệt, nơi bạn dừng dịch vụ trước khi bắt đầu trò chơi để chống lại toàn bộ hành vi này. Tuy nhiên, điều này sẽ gây ra hành vi giống nhau để vô hiệu hóa bố cục máy tính để bàn cho một tệp thực thi duy nhất thông qua các thuộc tính tệp.
Có cái gì để thêm vào lời giải thích? Âm thanh trong các ý kiến. Bạn muốn đọc thêm câu trả lời từ những người dùng Stack Exchange có hiểu biết công nghệ khác? Xem toàn bộ chuỗi thảo luận tại đây.