Re: SVP 4 Linux

echo "1" > ui-scale.txt

Re: SVP 4 Linux

That did the trick, Chainik! Thank you

Now SVP force closes, when it tries to assess GPU based frame rendering with my HD7870. I've installed

dpkg -l amdgpu-pro
ii  amdgpu-pro     17.10-414273 amd64        Meta package to install amdgpu Pr

and read from the GPU compatibility list

Note 1: The latest supported driver version for older AMD/ATI cards is Catalyst 15.7. DO NOT INSTALL the new 'Crimson' video driver - take a look at AMD Product Compatibility list first!

Is that up2date? What's recommended?

Re: SVP 4 Linux

that was about Windows drivers...

does utils/clinfo works?

Re: SVP 4 Linux

works...

./cliinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.0 AMD-APP (2348.3)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 2
  Device Name                                     Pitcairn
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.2 AMD-APP (2348.3)
  Driver Version                                  2348.3
  Device OpenCL C Version                         OpenCL C 1.2 
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Board Name (AMD)                         AMD Radeon HD 7800 Series
  Device Topology (AMD)                           PCI-E, 01:00.0
  Max compute units                               10
  SIMD per compute unit (AMD)                     4
  SIMD width (AMD)                                16
  SIMD instruction width (AMD)                    1
  Max clock frequency                             1000MHz
  Graphics IP (AMD)                               6.0
  Device Partition                                (core)
    Max number of sub-devices                     10
    Supported partition types                     none specified
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
  Preferred work group size multiple              64
  Wavefront width (AMD)                           64
  Preferred / native vector sizes                 
    char                                                 4 / 4       
    short                                                2 / 2       
    int                                                  1 / 1       
    long                                                 1 / 1       
    half                                                 1 / 1        (n/a)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
...

Re: SVP 4 Linux

hmm
run it via gdb one more time

131 (edited by ejrs 08-05-2017 12:36:28)

Re: SVP 4 Linux

I'm also having the same issues since the latest update.

Crashes with QT so I did the scale fix, works but now crashes with the performance monitor.

Thread 1 "SVPManager" received signal SIGFPE, Arithmetic exception.
0x000000000055a824 in SystemInfo::readPerformanceInfo() ()

It doesn't always happen but most of the time.

Same thing happens when I try to make new profiles, my mpv also lags like crazy and dropping frames

Re: SVP 4 Linux

Hmm, as far as I can say, clinfo runs normally in debug mode:

gdb utlils/clinfo
run
[...]
  Global free memory (AMD)                        <printDeviceInfo:67: get number of CL_DEVICE_GLOBAL_FREE_MEMORY_AMD : error -33>
[...]
[Inferior 1 (process 2983) exited normally]

Re: SVP 4 Linux

I mean run SVPManager via gdb to the point where it crashes "when it tries to assess GPU based frame rendering"

Re: SVP 4 Linux

Sorry, right...

Thread 22 "SyntheticBench" received signal SIGSEGV, Segmentation fault.
0x00007fffd999a5a4 in clWaitForEvents () from /opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so.1

Re: SVP 4 Linux

you probably need an older driver, some version from the 15.xx line
seems like AMDGPU-PRO doesn't support CGN 1 chips

136

Re: SVP 4 Linux

Okay I think I may have figured it out. we both have two gpus (I have 2x nvidia cards). I had SVP running off my second gpu and when I switched it to the first it stopped crashing and running at a couple fps. This is why the performance monitor was crashing too (and still does), it would run the tests for the first gpu but then would crash immediately when querying the second one.

Now I'm back to stable svp + 100% fps when running off my primary gpu.

Hopefully that fixes his problem as well.

Re: SVP 4 Linux

I'm on a i5-3570K with one HD7870, so no, I'm not having problems with dual-GPU, but gz for fixing your prob smile

I don't get along with the AMD gfx drivers. If proprietary or free/ open - I don't get SVP running. HW acceleration especially.

When AMDGPU-PRO is installed, I can at least select the GPU for HW acceleration, but SVP doesn't use it.

When xserver-xorg-video-ati/radeon + mesa-vdpau-drivers + mesa-va-drivers is installed, I don't have HW acceleration - can't select the GPU in SVP:

glxinfo |grep render
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)

Re: SVP 4 Linux

you need older (not "amdgpu-pro") proprietary drivers
http://support.amd.com/en-us/kb-article … Notes.aspx

Re: SVP 4 Linux

Although Ubuntu 16.04 is unsupported?

Re: SVP 4 Linux

Be creative big_smile

I really can't help with installing HD7800 in Ubuntu 16.04, you must do it yourself

Re: SVP 4 Linux

So I just switched from Arch Linux to Xubuntu 17.04 due to some weird wireless network issues I couldn't resolve there but things work on Xubuntu. So I just tried installing svp on a fresh install and followed all the instructions on the wiki page. However when I start SVP I am spammed by these messages

