1 (edited by Bakpoeder 06-12-2012 13:05:40)

Topic: Playback crash when OpenCL is enabled.

Hey guys!

I've been having some problems with SVP regarding the GPU-accelerated playback. Non-GPU playback works fine but is obviously slower :)

Whenever I try to enable OpenCL, the video starts playing, SVP works fine for some time (mostly around 1-2 minutes or so) and then the player just hangs, sound continues and I have to force Potplayer to close.
At the moment the playback crashes, SVP monitor gives me a sudden increase in memory used (from 700 to aprox. 1500+). So it seems like a memoryleak issue.

Im using PotPlayer with EVR custom preset. Haali splitter, AviSynth SVP edition etc.

Things i've tried:
- Patch PotPlayer.exe to use 4gb+
- ReloadAVSfactor = 0 (plus the patch given somewhere on this forum)
- Using current/older version(s) of the full (so non-custom) SVP-package



Some system info:

** GRAPHICS ADAPTER(S) **
Catalyst Driver Version: 12.11 Enduro UnifL
Name: Intel(R) HD Graphics
Chipset manufacturer: Advanced Micro Devices, Inc.
Video RAM: 1885265920
Driver version: 9.17.10.2875
ID: PCI\VEN_8086&DEV_0116&SUBSYS_165A103C&REV_09\3&11583659&0&10
Status: OK
Name: AMD Radeon HD 6700M/7700M/7900M Series
Chipset manufacturer: Advanced Micro Devices, Inc.
Video RAM: 1073741824
Driver version: 9.10.0.0
ID: PCI\VEN_1002&DEV_6740&SUBSYS_165A103C&REV_00\4&3B7C5038&0&0008
Status: OK
** PROCESSOR, NOTEBOOK AND BIOS INFO **
PC name: HP Pavilion dv7 Notebook PC
Processor name: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
BIOS name: InsydeH2O Version 03.60.48F.1B
BIOS manufacturer: Hewlett-Packard
BIOS version: F.1B
** OS INFO **
OS: Microsoft Windows 7 Home Premium
Version: 6.1.7601
Architecture: 64-bits


TL;DR: PotPlayer crashes due to what appears to be a memory leak. How do I fix this issue?

Re: Playback crash when OpenCL is enabled.

quick solution - http://www.svp-team.com/forum/viewtopic.php?id=800

wait for SVP 3.1.3, it'll work with multi-GPU configs like yours

Re: Playback crash when OpenCL is enabled.

I cannot uninstall any Intel OpenCL drivers because the HD3000 (from 2nd gen. Ivy Bridge) does not support it. So the problem must be coming from somewhere else.

Re: Playback crash when OpenCL is enabled.

oh i see, sorry, it's a hard day smile

well, try MPC-HC

Re: Playback crash when OpenCL is enabled.

MPC-HC gives the same problem.

Re: Playback crash when OpenCL is enabled.

regardless of source video and SVP settings?

Re: Playback crash when OpenCL is enabled.

Bakpoeder
Whenever I try to enable OpenCL, the video starts playing, SVP works fine for some time (mostly around 1-2 minutes or so) and then the player just hangs, sound continues and I have to force Potplayer to close.
It is not normal, but not usual type of error.
Usual memory leak error appears just after start playing. In your case you have 1-2 minutes. It is another memory leak error.

Can you show a screenshot of SVP Performance graphs window just after player hungs?

8 (edited by Bakpoeder 06-12-2012 15:34:36)

Re: Playback crash when OpenCL is enabled.

http://i49.tinypic.com/2usblw0.jpg

http://i49.tinypic.com/2usblw0.jpg

Screenshot: you can clearly see the bump in memory used when the crash happens.

Re: Playback crash when OpenCL is enabled.

obviously this's not a memory leak
hmm

Re: Playback crash when OpenCL is enabled.

Bakpoeder
I see strange SVP-index value: 2.07x.
1364 MB is not so big value to lead to player's crash if you have 64bit system with 4+ GB memory.
720p is easy resolution to SVP. And it is not crash. Graphics shows player works at double speed: 2.07x

