Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Aero Glass for Win8 RC4


  • This topic is locked This topic is locked
2630 replies to this topic

#676
pengipete

pengipete

    Junior

  • Member
  • Pip
  • 70 posts
  • Joined 05-February 13
  • OS:Windows 8 x64
  • Country: Country Flag
It's fine in d2d mode.

Just spotted another "symptom" - pressing CTRL+ALT+DEL should open a plain-coloured screen with the various sign-out/switch-user type options. That screen is also totally transparent.

On the metro screen (and I'm just using bog-standard metro - no tweaks or add-ons) the screen itself is a plain, single backgound colour with the patterned areas at the top and bottom just being two solid strips. Those patterned areas are fine - it's the section across the middle where the tiles appear that is just the plain colour that is transparent (or at least, being drawn with whatever was in that location on the desktop). The side-bar menus on the metro screen - such as settings - and the CTRL/ALT/DEL screen are also drawn using that single backdrop colour and those are all 100% transparent.

I don't know the techie answer but in basic terms, it appears to be that backgound colour that is being affected. I've tried chosing a backdrop colour in metro that is completely different to my active and inactive borders on the desktop - just in case it was the colour itself that was the key but whatever scheme I chose, the background colour in metro is 100% transparent (note - no blur or variation on transparency).

Also - deleted the old "glasstransparency" key from registry. Didn't remove the problem. In fact, caused a new one. Now, when I'm on the metro screen and open then close the charm bar, the image of the charm bar and the large grey clock remain and become part of the background in that central area of the screen.


How to remove advertisement from MSFN

#677
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPipPip
  • 1,086 posts
  • Joined 18-August 12
  • OS:none specified
  • Country: Country Flag
Ok, I was able to reproduce it for some cases and it is the same problem as with StartIsBack. It is fixed now (i will publish it soon) with one minor problem - this procedure is also used for taskbar colorization. However, the blur shader includes colorization too which results that taskbar with blur behind will be colorized twice (and thus the transparency will be very low). I don't know any correct solution for this (except checking the screen coordinates to be colorized and compare them with taskbar position)
Aero Glass for Win8.x --> http://www.glass8.eu

#678
Tihiy

Tihiy

    the creator

  • Member
  • PipPipPipPipPipPipPip
  • 1,937 posts
  • Joined 19-November 04
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

Ok, I was able to reproduce it for some cases and it is the same problem as with StartIsBack. It is fixed now (i will publish it soon) with one minor problem - this procedure is also used for taskbar colorization. However, the blur shader includes colorization too which results that taskbar with blur behind will be colorized twice (and thus the transparency will be very low). I don't know any correct solution for this (except checking the screen coordinates to be colorized and compare them with taskbar position)

Maybe just check and reset this attibute from windows with Get/SetWindowCompositionAttribute? Or make DWM ignore it.

Edited by Tihiy, 28 March 2013 - 09:02 AM.


#679
pengipete

pengipete

    Junior

  • Member
  • Pip
  • 70 posts
  • Joined 05-February 13
  • OS:Windows 8 x64
  • Country: Country Flag

Ok, I was able to reproduce it for some cases and it is the same problem as with StartIsBack. It is fixed now (i will publish it soon) with one minor problem - this procedure is also used for taskbar colorization. However, the blur shader includes colorization too which results that taskbar with blur behind will be colorized twice (and thus the transparency will be very low). I don't know any correct solution for this (except checking the screen coordinates to be colorized and compare them with taskbar position)


What happens if you change the taskbar transparency setting in SiB? It may be that disabling start menu transparency but leaving taskbar transparency switched-on in SiB will get the right result. (I'm using those settings now and the effect is spot-on - very "glassy")

If that is the case, might it be easiest to just check SiB's settings - rather than trying to chase the taskbar's location?

#680
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPipPip
  • 1,086 posts
  • Joined 18-August 12
  • OS:none specified
  • Country: Country Flag
I was not able to apply the SetWindowCompositionAttribute on taskbar - it just didn't work (maybe I did something wrong). But as I remember correctly, some people reported that this settings also has less transparency than the windows thus it seems that the same thing happens for it.
Aero Glass for Win8.x --> http://www.glass8.eu

#681
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPipPip
  • 1,086 posts
  • Joined 18-August 12
  • OS:none specified
  • Country: Country Flag


AERO GLASS FOR WIN8 PREVIEW 6


It works great but the app still don't like my GPU idle clock profiles, it lags. Forcing a fixed gpu profile and ignoring the idle clocks is not a good option but the lag will disappear, for now.
If you open more than ten windows in explorer, then you grab a window and move it over the other windows you will notice a big lag, but this can be fixed by closing some windows. Btw, loaded the glass with the system.

Unfortunately, as I said earlier, there is some problem that causes poor performance with layered windows in your computer. And there is very small chance that this will ever be fixed (unless someone finds a way to correctly composite hidden areas of desktop without layered windows).

Btw, can anyone confirm that the problem with fullscreen games has been fixed in this version?
Aero Glass for Win8.x --> http://www.glass8.eu

#682
Peacem4k3r

Peacem4k3r

    Newbie

  • Member
  • 21 posts
  • Joined 20-March 13
  • OS:none specified
  • Country: Country Flag



AERO GLASS FOR WIN8 PREVIEW 6


It works great but the app still don't like my GPU idle clock profiles, it lags. Forcing a fixed gpu profile and ignoring the idle clocks is not a good option but the lag will disappear, for now.
If you open more than ten windows in explorer, then you grab a window and move it over the other windows you will notice a big lag, but this can be fixed by closing some windows. Btw, loaded the glass with the system.

Unfortunately, as I said earlier, there is some problem that causes poor performance with layered windows in your computer. And there is very small chance that this will ever be fixed (unless someone finds a way to correctly composite hidden areas of desktop without layered windows).

Btw, can anyone confirm that the problem with fullscreen games has been fixed in this version?


I would love to test it, but as I mentioned a few post before, the new version doesn't work for me at all :\ I just does nothing on startup, not even a message is shown (I posted the debug log in my post a few pages ago)

#683
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPipPip
  • 1,086 posts
  • Joined 18-August 12
  • OS:none specified
  • Country: Country Flag
Do you have correct files? old loader does not work with new version
Aero Glass for Win8.x --> http://www.glass8.eu

#684
Peacem4k3r

Peacem4k3r

    Newbie

  • Member
  • 21 posts
  • Joined 20-March 13
  • OS:none specified
  • Country: Country Flag
I tried it again and now it worked. But it's not working as it's supposed to. Look at the screenshots:

Posted Image

The top image is the window in ACTIVE state, the bottom in INACTIVE state. I don't know how this is caused :\
I use the same settings as in v5.

Edit: Here is the debug log: http://pastebin.com/RWQzdT4B

Edited by Peacem4k3r, 28 March 2013 - 09:41 AM.


#685
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPipPip
  • 1,086 posts
  • Joined 18-August 12
  • OS:none specified
  • Country: Country Flag
It works as expected, as I already said in a few posts, I recommend to set GlassTransparency to zero (or not to use it at all) in D3D mode.
Aero Glass for Win8.x --> http://www.glass8.eu

#686
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPipPip
  • 1,086 posts
  • Joined 18-August 12
  • OS:none specified
  • Country: Country Flag

I was not able to apply the SetWindowCompositionAttribute on taskbar - it just didn't work (maybe I did something wrong). But as I remember correctly, some people reported that this settings also has less transparency than the windows thus it seems that the same thing happens for it.


P.S. I tried again and now it works! Just need to set first dword to zero:

TaskbarTransparency tt = { 0x0, 0, 0, 0 };
WINCOMPATTRDATA attrData = { 0x13, &tt, sizeof(tt) };
SetWindowCompositionAttribute(taskbar, &attrData);

Excellent :-)
Aero Glass for Win8.x --> http://www.glass8.eu

#687
Peacem4k3r

Peacem4k3r

    Newbie

  • Member
  • 21 posts
  • Joined 20-March 13
  • OS:none specified
  • Country: Country Flag

It works as expected, as I already said in a few posts, I recommend to set GlassTransparency to zero (or not to use it at all) in D3D mode.


Now I did set it to 0 in the registry, but somehow the new effect doesn't even come near to the effect in v5 (which was nearly perfect). Additionally, there isn't enough transparency on active windows (the color is like rock solid)

Posted Image

Sorry if I do something wrong, I'm just confused because the old version (v5) ran really well. Whats the difference between D2D and D3D mode in means of how you modify the window borders?

#688
ORelio

ORelio

    Member

  • Member
  • PipPip
  • 170 posts
  • Joined 30-January 13
  • OS:Windows 8 x64
  • Country: Country Flag
Had the same issue with direct3D mode, it can be solved by lowering color intensity in Personnalization pannel or switching back to Direct2D :)
Aero Glass Tweaker GUI : msfn.org/board/topic/162036

