Nvidia display/kernel mode driver has stopped working and recovered succesfully.
•
3 Feb 2019, 00:52
•
Journals
Hi.
As in a subject for over year I was experiencing this issue:
Nvidia display/kernel mode driver has stopped working and recovered succesfully.
Usually after vid_restart.
In my config I use the separate graphics settings for each map. With help comes autoexec_map files. To be able to achieve that after a map is changed/loaded an autoexec_map file contains cvar lck_graphics to load a specific graphics file for current map first and runs vid_restart only once to apply them, then switch cvar lck_graphics content to an "empty" again. That prevents continuous/infinite vid_restart loop.
Script for autoexec_supply.cfg looks like this:
The Lock/Config/Graphic/#3 pointing to already prepared graphics template file:
The script works perfect and for each loaded map you will experience additional vid_restart - which is not big deal.
However the problem was with the nvidia driver. After some version of driver update, I started to experience kernel crash - it occurs sometimes just after additional vid_restart on each map load. I was looking up for the cause. And finally, I managed to solved it out. It looks like the driver desktop color depth needs to be the same as you use in-game (variable: r_colorbits).
To get to driver settings you need to open Nvidia Control Panel:
Nvidia Control Panel/Display/Change Resolution/3. Apply the following settings/Desktop Color depth
I don't know if it's the same about ATi drivers but solution would be the same.
Simple solution. No more crashes.
Hope it will help for those who need it!
Last edit with added graphics template example @ 2019/02/03 23:30.
As in a subject for over year I was experiencing this issue:
Nvidia display/kernel mode driver has stopped working and recovered succesfully.
Usually after vid_restart.
In my config I use the separate graphics settings for each map. With help comes autoexec_map files. To be able to achieve that after a map is changed/loaded an autoexec_map file contains cvar lck_graphics to load a specific graphics file for current map first and runs vid_restart only once to apply them, then switch cvar lck_graphics content to an "empty" again. That prevents continuous/infinite vid_restart loop.
Script for autoexec_supply.cfg looks like this:
The Lock/Config/Graphic/#3 pointing to already prepared graphics template file:
The script works perfect and for each loaded map you will experience additional vid_restart - which is not big deal.
However the problem was with the nvidia driver. After some version of driver update, I started to experience kernel crash - it occurs sometimes just after additional vid_restart on each map load. I was looking up for the cause. And finally, I managed to solved it out. It looks like the driver desktop color depth needs to be the same as you use in-game (variable: r_colorbits).
To get to driver settings you need to open Nvidia Control Panel:
Nvidia Control Panel/Display/Change Resolution/3. Apply the following settings/Desktop Color depth
I don't know if it's the same about ATi drivers but solution would be the same.
Simple solution. No more crashes.
Hope it will help for those who need it!
Last edit with added graphics template example @ 2019/02/03 23:30.
eyyyy