What happened 5 sec before screenshot? I see 2 sec pause then 5 sec fast play (2.07x).
Vertical lines on graphics shows settings change and SVP-mode change. Try to repeat this situation and show last launch log after that: SVP tray menu - Information (in advanced or expert Interface type).

Re: Playback crash when OpenCL is enabled.

10:00:26.070; Start: SVPMgr 3.1.2 starts...
10:00:26.070; Start: read settings file settings.ini. Äëèòåëüíîñòü: 10 ìñåê
10:00:26.080; Start: load language file - English. Duration: 170 ms
10:00:26.250; Start: clear Logs folder
10:00:26.250; Start: SVPMgr folders prepare. Duration: 533 ms
10:00:26.783; Start: performance graphs prepare
10:00:26.783; Start: read settings file SVPMgr.ini
10:00:26.783; Start: monitors settings detection. Duration: 2153 ms
10:00:28.936; Start: disable LNG-file write when UAC enabled
10:00:28.936; Start: change SVP-manager priority
10:00:28.936; Start: register hotkeys
10:00:28.936; Start: check launched instance of SVP-manager
10:00:28.936; Start: check Avisynth installed. Duration: 10733 ms
10:00:39.669; Start: get versions of modules used
ffdshow.ax/avisynth.dll: 1.2.4453.0/2.5.8.6
svpflow1/2.dll: 1.2.1.0/1.3.1.0
svpflow_cpu/gpu.dll: 1.7.1.0/1.7.2.0
10:00:39.669; Start: refresh autostart state in registry
10:00:39.669; Start: some more work with registry
10:00:39.669; Start: create menu. Duration: 15 ms
10:00:39.684; Start: update settings file settings.ini. Duration: 12340 ms
10:00:52.024; Start: update monitor settings
10:00:52.024; Start: prepare "About the program" window
10:00:52.024; Updates: check for updates. Request sended
10:00:52.352; Start: enable ffdShow waiting mode
10:00:52.352; RefreshSVP. Duration: 1154 ms
10:00:53.506; ===== Waiting for ffdshow video
10:00:53.506; Start: prepare to work is complete
10:00:53.631; Updates: connection opened
10:00:54.052; Updates: server answer:
HTTP/1.1 200 OK
Date: Fri, 07 Dec 2012 09:00:16 GMT
Server: Apache
Cache-Control: no-cache, must-revalidate
Expires: Sat, 26 Jul 1997 05:00:00 GMT
Vary: Accept-Encoding
Cache-Control: private, must-revalidate
Transfer-Encoding: chunked
Content-Type: text/html

10
3.1.2
04.06.2012

10:00:54.068; Updates: server answer:
0


10:01:05.922; Updates: connection closed
10:13:09.409; ===== Detected playback with ffdShow
10:13:09.413; GetDimensionAndFPS_Grab start. Duration: 102 ms
10:13:09.515; GetDimensionAndFPS_Grab - delete old files
10:13:09.517; GetDimensionAndFPS_Grab - MyFFDisON check. Duration: 6 ms
10:13:09.523; SetGrabParams - tempFolder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp
10:13:09.525; GetDimensionAndFPS_Grab - tempFolder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp
10:13:09.591; GetDimensionAndFPS_Grab result: 1280 688 23.976
10:13:09.600; T1T: begin. Duration: 9 ms
10:13:09.609; T1T: GetAllMediaParams
10:13:09.611; T1T: SettingsPrepare. Duration: 8 ms
10:13:09.619; T1T: Preparing smooth playback...
10:13:09.623; T1T: WriteAllMediaParamsToIni
10:13:09.626; SVPMgr: main "D:\Users\Menno\AppData\Roaming\SVP 3.1\" 1280 688 23.976 1280 688 5 2. Duration: 135 ms
10:13:09.761; ===== Playback
23.976 * (5 : 2) = 59.94 fps
10:13:09.763; SetPriorityPlayer: 1. Duration: 300 ms
10:13:10.063; RestoreGrabParams - Folder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp\
10:13:10.348; this is changing FalseVFR_Up. ffdShow-framerate: 24.172 SVP Index:0.00/0.00
10:13:11.382; this is changing #2. ffdShow-framerate: 23.976 SVP Index:0.00/0.00
10:13:11.385; express clear interval
10:13:11.387; stabilized framerate: 23.976 fps
10:13:51.861; RefreshSVP
10:13:51.866; ===== Waiting for ffdshow video

