fbmark
fbmark copied to clipboard
How to run the benchmark?
Thank you for sharing this @caramelli and @davidak.
$ make
cc -Wall fb_mandelbrot.c -o fb_mandelbrot -g -O2
cc -Wall fb_rectangle.c -o fb_rectangle -g -O2
cc -Wall fb_sierpinski.c -o fb_sierpinski -lm -g -O2
$ ./fb_mandelbrot
Erreur de segmentation (core dumped)
Context
- Despite defining WIDTH, HEIGHT, POSX, POSY as env var first.
- Running on Ubuntu 20
What should I fix?
Also, I am looking for software graphics experts for paid missions involving frame buffer usage on Linux. Would that be interesting to you?
I'm always happy to spend time and share ideas on graphics and video rendering (especially for use on embedded systems), in the spirit of freedom and cooperation, simply with the philosophy of free software...
You can try running programs with sudo (e.g. sudo ./fb_mandelbrot). I know there is no error checking, programs now terminate on open() failure: https://github.com/caramelli/fbmark/commit/a240e450edd4168fafbe440e26f2d2f63aef9c22
Note that there is also a rendering issue when running programs on a Framebuffer device with line_length != bpp * width (no one has submitted the issue until now, but it's on my TODO list to fix it)
Great, then maybe I'll ask you some suggestion on my journey with PanamaGL, a new Java OpenGL binding that I write to complement JOGL in the future.
I'll try your suggestion as soon as I am back on my Linux!