#
94f5f422 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I6e1b877213f3a2921d78ffe2a5fe71d93db65574 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
fda1393c |
| 07-Mar-2023 |
charkear <charles.kearney@hpe.com> |
whitespace removal suggested by format-code.sh script run on the repository.
Change-Id: Ib54bd222ba3549bcf310a211992c2e35681f8b81 Signed-off-by: charles kearney <charles.kearney@hpe.com>
|
#
f79f6f54 |
| 05-Jul-2022 |
George Liu <liuxiwei@inspur.com> |
Add clang-format
Refer:https://github.com/openbmc/docs/blob/ac5d544553934f8083c61c5986a1420261bc8a4c/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I931503febf4e
Add clang-format
Refer:https://github.com/openbmc/docs/blob/ac5d544553934f8083c61c5986a1420261bc8a4c/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I931503febf4e17af5c328a6496e499992bc4e381
show more ...
|
#
2d2f3dab |
| 18-Jun-2021 |
Paul Fertser <fercerpav@gmail.com> |
Implement optional per-frame CRC calculation to save bandwidth
Current implementation is very CPU-efficient as it's not processing JPEG-encoded data received from V4L2 at all.
This patch implements
Implement optional per-frame CRC calculation to save bandwidth
Current implementation is very CPU-efficient as it's not processing JPEG-encoded data received from V4L2 at all.
This patch implements an optional mode where for each frame that's about to be sent a CRC32 is calculated and if this client has already received it before, the transmission is skipped. This of course adds some noticeable CPU load (proportional to the frame rate requested and the encoded JPEG size); on AST2500 it's taking about 10 % CPU when showing a relatively complex GUI login screen with 15 FPS.
Reducing required bandwidth to 0 for static images helps a lot when using IP KVM via poor connections, e.g. provided by cellular network operators or some hotels, so can be beneficial for certain common usecases.
The next optimisation to try is to dynamically alter the frame rate, automatically ramping it up as soon as the changes start happening and lowering after a period of inactivity; it's not yet clear if V4L2 allows this.
Signed-off-by: Paul Fertser <fercerpav@gmail.com> Change-Id: I74b887cf83b5c8676f5792412805de08e1a54f32
show more ...
|
#
85d04552 |
| 09-May-2019 |
Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> |
Add flow control to prevent buffer over run
This service uses direct frame update with bypassing image compression and invalidating logic in libvncserver to achieve better performance by using of H/
Add flow control to prevent buffer over run
This service uses direct frame update with bypassing image compression and invalidating logic in libvncserver to achieve better performance by using of H/W compressed JPEG frames as those come from the video engine driver.
This behavior helps quick frame update using very small amount of CPU resources but it causes a side effect which crashes bmcweb by OOM killer due to a buffer over run issue. Usually, this issue happens often in a slow speed connection because this service keeps sending all frames without any handshaking with clients so a session buffer in the bmcweb gets bigger and bigger since the low speed connection can't send all stream data on time.
To fix this issue, this commit adds flow control logic to make frame updating handshakes with client so that it'll send frames only when it recieved client frame update messages. All other frames when the client doesn't request will be dropped out to prevent the buffer over run issue.
Tested: bmcweb didn't keep increasing its KVM session buffer. KVM worked well with showing good refresh speed.
resolves https://github.com/openbmc/bmcweb/issues/80
Change-Id: I6b09a711137d15a38fce59adada9bf3d00afde86 Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
show more ...
|
#
7dfac9ff |
| 15-Jan-2019 |
Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com> |
Fix HID issues
Mixed type HID report descriptor in the current trunk doesn't work well so this patch fixes the HID creation logic to make it use composite configuration which has separated keyboard
Fix HID issues
Mixed type HID report descriptor in the current trunk doesn't work well so this patch fixes the HID creation logic to make it use composite configuration which has separated keyboard and mouse HID descriptor using a single USB port.
ikvm service also should be changed using below setting after applying this patch: ExecStart=/usr/bin/env obmc-ikvm -v /dev/video0 -k /dev/hidg0 -p /dev/hidg1
Change-Id: I9b2975f4fdade2c6030def829951d02b24bea562 Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
show more ...
|
#
29f775ab |
| 11-Dec-2018 |
Eddie James <eajames@linux.ibm.com> |
Add RFB server class implementation
Change-Id: I3532b5ecdef87cb8f64327de6bd22a175b68f865 Signed-off-by: Eddie James <eajames@linux.ibm.com>
|
#
21b177e0 |
| 11-Dec-2018 |
Eddie James <eajames@linux.ibm.com> |
Add input handling class
The Input class depends on the RFB server and V4L2 video classes, so add outlines for those as well.
Change-Id: I2826f3da78dee10826e378dfc2c773b891da1f03 Signed-off-by: Edd
Add input handling class
The Input class depends on the RFB server and V4L2 video classes, so add outlines for those as well.
Change-Id: I2826f3da78dee10826e378dfc2c773b891da1f03 Signed-off-by: Eddie James <eajames@linux.ibm.com>
show more ...
|