I really don't see anything weird (though i'm not the expert tongue), you can see that after 40 seconds I had to Ctrl Alt Delete and force the player to close.

Re: Playback crash when OpenCL is enabled.

Bakpoeder
I see many-many lags at your sistem.

10:00:26.783; Start: monitors settings detection. Duration: 2153 ms

You have two monitors?

10:00:28.936; Start: check Avisynth installed. Duration: 10733 ms

11 seconds of checking Avisynth??? hmm

10:00:39.684; Start: update settings file settings.ini. Duration: 12340 ms

12 seconds to write one txt file??? hmm

10:13:10.348; this is changing FalseVFR_Up. ffdShow-framerate: 24.172 SVP Index:0.00/0.00
10:13:11.382; this is changing #2. ffdShow-framerate: 23.976 SVP Index:0.00/0.00

0.00 fps. No play at screen while file start playing. It is abnormal! sad

Your laptop HP Pavilion dv7 Notebook PC is very strange. It operates slow in unexpected places.

What happend after 40 sec after start? Do you know? Do you touch it at this moment?

Re: Playback crash when OpenCL is enabled.

SVP starts up when windows starts, so that might explain why the numbers are so high. When I launch SVP when the system is booted the values are way lower: max is 200 ms for writing setting.ini.

Yes I have 2 monitors. Though the crash also happens when i'm using my native laptop monitor.

After the 40 seconds the image just hangs. Im not touching anything. Im now trying to see some kind of pattern (HDD usage, scene switching) but i'll need some more time for that.

Re: Playback crash when OpenCL is enabled.

SVP log from separatly starting SVP:

11:01:28.078; Start: SVPMgr 3.1.2 starts...
11:01:28.079; Start: read settings file settings.ini
11:01:28.080; Start: load language file - English. Duration: 24 ms
11:01:28.104; Start: clear Logs folder
11:01:28.106; Start: SVPMgr folders prepare. Duration: 7 ms
11:01:28.113; Start: performance graphs prepare
11:01:28.114; Start: read settings file SVPMgr.ini
11:01:28.116; Start: monitors settings detection. Duration: 881 ms
11:01:28.997; Start: disable LNG-file write when UAC enabled
11:01:28.999; Start: change SVP-manager priority
11:01:29.000; Start: register hotkeys
11:01:29.002; Start: check launched instance of SVP-manager
11:01:29.003; Start: check Avisynth installed
11:01:29.007; Start: get versions of modules used
ffdshow.ax/avisynth.dll: 1.2.4453.0/2.5.8.6
svpflow1/2.dll: 1.2.1.0/1.3.1.0
svpflow_cpu/gpu.dll: 1.7.1.0/1.7.2.0
11:01:29.008; Start: refresh autostart state in registry
11:01:29.009; Start: some more work with registry
11:01:29.012; Start: create menu. Duration: 6 ms
11:01:29.018; Start: update settings file settings.ini. Duration: 216 ms
11:01:29.234; Start: update monitor settings
11:01:29.236; Start: prepare "About the program" window. Duration: 8 ms
11:01:29.244; Start: enable ffdShow waiting mode
11:01:29.246; RefreshSVP
11:01:29.248; ===== Waiting for ffdshow video
11:01:29.250; Start: prepare to work is complete

Re: Playback crash when OpenCL is enabled.

Nice log. It is better. smile

