デジタルサイネージ用のアプリケーションを書きたいのですが、最低限の環境で動かしたいのでX11サーバーは使いたくないです。X11 (または少なくとも 2D グラフィックスを備えた他のグラフィック描画ライブラリ) を使用せずに、1 つのアカウント OpenGl アプリで実行することは可能ですか?
2 に答える
1つの方法は、MesaオフスクリーンレンダリングAPIを使用することです。これはおそらく加速されないことに注意してください。
X11が不要で、OpenGL ESを使用する場合は、Waylandおよび対応するGalliumドライバーを使用するとハードウェアアクセラレーションが得られます。
I`m working in a very similar project. Since for me the need to run opengl without xserver was primarily performance based, I opeted instead to install damn small linux to a flash drive along with the program i wrote. Damn small linux is super small (50 mb for the entire os), and since its designed to run on low spec hardware (it can be run on a pentium 1 with 16 mb of ram) it uses a minimal ammount of system resources. I just run ny application on top of damn small linux, and it performs extremely well.