Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.12.0 #30

Merged
merged 65 commits into from
Feb 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
1b392e3
Update index.html
perroboc Jan 14, 2022
41044ab
Update CHANGELOG.md
ReenigneArcher Jan 15, 2022
1513880
Merge pull request #29 from SunshineStream/fix-changelog-parser-issue
ReenigneArcher Jan 16, 2022
7306a34
Update create_package.yml
ReenigneArcher Jan 16, 2022
5993dea
Merge pull request #31 from SunshineStream/fix-changelog-parser-issue
ReenigneArcher Jan 16, 2022
41e6344
Update bug-report.yml
ReenigneArcher Jan 16, 2022
1b6bf8f
video: use a better vbv-bufsize & correct software bitrate calculation
psyke83 Dec 8, 2021
9f707f9
Update index.html
perroboc Jan 18, 2022
3981ca0
applist image attribute
PapyKahan Jan 18, 2022
720f44c
Merge pull request #32 from SunshineStream/update-issue-template
ReenigneArcher Jan 19, 2022
dd7736e
UI Web Fixes
TheElixZammuto Jan 19, 2022
de9136c
Merge pull request #33 from cfajardo/psyke83-bufsize-fix
ReenigneArcher Jan 20, 2022
67f35df
Merge branch 'nightly' into add-application-image
PapyKahan Jan 20, 2022
4a50fca
send image as a binary stream
PapyKahan Jan 20, 2022
38dcdcb
fully working backend image posters
PapyKahan Jan 20, 2022
a9bbadf
WebUI image path configuration added
PapyKahan Jan 20, 2022
abf2a5e
minor refactoring and Content-Type header
PapyKahan Jan 20, 2022
4126a1a
Update CHANGELOG.md
ReenigneArcher Jan 21, 2022
e523958
Merge pull request #28 from alvaromunoz/patch-1
ReenigneArcher Jan 21, 2022
2bcb713
formating
PapyKahan Jan 23, 2022
83da80f
Fix HTTP content type for appassets
cfajardo Jan 23, 2022
4bada2d
Update pin.html
TheElixZammuto Jan 23, 2022
41df9c6
Update welcome.html
TheElixZammuto Jan 23, 2022
c7a3f7f
Add version argument
ReenigneArcher Jan 23, 2022
ebc581e
Merge pull request #34 from TheElixZammuto/web-ui-fixes
ReenigneArcher Jan 23, 2022
592cb00
Add version test
ReenigneArcher Jan 23, 2022
ed62a1f
Add "v" to --version argument output
ReenigneArcher Jan 23, 2022
8e1b718
reviews changes
PapyKahan Jan 24, 2022
f4344ad
tolower on extension
PapyKahan Jan 25, 2022
cbbd813
Merge pull request #38 from ReenigneArcher/add-version-argument
ReenigneArcher Jan 25, 2022
59959d6
extension bugfix and default app_windows.json image-path fixed
PapyKahan Feb 1, 2022
398bf98
steam.png added
PapyKahan Feb 2, 2022
8164b51
apps page image path documentation update
PapyKahan Feb 2, 2022
a9ebdf6
fixed apps_linux typo
PapyKahan Feb 3, 2022
3b2c704
remove double quotes from path
PapyKahan Feb 3, 2022
cf859b7
NOTICE file added with Steam trademarks notice
PapyKahan Feb 3, 2022
bd8ba66
fetch correct sources
okkiv Feb 4, 2022
c3d498e
fetch correct sources
okkiv Feb 4, 2022
c6d489d
Merge pull request #42 from okkiv/master
ReenigneArcher Feb 4, 2022
9f4ad53
Update web ui
ReenigneArcher Feb 5, 2022
b5896c8
remove NOTICE from CMakeLists.txt
PapyKahan Feb 6, 2022
067214a
Merge pull request #36 from cfajardo/add-application-image
ReenigneArcher Feb 6, 2022
37e608a
Update CHANGELOG.md
ReenigneArcher Feb 6, 2022
b288993
Rename workflow
ReenigneArcher Feb 6, 2022
a9988cb
Update issues-stale.yml
ReenigneArcher Feb 6, 2022
b198035
Update issues.yml
ReenigneArcher Feb 6, 2022
89f0571
Use cdn for fontawesome
ReenigneArcher Feb 9, 2022
a577f76
Fix favicon and logo
ReenigneArcher Feb 9, 2022
f347089
Fix font-awesome stylesheet
ReenigneArcher Feb 9, 2022
830fa65
Fix ico file
ReenigneArcher Feb 9, 2022
91465ed
Update config.html
ReenigneArcher Feb 10, 2022
e239751
Update sunshine.conf
ReenigneArcher Feb 10, 2022
a494bfa
Merge pull request #49 from SunshineStream/fix-sample-config
ReenigneArcher Feb 10, 2022
7417430
Update .gitignore
ReenigneArcher Feb 10, 2022
8b42331
Use local fontawesome assets
ReenigneArcher Feb 10, 2022
cf8a843
Merge pull request #43 from SunshineStream/update-web-ui
ReenigneArcher Feb 13, 2022
9dd6576
Update CHANGELOG.md
ReenigneArcher Feb 13, 2022
a78ad20
Merge branch 'nightly' into v0.12.0-changelog
ReenigneArcher Feb 13, 2022
7a1347c
Merge branch 'v0.12.0-changelog' into nightly
ReenigneArcher Feb 13, 2022
9530248
Improve version verification
ReenigneArcher Feb 13, 2022
8bb7a63
Fix job needs
ReenigneArcher Feb 13, 2022
ec5ea7c
Update CI.yml
ReenigneArcher Feb 13, 2022
96205dc
Merge pull request #51 from SunshineStream/improve-version-verification
ReenigneArcher Feb 13, 2022
5432546
v0.12.0
ReenigneArcher Feb 13, 2022
4dff0c8
Merge branch 'nightly' of https://github.com/SunshineStream/Sunshine …
ReenigneArcher Feb 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

82 changes: 82 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Bug Report
description: Create a bug report to help us improve.
body:
- type: markdown
attributes:
value: >
**THIS IS NOT THE PLACE TO ASK FOR SUPPORT!**
Please use [Github Discussions](https://github.com/SunshineStream/Sunshine/discussions) for support issues.
- type: textarea
id: description
attributes:
label: Describe the Bug
description: A clear and concise description of the bug.
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected Behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
id: additional
attributes:
label: Additional Context
description: Add any other context about the bug here.
- type: input
id: os
attributes:
label: Sunshine Host Operating System and Version
placeholder: eg. Windows 10, macOS 10.15, Ubuntu 20.04, etc.
validations:
required: true
- type: input
id: architecture
attributes:
label: Architecture
placeholder: e.g. 32 bit, 64 bit, arm
validations:
required: true
- type: input
id: version
attributes:
label: Sunshine Version
placeholder: eg. 0.11.1
validations:
required: true
- type: input
id: graphics_type
attributes:
label: GPU Type
description: The type of the installed graphics card.
placeholder: e.g. Intel, AMD, Nvidia
validations:
required: true
- type: input
id: graphics_model
attributes:
label: GPU Model
description: The model of the installed graphics card.
placeholder: e.g. GeForce RTX 2080 SUPER
validations:
required: true
- type: input
id: graphics_driver
attributes:
label: GPU Driver/Mesa Version
description: The driver/mesa version of the installed graphics card.
placeholder: e.g. 497.29
validations:
required: true
- type: input
id: capture_method
attributes:
label: Capture Method (Linux Only)
description: The driver/mesa version of the installed graphics card.
placeholder: e.g. PipeWire/KVM/X11
validations:
required: false
- type: markdown
attributes:
value: |
Make sure to close your issue when it's solved! If you found the solution yourself please comment so that others benefit from it.
57 changes: 54 additions & 3 deletions .github/workflows/create_package.yml → .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create Package
name: CI

on:
pull_request:
Expand All @@ -20,14 +20,61 @@ jobs:
id: verify_changelog
if: ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' }}
# base_ref for pull request check, ref for push
uses: SunshineStream/actions/verify_changelog@v0
uses: SunshineStream/actions/verify_changelog@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
outputs:
next_version: ${{ steps.verify_changelog.outputs.changelog_parser_version }}
next_version_bare: ${{ steps.verify_changelog.outputs.changelog_parser_version_bare }}
last_version: ${{ steps.verify_changelog.outputs.latest_release_tag_name }}
release_body: ${{ steps.verify_changelog.outputs.changelog_parser_description }}

check_versions:
name: Check Versions
runs-on: ubuntu-latest
needs: check_changelog
if: ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' }}
# base_ref for pull request check, ref for push
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Check CMakeLists.txt Version
run: |
version=$(grep -o -E '^project\(Sunshine VERSION [0-9]+\.[0-9]+\.[0-9]+\)' CMakeLists.txt | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
echo "cmakelists_version=${version}" >> $GITHUB_ENV
- name: Compare CMakeList.txt Version
if: ${{ env.cmakelists_version != needs.check_changelog.outputs.next_version_bare }}
run: |
echo CMakeLists version: "$cmakelists_version"
echo Changelog version: "${{ needs.check_changelog.outputs.next_version_bare }}"
echo Within 'CMakeLists.txt' change "project(Sunshine VERSION $cmakelists_version)" to "project(Sunshine VERSION ${{ needs.check_changelog.outputs.next_version_bare }})"
exit 1

- name: Check gen-deb.in Version
run: |
version=$(grep -o -E '^Version: [0-9]+\.[0-9]+\.[0-9]+' gen-deb.in | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
echo "gendeb_version=${version}" >> $GITHUB_ENV
- name: Compare gen-deb.in Version
if: ${{ env.gendeb_version != needs.check_changelog.outputs.next_version_bare }}
run: |
echo gen-deb.in version: "$gendeb_version"
echo Changelog version: "${{ needs.check_changelog.outputs.next_version_bare }}"
echo Within 'gen-deb.in' change "Version: $gendeb_version" to "Version: ${{ needs.check_changelog.outputs.next_version_bare }}"
exit 1

- name: Check sunshine.desktop Versions
run: |
version=$(grep -o -E '^X-AppImage-Version=[0-9]+\.[0-9]+\.[0-9]+' sunshine.desktop | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
echo "appimage_version=${version}" >> $GITHUB_ENV
- name: Compare sunshine.desktop Versions
if: ${{ env.appimage_version != needs.check_changelog.outputs.next_version_bare }}
run: |
echo sunshine.desktop Version: "$appimage_version"
echo Changelog version: "${{ needs.check_changelog.outputs.next_version_bare }}"
echo Within 'sunshine.desktop' change "X-AppImage-Version=$appimage_version" to "X-AppImage-Version=${{ needs.check_changelog.outputs.next_version_bare }}"
exit 1

build_appimage:
name: AppImage
runs-on: ubuntu-20.04
Expand Down Expand Up @@ -71,6 +118,11 @@ jobs:
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

make -j ${nproc} DESTDIR=AppDir
- name: Set AppImage Version
if: ${{ needs.check_changelog.outputs.next_version_bare != needs.check_changelog.outputs.latest_version }}
run: |
version=${{ needs.check_changelog.outputs.next_version_bare }}
echo "VERSION=${version}" >> $GITHUB_ENV
- name: Package AppImage
# https://docs.appimage.org/packaging-guide/index.html
run: |
Expand Down Expand Up @@ -115,7 +167,6 @@ jobs:
last_version: ${{ needs.check_changelog.outputs.last_version }}
release_body: ${{ needs.check_changelog.outputs.release_body }}


build_linux:
name: Linux
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issues-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Stale Issues / PRs

on:
schedule:
- cron: '00 19 * * *'
- cron: '00 00 * * *'

jobs:
stale:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: Issues
name: Label Actions

on:
issues:
types: [labeled, unlabeled]
discussion:
types: [ labeled, unlabeled ]

jobs:
label:
name: Label Issues
name: Label Actions
runs-on: ubuntu-latest
steps:
- name: Label Issues
- name: Label Actions
uses: dessant/label-actions@v2
with:
github-token: ${{ github.token }}
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,14 @@ cmake-build*
*.kdev4

.cache
.idea
.idea

# Extra FontAwesome files
/assets/web/fonts/fontawesome-free-web/css/*.css
!/assets/web/fonts/fontawesome-free-web/css/*min.css
/assets/web/fonts/fontawesome-free-web/js/
/assets/web/fonts/fontawesome-free-web/less/
/assets/web/fonts/fontawesome-free-web/metadata/
/assets/web/fonts/fontawesome-free-web/scss/
/assets/web/fonts/fontawesome-free-web/sprites/
/assets/web/fonts/fontawesome-free-web/svgs/
43 changes: 26 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# Changelog

## [v0.11.1] - 2020-10-04
## [0.12.0] - 2022-02-13
### Added
- New command line argument `--version`
- Custom png poster support
### Changed
- Correct software bitrate calculation
- Increase vbv-bufsize to 1/10 of requested bitrate
- Improvements to Web UI

## [0.11.1] - 2021-10-04
### Changed
- (Linux) Fix search path for config file and assets

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

## [v0.10.1] - 2020-08-21
## [0.10.1] - 2021-08-21
### Changed
- (Linux) Re-enabled KMS

## [v0.10.0] - 2020-08-20
## [0.10.0] - 2021-08-20
### Added
- Added support for Rumble with gamepads.
- Added support for keyboard shortcuts <--- See the README for details.
Expand All @@ -29,7 +38,7 @@
- (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.
- (Windows) Installing from debian package shouldn't overwrite your configuration files anymore. <-- It's recommended that you back up `/etc/sunshine/` before testing this.

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

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

## [v0.7.7] - 2020-06-24
## [0.7.7] - 2021-06-24
### Added
- (Linux) Added installation package for Debian
### Changed
- Fixed incorrect scaling for absolute mouse coordinates when using multiple monitors.
- Fixed incorrect colors when scaling for software encoder

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

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

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

## [v0.5.0] - 2020-05-13
## [0.5.0] - 2021-05-13
### Added
- Added support for absolute mouse coordinates
- (Linux) Added support for streaming specific monitor on Linux
- (Windows) Added support for AMF on Windows

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

## [v0.3.1] - 2020-04-24
## [0.3.1] - 2020-04-24
### Changed
- Fix a memory leak.

## [v0.3.0] - 2020-04-23
## [0.3.0] - 2020-04-23
### Changed
- Hardware acceleration on NVidia GPU's for Video encoding on Windows

## [v0.2.0] - 2020-03-21
## [0.2.0] - 2020-03-21
### Changed
- Multicasting is now supported: You can set the maximum simultaneous connections with the configurable option: channels
- 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
- Switches to make testing the pairing mechanism more convenient has been added, see "sunshine --help" for details

## [v0.1.1] - 2020-01-30
## [0.1.1] - 2020-01-30
### Added
- (Linux) Added deb package and service for Linux

## [v0.1.0] - 2020-01-27
## [0.1.0] - 2020-01-27
### Added
- The first official release for Sunshine!
Loading