Can you get additional information from SVP tray menu - Information?
1. First time just after playing before crash.
2. Second time - just after crash.

16 (edited by Bakpoeder 07-12-2012 10:58:21)

Re: Playback crash when OpenCL is enabled.

Log after crash (it lasted for almost 10 minutes! tongue)

11:45:53.110; Start: SVPMgr 3.1.2 starts...
11:45:53.111; Start: read settings file settings.ini
11:45:53.113; Start: load language file - English. Duration: 23 ms
11:45:53.136; Start: clear Logs folder
11:45:53.139; Start: SVPMgr folders prepare. Duration: 6 ms
11:45:53.145; Start: performance graphs prepare
11:45:53.146; Start: read settings file SVPMgr.ini
11:45:53.147; Start: monitors settings detection. Duration: 896 ms
11:45:54.043; Start: disable LNG-file write when UAC enabled
11:45:54.044; Start: change SVP-manager priority
11:45:54.045; Start: register hotkeys
11:45:54.047; Start: check launched instance of SVP-manager
11:45:54.048; Start: check Avisynth installed
11:45:54.052; Start: get versions of modules used
ffdshow.ax/avisynth.dll: 1.2.4453.0/2.5.8.6
svpflow1/2.dll: 1.2.1.0/1.3.1.0
svpflow_cpu/gpu.dll: 1.7.1.0/1.7.2.0
11:45:54.053; Start: refresh autostart state in registry
11:45:54.054; Start: some more work with registry
11:45:54.057; Start: create menu. Duration: 6 ms
11:45:54.063; Start: update settings file settings.ini. Duration: 217 ms
11:45:54.280; Start: update monitor settings
11:45:54.281; Start: prepare "About the program" window. Duration: 9 ms
11:45:54.290; Start: enable ffdShow waiting mode
11:45:54.292; RefreshSVP
11:45:54.294; ===== Waiting for ffdshow video
11:45:54.295; Start: prepare to work is complete
11:46:18.673; ===== Detected playback with ffdShow. Duration: 6 ms
11:46:18.679; GetDimensionAndFPS_Grab start. Duration: 105 ms
11:46:18.784; GetDimensionAndFPS_Grab - delete old files
11:46:18.786; GetDimensionAndFPS_Grab - MyFFDisON check
11:46:18.788; SetGrabParams - tempFolder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp
11:46:18.789; GetDimensionAndFPS_Grab - tempFolder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp
11:46:18.836; GetDimensionAndFPS_Grab result: 1280 688 23.976
11:46:18.841; T1T: begin
11:46:18.844; T1T: GetAllMediaParams
11:46:18.846; T1T: SettingsPrepare. Duration: 6 ms
11:46:18.852; T1T: Preparing smooth playback...
11:46:18.855; T1T: WriteAllMediaParamsToIni
11:46:18.856; SVPMgr: main "D:\Users\Menno\AppData\Roaming\SVP 3.1\" 1280 688 23.976 1280 688 5 2. Duration: 156 ms
11:46:19.012; ===== Playback
23.976 * (5 : 2) = 59.94 fps
11:46:19.014; SetPriorityPlayer: 1. Duration: 298 ms
11:46:19.312; RestoreGrabParams - Folder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp\
11:46:22.151; this is changing FalseVFR_Dwn. ffdShow-framerate: 7.66 SVP Index:1.01/1.13
11:46:23.087; this is changing FalseVFR_Up. ffdShow-framerate: 16.91 SVP Index:1.01/2.00
11:46:24.023; this is changing FalseVFR_Up. ffdShow-framerate: 20.937 SVP Index:1.01/1.38
11:46:24.959; this is changing FalseVFR_Up. ffdShow-framerate: 22.685 SVP Index:0.97/1.21
11:46:25.895; this is changing FalseVFR_Up. ffdShow-framerate: 23.443 SVP Index:1.01/1.03
11:46:26.831; this is changing FalseVFR_Up. ffdShow-framerate: 23.914 SVP Index:1.01/0.99
11:46:27.767; express clear interval
11:46:27.770; stabilized framerate: 23.976 fps. Duration: 10762 ms
11:46:38.532; RefreshSVP
11:46:38.536; ===== Waiting for ffdshow video
11:48:06.766; ===== Detected playback with ffdShow. Duration: 9 ms
11:48:06.775; GetDimensionAndFPS_Grab start. Duration: 105 ms
11:48:06.880; GetDimensionAndFPS_Grab - delete old files. Duration: 6 ms
11:48:06.886; GetDimensionAndFPS_Grab - MyFFDisON check. Duration: 10 ms
11:48:06.896; SetGrabParams - tempFolder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp
11:48:06.901; GetDimensionAndFPS_Grab - tempFolder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp
11:48:06.957; GetDimensionAndFPS_Grab result: 1280 688 23.976
11:48:06.970; T1T: begin. Duration: 10 ms
11:48:06.980; T1T: GetAllMediaParams
11:48:06.984; T1T: SettingsPrepare. Duration: 11 ms
11:48:06.995; T1T: Preparing smooth playback...
11:48:06.999; T1T: WriteAllMediaParamsToIni
11:48:07.001; SVPMgr: main "D:\Users\Menno\AppData\Roaming\SVP 3.1\" 1280 688 23.976 1280 688 5 2. Duration: 79 ms
11:48:07.080; ===== Playback
23.976 * (5 : 2) = 59.94 fps
11:48:07.081; SetPriorityPlayer: 1. Duration: 293 ms
11:48:07.374; RestoreGrabParams - Folder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp\
11:48:09.932; this is changing FalseVFR_Dwn. ffdShow-framerate: 7.592 SVP Index:1.01/0.97
11:48:10.869; this is changing FalseVFR_Up. ffdShow-framerate: 16.834 SVP Index:1.01/2.00
11:48:11.804; this is changing FalseVFR_Up. ffdShow-framerate: 20.871 SVP Index:1.01/1.39
11:48:12.741; this is changing FalseVFR_Up. ffdShow-framerate: 22.623 SVP Index:0.97/1.21
11:48:13.677; this is changing FalseVFR_Up. ffdShow-framerate: 23.354 SVP Index:0.97/1.21
11:48:14.613; this is changing FalseVFR_Up. ffdShow-framerate: 23.809 SVP Index:1.01/0.99
11:48:15.550; this is changing FalseVFR_Up. ffdShow-framerate: 23.976 SVP Index:1.02/0.98
11:48:15.552; express clear interval
11:48:15.554; stabilized framerate: 23.976 fps
11:55:39.669; RefreshSVP
11:55:39.673; ===== Waiting for ffdshow video

