Skip to content

Commit 4a48307

Browse files
Merge pull request #30 from SunshineStream/nightly
v0.12.0
2 parents 870b6e2 + 4dff0c8 commit 4a48307

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+10090
-190
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
name: Bug Report
2+
description: Create a bug report to help us improve.
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: >
7+
**THIS IS NOT THE PLACE TO ASK FOR SUPPORT!**
8+
Please use [Github Discussions](https://github.com/SunshineStream/Sunshine/discussions) for support issues.
9+
- type: textarea
10+
id: description
11+
attributes:
12+
label: Describe the Bug
13+
description: A clear and concise description of the bug.
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: expected
18+
attributes:
19+
label: Expected Behavior
20+
description: A clear and concise description of what you expected to happen.
21+
- type: textarea
22+
id: additional
23+
attributes:
24+
label: Additional Context
25+
description: Add any other context about the bug here.
26+
- type: input
27+
id: os
28+
attributes:
29+
label: Sunshine Host Operating System and Version
30+
placeholder: eg. Windows 10, macOS 10.15, Ubuntu 20.04, etc.
31+
validations:
32+
required: true
33+
- type: input
34+
id: architecture
35+
attributes:
36+
label: Architecture
37+
placeholder: e.g. 32 bit, 64 bit, arm
38+
validations:
39+
required: true
40+
- type: input
41+
id: version
42+
attributes:
43+
label: Sunshine Version
44+
placeholder: eg. 0.11.1
45+
validations:
46+
required: true
47+
- type: input
48+
id: graphics_type
49+
attributes:
50+
label: GPU Type
51+
description: The type of the installed graphics card.
52+
placeholder: e.g. Intel, AMD, Nvidia
53+
validations:
54+
required: true
55+
- type: input
56+
id: graphics_model
57+
attributes:
58+
label: GPU Model
59+
description: The model of the installed graphics card.
60+
placeholder: e.g. GeForce RTX 2080 SUPER
61+
validations:
62+
required: true
63+
- type: input
64+
id: graphics_driver
65+
attributes:
66+
label: GPU Driver/Mesa Version
67+
description: The driver/mesa version of the installed graphics card.
68+
placeholder: e.g. 497.29
69+
validations:
70+
required: true
71+
- type: input
72+
id: capture_method
73+
attributes:
74+
label: Capture Method (Linux Only)
75+
description: The driver/mesa version of the installed graphics card.
76+
placeholder: e.g. PipeWire/KVM/X11
77+
validations:
78+
required: false
79+
- type: markdown
80+
attributes:
81+
value: |
82+
Make sure to close your issue when it's solved! If you found the solution yourself please comment so that others benefit from it.

.github/workflows/create_package.yml renamed to .github/workflows/CI.yml

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Create Package
1+
name: CI
22

33
on:
44
pull_request:
@@ -20,14 +20,61 @@ jobs:
2020
id: verify_changelog
2121
if: ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' }}
2222
# base_ref for pull request check, ref for push
23-
uses: SunshineStream/actions/verify_changelog@v0
23+
uses: SunshineStream/actions/verify_changelog@master
2424
with:
2525
token: ${{ secrets.GITHUB_TOKEN }}
2626
outputs:
2727
next_version: ${{ steps.verify_changelog.outputs.changelog_parser_version }}
28+
next_version_bare: ${{ steps.verify_changelog.outputs.changelog_parser_version_bare }}
2829
last_version: ${{ steps.verify_changelog.outputs.latest_release_tag_name }}
2930
release_body: ${{ steps.verify_changelog.outputs.changelog_parser_description }}
3031

32+
check_versions:
33+
name: Check Versions
34+
runs-on: ubuntu-latest
35+
needs: check_changelog
36+
if: ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' }}
37+
# base_ref for pull request check, ref for push
38+
steps:
39+
- name: Checkout
40+
uses: actions/checkout@v2
41+
42+
- name: Check CMakeLists.txt Version
43+
run: |
44+
version=$(grep -o -E '^project\(Sunshine VERSION [0-9]+\.[0-9]+\.[0-9]+\)' CMakeLists.txt | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
45+
echo "cmakelists_version=${version}" >> $GITHUB_ENV
46+
- name: Compare CMakeList.txt Version
47+
if: ${{ env.cmakelists_version != needs.check_changelog.outputs.next_version_bare }}
48+
run: |
49+
echo CMakeLists version: "$cmakelists_version"
50+
echo Changelog version: "${{ needs.check_changelog.outputs.next_version_bare }}"
51+
echo Within 'CMakeLists.txt' change "project(Sunshine VERSION $cmakelists_version)" to "project(Sunshine VERSION ${{ needs.check_changelog.outputs.next_version_bare }})"
52+
exit 1
53+
54+
- name: Check gen-deb.in Version
55+
run: |
56+
version=$(grep -o -E '^Version: [0-9]+\.[0-9]+\.[0-9]+' gen-deb.in | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
57+
echo "gendeb_version=${version}" >> $GITHUB_ENV
58+
- name: Compare gen-deb.in Version
59+
if: ${{ env.gendeb_version != needs.check_changelog.outputs.next_version_bare }}
60+
run: |
61+
echo gen-deb.in version: "$gendeb_version"
62+
echo Changelog version: "${{ needs.check_changelog.outputs.next_version_bare }}"
63+
echo Within 'gen-deb.in' change "Version: $gendeb_version" to "Version: ${{ needs.check_changelog.outputs.next_version_bare }}"
64+
exit 1
65+
66+
- name: Check sunshine.desktop Versions
67+
run: |
68+
version=$(grep -o -E '^X-AppImage-Version=[0-9]+\.[0-9]+\.[0-9]+' sunshine.desktop | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
69+
echo "appimage_version=${version}" >> $GITHUB_ENV
70+
- name: Compare sunshine.desktop Versions
71+
if: ${{ env.appimage_version != needs.check_changelog.outputs.next_version_bare }}
72+
run: |
73+
echo sunshine.desktop Version: "$appimage_version"
74+
echo Changelog version: "${{ needs.check_changelog.outputs.next_version_bare }}"
75+
echo Within 'sunshine.desktop' change "X-AppImage-Version=$appimage_version" to "X-AppImage-Version=${{ needs.check_changelog.outputs.next_version_bare }}"
76+
exit 1
77+
3178
build_appimage:
3279
name: AppImage
3380
runs-on: ubuntu-20.04
@@ -71,6 +118,11 @@ jobs:
71118
cmake "-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE" "-DSUNSHINE_EXECUTABLE_PATH=$SUNSHINE_EXECUTABLE_PATH" "-DSUNSHINE_ASSETS_DIR=$SUNSHINE_ASSETS_DIR" "-DSUNSHINE_ENABLE_WAYLAND=$SUNSHINE_ENABLE_WAYLAND" "-DSUNSHINE_ENABLE_X11=$SUNSHINE_ENABLE_X11" "-DSUNSHINE_ENABLE_DRM=$SUNSHINE_ENABLE_DRM" "-DSUNSHINE_ENABLE_CUDA=$SUNSHINE_ENABLE_CUDA" "../" -DCMAKE_INSTALL_PREFIX=/usr
72119
73120
make -j ${nproc} DESTDIR=AppDir
121+
- name: Set AppImage Version
122+
if: ${{ needs.check_changelog.outputs.next_version_bare != needs.check_changelog.outputs.latest_version }}
123+
run: |
124+
version=${{ needs.check_changelog.outputs.next_version_bare }}
125+
echo "VERSION=${version}" >> $GITHUB_ENV
74126
- name: Package AppImage
75127
# https://docs.appimage.org/packaging-guide/index.html
76128
run: |
@@ -115,7 +167,6 @@ jobs:
115167
last_version: ${{ needs.check_changelog.outputs.last_version }}
116168
release_body: ${{ needs.check_changelog.outputs.release_body }}
117169

118-
119170
build_linux:
120171
name: Linux
121172
runs-on: ubuntu-20.04

.github/workflows/issues-stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Stale Issues / PRs
22

33
on:
44
schedule:
5-
- cron: '00 19 * * *'
5+
- cron: '00 00 * * *'
66

77
jobs:
88
stale:

.github/workflows/issues.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
name: Issues
1+
name: Label Actions
22

33
on:
44
issues:
55
types: [labeled, unlabeled]
6+
discussion:
7+
types: [ labeled, unlabeled ]
68

79
jobs:
810
label:
9-
name: Label Issues
11+
name: Label Actions
1012
runs-on: ubuntu-latest
1113
steps:
12-
- name: Label Issues
14+
- name: Label Actions
1315
uses: dessant/label-actions@v2
1416
with:
1517
github-token: ${{ github.token }}

.gitignore

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,14 @@ cmake-build*
77
*.kdev4
88

99
.cache
10-
.idea
10+
.idea
11+
12+
# Extra FontAwesome files
13+
/assets/web/fonts/fontawesome-free-web/css/*.css
14+
!/assets/web/fonts/fontawesome-free-web/css/*min.css
15+
/assets/web/fonts/fontawesome-free-web/js/
16+
/assets/web/fonts/fontawesome-free-web/less/
17+
/assets/web/fonts/fontawesome-free-web/metadata/
18+
/assets/web/fonts/fontawesome-free-web/scss/
19+
/assets/web/fonts/fontawesome-free-web/sprites/
20+
/assets/web/fonts/fontawesome-free-web/svgs/

CHANGELOG.md

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
11
# Changelog
22

3-
## [v0.11.1] - 2020-10-04
3+
## [0.12.0] - 2022-02-13
4+
### Added
5+
- New command line argument `--version`
6+
- Custom png poster support
7+
### Changed
8+
- Correct software bitrate calculation
9+
- Increase vbv-bufsize to 1/10 of requested bitrate
10+
- Improvements to Web UI
11+
12+
## [0.11.1] - 2021-10-04
413
### Changed
514
- (Linux) Fix search path for config file and assets
615

7-
## [v0.11.0] - 2020-10-04
16+
## [0.11.0] - 2021-10-04
817
### Added
918
- (Linux) Added support for wlroots based compositors on Wayland.
1019
- (Windows) Added an icon for the executable
@@ -13,11 +22,11 @@
1322
- (Linux) Improved NVENC, it now offloads converting images from RGB to NV12
1423
- (Linux) Fixed a bug causes stuttering
1524

16-
## [v0.10.1] - 2020-08-21
25+
## [0.10.1] - 2021-08-21
1726
### Changed
1827
- (Linux) Re-enabled KMS
1928

20-
## [v0.10.0] - 2020-08-20
29+
## [0.10.0] - 2021-08-20
2130
### Added
2231
- Added support for Rumble with gamepads.
2332
- Added support for keyboard shortcuts <--- See the README for details.
@@ -29,7 +38,7 @@
2938
- (Linux) VAAPI hardware encoding now works on Intel i7-6700 at least. <-- For the best experience, using ffmpeg version 4.3 or higher is recommended.
3039
- (Windows) Installing from debian package shouldn't overwrite your configuration files anymore. <-- It's recommended that you back up `/etc/sunshine/` before testing this.
3140

32-
## [v0.9.0] - 2020-07-11
41+
## [0.9.0] - 2021-07-11
3342
### Added
3443
- Added audio encryption
3544
- (Linux) Added basic NVENC support on Linux
@@ -40,43 +49,43 @@
4049
- Drastically reduced chance of being forced to skip error correction due to video frame size
4150
- (Linux) sunshine.service will be installed automatically.
4251

43-
## [v0.8.0] - 2020-06-30
52+
## [0.8.0] - 2021-06-30
4453
### Added
4554
- Added mDNS support: Moonlight will automatically find Sunshine.
4655
- Added UPnP support. It's off by default.
4756

48-
## [v0.7.7] - 2020-06-24
57+
## [0.7.7] - 2021-06-24
4958
### Added
5059
- (Linux) Added installation package for Debian
5160
### Changed
5261
- Fixed incorrect scaling for absolute mouse coordinates when using multiple monitors.
5362
- Fixed incorrect colors when scaling for software encoder
5463

55-
## [v0.7.1] - 2020-06-18
64+
## [0.7.1] - 2021-06-18
5665
### Changed
5766
- (Linux) Fixed an issue where it was impossible to start sunshine on ubuntu 20.04
5867

59-
## [v0.7.0] - 2020-06-16
68+
## [0.7.0] - 2021-06-16
6069
### Added
6170
- Added a Web Manager. Accessible through: https://localhost:47990 or https://<ip of your pc>:47990
6271
- (Linux) Added hardware encoding support for AMD on Linux
6372
### Changed
6473
- (Linux) Moved certificates and saved pairings generated during runtime to .config/sunshine on Linux
6574

66-
## [v0.6.0] - 2020-05-26
75+
## [0.6.0] - 2021-05-26
6776
### Added
6877
- Added support for surround audio
6978
### Changed
7079
- Maintain aspect ratio when scaling video
7180
- Fix issue where Sunshine is forced to drop frames when they are too large
7281

73-
## [v0.5.0] - 2020-05-13
82+
## [0.5.0] - 2021-05-13
7483
### Added
7584
- Added support for absolute mouse coordinates
7685
- (Linux) Added support for streaming specific monitor on Linux
7786
- (Windows) Added support for AMF on Windows
7887

79-
## [v0.4.0] - 2020-05-03
88+
## [0.4.0] - 2020-05-03
8089
### Changed
8190
- prep-cmd is now optional in apps.json
8291
- Fixed bug causing video artifacts
@@ -85,24 +94,24 @@
8594
- Fixed bug causing segfault when another session of sunshine was already running
8695
- Fixed bug causing crash when monitor has resolution 1366x768
8796

88-
## [v0.3.1] - 2020-04-24
97+
## [0.3.1] - 2020-04-24
8998
### Changed
9099
- Fix a memory leak.
91100

92-
## [v0.3.0] - 2020-04-23
101+
## [0.3.0] - 2020-04-23
93102
### Changed
94103
- Hardware acceleration on NVidia GPU's for Video encoding on Windows
95104

96-
## [v0.2.0] - 2020-03-21
105+
## [0.2.0] - 2020-03-21
97106
### Changed
98107
- Multicasting is now supported: You can set the maximum simultaneous connections with the configurable option: channels
99108
- Configuration variables can be overwritten on the command line: "name=value" --> it can be useful to set min_log_level=debug without modifying the configuration file
100109
- Switches to make testing the pairing mechanism more convenient has been added, see "sunshine --help" for details
101110

102-
## [v0.1.1] - 2020-01-30
111+
## [0.1.1] - 2020-01-30
103112
### Added
104113
- (Linux) Added deb package and service for Linux
105114

106-
## [v0.1.0] - 2020-01-27
115+
## [0.1.0] - 2020-01-27
107116
### Added
108117
- The first official release for Sunshine!

0 commit comments

Comments
 (0)