Change in runtimeThe verbosity of logging for the evdi module can be changed in runtime. To do this, echo the number indicating the desired level to
The number should be in range 0-6, where 0 means minimum logs and 6 means verbose. Exact definitions of levels can be found in the source code of the module.
For example, to switch verbose logging on, execute the following as root:
# echo 6 > /sys/devices/evdi/loglevel
Making the change permanentTo set a new logging verbosity default value, you don't need to recompile the module. Instead, create a configuration file that's used while loading the module to pass parameters to it.
# echo "options evdi initial_loglevel=6" > /etc/modprobe.d/evdi.conf
Changing the logging of DRM subsystemIn certain cases it is also useful to increase the verbosity of logging of DRM subsystem that evdi uses. To do that, echo the desired value to
- 0x1 - DRM_UT_CORE
- 0x2 - DRM_UT_DRIVER
- 0x4 - DRM_UT_KMS
- 0x8 - DRM_UT_PRIME
- 0xf - everything
# echo 0xf > /sys/module/drm/parameters/debug