Log before crash, I just stopped the playback.

11:57:53.550; ===== Detected playback with ffdShow. Duration: 11 ms
11:57:53.561; GetDimensionAndFPS_Grab start. Duration: 105 ms
11:57:53.666; GetDimensionAndFPS_Grab - delete old files
11:57:53.671; GetDimensionAndFPS_Grab - MyFFDisON check. Duration: 13 ms
11:57:53.684; SetGrabParams - tempFolder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp
11:57:53.690; GetDimensionAndFPS_Grab - tempFolder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp
11:57:53.756; GetDimensionAndFPS_Grab result: 1280 688 23.976
11:57:53.769; T1T: begin. Duration: 8 ms
11:57:53.777; T1T: GetAllMediaParams
11:57:53.779; T1T: SettingsPrepare. Duration: 7 ms
11:57:53.786; T1T: Preparing smooth playback...
11:57:53.789; T1T: WriteAllMediaParamsToIni
11:57:53.791; SVPMgr: main "D:\Users\Menno\AppData\Roaming\SVP 3.1\" 1280 688 23.976 1280 688 5 2. Duration: 132 ms
11:57:53.923; ===== Playback
23.976 * (5 : 2) = 59.94 fps
11:57:53.925; SetPriorityPlayer: 1. Duration: 295 ms
11:57:54.220; RestoreGrabParams - Folder=D:\Users\Menno\AppData\Roaming\SVP 3.1\temp\
11:58:17.556; RefreshSVP
11:58:17.560; ===== Waiting for ffdshow video

