Discussion:
Intel fb debug output
Johannes Kliemann
2017-04-10 07:42:41 UTC
Permalink
Hi,

I want to enable the debug output in the Intel framebuffer (to see
messages printed by DRM_DEBUG_KMS). This is usually done by adding the
boot parameter `drm.debug=0xe`.

How would I enable this in Genode with Nova?

JK
Stefan Kalkowski
2017-04-10 07:59:33 UTC
Permalink
Hi Johannes,
Post by Johannes Kliemann
Hi,
I want to enable the debug output in the Intel framebuffer (to see
messages printed by DRM_DEBUG_KMS). This is usually done by adding the
boot parameter `drm.debug=0xe`.
How would I enable this in Genode with Nova?
in contrast to the original Linux kernel version, you have to change the
drm.debug value at compilation time when building for Genode. You can
change the value drm_debug here:

repos/dde_linux/src/drivers/framebuffer/intel/lx_emul.cc:811

best regards
Stefan
Post by Johannes Kliemann
JK
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
--
Stefan Kalkowski
Genode Labs

https://github.com/skalk · http://genode.org/
Johannes Kliemann
2017-04-10 08:55:31 UTC
Permalink
Stefan Kalkowski, Josef Söntgen, thank you for the quick info.

Josef Söntgen
2017-04-10 08:08:30 UTC
Permalink
Hello Johannes,
Post by Johannes Kliemann
I want to enable the debug output in the Intel framebuffer (to see
messages printed by DRM_DEBUG_KMS). This is usually done by adding the
boot parameter `drm.debug=0xe`.
How would I enable this in Genode with Nova?
There is no user facing configuration knob in the intel_fb_drv. You have
to set the 'drm_debug' variable directly in the source code. It is located
at 'repos/dde_linux/src/drivers/framebuffer/intel/lx_emul.cc:821'.

Regards,
Josef
--
Josef Söntgen
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
Loading...