#689
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPipPip
  • 1,086 posts
  • Joined 18-August 12
  • OS:none specified
  • Country: Country Flag

Whats the difference between D2D and D3D mode in means of how you modify the window borders?


The difference is that Direct3D mode draws it in the way how Windows themselves would draw it... the same way how Win7 draws it... the same way how Win8 RP draws it. The only problem is the default RTM theme which is not prepared for the transparency. RP theme looks much better.
Aero Glass for Win8.x --> http://www.glass8.eu

#690
Tusticles

Tusticles

    Member

  • Member
  • PipPip
  • 234 posts
  • Joined 03-February 13
  • OS:Windows 8 x64
  • Country: Country Flag



AERO GLASS FOR WIN8 PREVIEW 6


It works great but the app still don't like my GPU idle clock profiles, it lags. Forcing a fixed gpu profile and ignoring the idle clocks is not a good option but the lag will disappear, for now.
If you open more than ten windows in explorer, then you grab a window and move it over the other windows you will notice a big lag, but this can be fixed by closing some windows. Btw, loaded the glass with the system.

Unfortunately, as I said earlier, there is some problem that causes poor performance with layered windows in your computer. And there is very small chance that this will ever be fixed (unless someone finds a way to correctly composite hidden areas of desktop without layered windows).

