I spent quite some time troubleshooting what should have been a simple addition to my four-port KVM: connecting a laptop wirelessly using a UGREEN HDMI kit.
The problem was surprisingly subtle. The desk monitor could show a perfectly usable picture while the KVM’s web interface reported “No HDMI signal detected” and displayed 0 frames per second. Changing EDID profiles would fix one device and break another.
The breakthrough came when I discovered that the Comet X capture driver rejected HDMI active resolutions whose width or height was not divisible by four. Windows was drawing a 1680×1048 desktop, but actually transmitting 1680×1050 over HDMI.
TL;DR: The two extra lines explained the wired capture failure. An ASUS-derived EDID with an optional 1680×1048 timing, together with a source-side Windows investigation, restored browser access to the wired computers and allowed the wireless laptop to work on port 4. The wireless feed was observed at 1280×720.
The KVM was a GL.iNet Comet X (GL-RM4PE), running firmware V1.10.1 release4. Three computers were connected directly over HDMI; a UGREEN wireless HDMI transmitter and receiver connected the fourth.
The Comet has two distinct ways of showing the selected computer:
Local display: the HDMI OUT port sends the selected picture to the physical monitor.
Remote display: the HDMI capture pipeline acquires the picture, encodes it as H.264 and streams it to the browser via WebRTC.
Figure 1. The monitor and browser use the same selected source, but only the browser depends on the capture pipeline.
This distinction is central to the investigation. A working physical monitor does not necessarily mean that the remote capture pipeline can acquire the same signal.
Both devices had previously worked in other combinations: the UGREEN kit with an iPhone and projector, and the Comet with a wired iPhone HDMI connection. The issue appeared when combining the wireless receiver, the KVM and the display profiles used by my computers.
2. The real clue: a two-pixel difference
With the web interface showing 0 fps, I checked the Comet’s logs. The same two messages kept appearing:
gsv1127x_rcv_supported_res: width and height must be divisible by 4
gsv1127x_get_detected_timings: rcv err res, return no signal!
The capture driver was explicitly rejecting an active resolution whose dimensions were not multiples of four. Without captured frames, neither the H.264 encoder nor WebRTC could produce a picture.
Active resolution
Divisible by 4?
Capture dimension check
1680×1050
No: 1050 leaves remainder 2
Fails
1680×1048
Yes
Passes
1920×1080
Yes
Passes
1280×720
Yes
Passes
Important: Passing this check does not guarantee a working HDMI signal. Several 1080p profiles still failed in testing. The dimension restriction explains the 1050-line rejection, not every wireless or EDID compatibility issue.
That is why adjusting browser quality or WebRTC settings was not the right starting point. The failure was upstream, at HDMI acquisition.
3. Why a simple EDID change was not enough
EDID (Extended Display Identification Data) tells a source which resolutions and timings a display supports. In this setup, the Comet advertised the display capabilities to the connected devices.
Unfortunately, a profile that worked for the wired computers did not necessarily work for the wireless receiver.
EDID profile
Web capture
UGREEN wireless
Original custom timing
Worked
Failed
Factory ASUS 1080p60
Failed in this test
Worked
Custom 720p60 RGB
Worked
Worked
Custom 1600×900
Worked
Worked
Final ASUS-derived hybrid
Worked after local investigation
Worked; 720p observed
The 720p and 1600×900 profiles proved that the two paths could coexist, but the desktop resolution was lower than I wanted. Lower refresh rates and reduced blanking did not provide a complete solution either.
Interestingly, standard 720p60 and 1080p30 timings share a 74.25 MHz pixel clock. The former worked and the latter failed in web capture. Without measuring the actual signal on the wire, this was not proof of a chipset limit, but it was a good reason to stop treating the pixel clock as the only variable.
Instead of forcing every device to use the same resolution, I built a hybrid EDID based on the factory ASUS profile. It retained the standard HDMI modes and added the previously tested 1680×1048 timing.
EDID component
Purpose
Base block (128 bytes)
ASUS ROG PG248Q identity; preferred 1920×1080 at 60 Hz
CTA extension (128 bytes)
Standard HDMI video modes, audio/HDMI data and optional 1680×1048 detailed timing
The preferred 1080p mode remained available for sources that wanted a familiar HDMI timing. The optional 1680×1048 mode gave the wired computers an alternative compatible with the capture driver’s dimension check.
With port 4 selected, the wireless laptop appeared in the Comet web interface at 1280×720. The preferred mode advertised by the EDID was 1920×1080, but that is not necessarily the resolution ultimately delivered to the capture pipeline. I did not establish where 720p was selected or whether the UGREEN kit scaled the picture.
5. Windows: desktop mode is not active signal mode
One Lenovo laptop still failed after applying the hybrid EDID. This turned out to be the most useful Windows-specific finding of the entire investigation.
Under Settings → System → Display → Advanced display, Windows reported two different resolutions for the external display:
Windows setting
Reported value
Desktop mode (what Windows renders)
1680×1048
Active signal mode (what HDMI transmits)
1680×1050
Why it matters: The desktop had already been changed to 1048 lines, but the display driver was still transmitting 1050. The Comet validates the incoming signal, not the size of the Windows desktop.
Identify the GPU that actually controls HDMI
The laptop contained both an Intel HD Graphics 4600 and an NVIDIA GeForce 840M. However, Advanced display identified Intel as the relevant adapter, and the NVIDIA Control Panel had no Display category. Troubleshooting NVIDIA’s display service was therefore not a substitute for checking the actual HDMI output path.
I used Custom Resolution Utility (CRU) to add a persistent local EDID override. It made 1680×1048 available as a desktop mode, but initially did not change the active signal. The global Comet EDID and the local Windows override were separate configuration layers.
Verify the installed display driver
The first Intel driver installation appeared to succeed, but Windows still reported version 20.19.15.4531. The intended 20.19.15.5171 package was absent from the Driver Store.
These PowerShell commands distinguish the version associated with each graphics adapter from the packages available in the Driver Store:
Get-CimInstance Win32_VideoController |
Select-Object Name, DriverVersion
# Run in an elevated PowerShell window to inspect the online driver store.
Get-WindowsDriver -Online |
Where-Object { $_.ClassName -eq "Display" } |
Format-Table Driver, ProviderName, Version, Date -AutoSize
Web capture recovered after retrying the Intel installation. I did not retain a final driver-version listing or active-signal screenshot, so I cannot conclusively attribute recovery to one particular installer action or confirm the final transmitted timing.
Wireless and browser capture working; 1280×720 observed
The desired combination was achieved in everyday use: all three wired computers accessible remotely, plus the wireless laptop on port 4. I did not document a four-port cold-start acceptance test or independently measure the wireless transmission format.
7. How I would troubleshoot this next time
Separate the symptoms. Check the desk monitor, browser capture and wireless connection independently.
Inspect the KVM logs. If the browser reports 0 fps, look for HDMI capture errors before adjusting stream quality.
Check the active signal. In Windows, compare desktop mode with active signal mode on the external display.
Start with a known working timing. Establish a standard-mode baseline before building custom EDIDs.
Verify the relevant driver. Identify the adapter that owns the HDMI output and check both active driver and Driver Store versions.
Retest after switching ports. An immediate success may disappear after HDMI renegotiation. Repeat after a restart if practical.
Also, save the original EDID before editing it. If the source is the same computer that runs the browser, avoid clicking the remote canvas while changing ports: the input can be sent straight back to that computer.
The lesson: a monitor displaying a picture and a KVM successfully capturing that picture are different things. A difference of just two active lines was enough to make one path work and the other fail.
Technical appendix: reproduce the configuration
The following details are for anyone investigating a similar Comet X setup or reproducing the exact profile.
A. The 1680×1048 detailed timing
The detailed timing descriptor begins with 21 39, representing a 146.25 MHz pixel clock (little-endian, in units of 10 kHz).
The existing descriptor was preserved rather than regenerated, because specifying only a resolution and nominal refresh rate does not uniquely determine the timings. The preferred 1080p60 mode uses 148.50 MHz and totals of 2200×1125.
The CTA extension retains video identification codes (VICs) 16, 31, 4, 19, 3, 18 and 1: the 1080p60, 1080p50, 720p60, 720p50, 480p60, 576p50 and 640×480p60 families. VIC 16 remains flagged as native.
B. Exact hybrid EDID (256 bytes)
In the Comet web interface, go to Session Settings → Video → EDID → Customize → Edit. Save the existing EDID or factory preset, paste these hex bytes and select Set Custom.
The base and extension checksum bytes are 99 and fc. To verify the profile, save the hex rows in comet-edid.txt and hash the decoded bytes, not the textual representation:
from hashlib import sha256
from pathlib import Path
raw = bytes.fromhex(Path("comet-edid.txt").read_text(encoding="utf-8-sig"))
assert len(raw) == 256
assert raw[126] == 1 # One extension follows the base block.
assert sum(raw[:128]) % 256 == 0
assert sum(raw[128:]) % 256 == 0
print(sha256(raw).hexdigest())
A valid checksum verifies copying integrity, not hardware compatibility. Keep a working fallback before applying the profile to another setup.
C. Full experiment log
Expand all tested EDID combinations
Profile or change
Web capture
UGREEN / interpretation
Original custom detailed timing
Worked
Wireless failed. Useful wired reference.
Factory ASUS 1920×1080/60
Failed in this test
Wireless worked. Useful wireless reference.
Custom 1080p60 RGB
No complete success
Wireless result unconfirmed.
Custom 720p60 RGB
Worked
Wireless also worked. Useful low-resolution control.
Custom 1080p30, then 1080p50
Failed in both tests
Wireless result unconfirmed. Lowering the refresh rate alone did not solve it.
Custom 1600×900
Worked
Wireless also worked. Desktop detail was below the goal.
1080p reduced blanking, then 1680×1050 reduced blanking
Failed in both tests
Changing blanking alone did not produce the combination we needed.
Original custom profile plus CTA VIC 16
Worked
Wireless failed after an initially promising result.
Custom base with ASUS extension
Unconfirmed
Wireless failed.
ASUS base with earlier custom extension
Eventually failed
Wireless worked. Both had appeared to work initially.
Factory GSV profile for a different model / another VIC 16 hybrid
No verified outcome
Neither established a working baseline.
Saved ASUS-derived profile plus optional 1680×1048 timing
Web capture observed
Port 4 also worked wirelessly. One Windows machine still needed local attention.
D. Test notes and limitations
The saved web baseline used Direct H.264, Normal mode, Smooth Display, High quality, 0° orientation and Adaptive view. Adaptive view scales the image in the browser, so the apparent picture size is not a measurement of captured resolution.
The EDID backup and port checks were taken at different times. Port 1 showed 0 fps in an earlier snapshot; port 3 was the last outstanding wired failure in the later investigation. These are separate observations rather than contradictory results from a single test.
For a repeatable test, record the source, physical picture, wireless picture, browser picture and fps, desktop mode, active signal mode, EDID hash and whether the port was freshly selected. The final Windows timing and wireless radio format were not independently verified.
This specific content was written 1 year ago.
Please keep this in mind as it may be outdated and not adhering to best-practices.
Modern authentication systems rely heavily on token-based mechanisms to securely identify users across multiple requests. While industry-standard formats like JWT are widely adopted, some systems use alternative approaches such as the @hapi/iron library. Iron provides encrypted, tamper-proof tokens that allow completely stateless authentication.
However, when implemented incorrectly—especially when secrets are exposed—the entire authentication chain collapses. This blog post examines a real-world example taken from the security exercise OWASP login challenge, explains why the implementation was insecure, and shows how the vulnerability was detected and exploited.
1. What Is @hapi/iron?
Iron is a token sealing and unsealing system created by the Hapi project. At its core, Iron:
encrypts JavaScript objects using a symmetric key,
signs them with an HMAC to prevent tampering,
encodes them in a structured, URL-safe token format.
Unlike JWTs, which are typically signed but not encrypted, Iron tokens are fully encrypted, meaning their contents cannot be read without the secret key.
The downside: Iron uses symmetric cryptography. If an attacker obtains the secret key, they can generate arbitrary tokens—including administrative ones.
This specific content was written 5 years ago.
Please keep this in mind as it may be outdated and not adhering to best-practices.
Quick example today if a php script that I wanted to detect new uploaded images, and then send an e-mail. I think it’s pretty self-explanatory so won’t go into details. However, keep in mind that it’s mostly simple PHP (not too object-oriented) and also that I make use of the wp_mail function.
This specific content was written 8 years ago.
Please keep this in mind as it may be outdated and not adhering to best-practices.
Quick solution for the problem related to amazon workspaces in full-screen mode.
The only way to switch back to the host system, is to exit full screen – but this is a problem since all the application windows are resized and re positioned.
I usually have word open on my host machine, and since I didn’t want to install visual studio or make a java application.. I decided to make a VBA macro.
The following VBA macro creates for me an Always On Top dialog (even on top of the full-screen dual monitor amazon workspaces).
Clicking the on the dialog causes me host start-menu to pop up, and I can access any of my running host applications or run new ones.
And this works without having to disconnect or leave my full screen mode.
This specific content was written 10 years ago.
Please keep this in mind as it may be outdated and not adhering to best-practices.
A WebView is a mobile application that acts like a real-world window to a website. The user however doesn’t see any browser at all. One would ask: “OK! And what good is to have an application when the same website can be opened by just typing its address in the address-line of the browser?” The whole thing may sound like the ultimate nonsense but actually it is very interesting and useful. First of all, it offers to the user a simpler and friendlier way to open a website. That presentation has the advantage to be of a more professional look, since the webpage is opened without having on the screen the menus and the borders of the web-browser. Thus it is not the same like just creating a link-shortcut on the Home Screen of the mobile device. It can also be used, so that a website will be only a part of the functionality of an application, by first displaying to the user a UI navigation’s menu, like it is such an application called VMedia that I created for a friend who runs a web TV-station.
But that what is of more interesting is that a WebView application can encapsulate a local site with all sub-directories, including the ability to execute JavaScript programs.
In other words, such an application can turn a complete HTML5-project into a standalone package ready for uploading to the market, like it is Google Play or the App Store of Apple.
I will describe in this tutorial the case of creating a WebView application for the Android using the SDK, in the shortest way it can be done. It could come along with a whole bunch of other checking mechanisms (like error handling on loading, alert messages, progress bar, etc.) but I will write another tutorial for this reason.
For the lazy ones, there are several free tools (even online) that pick the main directory of an HTML/HTML5 project and produce an APK package from it but …if we always use tools, not knowing how to do it ourselves …then who’s gonna write the tools?
In the following, I will describe how I created a standalone application from an HTML5 game that I developed, called Spaceball.
This specific content was written 10 years ago.
Please keep this in mind as it may be outdated and not adhering to best-practices.
RTMPT streams provided by RED5 are notorious for randomly disconnecting.
Chris Georgoulis and I extensively debugged this for a project and were able to reduce the disconnection rate from 90% to 40% for connections that lasted over 5 minutes. This was for a teleconferencing application that required 4 RTMPT streams in total (2 outgoing, 2 incoming) with a maximum buffer of 200ms.
RED5 by default has a maximum of 100 keep-alive requests. On the 100th request the server returns connection-close . By setting the limit to infinite we were able to improve the performance. RTMPT is quite vulnerable to disconnections and closing and reopening the socket connection plays a role.
As described by Chris, please go to /{red5_folder}/conf/jee-container.xml and modify the following element group with the extra <property> tags(this should be at line 21), and then restart red5:
This specific content was written 11 years ago.
Please keep this in mind as it may be outdated and not adhering to best-practices.
Quick post outlining the steps and config I used to forward 2 different ports to 2 different servers (tomcat and red5), and to enable websockets on a Redhat server running apache 2.4.5 .
Servers/Apps and Ports:
Apache – port 80
Red5 – port 5081
Tomcat – port 8585
This specific content was written 11 years ago.
Please keep this in mind as it may be outdated and not adhering to best-practices.
Creating games is the most exciting and challenging area of the software development. Once you have created the next hit game of the year, the challenge for your newborn baby is to support as many different platforms as possible since there are thousands of different devices out there. Thus, unless your target is a specific device, like iPhone, Android, Smart watch, Windows PC, Mac, etc. with previously known technical characteristics, then the need of such a wide support could become a real headache.
An approach to this is to re-write the source code (or specific parts of it) for every platform using the SDK and the tools for this platform.
Another approach is to write the game using technologies that come with the promise “write once, run everywhere”. One such very promising technology is HTML5. Orienting your coding habits into this direction, a cross-platform implementation becomes feasible.
In this tutorial I am going to show you how I have used HTML5 to write such a cros-platform game. The reader could easily be confused with the term“HTML5” believing that somehow it is possible to write such complex applications using HTML-tags (something like <game><img src=”….”, …, put some game logic here </game> and …that’s all. NO!). In fact, HTML5 is 1% HTML and 99% JavaScript. The tutorial assumes that you already have a basic experience with JavaScript programming, or with …programming.
Actually, an HTML5 game (or application) runs inside a browser that supports this level of the markup language. Fortunately, almost every browser on any device of the last half decade can translate HTML5.
You can play a game that I have created with HTML5 and combines all these promises. Just visit from everywhere the link bellow. If you open it from a desktop browser please keep changing the dimensions to experience the effect of responsive resizing in real-time.
This blog is related to topics about operating systems, development, coding, and software and
contains our own opinions, code, and examples unless otherwise stated.
It is also a work in progress - so bear with us as we improve the template and content.
Nov 27 2026
Why two pixels mattered on a GL.iNet Comet X with UGREEN wireless HDMI
I spent quite some time troubleshooting what should have been a simple addition to my four-port KVM: connecting a laptop wirelessly using a UGREEN HDMI kit.
The problem was surprisingly subtle. The desk monitor could show a perfectly usable picture while the KVM’s web interface reported “No HDMI signal detected” and displayed 0 frames per second. Changing EDID profiles would fix one device and break another.
The breakthrough came when I discovered that the Comet X capture driver rejected HDMI active resolutions whose width or height was not divisible by four. Windows was drawing a 1680×1048 desktop, but actually transmitting 1680×1050 over HDMI.
In this article: Setup · Root cause · EDID solution · Windows fix · Results · Technical appendix
1. The setup: four computers, two video paths
The KVM was a GL.iNet Comet X (GL-RM4PE), running firmware V1.10.1 release4. Three computers were connected directly over HDMI; a UGREEN wireless HDMI transmitter and receiver connected the fourth.
The Comet has two distinct ways of showing the selected computer:
This distinction is central to the investigation. A working physical monitor does not necessarily mean that the remote capture pipeline can acquire the same signal.
Both devices had previously worked in other combinations: the UGREEN kit with an iPhone and projector, and the Comet with a wired iPhone HDMI connection. The issue appeared when combining the wireless receiver, the KVM and the display profiles used by my computers.
2. The real clue: a two-pixel difference
With the web interface showing 0 fps, I checked the Comet’s logs. The same two messages kept appearing:
The capture driver was explicitly rejecting an active resolution whose dimensions were not multiples of four. Without captured frames, neither the H.264 encoder nor WebRTC could produce a picture.
That is why adjusting browser quality or WebRTC settings was not the right starting point. The failure was upstream, at HDMI acquisition.
3. Why a simple EDID change was not enough
EDID (Extended Display Identification Data) tells a source which resolutions and timings a display supports. In this setup, the Comet advertised the display capabilities to the connected devices.
Unfortunately, a profile that worked for the wired computers did not necessarily work for the wireless receiver.
The 720p and 1600×900 profiles proved that the two paths could coexist, but the desktop resolution was lower than I wanted. Lower refresh rates and reduced blanking did not provide a complete solution either.
Interestingly, standard 720p60 and 1080p30 timings share a 74.25 MHz pixel clock. The former worked and the latter failed in web capture. Without measuring the actual signal on the wire, this was not proof of a chipset limit, but it was a good reason to stop treating the pixel clock as the only variable.
The full experiment log is in the appendix.
4. The solution: one EDID with two useful options
Instead of forcing every device to use the same resolution, I built a hybrid EDID based on the factory ASUS profile. It retained the standard HDMI modes and added the previously tested 1680×1048 timing.
The preferred 1080p mode remained available for sources that wanted a familiar HDMI timing. The optional 1680×1048 mode gave the wired computers an alternative compatible with the capture driver’s dimension check.
With port 4 selected, the wireless laptop appeared in the Comet web interface at 1280×720. The preferred mode advertised by the EDID was 1920×1080, but that is not necessarily the resolution ultimately delivered to the capture pipeline. I did not establish where 720p was selected or whether the UGREEN kit scaled the picture.
The exact 256-byte profile and detailed timing are included below for reproduction.
5. Windows: desktop mode is not active signal mode
One Lenovo laptop still failed after applying the hybrid EDID. This turned out to be the most useful Windows-specific finding of the entire investigation.
Under Settings → System → Display → Advanced display, Windows reported two different resolutions for the external display:
Identify the GPU that actually controls HDMI
The laptop contained both an Intel HD Graphics 4600 and an NVIDIA GeForce 840M. However, Advanced display identified Intel as the relevant adapter, and the NVIDIA Control Panel had no Display category. Troubleshooting NVIDIA’s display service was therefore not a substitute for checking the actual HDMI output path.
I used Custom Resolution Utility (CRU) to add a persistent local EDID override. It made 1680×1048 available as a desktop mode, but initially did not change the active signal. The global Comet EDID and the local Windows override were separate configuration layers.
Verify the installed display driver
The first Intel driver installation appeared to succeed, but Windows still reported version
20.19.15.4531. The intended20.19.15.5171package was absent from the Driver Store.These PowerShell commands distinguish the version associated with each graphics adapter from the packages available in the Driver Store:
Web capture recovered after retrying the Intel installation. I did not retain a final driver-version listing or active-signal screenshot, so I cannot conclusively attribute recovery to one particular installer action or confirm the final transmitted timing.
Related reference: Microsoft’s documentation on overriding monitor EDIDs.
6. Final results
The desired combination was achieved in everyday use: all three wired computers accessible remotely, plus the wireless laptop on port 4. I did not document a four-port cold-start acceptance test or independently measure the wireless transmission format.
7. How I would troubleshoot this next time
Also, save the original EDID before editing it. If the source is the same computer that runs the browser, avoid clicking the remote canvas while changing ports: the input can be sent straight back to that computer.
The lesson: a monitor displaying a picture and a KVM successfully capturing that picture are different things. A difference of just two active lines was enough to make one path work and the other fail.
Technical appendix: reproduce the configuration
The following details are for anyone investigating a similar Comet X setup or reproducing the exact profile.
A. The 1680×1048 detailed timing
The detailed timing descriptor begins with
21 39, representing a 146.25 MHz pixel clock (little-endian, in units of 10 kHz).The existing descriptor was preserved rather than regenerated, because specifying only a resolution and nominal refresh rate does not uniquely determine the timings. The preferred 1080p60 mode uses 148.50 MHz and totals of 2200×1125.
The CTA extension retains video identification codes (VICs) 16, 31, 4, 19, 3, 18 and 1: the 1080p60, 1080p50, 720p60, 720p50, 480p60, 576p50 and 640×480p60 families. VIC 16 remains flagged as native.
B. Exact hybrid EDID (256 bytes)
In the Comet web interface, go to Session Settings → Video → EDID → Customize → Edit. Save the existing EDID or factory preset, paste these hex bytes and select Set Custom.
The base and extension checksum bytes are
99andfc. To verify the profile, save the hex rows incomet-edid.txtand hash the decoded bytes, not the textual representation:Expected SHA-256:
A valid checksum verifies copying integrity, not hardware compatibility. Keep a working fallback before applying the profile to another setup.
C. Full experiment log
Expand all tested EDID combinations
D. Test notes and limitations
The saved web baseline used Direct H.264, Normal mode, Smooth Display, High quality, 0° orientation and Adaptive view. Adaptive view scales the image in the browser, so the apparent picture size is not a measurement of captured resolution.
The EDID backup and port checks were taken at different times. Port 1 showed 0 fps in an earlier snapshot; port 3 was the last outstanding wired failure in the later investigation. These are separate observations rather than contradictory results from a single test.
For a repeatable test, record the source, physical picture, wireless picture, browser picture and fps, desktop mode, active signal mode, EDID hash and whether the port was freshly selected. The final Windows timing and wireless radio format were not independently verified.
By Menelaos Bakopoulos • Uncategorized 0