Mouse/Scrolling is choppy when Handbrake window is in focus

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
EhronW
Posts: 12
Joined: Sat Jul 25, 2020 2:08 pm

Mouse/Scrolling is choppy when Handbrake window is in focus

Post by EhronW »

I noticed that whenever Handbrake is open and it is the in-focus window, the mouse and scrolling becomes super choppy as if my refresh rate has dropped in half. Opening any other window, minimizing Handbrake, or just clicking an already open window, even if Handbrake is still open will cause the problem to instantly go away. It's as if Handbrake's window being focused is screwing with G-Sync or the refresh rate somehow. It doesn't matter if Handbrake is encoding or not, and it happens as soon as I open it.

HandBrake version 1.3.1

Windows 10 Home Version 2004:

HandBrake Activity Log ***required*** (see How-to get an activity log)

Code: Select all

HandBrake 1.3.1 (2020010400)
OS: Microsoft Windows NT 10.0.19041.0
CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Ram: 32698 MB, 
GPU Information:
  NVIDIA GeForce RTX 2080 Ti - 27.21.14.6140
Screen: 3440x1440
Temp Dir: C:\Users\Aaron\AppData\Local\Temp\
Install Dir: C:\Program Files\HandBrake
Data Dir: C:\Users\Aaron\AppData\Roaming\HandBrake

-------------------------------------------


# Starting Encode ...

