The Wayback Machine - https://web.archive.org/web/20200914065613/http://github.com/microsoft/Win2D/issues/659
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnauthorizedAccessException when creating GaussianBlurEffect #659

Closed
ad1Dima opened this issue Nov 29, 2018 · 8 comments
Closed

UnauthorizedAccessException when creating GaussianBlurEffect #659

ad1Dima opened this issue Nov 29, 2018 · 8 comments
Labels

Comments

@ad1Dima
Copy link

@ad1Dima ad1Dima commented Nov 29, 2018

Some of my users had this strange exceptions every time app is trying to create blur. No matter, created it from my code or by using Blur behavior from toolkit.

All stacktraces ends with:

System.UnauthorizedAccessException: Отказано в доступе. (Excep_FromHResult 0x80070005)
at SharedLibrary!<BaseAddress>+0x436354
at SharedLibrary!<BaseAddress>+0x4360a9
at SharedLibrary!<BaseAddress>+0x4399bf
at SharedLibrary!<BaseAddress>+0x43989b
at SharedLibrary!<BaseAddress>+0x4745b3
at Microsoft.Graphics.Canvas.Effects.GaussianBlurEffect..ctor()

It I handle this exception, app works well but without blur.
Any idea why it could be?

@ad1Dima
Copy link
Author

@ad1Dima ad1Dima commented Nov 29, 2018

before this error appeared, I updated Win2d.uwp package from 1.21 to 1.23

@shawnhar shawnhar added the need info label Dec 4, 2018
@shawnhar
Copy link
Member

@shawnhar shawnhar commented Dec 4, 2018

I have not seen this before. Anything you can share about how to repro the issue?

@ad1Dima
Copy link
Author

@ad1Dima ad1Dima commented Dec 4, 2018

not shure. i cant reproduce this on any machine available for me.
for now i tried to rollback Win2d.uwp package and waiting for answer if it fixes from my users.

As far as i know:
there is about 76 devices (I halted package rollout) faces this issue.
Exception rises every time when GaussianBlurEffect..ctor() called

All devices are win 10.0.17134
Acrylic in other apps works well (transparency turned on in system settings and there is no high contrast or something like that).

one of devices running on Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz 3.20 GHz with HD Graphics 4600
another on Intel(R) Pentium(R) CPU G3420 @ 3.20GHz with Intel(R) HD Graphics

My app is targets:
image

Nuget ref: Microsoft.NETCore.UniversalWindowsPlatform 6.1.9 (also was updated with same build)

@ad1Dima
Copy link
Author

@ad1Dima ad1Dima commented Dec 5, 2018

My user just approved that rolling Win2d.uwp back to 1.21 solves issue

@shawnhar
Copy link
Member

@shawnhar shawnhar commented Dec 5, 2018

Very strange. Afraid I have no useful ideas about what could be causing this. We'll be happy to take a look if you are ever able to figure out some way to repro or debug the problem.

@ad1Dima
Copy link
Author

@ad1Dima ad1Dima commented Dec 6, 2018

We'll be happy to take a look if you are ever able to figure out some way to repro or debug the problem.

Can't repo this for myself

@ad1Dima
Copy link
Author

@ad1Dima ad1Dima commented Mar 25, 2019

Ok rollback to 1.21 does not solve this for all. But occurrence became rarer.

Another one:

System.UnauthorizedAccessException: Отказано в доступе. (Excep_FromHResult 0x80070005)
at SharedLibrary!<BaseAddress>+0x436344
at SharedLibrary!<BaseAddress>+0x436099
at SharedLibrary!<BaseAddress>+0x4399af
at SharedLibrary!<BaseAddress>+0x43988b
at SharedLibrary!<BaseAddress>+0x4745b3
at Microsoft.Graphics.Canvas.Effects.GaussianBlurEffect..ctor()
at Y.Music.Brushes.BackdropBlurBrushBase.OnConnected()

Device:
Operating System: Windows 10 Home 64-bit (10.0, Build 17763) (17763.rs5_release.180914-1434)
Language: Russian (Regional Setting: Russian)
System Manufacturer: Gigabyte Technology Co., Ltd.
System Model: Z390 GAMING X
BIOS: F7c (type: UEFI)
Processor: Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz (6 CPUs), 3.7GHz
Memory: 16384MB RAM
Available OS Memory: 16318MB RAM
Page File: 6644MB used, 12617MB available
Windows Dir: C:\Windows
DirectX Version: DirectX 12
DX Setup Parameters: Not found
User DPI Setting: 96 DPI (100 percent)
System DPI Setting: 96 DPI (100 percent)
DWM DPI Scaling: Disabled
Miracast: Available, with HDCP
Microsoft Graphics Hybrid: Not Supported
DxDiag Version: 10.00.17763.0001 64bit Unicode
Display Devices
Card name: NVIDIA GeForce GTX 750 Ti
Manufacturer: NVIDIA
Chip type: GeForce GTX 750 Ti
DAC type: Integrated RAMDAC
Device Type: Full Device (POST)
Device Key: Enum\PCI\VEN_10DE&DEV_1380&SUBSYS_362D1458&REV_A2
Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]
Device Problem Code: No Problem
Driver Problem Code: Unknown
Display Memory: 10166 MB
Dedicated Memory: 2007 MB
Shared Memory: 8159 MB
Current Mode: 1920 x 1080 (32 bit) (60Hz)
HDR Support: Not Supported
Display Topology: Internal
Display Color Space: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Color Primaries: Red(0.639648,0.330078), Green(0.299805,0.599609), Blue(0.150391,0.059570), White Point(0.313477,0.329102)
Display Luminance: Min Luminance = 0.500000, Max Luminance = 270.000000, MaxFullFrameLuminance = 270.000000
Monitor Name: Generic PnP Monitor
Monitor Model: BenQ VW2420H
Monitor Id: BNQ7B26
Native Mode: 1920 x 1080(p) (60.000Hz)
Output Type: DVI

@shawnhar
Copy link
Member

@shawnhar shawnhar commented Apr 23, 2019

I'm closing this issue because it isn't actionable due to lack of repro steps. Please let us know if you can find a way to repro so we can investigate what's going on.

@shawnhar shawnhar closed this Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.