mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
kmscube: worked fine after full rebuild
This commit is contained in:
35
README.adoc
35
README.adoc
@@ -3778,6 +3778,8 @@ TODO not working for `aarch64`, it takes over the screen for a few seconds and t
|
||||
./run -F '/libdrm_modeset.out' -x
|
||||
....
|
||||
|
||||
<<kmscube>> however worked, which means that it must be a bug with this demo?
|
||||
|
||||
We set `CONFIG_DRM=y` on our default kernel configuration, and it creates one device file for each display:
|
||||
|
||||
....
|
||||
@@ -3817,40 +3819,15 @@ Tested on: 93e383902ebcc03d8a7ac0d65961c0e62af9612b
|
||||
|
||||
==== kmscube
|
||||
|
||||
TODO get working:
|
||||
|
||||
....
|
||||
./build -b br2/kmscube
|
||||
....
|
||||
|
||||
Expected outcome: a couloured spinning cube coded in OpenGL + EGL takes over your display and spins forever.
|
||||
Outcome: a couloured spinning cube coded in OpenGL + EGL takes over your display and spins forever.
|
||||
|
||||
Actual outcome: build fails with:
|
||||
It is a bit amuzing to see OpenGL running outside of a window manager window like that.
|
||||
|
||||
....
|
||||
checking for EGL... no
|
||||
configure: error: Package requirements (egl) were not met:
|
||||
|
||||
Package egl was not found in the pkg-config search path.
|
||||
Perhaps you should add the directory containing `egl.pc'
|
||||
to the PKG_CONFIG_PATH environment variable
|
||||
Package 'egl', required by 'world', not found
|
||||
|
||||
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
||||
installed software in a non-standard prefix.
|
||||
|
||||
Alternatively, you may set the environment variables EGL_CFLAGS
|
||||
and EGL_LIBS to avoid the need to call pkg-config.
|
||||
See the pkg-config man page for more details.
|
||||
package/pkg-generic.mk:213: recipe for target '/home/ciro/bak/git/linux-kernel-module-cheat/out/x86_64/buildroot/build/kmscube-6cbd03ab94066dddbba7bedfde87c7c4319c18d5/.stamp_configured' failed
|
||||
make[1]: *** [/home/ciro/bak/git/linux-kernel-module-cheat/out/x86_64/buildroot/build/kmscube-6cbd03ab94066dddbba7bedfde87c7c4319c18d5/.stamp_configured] Error 1
|
||||
Makefile:79: recipe for target '_all' failed
|
||||
make: *** [_all] Error 2
|
||||
....
|
||||
|
||||
Tested on: 07b9ae39d7ae863ff2a9f5a8183d60cb6ce37d46
|
||||
|
||||
TODO: tried to minimize on Buildroot master ad684c20d146b220dd04a85dbf2533c69ec8ee52 with:
|
||||
TODO: it is very slow, about 1FPS. I tried Buildroot master ad684c20d146b220dd04a85dbf2533c69ec8ee52 with:
|
||||
|
||||
....
|
||||
make qemu_x86_64_defconfig
|
||||
@@ -3869,7 +3846,7 @@ BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||
" >> .config
|
||||
....
|
||||
|
||||
but it worked perfectly! I saw the spinning cube...
|
||||
and the FPS was much better, I estimate something like 15FPS.
|
||||
|
||||
On Ubuntu 18.04 with NVIDIA proprietary drivers:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user