mirror of
https://github.com/linuxserver/docker-boinc.git
synced 2026-02-20 05:47:06 +08:00
add wayland init
This commit is contained in:
parent
ac61e75aed
commit
d18e4597fa
26
README.md
26
README.md
@ -114,6 +114,7 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
|
||||
|
||||
| Variable | Description |
|
||||
| :----: | --- |
|
||||
| PIXELFLUX_WAYLAND | **Experimental** If set to true the container will initialize in Wayland mode running [Smithay](https://github.com/Smithay/smithay) and Labwc while enabling zero copy encoding with a GPU |
|
||||
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default `8080` |
|
||||
| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default `8181` |
|
||||
| CUSTOM_WS_PORT | Internal port the container listens on for websockets if it needs to be swapped from the default 8082 |
|
||||
@ -168,6 +169,30 @@ To launch the desktop session in a different language, set the `LC_ALL` environm
|
||||
* `-e LC_ALL=nl_NL.UTF-8` - Netherlands
|
||||
* `-e LC_ALL=it_IT.UTF-8` - Italian
|
||||
|
||||
### SealSkin Compatibility
|
||||
|
||||
This container is compatible with [SealSkin](https://github.com/linuxserver/docker-sealskin).
|
||||
|
||||
SealSkin is a self-hosted, client-server platform that provides secure authentication and collaboration features while using a browser extension to intercept user actions such as clicking a link or downloading a file and redirect them to a secure, isolated application environment running on a remote server.
|
||||
|
||||
* **SealSkin Server:** [Get it Here](https://github.com/linuxserver/docker-sealskin)
|
||||
* **Browser Extension:** [Install Here](https://chromewebstore.google.com/detail/sealskin-isolation/lclgfmnljgacfdpmmmjmfpdelndbbfhk)
|
||||
|
||||
### All GPU Acceleration - use sane resolutions
|
||||
|
||||
When using 3d acceleration via Nvidia DRM or DRI3 it is important to clamp the virtual display to a reasonable max resolution. This can be achieved with the environment setting:
|
||||
|
||||
* `-e MAX_RESOLUTION=3840x2160`
|
||||
|
||||
This will set the total virtual framebuffer to 4K, you can also set a manual resolution to achieve this.
|
||||
By default the virtual monitor in the session is 16K to support large monitors and dual display configurations. Leaving it this large has no impact on CPU based performance but costs GPU memory usage and memory bandwidth when leveraging one for acceleration. If you have performance issues in an accelerated session, try clamping the resolution to 1080p and work up from there:
|
||||
|
||||
```
|
||||
-e SELKIES_MANUAL_WIDTH=1920
|
||||
-e SELKIES_MANUAL_HEIGHT=1080
|
||||
-e MAX_RESOLUTION=1920x1080
|
||||
```
|
||||
|
||||
### DRI3 GPU Acceleration
|
||||
|
||||
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
|
||||
@ -599,6 +624,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **28.12.25:** - Add Wayland init logic.
|
||||
* **07.07.25:** - Rebase to selkies. Breaking change: HTTPS is now required. Use port 8181 with HTTPS for direct access. Reverse proxies can connect to 8080 over http as long as it's served over HTTPS to the user.
|
||||
* **19.08.24:** - Rebase to noble.
|
||||
* **10.02.24:** - Update Readme with new env vars and ingest proper PWA icon.
|
||||
|
||||
@ -122,6 +122,7 @@ init_diagram: |
|
||||
"boinc:latest" <- Base Images
|
||||
# changelog
|
||||
changelogs:
|
||||
- {date: "28.12.25:", desc: "Add Wayland init logic."}
|
||||
- {date: "07.07.25:", desc: "Rebase to selkies. Breaking change: HTTPS is now required. Use port 8181 with HTTPS for direct access. Reverse proxies can connect to 8080 over http as long as it's served over HTTPS to the user."}
|
||||
- {date: "19.08.24:", desc: "Rebase to noble."}
|
||||
- {date: "10.02.24:", desc: "Update Readme with new env vars and ingest proper PWA icon."}
|
||||
|
||||
10
root/defaults/autostart_wayland
Normal file
10
root/defaults/autostart_wayland
Normal file
@ -0,0 +1,10 @@
|
||||
while [ ! -f /config/all_projects_list.xml ]; do
|
||||
sleep 1
|
||||
done
|
||||
while ! grep -q rosetta /config/all_projects_list.xml; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
cd /config
|
||||
|
||||
/usr/bin/boincmgr
|
||||
7
root/defaults/menu_wayland.xml
Normal file
7
root/defaults/menu_wayland.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openbox_menu xmlns="http://openbox.org/3.4/menu">
|
||||
<menu id="root-menu" label="MENU">
|
||||
<item label="xterm" icon="/usr/share/pixmaps/xterm-color_48x48.xpm"><action name="Execute"><command>/usr/bin/xterm</command></action></item>
|
||||
<item label="BOINC Manager" icon="/usr/share/icons/hicolor/48x48/apps/boincmgr.png"><action name="Execute"><command>/usr/bin/boincmgr</command></action></item>
|
||||
</menu>
|
||||
</openbox_menu>
|
||||
Loading…
x
Reference in New Issue
Block a user