microsoft / microsoft/DirectX-Graphics-Samples

Getting access violation with Linked GPU example "sometimes!"

Open
#548 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug samples
Dominant language
C++
Stars
6.8k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

Think there is a race condition in the Linked GPU example.
If I breakpoint on line 191 and increase the resolution to 1080p etc then continue to run I'll sometime hit an access violation.

Exception thrown at 0x00007FFCC8C221EA (nvwgf2umx.dll) in D3D12LinkedGpus.exe: 0xC0000005: Access violation reading location 0x0000020B440EC2AC.

Win 10 x64 1809
Two Nvidia SLI / Linked GTX 960's
i3-7100 CPU

Also when I run this test on a Crossfire R9 280x setup it blue-screens windows.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Linked GPU example and reproduce the failure around line 191 while increasing the resolution to 1080p or higher. Compare the reported Nvidia SLI access violation and Crossfire blue-screen behavior; the work is done when the sample runs without either failure on the reported setups.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.