Btw, can anyone confirm that the problem with fullscreen games has been fixed in this version?


Will never be fixed? :unsure: I'm not the only one with this problem, did you tested it on a notebook, did you asked other notebook users?

Yes, I played some bioshock infinite and there is no lag with aero enabled :P

Edited by Tusticles, 28 March 2013 - 12:55 PM.


#691
lolasher

lolasher
  • Member
  • 1 posts
  • Joined 08-February 13
  • OS:Windows 8 x64
  • Country: Country Flag
I don't know if someone wrote it, but version 0,5 and 0,6 work only on main monitor, window moved to second screen loses transparency.

#692
Peacem4k3r

Peacem4k3r

    Newbie

  • Member
  • 21 posts
  • Joined 20-March 13
  • OS:none specified
  • Country: Country Flag
Hey, just that you know... Did you post this at some japanese/chinese forum? If not, someone is copying you:

http://bbs.pcbeta.co...270848-1-1.html

#693
HydroHusky

HydroHusky

    Ace Detective

  • Member
  • 47 posts
  • Joined 31-January 13
  • OS:Windows 8 x64
  • Country: Country Flag

I tried it again and now it worked. But it's not working as it's supposed to. Look at the screenshots:

Posted Image

The top image is the window in ACTIVE state, the bottom in INACTIVE state. I don't know how this is caused :\
I use the same settings as in v5.

Edit: Here is the debug log: http://pastebin.com/RWQzdT4B

What are your values for the blur and transparency?

#694
MrShowdown

MrShowdown
  • Member
  • 1 posts
  • Joined 29-March 13
  • OS:Windows 8 x64
  • Country: Country Flag

Hey, just that you know... Did you post this at some japanese/chinese forum? If not, someone is copying you:

http://bbs.pcbeta.co...270848-1-1.html


Hey bigmuscle, i think someone is copying you.

#695
pengipete

pengipete

    Junior

  • Member
  • Pip
  • 70 posts
  • Joined 05-February 13
  • OS:Windows 8 x64
  • Country: Country Flag
Translated that Chinese site (with google translate) and they aren't copying - they're correctly attributing to "a foreigner" and discussing it much as we are here (though obviously, without the benefit of being able to talk to BM.). There's a lot of posts there and they're pretty much the same mixture and type of comments we have here. The first post in the thread was a bit worrying as it appears to be providing a local link to the files but later ones include direct links to BM's files using his own links. They seem to be keeping up to date with versions and presumably, the discussions here (judging by the solutions being offered for problems).

Overall, it's more like BigMuscle's Chinese fan club :)

#696
ORelio

ORelio

    Member

  • Member
  • PipPip
  • 170 posts
  • Joined 30-January 13
  • OS:Windows 8 x64
  • Country: Country Flag

