1
0
Fork 0
mirror of https://github.com/pikvm/pikvm.git synced 2026-03-02 18:16:56 -05:00

PowerShell windows with colored output interfere with rendering #226

Closed
opened 2026-02-20 13:22:42 -05:00 by deekerman · 6 comments
Owner

Originally created by @strausmann on GitHub (Apr 23, 2021).

Originally assigned to: @mdevaev on GitHub.

Describe the bug
When outputting text in color in a PowerShel window, the entire image starts to flicker. Here a Chocolatey update was executed for all installed applications. As soon as the PowerShell window is minimized, the rendering of the desktop is possible again without errors. Apparently only certain output in PowerShell is responsible for the problem.

To Reproduce
Steps to reproduce the behavior, like:

  1. Connected to Dell Latitude Laptop with Windows 10
  2. Open a PowerShell Window and update all Applications with Chocolatey "choco update all -y"
  3. Now the rendering has problems with the powershell output

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

image

https://strausmanncloud-my.sharepoint.com/:i:/g/personal/bjoern_strausmann_net/EXcu87e9ooNLjiowmgd0xw0BXDTGV7j6hQBLjvW7w1ghzw?e=xkkscS

Desktop (please complete the following information):

  • OS: Windows 10 64bit 2020
  • Browser chrome, edge chromium

Pi-KVM info:

  • Raspberry Pi board version
    (RPi4 4 GB)

  • Pi-KVM platform
    v2 with hdmi USB dongle

  • Video capture type
    hdmi USB dongle

  • KVMD version: pacman -Q | grep kvmd

kvmd 2.54-1
kvmd-fan 0.1-1
kvmd-oled 0.3-1
kvmd-platform-v2-hdmiusb-rpi4 2.54-1
kvmd-webterm 0.36-1

  • uStreamer version: pacman -Q | grep ustreamer
    ustreamer 3.26-1

  • Linux kernel: uname -a
    Linux pikvm 5.10.23-2-ARCH #1 SMP Thu Mar 18 18:33:35 MSK 2021 armv7l GNU/Linux

Additional context
Add any other context about the problem here.

Originally created by @strausmann on GitHub (Apr 23, 2021). Originally assigned to: @mdevaev on GitHub. **Describe the bug** When outputting text in color in a PowerShel window, the entire image starts to flicker. Here a Chocolatey update was executed for all installed applications. As soon as the PowerShell window is minimized, the rendering of the desktop is possible again without errors. Apparently only certain output in PowerShell is responsible for the problem. **To Reproduce** Steps to reproduce the behavior, like: 1. Connected to Dell Latitude Laptop with Windows 10 2. Open a PowerShell Window and update all Applications with Chocolatey "choco update all -y" 3. Now the rendering has problems with the powershell output **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. ![image](https://user-images.githubusercontent.com/4519228/115855329-6af62f80-a42b-11eb-8dcb-6375d01a292b.png) https://strausmanncloud-my.sharepoint.com/:i:/g/personal/bjoern_strausmann_net/EXcu87e9ooNLjiowmgd0xw0BXDTGV7j6hQBLjvW7w1ghzw?e=xkkscS **Desktop (please complete the following information):** - OS: Windows 10 64bit 2020 - Browser chrome, edge chromium **Pi-KVM info:** - Raspberry Pi board version (RPi4 4 GB) - Pi-KVM platform v2 with hdmi USB dongle - Video capture type hdmi USB dongle - KVMD version: `pacman -Q | grep kvmd` kvmd 2.54-1 kvmd-fan 0.1-1 kvmd-oled 0.3-1 kvmd-platform-v2-hdmiusb-rpi4 2.54-1 kvmd-webterm 0.36-1 - uStreamer version: `pacman -Q | grep ustreamer` ustreamer 3.26-1 - Linux kernel: `uname -a` Linux pikvm 5.10.23-2-ARCH #1 SMP Thu Mar 18 18:33:35 MSK 2021 armv7l GNU/Linux **Additional context** Add any other context about the problem here.
Author
Owner

@strausmann commented on GitHub (Apr 23, 2021):

I think the powershell output in yellow is the problem.

@strausmann commented on GitHub (Apr 23, 2021): I think the powershell output in yellow is the problem.
Author
Owner

@mdevaev commented on GitHub (Apr 23, 2021):

I tend to think that this is just another usb dongle hardware glitch (out of many), that's why I don't recommend using it. It encodes jpeg on its own, so it can't be a problem with software that just transmits what is encoded by dongle.

@mdevaev commented on GitHub (Apr 23, 2021): I tend to think that this is just another usb dongle hardware glitch (out of many), that's why I don't recommend using it. It encodes jpeg on its own, so it can't be a problem with software that just transmits what is encoded by dongle.
Author
Owner

@arch1mede commented on GitHub (Apr 25, 2021):

I personally, am unable to repo this using my usb2hdmi dongle. I will admit, I do have some issues with FF but switching to chrome resolved them. My usb device https://www.amazon.com/gp/product/B08FG54QPH

powershell capture

@arch1mede commented on GitHub (Apr 25, 2021): I personally, am unable to repo this using my usb2hdmi dongle. I will admit, I do have some issues with FF but switching to chrome resolved them. My usb device https://www.amazon.com/gp/product/B08FG54QPH ![powershell capture](https://user-images.githubusercontent.com/3489071/115999241-e8db4780-a59f-11eb-9f4c-dcd5caec307e.jpg)
Author
Owner

@strausmann commented on GitHub (Apr 25, 2021):

Good Day, this Is my usb dongle.

https://www.amazon.de/dp/B08BKNJP7N?ref=ppx_pop_mob_ap_share

@strausmann commented on GitHub (Apr 25, 2021): Good Day, this Is my usb dongle. https://www.amazon.de/dp/B08BKNJP7N?ref=ppx_pop_mob_ap_share
Author
Owner

@arch1mede commented on GitHub (Apr 27, 2021):

@strausmann Can you get on Discord so we can see if there is something else causing this? Otherwise id have to agree with the dev that its the usb dongle you got that is causing the issue.

@arch1mede commented on GitHub (Apr 27, 2021): @strausmann Can you get on Discord so we can see if there is something else causing this? Otherwise id have to agree with the dev that its the usb dongle you got that is causing the issue.
Author
Owner

@strausmann commented on GitHub (Apr 28, 2021):

A test with a CSI HDMI converter will show if the output of Chocolatey or the USB dongle is responsible for the faulty output. I will update the ticket once the converter has arrived and been tested.

# output all the colour combinations for text/background
# http://stackoverflow.com/a/41954792/10245
$colors = [enum]::GetValues([System.ConsoleColor])
Foreach ($bgcolor in $colors){
    Foreach ($fgcolor in $colors) { Write-Host "$fgcolor|"  -ForegroundColor $fgcolor -BackgroundColor $bgcolor -NoNewLine }
    Write-Host " on $bgcolor"
}
@strausmann commented on GitHub (Apr 28, 2021): A test with a CSI HDMI converter will show if the output of Chocolatey or the USB dongle is responsible for the faulty output. I will update the ticket once the converter has arrived and been tested. ```powershell # output all the colour combinations for text/background # http://stackoverflow.com/a/41954792/10245 $colors = [enum]::GetValues([System.ConsoleColor]) Foreach ($bgcolor in $colors){ Foreach ($fgcolor in $colors) { Write-Host "$fgcolor|" -ForegroundColor $fgcolor -BackgroundColor $bgcolor -NoNewLine } Write-Host " on $bgcolor" } ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pikvm-pikvm#226
No description provided.