05:00:25.621 [W]: QXcbConnection: XCB error: 2 (BadValue), sequence: 494, resource id: 0, major code: 1 (CreateWindow), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 495, resource id: 92274693, major code: 2 (ChangeWindowAttributes), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 496, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 497, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 498, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 500, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 501, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 502, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 506, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 510, resource id: 92274693, major code: 2 (ChangeWindowAttributes), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 511, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 514, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 515, resource id: 92274693, major code: 20 (GetProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 519, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 520, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 523, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 526, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 527, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 528, resource id: 92274693, major code: 12 (ConfigureWindow), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 529, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 546, resource id: 92274693, major code: 2 (ChangeWindowAttributes), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 547, resource id: 92274693, major code: 2 (ChangeWindowAttributes), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 548, resource id: 92274693, major code: 20 (GetProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 549, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 550, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 551, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 552, resource id: 92274693, major code: 20 (GetProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 553, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 554, resource id: 92274693, major code: 20 (GetProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 555, resource id: 92274693, major code: 19 (DeleteProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 556, resource id: 92274693, major code: 1 (CreateWindow), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 557, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 558, resource id: 92274693, major code: 19 (DeleteProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 559, resource id: 92274700, major code: 18 (ChangeProperty), minor code: 0
05:00:25.622 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 560, resource id: 92274693, major code: 8 (MapWindow), minor code: 0
05:00:25.622 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 562, resource id: 92274693, major code: 12 (ConfigureWindow), minor code: 0

and no window pops up, with -no-tray, -tray, or no options. A tray also does not appear even if I specify -tray. I am guessing I missed a dependency due to the fact that I haven't used Ubuntu in three years or so.

Re: SVP 4 Linux

EggheadDash wrote:

So I just switched from Arch Linux to Xubuntu 17.04 due to some weird wireless network issues I couldn't resolve there but things work on Xubuntu. So I just tried installing svp on a fresh install and followed all the instructions on the wiki page. However when I start SVP I am spammed by these messages

05:00:25.621 [W]: QXcbConnection: XCB error: 2 (BadValue), sequence: 494, resource id: 0, major code: 1 (CreateWindow), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 495, resource id: 92274693, major code: 2 (ChangeWindowAttributes), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 496, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 497, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 498, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 500, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 501, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 502, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 506, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 510, resource id: 92274693, major code: 2 (ChangeWindowAttributes), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 511, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 514, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 515, resource id: 92274693, major code: 20 (GetProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 519, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 520, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 523, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 526, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 527, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 528, resource id: 92274693, major code: 12 (ConfigureWindow), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 529, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 546, resource id: 92274693, major code: 2 (ChangeWindowAttributes), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 547, resource id: 92274693, major code: 2 (ChangeWindowAttributes), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 548, resource id: 92274693, major code: 20 (GetProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 549, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 550, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 551, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 552, resource id: 92274693, major code: 20 (GetProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 553, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 554, resource id: 92274693, major code: 20 (GetProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 555, resource id: 92274693, major code: 19 (DeleteProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 556, resource id: 92274693, major code: 1 (CreateWindow), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 557, resource id: 92274693, major code: 18 (ChangeProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 558, resource id: 92274693, major code: 19 (DeleteProperty), minor code: 0
05:00:25.621 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 559, resource id: 92274700, major code: 18 (ChangeProperty), minor code: 0
05:00:25.622 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 560, resource id: 92274693, major code: 8 (MapWindow), minor code: 0
05:00:25.622 [W]: QXcbConnection: XCB error: 3 (BadWindow), sequence: 562, resource id: 92274693, major code: 12 (ConfigureWindow), minor code: 0

and no window pops up, with -no-tray, -tray, or no options. A tray also does not appear even if I specify -tray. I am guessing I missed a dependency due to the fact that I haven't used Ubuntu in three years or so.

I'm having the same issue on my desktop on Manjaro, though all dependencies seem to be satisfied. I have a laptop with an identical setup to my desktop and there it works fine. Only difference is that the laptop has integrated graphics and the desktop has an nvidia card. Perhaps some bug with the graphics drivers?

Re: SVP 4 Linux

try the same thing

echo "1" > ui-scale.txt

Re: SVP 4 Linux

Chainik wrote:

try the same thing

echo "1" > ui-scale.txt

It works for some reason smile, thanks!
Also is there possibility for gpu acceleration? I have a nvidia 750ti and acceleration is enabled on windows but not available on linux.

Re: SVP 4 Linux

> Also is there possibility for gpu acceleration?

it should work if you have OpenCL ICD installed

Re: SVP 4 Linux

Nice, works good now. Thank you devs for this program smile

Re: SVP 4 Linux

Chainik wrote:

> there seems to be no way to have SVP running without the SVP

run it with "-tray" arg

I realize I'm pretty much literally a month late on this, but this is exactly what I was looking for, especially since it makes SVP behave like it does on Windows and the program even remembers this setting! (so when you have a video file associated with SVP, it only launches the SVP tray and not the SVP control panel window).

However, this does beg the question...why is this not the default behavior?  As I mentioned, this is how it behaves on Windows, so I would think that consistent behavior between different platforms would be ideal...

Re: SVP 4 Linux

> However, this does beg the question...why is this not the default behavior?

because it doesn't work with a half of display managers available around here

149 (edited by Nintendo Maniac 64 03-06-2017 07:33:31)

Re: SVP 4 Linux

Chainik wrote:

because it doesn't work with a half of display managers available around here

Fair enough, but then wouldn't it make more sense to have a check/uncheck option in the actual SVP menu to enable/disable this?  For example, VLC has an option to enable/disable the tray icon.

Re: SVP 4 Linux

yeah, probably...