[SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Please post your questions about using the web-based Photo, Music, Video Stations here.
vikino
Know my way around
Posts: 131
Joined: Sun Jul 10, 2016 3:06 am

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by vikino »

That is not long-term solution...
User avatar
dolbyman
Guru
Posts: 35273
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by dolbyman »

report it to qnap then ...revert in the meantime

lots of threads with issues on the new version ..apparently the beginning of the end of 3rd part apps like kodi
vikino
Know my way around
Posts: 131
Joined: Sun Jul 10, 2016 3:06 am

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by vikino »

Kodi works fine all the time,only HD apps like YouTube, Chrome are bad...
krazye
New here
Posts: 2
Joined: Sat Apr 20, 2013 7:48 pm
Location: East London, South Africa

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by krazye »

Any solution to this yet? This is driving me crazy, the tearing is also affecting Kodi, irrespective of what setting I use.
vikino
Know my way around
Posts: 131
Joined: Sun Jul 10, 2016 3:06 am

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by vikino »

Yop,i noticed it in Kodi too, it is since last update :-/
btekcan
New here
Posts: 6
Joined: Tue Dec 26, 2017 3:25 pm

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by btekcan »

Same problem my TS-453A :(
androgenix
First post
Posts: 1
Joined: Sun Jan 08, 2012 4:32 pm

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by androgenix »

According to following links the parameters are only applicable to SNA acceleration and with SwapbufferWait=true:
https://wiki.archlinux.org/index.php/In ... free_video
viewtopic.php?t=125582

Therefore need to additional options in 20-intel.conf as below in ....qpkg/HD_Station/usr/share/X11/xorg.conf.d referenced earlier in the thread?

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "SNA"
Option "SwapbuffersWait" "true"
Option "TearFree" "true"
EndSection

Seems to improve tearing somewhat but different concern is not getting HD from Amazon due to HDCP support?...for another thread...

TS-253A, LG OLED65E6T
User avatar
Trexx
Ask me anything
Posts: 5388
Joined: Sat Oct 01, 2011 7:50 am
Location: Minnesota

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by Trexx »

HDCP has a licensing cost (and likely drivers) associated with it that Qnap does not include with your model.


Sent from my iPhone using Tapatalk
Paul

Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350

Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
carvemytomb
First post
Posts: 1
Joined: Tue Jan 02, 2018 8:18 am

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by carvemytomb »

androgenix wrote:According to following links the parameters are only applicable to SNA acceleration and with SwapbufferWait=true:
https://wiki.archlinux.org/index.php/In ... free_video
viewtopic.php?t=125582

Therefore need to additional options in 20-intel.conf as below in ....qpkg/HD_Station/usr/share/X11/xorg.conf.d referenced earlier in the thread?

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "SNA"
Option "SwapbuffersWait" "true"
Option "TearFree" "true"
EndSection

Seems to improve tearing somewhat but different concern is not getting HD from Amazon due to HDCP support?...for another thread...

TS-253A, LG OLED65E6T
This actually made the screen tearing worse in Kodi, Chrome & Youtube on my TS-453Bmini. bummer.
Speedy65
First post
Posts: 1
Joined: Mon Feb 12, 2018 8:02 am

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by Speedy65 »

Got a 253A

and maybe this is easier to do. Instead of all these extras programs.
You just need a telnet / ssh program like Putty

Putty.exe and SSH to your QNAP IP adres:

Lookup the folder:

[/] # find -name xorg.conf.d
./share/CACHEDEV1_DATA/.qpkg/HD_Station/share/CACHEDEV1_DATA/.qpkg/HD_Station/usr/share/X11/xorg.conf.d <<<<<<<<<<<<<< 1
find: ./share/CACHEDEV1_DATA/.qpkg/HD_Station/proc/17565: No such file or directory
find: ./share/CACHEDEV1_DATA/.qpkg/HD_Station/proc/17566: No such file or directory
find: ./share/CACHEDEV1_DATA/.qpkg/HD_Station/proc/17567: No such file or directory
./share/CACHEDEV1_DATA/.qpkg/HD_Station/usr/share/X11/xorg.conf.d <<<<<<<<<<<<<<<<<<<<<<<<< 2
find: ./share/CACHEDEV1_DATA/.qpkg/CodexPack/proc/17572: No such file or directory
find: ./share/CACHEDEV1_DATA/.qpkg/CodexPack/proc/17601: No such file or directory
find: ./share/CACHEDEV1_DATA/.qpkg/CodexPack/proc/17619: No such file or directory
find: ./share/CACHEDEV1_DATA/.qpkg/CodexPack/proc/17639: No such file or directory
find: ./share/CACHEDEV1_DATA/.qpkg/CodexPack/proc/17641: No such file or directory
find: ./proc/17678: No such file or directory
find: ./proc/17680: No such file or directory

Just 2?? well i go to this one:

CD-ed to the directory ->

[/] # cd /share/CACHEDEV1_DATA/.qpkg/HD_Station/usr/share/X11/xorg.conf.d

[/share/CACHEDEV1_DATA/.qpkg/HD_Station/usr/share/X11/xorg.conf.d] # ls
10-evdev.conf 11-evdev-quirks.conf 50-synaptics.conf 50-wacom.conf
10-quirks.conf 11-evdev-trackpoint.conf 50-vmmouse.conf 51-synaptics-quirks.conf
[/share/CACHEDEV1_DATA/.qpkg/HD_Station/usr/share/X11/xorg.conf.d] #

Start VI ( Editor)

[/share/CACHEDEV1_DATA/.qpkg/HD_Station/usr/share/X11/xorg.conf.d] # vi 20-intel.conf

copy / paste your config :

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
EndSection

save+write the file with :qw

ps: If you f*ckup hit ESC and do :q! (you can type in the commands at the bottom of the screen)
This will quit VI without saving the file

Check the file:

<ation/usr/share/X11/xorg.conf.d] # cat 20-intel.conf
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
EndSection
[/share/CACHEDEV1_DATA/.qpkg/HD_Station/usr/share/X11/xorg.conf.d] #

or with the extra "options"

I will test these options because CHROME does have issue's. Vsync problem is gone but i get Framedrops / Stalls with this setup
(you can check this by clicking on the youtube video and right mouse button and choose "Stats for nerds".

Reboot

Done

Results:

No more VSYNC issue with the follow setup(browser with youtube):

Chrome and Firefox Full Screen 1080P (Chrome seems to have drops now )
2k and 4k not possible ( to High CPU load )with both
Chrome has RAM spikes with 2k and 4k

Full Screen Chrome Frame Drops
Full Screen Firefox No Frame Drops

So Vsync is gone and work on 1080P with firefox. No more vsync issue's
Chrome or script needs some tweaking.

Is someone able to run 4K video's on the 253A? I read it should (CPU can handle 4K) be possible but maybe only with the right codec.
tedhagler
New here
Posts: 2
Joined: Tue Mar 13, 2018 12:52 am

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by tedhagler »

When I try to perform the command "find -name xorg.conf.d" it just goes to the next line.

I haven't used putty for about 10 years.
Help displays the following...with no Find command.


[~] # help
GNU bash, version 3.2.57(1)-release (x86_64-QNAP-linux-gnu)
These shell commands are defined internally. Type `help' to see this list.
Type `help name' to find out more about the function `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.

A star (*) next to a name means that the command is disabled.

JOB_SPEC [&] (( expression ))
. filename [arguments] :
[ arg... ] [[ expression ]]
alias [-p] [name[=value] ... ] bg [job_spec ...]
bind [-lpvsPVS] [-m keymap] [-f fi break [n]
builtin [shell-builtin [arg ...]] caller [EXPR]
case WORD in [PATTERN [| PATTERN]. cd [-L|-P] [dir]
command [-pVv] command [arg ...] compgen [-abcdefgjksuv] [-o option
complete [-abcdefgjksuv] [-pr] [-o continue [n]
declare [-afFirtx] [-p] [name[=val dirs [-clpv] [+N] [-N]
disown [-h] [-ar] [jobspec ...] echo [-neE] [arg ...]
enable [-pnds] [-a] [-f filename] eval [arg ...]
exec [-cl] [-a name] file [redirec exit [n]
export [-nf] [name[=value] ...] or false
fc [-e ename] [-nlr] [first] [last fg [job_spec]
for NAME [in WORDS ... ;] do COMMA for (( exp1; exp2; exp3 )); do COM
function NAME { COMMANDS ; } or NA getopts optstring name [arg]
hash [-lr] [-p pathname] [-dt] [na help [-s] [pattern ...]
history [-c] [-d offset] [n] or hi if COMMANDS; then COMMANDS; [ elif
jobs [-lnprs] [jobspec ...] or job kill [-s sigspec | -n signum | -si
let arg [arg ...] local name[=value] ...
logout popd [+N | -N] [-n]
printf [-v var] format [arguments] pushd [dir | +N | -N] [-n]
pwd [-LP] read [-ers] [-u fd] [-t timeout] [
readonly [-af] [name[=value] ...] return [n]
select NAME [in WORDS ... ;] do CO set [--abefhkmnptuvxBCHP] [-o opti
shift [n] shopt [-pqsu] [-o long-option] opt
source filename [arguments] suspend [-f]
test [expr] time [-p] PIPELINE
times trap [-lp] [arg signal_spec ...]
true type [-afptP] name [name ...]
typeset [-afFirtx] [-p] name[=valu ulimit [-SHacdfilmnpqstuvx] [limit
umask [-p] [-S] [mode] unalias [-a] name [name ...]
unset [-f] [-v] [name ...] until COMMANDS; do COMMANDS; done
variables - Some variable names an wait [n]
while COMMANDS; do COMMANDS; done { COMMANDS ; }
Nekdo
New here
Posts: 7
Joined: Sat Aug 29, 2015 2:45 pm

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by Nekdo »

This solution worked for years, but the latest HD Station seems to overwrite any change I make in intel file. For me it's located in /share/CACHEDEV1_DATA/.qpkg/HD_Station/usr/share/X11/xorg.conf.d/10-intel.conf and adding Option "TearFree" "true" used to work, but it seems they changed something because 10-intel.conf gets generated / overwritten every time I restart HD Station (which also means on NAS restart). I don't know how to overcome this, it's probably written in some other file, but since I'm no linux expert this is beyond my knowledge. If anyone figures it out pls do share because this NAS just lost half of functionality for me.

NAS model: TS-451
Firmware: 4.4.1.1081 build 20191005
HD Station: 4.0.4
altaroinj
New here
Posts: 9
Joined: Mon Mar 23, 2015 3:36 am

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by altaroinj »

If you want to make it permanent, you should modify the script :
/share/CACHEDEV1_DATA/.qpkg/HD_Station/HD_Station.sh

But this modification will not survive a HDStation update.

You need to replace the following line in create_intel_graphics_conf() function :

Code: Select all

cat >$HDS_INSTALL_PATH/usr/share/X11/xorg.conf.d/10-intel.conf << EOF
Section "Device"
    Identifier "IntelGraphics"
    Driver     "intel"
    BusID      "PCI:$((16#$bus_num)):$((16#$device_num)):$((16#$func_num))"
EndSection
EOF
by

Code: Select all

cat >$HDS_INSTALL_PATH/usr/share/X11/xorg.conf.d/10-intel.conf << EOF
Section "Device"
    Identifier "IntelGraphics"
    Driver     "intel"
    BusID      "PCI:$((16#$bus_num)):$((16#$device_num)):$((16#$func_num))"
    Option     "TearFree"    "true"
EndSection
EOF
But I think a ticket should be opened on Qnap tracking website in order to add the option permanently.
geminatores

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by geminatores »

Changing HD_Station.sh solved the issue. Thank you very much! :mrgreen:
Armandooooo
New here
Posts: 6
Joined: Sat Apr 11, 2020 9:41 pm

Re: [SOLVED! SEE 2ND POST] TS-253A screen tearing ONLY in Chrome and YT

Post by Armandooooo »

Could this thread be pinned?
Post Reply

Return to “Photo Station, Music Station, Video Station”