Re: Playback crash when OpenCL is enabled.

No. Not log. "Additional information".

Re: Playback crash when OpenCL is enabled.

Before crash:

Last processed file parameters:
Filename: daa-ted-720p.mkv
Frame size and frame rate: 1280x688 pixels, 23.976 fps

Detected screen parameters
Screen size and refresh rate: 1920x1080 pixels, 60.003 Hz

Video smoothing info
Smooth factor: 5:2
Resulting video frame rate: 59.94 fps
Repeat 1 frame every 16 sec (without ReClock)

Selected profile: 1280x720@24

Profile settings of video processing
[ExMethod=MSmoothFps_0]        Frames interpolation mode: Uniform (max smoothenss)
[ExAlgo=23]            SVP shader: 23. Complicated
[Bicubic=1]            Motion vectors interpolation mode: Bicubic (by default)
[ExMulti=MON]            Target frame rate: To screen refresh rate (default)
[ExBlockSize=16x16:1]        Motion vectors grid: 14 px. Average 1
[ExRecalc=250:0]        Decrease grid step: By two with global refinemen
[TypeDist=Exh:-14:SATD]        Search radius: Large
[ExPel=2]            Motion vectors precision: Half pixel (default)
[Badsad=2000:-24]        Wide search: Strongest
[ExSadml=0]            Artifacts masking: Disabled (default)
[ExBlend=false]            Processing of scene changes: Repeat frame (default)
[ExDwnResize=0]            Decrease frame size: Disabled (default)
[ExConvertFps=false]        Blend frames to screen refresh rate:false

Settings by menu
[svp_libflowgpu=1]        GPU-acceleration (OpenCL): true
[ExThreads=9]            Processing threads: 9
[HandCrop=None]            Frame crop: Disabled
[Borderlight=None]        Black bars lighting: Disabled
[VDelay=0]            Video delay: 0 ms
[ExDemo=0]            Demonstration mode: false
[ExTearingTest=0]        Tearing test: false
[EFrameDoubling=1]        Variable frame rate repair: true
[StopSmoothDelayOnRewind=0]    Turn off on seek: Turn off and on quickly

After crash:

Last processed file parameters:
Filename: daa-ted-720p.mkv
Frame size and frame rate: 1280x688 pixels, 23.976 fps

Detected screen parameters
Screen size and refresh rate: 1920x1080 pixels, 60.003 Hz

Video smoothing info
Smooth factor: 5:2
Resulting video frame rate: 59.94 fps
Repeat 1 frame every 16 sec (without ReClock)

Selected profile: 1280x720@24

Profile settings of video processing
[ExMethod=MSmoothFps_0]        Frames interpolation mode: Uniform (max smoothenss)
[ExAlgo=23]            SVP shader: 23. Complicated
[Bicubic=1]            Motion vectors interpolation mode: Bicubic (by default)
[ExMulti=MON]            Target frame rate: To screen refresh rate (default)
[ExBlockSize=16x16:1]        Motion vectors grid: 14 px. Average 1
[ExRecalc=250:0]        Decrease grid step: By two with global refinemen
[TypeDist=Exh:-14:SATD]        Search radius: Large
[ExPel=2]            Motion vectors precision: Half pixel (default)
[Badsad=2000:-24]        Wide search: Strongest
[ExSadml=0]            Artifacts masking: Disabled (default)
[ExBlend=false]            Processing of scene changes: Repeat frame (default)
[ExDwnResize=0]            Decrease frame size: Disabled (default)
[ExConvertFps=false]        Blend frames to screen refresh rate:false