[09:19:40] base preset: TV DTS-HD
[21:19:40] hb_init: starting libhb thread
[21:19:40] Starting work at: Sat Feb 20 21:19:40 2021
[21:19:40] 1 job(s) to process
[21:19:40] json job:
{
  "Audio": {
    "AudioList": [
      {
        "Bitrate": 640,
        "DRC": 0.0,
        "Encoder": "ac3",
        "Gain": 0.0,
        "Mixdown": 7,
        "NormalizeMixLevel": false,
        "Samplerate": 0,
        "Name": "DTS-HD Master Audio / 5.1 / 48 kHz /  3786 kbps / 24-bit",
        "Track": 0,
        "DitherMethod": 0
      },
      {
        "Bitrate": 192,
        "DRC": 0.0,
        "Encoder": "av_aac",
        "Gain": 0.0,
        "Mixdown": 4,
        "NormalizeMixLevel": false,
        "Samplerate": 48000,
        "Name": "DTS-HD Master Audio / 5.1 / 48 kHz /  3786 kbps / 24-bit",
        "Track": 0,
        "DitherMethod": 0
      }
    ],
    "CopyMask": [
      "copy:aac",
      "copy:ac3",
      "copy:dtshd",
      "copy:dts",
      "copy:eac3",
      "copy:flac",
      "copy:mp3",
      "copy:truehd"
    ],
    "FallbackEncoder": "ac3"
  },
  "Destination": {
    "ChapterList": [
      {
        "Name": "Between Space and Time"
      },
      {
        "Name": "From My World"
      },
      {
        "Name": "My Archenemy"
      },
      {
        "Name": "The Crystal Cave"
      },
      {
        "Name": "Pretty Severe"
      },
      {
        "Name": "Someone Very Special"
      },
      {
        "Name": "It's True"
      },
      {
        "Name": "End Credits"
      }
    ],
    "ChapterMarkers": true,
    "AlignAVStart": false,
    "File": "\\\\10.10.10.5\\Skynet\\Movies\\Duplicates\\Archenemy.2020.1080p.BluRay.mp4",
    "Mp4Options": {
      "IpodAtom": false,
      "Mp4Optimize": false
    },
    "Mux": "mp4"
  },
  "Filters": {
    "FilterList": [
      {
        "ID": 4,
        "Settings": {
          "mode": "7"
        }
      },
      {
        "ID": 3,
        "Settings": {
          "block-height": "16",
          "block-thresh": "40",
          "block-width": "16",
          "filter-mode": "2",
          "mode": "3",
          "motion-thresh": "1",
          "spatial-metric": "2",
          "spatial-thresh": "1"
        }
      },
      {
        "ID": 12,
        "Settings": {
          "crop-bottom": "136",
          "crop-left": "0",
          "crop-right": "0",
          "crop-top": "136",
          "height": "808",
          "width": "1920"
        }
      },
      {
        "ID": 6,
        "Settings": {
          "mode": "0"
        }
      }
    ]
  },
  "PAR": {
    "Num": 1,
    "Den": 1
  },
  "Metadata": {},
  "SequenceID": 0,
  "Source": {
    "Angle": 1,
    "Range": {
      "Type": "chapter",
      "Start": 1,
      "End": 8
    },
    "Title": 1,
    "Path": "Z:\\Movies\\4K Movies\\Archenemy.2020.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-TRiToN.mkv"
  },
  "Subtitle": {
    "Search": {
      "Burn": true,
      "Default": false,
      "Enable": true,
      "Forced": true
    },
    "SubtitleList": []
  },
  "Video": {
    "Encoder": "x264",
    "Level": "4.0",
    "TwoPass": false,
    "Turbo": false,
    "ColorMatrixCode": 0,
    "Options": "rc-lookahead=40:b-adapt=2:me=tesa:vbv-maxrate=7000:vbv-bufsize=14000",
    "Preset": "slower",
    "Profile": "main",
    "Quality": 15.0,
    "Tune": "film",
    "QSV": {
      "Decode": false,
      "AsyncDepth": 0
    }
  }
}
[21:19:40] CPU: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
[21:19:40]  - Intel microarchitecture Kaby Lake
[21:19:40]  - logical processor count: 16
[21:19:40] Intel Quick Sync Video support: no
[21:19:40] hb_scan: path=Z:\Movies\4K Movies\Archenemy.2020.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-TRiToN.mkv, title_index=1
udfread ERROR: ECMA 167 Volume Recognition failed
src/libbluray/disc/disc.c:323: failed opening UDF image Z:\Movies\4K Movies\Archenemy.2020.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-TRiToN.mkv
src/libbluray/disc/disc.c:424: error opening file BDMV\index.bdmv
src/libbluray/disc/disc.c:424: error opening file BDMV\BACKUP\index.bdmv
src/libbluray/bluray.c:2585: nav_get_title_list(Z:\Movies\4K Movies\Archenemy.2020.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-TRiToN.mkv\) failed
[21:19:40] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[21:19:40] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'Z:\Movies\4K Movies\Archenemy.2020.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-TRiToN.mkv':
  Metadata:
    title           : Archenemy (2020)
    encoder         : libebml v1.4.1 + libmatroska v1.6.2
    creation_time   : 2021-02-21T01:16:35.000000Z
    IMDB-eng        : tt11274100
    TMDB            : movie/727097
  Duration: 01:30:16.41, start: 0.000000, bitrate: 24680 kb/s
    Chapter #0:0: start 0.000000, end 350.100000
    Metadata:
      title           : Between Space and Time
    Chapter #0:1: start 350.100000, end 1104.145000
    Metadata:
      title           : From My World
    Chapter #0:2: start 1104.145000, end 2028.401000
    Metadata:
      title           : My Archenemy
    Chapter #0:3: start 2028.401000, end 3008.923000
    Metadata:
      title           : The Crystal Cave
    Chapter #0:4: start 3008.923000, end 3868.990000
    Metadata:
      title           : Pretty Severe
    Chapter #0:5: start 3868.990000, end 4216.963000
    Metadata:
      title           : Someone Very Special
    Chapter #0:6: start 4216.963000, end 5007.669000
    Metadata:
      title           : It's True
    Chapter #0:7: start 5007.669000, end 5416.411000
    Metadata:
      title           : End Credits
    Stream #0:0(zxx): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : MPEG-4 AVC Video / 20988 kbps / 1080p / 23.976 fps / 16:9 / High Profile 4.1
      BPS-eng         : 20831357
      DURATION-eng    : 01:30:16.411000000
      NUMBER_OF_FRAMES-eng: 129864
      NUMBER_OF_BYTES-eng: 14103899475
      _STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-02-21 01:16:35
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit) (default)
    Metadata:
      title           : DTS-HD Master Audio / 5.1 / 48 kHz /  3786 kbps / 24-bit
      BPS-eng         : 3786590
      DURATION-eng    : 01:30:15.403000000
      NUMBER_OF_FRAMES-eng: 507694
      NUMBER_OF_BYTES-eng: 2563239064
      _STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-02-21 01:16:35
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : English
      BPS-eng         : 23232
      DURATION-eng    : 01:22:10.759000000
      NUMBER_OF_FRAMES-eng: 2276
      NUMBER_OF_BYTES-eng: 14318953
      _STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-02-21 01:16:35
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:3(fre): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : French
      BPS-eng         : 21002
      DURATION-eng    : 01:22:10.760000000
      NUMBER_OF_FRAMES-eng: 2052
      NUMBER_OF_BYTES-eng: 12944626
      _STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-02-21 01:16:35
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
    Stream #0:4(spa): Subtitle: hdmv_pgs_subtitle
    Metadata:
      title           : Spanish
      BPS-eng         : 20836
      DURATION-eng    : 01:22:10.759000000
      NUMBER_OF_FRAMES-eng: 2092
      NUMBER_OF_BYTES-eng: 12842652
      _STATISTICS_WRITING_APP-eng: mkvmerge v53.0.0 ('Fool's Gold') 64-bit
      _STATISTICS_WRITING_DATE_UTC-eng: 2021-02-21 01:16:35
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
[21:19:40] scan: decoding previews for title 1
[21:19:40] scan: audio 0x1: dca, rate=48000Hz, bitrate=1 English (DTS-HD MA) (5.1 ch)
[21:19:41] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 136/136/0/0, aspect 16:9, PAR 1:1
[21:19:41] scan: supported video decoders: avcodec qsv
[21:19:41] libhb: scan thread found 1 valid title(s)
[21:19:41] Starting Task: Subtitle Scan
[21:19:41] Skipping vfr filter
[21:19:41] job configuration:
[21:19:41]  * source
[21:19:41]    + Z:\Movies\4K Movies\Archenemy.2020.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-TRiToN.mkv
[21:19:41]    + title 1, chapter(s) 1 to 8
[21:19:41]    + container: matroska,webm
[21:19:41]    + data rate: 24680 kbps
[21:19:41]  * destination
[21:19:41]    + \\10.10.10.5\Skynet\Movies\Duplicates\Archenemy.2020.1080p.BluRay.mp4
[21:19:41]    + container: MPEG-4 (libavformat)
[21:19:41]      + chapter markers
[21:19:41]  * video track
[21:19:41]    + decoder: h264
[21:19:41]    + filters
[21:19:41]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[21:19:41]      + Decomb (mode=39)
[21:19:41]      + Crop and Scale (width=1920:height=808:crop-top=136:crop-bottom=136:crop-left=0:crop-right=0)
[21:19:41]        + source: 1920 * 1080, crop (136/136/0/0): 1920 * 808, scale: 1920 * 808
[21:19:41]    + Output geometry
[21:19:41]      + storage dimensions: 1920 x 808
[21:19:41]      + pixel aspect ratio: 1 : 1
[21:19:41]      + display dimensions: 1920 x 808
[21:19:41]  * Foreign Audio Search: Render/Burn-in, Forced Only
[21:19:41]    + subtitle, English [PGS] (track 0, id 0x2, Picture)
[21:19:41] sync: expecting 129864 video frames
[21:20:32] reader: done. 1 scr changes
[21:20:32] work: average encoding speed for job is 0.000000 fps
[21:20:32] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[21:20:32] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[21:20:32] h264-decoder done: 0 frames, 0 decoder errors
[21:20:32] sync: got 0 frames, 129864 expected
[21:20:32] Subtitle track 0 (id 0x2) 'English [PGS]': 1138 hits (0 forced)
[21:20:32] No candidate detected during subtitle scan
[21:20:32] Starting Task: Encoding Pass
[21:20:32] Skipping vfr filter
[21:20:32] job configuration:
[21:20:32]  * source
[21:20:32]    + Z:\Movies\4K Movies\Archenemy.2020.1080p.BluRay.REMUX.AVC.DTS-HD.MA.5.1-TRiToN.mkv
[21:20:32]    + title 1, chapter(s) 1 to 8
[21:20:32]    + container: matroska,webm
[21:20:32]    + data rate: 24680 kbps
[21:20:32]  * destination
[21:20:32]    + \\10.10.10.5\Skynet\Movies\Duplicates\Archenemy.2020.1080p.BluRay.mp4
[21:20:32]    + container: MPEG-4 (libavformat)
[21:20:32]      + chapter markers
[21:20:32]  * video track
[21:20:32]    + decoder: h264
[21:20:32]    + filters
[21:20:32]      + Comb Detect (mode=3:spatial-metric=2:motion-thresh=1:spatial-thresh=1:filter-mode=2:block-thresh=40:block-width=16:block-height=16)
[21:20:32]      + Decomb (mode=39)
[21:20:32]      + Crop and Scale (width=1920:height=808:crop-top=136:crop-bottom=136:crop-left=0:crop-right=0)
[21:20:32]        + source: 1920 * 1080, crop (136/136/0/0): 1920 * 808, scale: 1920 * 808
[21:20:32]    + Output geometry
[21:20:32]      + storage dimensions: 1920 x 808
[21:20:32]      + pixel aspect ratio: 1 : 1
[21:20:32]      + display dimensions: 1920 x 808
[21:20:32]    + encoder: H.264 (libx264)
[21:20:32]      + preset:  slower
[21:20:32]      + tune:    film
[21:20:32]      + options: rc-lookahead=40:b-adapt=2:me=tesa:vbv-maxrate=7000:vbv-bufsize=14000
[21:20:32]      + profile: main
[21:20:32]      + level:   4.0
[21:20:32]      + quality: 15.00 (RF)
[21:20:32]      + color profile: 1-1-1
[21:20:32]  * audio track 1
[21:20:32]    + name: DTS-HD Master Audio / 5.1 / 48 kHz /  3786 kbps / 24-bit
[21:20:32]    + decoder: English (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[21:20:32]      + samplerate: 48000 Hz
[21:20:32]    + mixdown: 5.1 Channels
[21:20:32]    + dither: none
[21:20:32]    + encoder: AC3 (libavcodec)
[21:20:32]      + bitrate: 640 kbps, samplerate: 48000 Hz
[21:20:32]  * audio track 2
[21:20:32]    + name: DTS-HD Master Audio / 5.1 / 48 kHz /  3786 kbps / 24-bit
[21:20:32]    + decoder: English (DTS-HD MA) (5.1 ch) (track 1, id 0x1)
[21:20:32]      + samplerate: 48000 Hz
[21:20:32]    + mixdown: Stereo
[21:20:32]    + dither: none
[21:20:32]    + encoder: AAC (libavcodec)
[21:20:32]      + bitrate: 192 kbps, samplerate: 48000 Hz
[21:20:33] sync: expecting 129864 video frames
[21:20:33] encx264: min-keyint: 24, keyint: 240
[21:20:33] encx264: encoding at constant RF 15.000000
[21:20:33] encx264: unparsed options: b-adapt=2:me=tesa:vbv-maxrate=7000:vbv-bufsize=14000:level=4.0:ref=5:direct=auto:deblock=-1,-1:analyse=all:8x8dct=0:subme=9:trellis=2:psy-rd=1,0.15
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x264 [info]: profile Main, level 4.0, 4:2:0, 8-bit
[21:20:33] sync: first pts video is 0
[21:20:33] sync: "Between Space and Time" (1) at frame 1 time 0
[21:20:33] sync: first pts audio 0x1 is 0
[21:20:33] sync: first pts audio 0x1 is 0
[21:28:23] sync: "From My World" (2) at frame 8395 time 31508977
[21:44:12] sync: "My Archenemy" (3) at frame 26474 time 99373023
[22:04:08] sync: "The Crystal Cave" (4) at frame 48634 time 182556123
[22:24:33] sync: "Pretty Severe" (5) at frame 72145 time 270810540
[22:42:37] sync: "Someone Very Special" (6) at frame 92764 time 348209111
[22:49:54] sync: "It's True" (7) at frame 101107 time 379526647
[23:08:13] sync: "End Credits" (8) at frame 120065 time 450690240

User avatar
s55
HandBrake Team
Posts: 10350
Joined: Sun Dec 24, 2006 1:05 pm

Re: Mouse/Scrolling is choppy when Handbrake window is in focus

Post by s55 »

Please report it to Nvidia.

There are options in the Nvidia control panel to disable Gsync for specific applications that you can also set to avoid this in the mean time.
EhronW
Posts: 12
Joined: Sat Jul 25, 2020 2:08 pm

Re: Mouse/Scrolling is choppy when Handbrake window is in focus

Post by EhronW »

I had already tried that, but it must have required a restart because that seems to have taken it away. Thank you.
Post Reply