原作者帖子地址 :http://www.msfn.org/...s-for-win8-v06/ Original author posts: http://www.msfn.org/...s-for-win8-v06/

Indeed, that's not plagiarism :)
Aero Glass Tweaker GUI : msfn.org/board/topic/162036

#697
bigmuscle

bigmuscle

    Aero Glass for Win8 developer

  • Member
  • PipPipPipPipPipPip
  • 1,086 posts
  • Joined 18-August 12
  • OS:none specified
  • Country: Country Flag

I don't know if someone wrote it, but version 0,5 and 0,6 work only on main monitor, window moved to second screen loses transparency.

Someone reported that pre-0.4 renders transparency incorrectly when used on multi-monitor setup. I made some changes and he said that now it works correctly. But I don't have multiple monitors, so can't test it.

Edited by bigmuscle, 29 March 2013 - 06:51 AM.

Aero Glass for Win8.x --> http://www.glass8.eu

#698
AlexKven

AlexKven

    Junior

  • Member
  • Pip
  • 94 posts
  • Joined 03-February 13
  • OS:Windows 8 x64
  • Country: Country Flag

Hey, just that you know... Did you post this at some japanese/chinese forum? If not, someone is copying you:

http://bbs.pcbeta.co...270848-1-1.html



Hey, Bigmuscle, it looks like someone is copying you. You are an international role model!

#699
newhappy

newhappy

    Newbie

  • Member
  • 24 posts
  • Joined 18-March 13
  • OS:Windows 8.1 x64
  • Country: Country Flag


Hey, just that you know... Did you post this at some japanese/chinese forum? If not, someone is copying you:

http://bbs.pcbeta.co...270848-1-1.html



Hey, Bigmuscle, it looks like someone is copying you. You are an international role model!


It is a repost for this post only.

#700
coolman

coolman

    Junior

  • Member
  • Pip
  • 80 posts
  • Joined 02-November 12
  • OS:98SE
  • Country: Country Flag

Aero Glass for Win8 v0.6

Hello,

maybe somebody will be interested in my small project. Therefore, I am sharing the first information about it. I have managed to reimplement Aero Glass function into Windows 8 Desktop Window Manager.

How does it work?
I have developed DLL library in C++ which is injected into dwm.exe process (no system files replacement is required). Then, the functions used for window border drawing are hooked with my own implementation. This ensures that anytime DWM wants to draw the window border, the code is redirected into my library where I can change the parameters of vertex buffer, blend state and other stuff. Then I redirect back to the original drawing function. Transparent window border is drawn!

Does it provide more functionality than pure windows border transparency?
Currently, I implemented only blur effect using Direct2D. My plan is to return glow effect to the window caption, better shadow around the windows, and, if anyone is interested, try to reimplement Flip3D functionality.

Are there any drawbacks?
There is a main problem that DWM implements dirty region management which ensures that only changed regions of the screen are redrawn. This simply does not redraw the content which is obscured by other windows. And, unfortunately, it pays for the content under window border too. Thus, it requires to force DWM redraw content under transparent borders. Since touching the dirty region management is not possible (at least, I have not found a way), we have two possibilities:

1) modify vertex buffer to always redraw whole window texture. It surely brings some performance penalty and does not work for windows which are totally obscured (because Draw function is not called for them at all). For other cases, this works perfectly.
2) set each visible window to be layered with alpha value of 254 because DWM also repaints dirty regions beneath them. I have selected this method because it seems to work perfectly in most of the cases, except the situation when some window denies WS_EX_LAYERED style. I am not aware of any other problems with layered windows.

When will this be released?
I will try to release it in a few days including the source code. Since I don't have much experience with Direct3D, I have used Direct2D for any drawing because it has much simpler API, built-in effects and programmer does not have to care about shaders, vertex buffers etc. I will also be glad if someone gives me a hand with this small project.

There are still some known problems which I need to solve, e.g. unlike Windows 7, DWM restart is not possible in Windows 8 but it is needed for the correct Direct3D functions hooking.

Link for downloading preview version (x64 preview only!):
http://prdownload.be...s8/DWMHook05.7z

Extract downloaded archive into C:\DWM folder. If there is any bug and DWM crashes, it will generate crash log in this folder.

I hope you will like it :-)

Awesome, thanks!
Helicopters don't fly; they vibrate so much and make so much noise that the earth rejects them.
Oh blah, blah, blah, your needs!




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users