Solved! It was the APU from the Ryzen 2200g. I replaced the 2200g with a Ryzen 5 3600 and now everything is working.
sorry if there are some grammatical errors.
* Ryzen 3 2200g (current driver)
* ASRock AB 350M HDV R4 (Bios 3.70)
* G.Skill Aegis 2x 8GB F4-3000C16S-8GISB
GTX1660Super (current driver) (recently RX580)
Thermaltake TR2 S 500w (new PSU see below)
1xSSD (Win 10 Home 1909 current)
*After assembling new PC components I made a new Win 10 installation (1909)and I did not update the BIOS and I did not change anything in the BIOS options (but the RAM from 2133 (auto) via XMP to 3000 and after that I manually changed to 2933 but the problems had occured before I changed it, too!).
Since the exchange of * Board, * CPU and * RAM (previously 970A G43, FX6300, 2x4GB 1033 RAM) in December, the following problem is constantly occuring:
By playing various games, the games simply crash without a blue screen, but with a short black screen (depending on the game).
The curious thing about that is that the crashes only happen if I have done other activities (surfing, watching movies...) before I'm playing a game or when I'm surfing or listening to music during the game.
If I'm playing e.g. WoW and meanwhile I'm listing to music in the background, these crashes occur during long sessions.
If I briefly minimize the game in between to skip a song, it is even more possible that it leads to a black screen and the game crashes.
The problem does not occur if I restart the PC, then I can start and play a game without problems (usually via a launcher such as Steam) if I have nothing open in the background (except of course then the launcher).
Even longer game sessions of 8 hours are no problem at all and therefore independent of performance, it doesn't matter if I play WoW with less power or hardware-hungry games like Assassins Creed Odyssey.
What joins the cabinet of curiosities is the fact that if I start the second game, it always crashes right at the start.
Example: I restart the PC, play WoW for 2 hours, start AC Odyssey immediately afterwards and then it crashes again until the solution in the form of a system restart.
If I'm installing or using applications such as Firefox, Spotify, Office... without playing anything, the problem does not occur, but almost always at the end of a game installation (short black screen, error message in the event log).
The other way around, these crashes occur, too. If a game has caused this crash and I watch for example a movie via netflix without restarting the PC, these black screens occur with longer hangers every now and then (approx. 20 seconds).
After these crashes had occurred, the frames of the applications, which were open at the time, were often slightly transparent and did not give any visual feedback when I had clicked on them.
Critical crashes are displayed in the event log as well as in the reliability history with reference to a hardware problem in terms of the graphic card.
-The display driver "amdkmdap" has stopped responding and has been restored. -LiveKernelEvent - Product: 768_1
At first I had suspected a problem with the AMD driver and tested various drivers, but I did it without success.
I had flashed motherboard Bios update from 3.30 (factory version) to 3.70 (latest), I installed all AiO runtimes, VC ++ etc. again, but nothing helped me out.
2x 6 (+2) pin to 1x8 PCI-E adapter connected to the card to exclude an undersupply of the GPU was unsuccessful, too, whereby a PSU problem was excluded anyway, since the RX580 with my old components (FX 6300 uses more than the 2200g) ran without problems.
I set the RAM back to 2133 (auto), and tested it for several hours, etc. made with HWinfo, MEMtest, GPU-Z (Furmark), but no problems were caused or were found.
I uninstalled the chipset driver and used the standard energy plan instead of the Ryzen energy plan to exclude the CPU.
Since I then assumed a graphic card problem, I sold the RX580 a week ago and I gambled my games with the integrated Vega graphics chip of the 2200g while waiting for the newly ordered graphic card (GTX1660 Super). With the IGPU the problem occurred, too! (To answer the question right away: In the bios options, if I'm using an external graphics card, this card was selected and hybrid graphics is deactivated!)
In the week I used the IGPU the problem caused a system crash and blue screens including the error message Thread Stuck In Device Driver.
I was then convinced that it was an AMD driver problem.
I was really looking forward to receive the GTX1660 at the beginning of the last week.
Since I wanted to be absolutely sure and rule out that it is not a driver or Windows problem, I installed Win 10 1909 again on the SSD (I previously formatted my two HDDs and disconnected them during installation), I installed all the latest drivers but I left out the protection ad -ware like Avira for the first time (I'm now using Windows Defender).
Yesterday I played the first game (Forza Horizon 4) with the GTX. After the installation the game started, everything went so far in the game menu and the synchronization of the profile data after reinstallation took a little longer, but so far it went without a crash. After optimizing for my hardware and then I was ready to play, the game crashed. (It was exactly the same in December after the game started with the RX580). Then I restarted the system and it ran for hours.
In addition to the ApplicationError with event ID 1000, the typical driver error, as already listed for the RX580 (amdkmdap), appeared:
The description for event ID "13" from source "nvlddmkm" was not found. Either the component that triggers this event is not installed on the local computer, or the installation is corrupt. You can install or repair the component on the local computer.
The following information was saved with the event:
\ Device \ Video3
Graphics exception: ILLEGAL_OPCODE
The display driver "nvlddmkm" has stopped responding and has been restored.
Problem event name: LiveKernelEvent
Parameter 1: ffff9f0362a57050
Parameter 2: fffff8052726b9b4
Parameter 3: 0
Parameter 4: 2f18
Operating system version: 10_0_18363
Service Pack: 0_0
Operating system version: 10.0.18322.214.171.124.768.101
Locale ID: 1031
Yesterday I replaced my power supply and installed a new Xilence performance X 650W, but unfortunately that didn't help either.
After all my efforts I unfortunately do not know what to do anymore and hope that maybe someone will still know a solution here.
A big thank you in advance!