Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 07-09-2019, 06:33 PM   #4
jei
Junior Member
 
Join Date: May 2019
Posts: 2
Default

Hi everyone,

when I tried the new evdi release (1.6.2) today I played around with different resolutions and worked out a workaround for the distortion problem.

My solution is to run the USB monitor at a slightly lower resolution than intended by the specification. I use 1360x768 instead of 1366x768. On my device, this does not lead to a blurred image, the screen works just fine then.

I wrote the following shell script to set up the custom resolution (1360x768). Please adjust the variables in ll. 5-7 to match the correct RandR output (run xrandr without any parameters to find it) and the desired resoultion.

Code:
#!/bin/bash

# Adjust these parameters to your needs.
# These worked for me (AOC E1659Fwu)
OUTPUT="DVI-I-1-1"
HORIZONTAL_RES="1360"
VERTICAL_RES="768"

MODELINE="$(cvt ${HORIZONTAL_RES} ${VERTICAL_RES} | tail -n 1 | awk '{for (i=3; i<=NF; i++) print $i}')"
MODELINE_NAME=$(echo ${MODELINE} | awk '{print $1}' | sed -e 's/^"//' -e 's/"$//')

echo "Modeline:"
echo ${MODELINE_NAME} ${MODELINE}
echo

echo "[*] xrandr --newmode"
xrandr -d :0 --newmode ${MODELINE_NAME} ${MODELINE}

echo "[*] xrandr --addmode (${OUTPUT})"
xrandr -d :0 --addmode "${OUTPUT}" ${MODELINE_NAME}

echo "[*] Set new resolution"
xrandr -d :0 --output "${OUTPUT}" --mode ${MODELINE_NAME}
I'm still interested in any advice to stop my cursor from flickering on non-DisplayLink screens.

— Jan

Last edited by jei; 07-09-2019 at 06:46 PM.
jei is offline   Reply With Quote
 

Tags
distorted, image, problem, rotated, skewed


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:55 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.