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

RealSense Viewer not working when camera connected #3381

Closed
anembac opened this issue Mar 5, 2019 · 13 comments
Closed

RealSense Viewer not working when camera connected #3381

anembac opened this issue Mar 5, 2019 · 13 comments

Comments

@anembac
Copy link

anembac commented Mar 5, 2019

librealsense 2.18.1 RELEASE
OS Windows 10

RealSense Viewer only launches when my D435 isn't connected. When connected it opens the GUI but is completely unresponsive. (can't click any buttons etc.)

Windows does find the device when it is connected and confirms it's connected through a USB 3.0 port.

rs-enumerate-devices gives the following error:
c:\Program Files (x86)\Intel RealSense SDK 2.0\tools>rs-enumerate-devices.exe
05/03 11:25:00,136 ERROR [2188] (types.h:214) MFCreateDeviceSource(_device_attrs, &_source) returned: HResult 0x80070005: "Access denied"
RealSense error calling rs2_create_device(info_list:000002044B64C670, index:0):
MFCreateDeviceSource(_device_attrs, &_source) returned: HResult 0x80070005: "Access denied"

Looks like it might be a permission issue which leads to a crash, any idea where I should check?

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Mar 5, 2019

There was a similar case to this in January 2019. It ended up being closed without a clear solution because the user in that case did not provide further feedback about their computer's configuration, but I will quote it here so the Intel guys on this forum can refer back to it.

#3148

@Firifire
Copy link

Firifire commented Mar 5, 2019

Well the 2.18.1 & 0 Viewer doesn't not launch at all for me, regardless the camera is connected or not.
build 2.17.1 works fine for me

@CookingWithCale
Copy link

CookingWithCale commented Mar 5, 2019

I'm using Win 10 on an AMD Phenom x6 GeForce GTX 1060 with v 2.18.1 and I'm able to view the depth sensor feed but once I tried to view the camera feed the window goes unresponsive white and crashes.

@dorodnic
Copy link
Contributor

dorodnic commented Mar 5, 2019

These are somewhat unrelated issues,
The Access Denied problem on Windows is related to Windows rolling updates, and seem to be a bug on Microsoft side. We have encountered it (but not enough for a proper root cause) and so far it seem to be ultimately solved by a sequence of driver and windows updates.
The issue of 2.18.1 not launching is most likely related to graphics (GPU) drivers, can you please elaborate about the setup?
The 3rd issue is something new. I can suggest trying the official drivers for Windows

@Firifire
Copy link

Firifire commented Mar 5, 2019

My setup is
GTX 850M (419.35)
i7-4710 HQ
Intel HD Graphics 4600 (15.40.41.5058)

@anembac
Copy link
Author

anembac commented Mar 5, 2019

Interestingly I am also using a GTX 850M on 419.35.

GTX 850M (419.35)
i5-4200H
Intel HD Graphics 4600 (20.19.15.4549)

@Firifire
Copy link

Firifire commented Mar 6, 2019

I just updated to Windows Build 1809. And I no longer have issues launching these application, including 2.19.0

@1546926687
Copy link

I have just encountered the same problem. I tried to download different versions (2.18,2.19) but it didn't work.

@tobecker
Copy link

tobecker commented May 8, 2019

I have the same problem using version 2.20.0 and 2.21.0 with Windows 10 1809 with Intel i7-6900K / Nvidia GTX960 (Driver 430.39).

With a different PC with AMD Ryzen 2400G (also Windows 10 1809) and internal GPU, version 2.20.0 and 2.21.0 runs perfect.

Update:
After changing data privacy options (allow realsense viewer to use the camera) it works great.

@SarathVakacharla
Copy link

SarathVakacharla commented Jun 19, 2019

changing data privacy options

data privacy options of? Windows?

@MartyG-RealSense
Copy link
Collaborator

@SarathVakacharla If you type 'privacy' into the text box at the bottom of the Windows screen (next to the button where the PC is shut down), you will find the 'Privacy Settings' option. Select the "Camera" category from the left-side options panel, and ensure that 'Allow access to the camera on this device' and 'Allow apps to access your camera' are both set to "On".

Additionally, if you scroll further down, you can set which specific programs are allowed to access the camera.

image

@SarathVakacharla
Copy link

SarathVakacharla commented Jun 19, 2019

I had this on, but I was still getting facing the problem on Windows 10 1809 build.
Upgrading librealsense from 2.19.x to 2.21.0 and system restart helped.

@MartyG-RealSense
Copy link
Collaborator

Glad you found a solution!

@MartyG-RealSense MartyG-RealSense mentioned this issue Nov 10, 2022
@MartyG-RealSense MartyG-RealSense mentioned this issue Oct 23, 2023
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants