Commit Graph

98 Commits

Author SHA1 Message Date
Loki ac5f439839 Skeleton of grabbing image with kms 2021-08-05 21:24:52 +02:00
Loki 793e329fa5 Merge with master 2021-08-03 20:35:57 +02:00
Loki 6702802829 Load X11 libraries at runtime 2021-08-03 20:31:27 +02:00
loki f08b6abc96 Make keybindings configurable 2021-08-03 15:24:04 +02:00
loki 2af179630a Switch monitors based on keyboard shortcuts 2021-07-29 16:48:03 +02:00
loki 87b2b708f8 Update Linux build for callback code 2021-07-26 20:56:32 +02:00
loki d9f7952710 Fix weird bug where Sunshine couldn't accept user input from terminal on Linux 2021-07-25 13:16:17 +02:00
loki 844ba53f54 Remove dependency on X11 for keyboard input 2021-07-24 14:51:33 +02:00
loki 70d0be4b9a Add rumble effect on Linux 2021-07-22 18:19:25 +02:00
loki dad446ea41 Print request for rumble on the terminal for Linux 2021-07-21 20:24:23 +02:00
Cameron Gutman 971c784f14 Add basic NVENC support on Linux
We're not offloading scaling and YUV conversion from the CPU yet,
so the gains aren't as high as one of the fully accelerated
backends like Windows NVENC or Linux VAAPI.

Still, offloading the H.264/HEVC encoding itself is an improvement
over doing everything on the CPU.
2021-07-09 08:13:05 -05:00
Cameron Gutman 6d0499b0e3 Remove super key workaround
Moonlight can now pass the super key natively
2021-07-06 23:34:11 -05:00
loki beb6bdfadb Allow end user to configure what ports to listen on 2021-06-30 15:25:08 +02:00
loki cf7eb14573 Remove redundent thread creation 2021-06-26 15:48:07 +02:00
loki ed5de34800 Dynamically load avahi libraries if they are available 2021-06-26 15:36:56 +02:00
loki 27d4f6063f refactored publish.cpp from C code to C++ code 2021-06-26 13:32:14 +02:00
loki b67600962a Fix incorrect scaling for absolute mouse coordinates 2021-06-24 20:53:19 +02:00
loki 029194cb60 Fix incorrect abs mouse coordinates on Linux when scaling to different aspect ratio 2021-06-23 14:05:09 +02:00
loki 23b09e3d41 fix an issue causing free called on unallocated data 2021-06-17 23:26:25 +02:00
loki 64a6c1419b store state in .config/sunshine on Linux 2021-06-16 11:26:54 +02:00
loki ee89b211de include sstream in linux/audio.cpp to prevent compilation errors 2021-06-11 10:31:32 +02:00
loki 5495c8367a Search for active sink, rather than hardware sink 2021-06-10 18:39:16 +02:00
loki 9d52174d6b fix selecting incorrect monitor on linux 2021-06-09 11:49:31 +02:00
loki 9eb4eadda6 Fix linux build 2021-06-08 10:11:58 +02:00
Loki 3a3d4928f9 Fix compilation on Windows 2021-06-07 14:22:23 +02:00
loki 84c55d6efc Fix file descriptor leak 2021-06-06 20:57:42 +02:00
loki 7f636a25a8 Look for VAAPI availabillity during runtime 2021-06-06 18:45:45 +02:00
loki 825a706139 Remove build dependency for gbm 2021-06-06 17:19:30 +02:00
loki 45f9ce3a20 Allow va to have it's own file descriptor for the VAAPI device 2021-06-05 23:19:58 +02:00
loki f2863cceb7 Properly scale image on VAAPI 2021-06-05 12:25:19 +02:00
loki 6b9ed7fcb3 Add option to select render device for VAAPI 2021-06-05 10:20:36 +02:00
loki bdb9ed9001 Perform image format conversion for VAAPI on the gpu 2021-06-04 21:12:06 +02:00
loki ff1ea1a63e Use VAAPI for hardware encoding on Linux 2021-05-29 16:25:37 +02:00
loki 0868d898f6 Create virtual audio sinks on Linux 2021-05-19 18:11:06 +02:00
loki 2b04e1428c Select audio output on Linux 2021-05-18 13:36:12 +02:00
loki 3d8a99f541 clang-format 2021-05-17 21:21:57 +02:00
loki 33a330fd6c Downmix surround 5.1 to stereo 2021-05-14 21:44:20 +02:00
loki 2e9a1cfbba absolute mouse coordinates regardless of the number of monitors attached on Linux 2021-05-11 23:51:45 +02:00
loki 1d84c8f9ce Correct dimensions for touchscreen when single monitor attached 2021-05-11 23:30:56 +02:00
loki 92cd8648fa Some refactoring for linux/display.cpp 2021-05-11 20:10:33 +02:00
loki 41cc9a3e80 absolute mouse coordinate support for single monitor on Linux 2021-05-11 18:01:56 +02:00
loki 37a9256587 Render NV12 color format 2021-05-02 22:35:19 +02:00
loki 0049b36471 Use existing config option for selecting monitor 2021-04-24 23:41:56 +02:00
kiralycraft fe3784454a Fixed unspecified monitor streaming the whole X 2021-02-28 17:56:38 +02:00
kiralycraft 7abcfc0390 Added ability to stream specific monitor on Linux 2021-02-28 15:52:47 +02:00
loki fbbe396416 Install properly on ubuntu20.04 2020-05-03 23:58:32 +02:00
loki 1862662b3a Prevent queue from growing to large, eating up all memory 2020-04-24 22:10:08 +02:00
loki 22418cb613 Moved linux specific files to folder platform/linux 2020-04-23 15:48:05 +02:00