Settings by menu
[svp_libflowgpu=1]        GPU-acceleration (OpenCL): true
[ExThreads=9]            Processing threads: 9
[HandCrop=None]            Frame crop: Disabled
[Borderlight=None]        Black bars lighting: Disabled
[VDelay=0]            Video delay: 0 ms
[ExDemo=0]            Demonstration mode: false
[ExTearingTest=0]        Tearing test: false
[EFrameDoubling=1]        Variable frame rate repair: true
[StopSmoothDelayOnRewind=0]    Turn off on seek: Turn off and on quickly

I might note that the Ted (720p ~4k kbps variable) file manages to run way longer then for example The Dark Night Rises (720p ~4k kbs variable). Also, GPU-Z shows NO (0%) GPU-load with OpenCL enabled. When playing w/out OpenCL, it gives minor GPU-load (1-10%).

Re: Playback crash when OpenCL is enabled.

Bakpoeder
Thank you. Files are identical. Nothing strange here. It is good.

GPU-Z shows NO (0%) GPU-load with OpenCL enabled
It is mean something wrong with OpenCL. Can you run CLinfo at your system and show resulted txt?

Unpack to any folder and run CLinfo.cmd.

Post's attachments

CLinfo_pack.zip 124.18 kb, 494 downloads since 2012-12-07 

Re: Playback crash when OpenCL is enabled.

By the way, have your laptop switchable graphics? hmm
Maybe, it is switching to another adapter after 40 sec of playing?

Re: Playback crash when OpenCL is enabled.

I do have switchable graphics. I'm running the laptop on the AMD 6770m card. There is no way this card switches to the HD3000, I can only switch it manually.

Here's the CLinfo:

Number of platforms:                 1
  Platform Profile:                 FULL_PROFILE
  Platform Version:                 OpenCL 1.2 AMD-APP (1084.4)
  Platform Name:                 AMD Accelerated Parallel Processing
  Platform Vendor:                 Advanced Micro Devices, Inc.
  Platform Extensions:                 cl_khr_icd cl_amd_event_callback cl_amd_offline_devices cl_khr_d3d10_sharing cl_khr_d3d11_sharing 


  Platform Name:                 AMD Accelerated Parallel Processing
Number of devices:                 2
  Device Type:                     CL_DEVICE_TYPE_GPU
  Device ID:                     4098
  Max compute units:                 6
  Max work items dimensions:             3
    Max work items[0]:                 256
    Max work items[1]:                 256
    Max work items[2]:                 256
  Max work group size:                 256
  Preferred vector width char:             16
  Preferred vector width short:             8
  Preferred vector width int:             4
  Preferred vector width long:             2
  Preferred vector width float:             4
  Preferred vector width double:         0
  Native vector width char:             16
  Native vector width short:             8
  Native vector width int:             4
  Native vector width long:             2
  Native vector width float:             4
  Native vector width double:             0
  Max clock frequency:                 800Mhz
  Address bits:                     32
  Max memory allocation:             536870912
  Image support:                 Yes
  Max number of images read arguments:         128
  Max number of images write arguments:         8
  Max image 2D width:                 16384
  Max image 2D height:                 16384
  Max image 3D width:                 2048
  Max image 3D height:                 2048
  Max image 3D depth:                 2048
  Max samplers within kernel:             16
  Max size of kernel argument:             1024
  Alignment (bits) of base address:         2048
  Minimum alignment (bytes) for any datatype:     128
  Single precision floating point capability
    Denorms:                     No
    Quiet NaNs:                     Yes
    Round to nearest even:             Yes
    Round to zero:                 Yes
    Round to +ve and infinity:             Yes
    IEEE754-2008 fused multiply-add:         Yes
  Cache type:                     None
  Cache line size:                 0
  Cache size:                     0
  Global memory size:                 1073741824
  Constant buffer size:                 65536
  Max number of constant args:             8
  Local memory type:                 Scratchpad
  Local memory size:                 32768
  Kernel Preferred work group size multiple:     64
  Error correction support:             0
  Unified memory for Host and Device:         0
  Profiling timer resolution:             1
  Device endianess:                 Little
  Available:                     Yes
  Compiler available:                 Yes
  Execution capabilities:                 
    Execute OpenCL kernels:             Yes
    Execute native function:             No
  Queue properties:                 
    Out-of-Order:                 No
    Profiling :                     Yes
  Platform ID:                     6F201864
  Name:                         Turks
  Vendor:                     Advanced Micro Devices, Inc.
  Driver version:                 1084.4 (VM)
  Profile:                     FULL_PROFILE
  Version:                     OpenCL 1.2 AMD-APP (1084.4)
  Extensions:                     cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d10_sharing 


  Device Type:                     CL_DEVICE_TYPE_CPU
  Device ID:                     4098
  Max compute units:                 8
  Max work items dimensions:             3
    Max work items[0]:                 1024
    Max work items[1]:                 1024
    Max work items[2]:                 1024
  Max work group size:                 1024
  Preferred vector width char:             16
  Preferred vector width short:             8
  Preferred vector width int:             4
  Preferred vector width long:             2
  Preferred vector width float:             8
  Preferred vector width double:         4
  Native vector width char:             16
  Native vector width short:             8
  Native vector width int:             4
  Native vector width long:             2
  Native vector width float:             8
  Native vector width double:             4
  Max clock frequency:                 1995Mhz
  Address bits:                     32
  Max memory allocation:             1073741824
  Image support:                 Yes
  Max number of images read arguments:         128
  Max number of images write arguments:         8
  Max image 2D width:                 8192
  Max image 2D height:                 8192
  Max image 3D width:                 2048
  Max image 3D height:                 2048
  Max image 3D depth:                 2048
  Max samplers within kernel:             16
  Max size of kernel argument:             4096
  Alignment (bits) of base address:         1024
  Minimum alignment (bytes) for any datatype:     128
  Single precision floating point capability
    Denorms:                     Yes
    Quiet NaNs:                     Yes
    Round to nearest even:             Yes
    Round to zero:                 Yes
    Round to +ve and infinity:             Yes
    IEEE754-2008 fused multiply-add:         Yes
  Cache type:                     Read/Write
  Cache line size:                 64
  Cache size:                     32768
  Global memory size:                 2147483648
  Constant buffer size:                 65536
  Max number of constant args:             8
  Local memory type:                 Global
  Local memory size:                 32768
  Kernel Preferred work group size multiple:     1
  Error correction support:             0
  Unified memory for Host and Device:         1
  Profiling timer resolution:             513
  Device endianess:                 Little
  Available:                     Yes
  Compiler available:                 Yes
  Execution capabilities:                 
    Execute OpenCL kernels:             Yes
    Execute native function:             Yes
  Queue properties:                 
    Out-of-Order:                 No
    Profiling :                     Yes
  Platform ID:                     6F201864
  Name:                               Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
  Vendor:                     GenuineIntel
  Driver version:                 1084.4 (sse2,avx)
  Profile:                     FULL_PROFILE
  Version:                     OpenCL 1.2 AMD-APP (1084.4)
  Extensions:                     cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_d3d10_sharing 

Re: Playback crash when OpenCL is enabled.

Bakpoeder
Can you unistall OpenCL emulation on CPU?

Device Type:                     CL_DEVICE_TYPE_CPU

Re: Playback crash when OpenCL is enabled.

I could not uninstall OpenCL emulation for CPU only, so I removed the whole package. SVP had OpenCL usage greyed out, that makes sense.
So I downloaded AMD APP OpenCL SDK package, installed OpenCL for GPU only (unticked CPU), but now my system does not support OpenCL at all. Reboot etc. all tried, but to no avail sad

Re: Playback crash when OpenCL is enabled.

Here we need a help from our friends with AMD-adapters. I have NV and can't give right advice.

Re: Playback crash when OpenCL is enabled.

Now installed the Intel OpenCL package next to the AMD APP (OpenCL) package, but I still have to install both GPU and CPU AMD APP packages to get OpenCL working. Though I think it might be a good step.

The problem still persists though