Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th May 2023, 15:42   #1  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
Bm3d_cpu avx?

Is there a version of the BM3D filter for a processor with AVX? (AMD graphics card)
Lan4 is offline   Reply With Quote
Old 7th May 2023, 17:33   #2  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by Lan4 View Post
Is there a version of the BM3D filter for a processor with AVX? (AMD graphics card)
vapoursynth version supports it

https://github.com/WolframRhodium/VapourSynth-BM3DCUDA

bm3dcpu
Quote:
The cpu version is implemented in AVX and AVX2 intrinsics, serves as a reference implementation on CPU. However, bitwise identical outputs are not guaranteed across CPU and CUDA implementations.

Original Vapoursynth CPU version
https://github.com/HomeOfVapourSynth...pourSynth-BM3D
poisondeathray is offline   Reply With Quote
Old 8th May 2023, 00:12   #3  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 965
Quote:
Originally Posted by Lan4 View Post
Is there a version of the BM3D filter for a processor with AVX? (AMD graphics card)
You didn't say whether you want it for Vapoursynth or Avisynth...

There's both !!!

Here's the Avisynth variants...several to choose from, test 7 might be a good one to start with...

https://github.com/WolframRhodium/Va...ment-886173346
__________________
Long term RipBot264 user.

RipBot264 modded builds..

Last edited by TDS; 8th May 2023 at 01:13.
TDS is offline   Reply With Quote
Old 8th May 2023, 03:53   #4  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
I'm sorry. I didn't say which version I need. I'm interested in the Avisynth version. I already tried test 7 for win64. Error reported:
BM3D_CPU: requires AVX2-capable cpu
Lan4 is offline   Reply With Quote
Old 8th May 2023, 04:10   #5  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Which version did you use? AVX was removed in some of the avs releases e.g

Quote:
test8 (72e24c1, remove avx)
Try an earlier version
poisondeathray is offline   Reply With Quote
Old 8th May 2023, 04:47   #6  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
Archive and file name:
\BM3DCUDA_AVS-test7\x64\BM3DCPU_AVS.dll

And I also tried test 5, which also requires AVX2.

Test 4 gives some strange error BM3D_CPU: only 32bit float planar Y/YUV/RGB input supported
Lan4 is offline   Reply With Quote
Old 8th May 2023, 04:50   #7  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by Lan4 View Post

Test 4 gives some strange error BM3D_CPU: only 32bit float planar Y/YUV/RGB input supported

Float is required

e.g. ConvertBits(32)

Quote:
clip:

The input clip. Must be of 32 bit float format.
poisondeathray is offline   Reply With Quote
Old 8th May 2023, 06:51   #8  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 965
Quote:
Originally Posted by Lan4 View Post
I'm sorry. I didn't say which version I need. I'm interested in the Avisynth version. I already tried test 7 for win64. Error reported:
BM3D_CPU: requires AVX2-capable cpu
I was successfully using test #10, until I decided I didn't like BM3D.
__________________
Long term RipBot264 user.

RipBot264 modded builds..
TDS is offline   Reply With Quote
Old 8th May 2023, 13:39   #9  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
Quote:
Originally Posted by TDS View Post
I was successfully using test #10, until I decided I didn't like BM3D.
Do you have a processor without AVX2?
Lan4 is offline   Reply With Quote
Old 8th May 2023, 13:52   #10  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
Quote:
Originally Posted by poisondeathray View Post
Float is required

e.g. ConvertBits(32)
I don't understand why I should do something. I just upload a video file with the same settings for all filters.
Lan4 is offline   Reply With Quote
Old 8th May 2023, 13:58   #11  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 965
Quote:
Originally Posted by Lan4 View Post
Do you have a processor without AVX2?
Yes I do, but I don't use them that much, anymore...

What do you have ??
__________________
Long term RipBot264 user.

RipBot264 modded builds..
TDS is offline   Reply With Quote
Old 8th May 2023, 14:31   #12  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by Lan4 View Post
I don't understand why I should do something. I just upload a video file with the same settings for all filters.
Because the filter requires 32bit input if you read the instructions.

Some filters require certain pixel formats or bit depths
poisondeathray is offline   Reply With Quote
Old 8th May 2023, 14:48   #13  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
Quote:
Originally Posted by poisondeathray View Post
Because the filter requires 32bit input if you read the instructions.

Some filters require certain pixel formats or bit depths
Is this a feature of BM3D for CPU and Avisynt? BM3D for Vapoursynth works well.
Lan4 is offline   Reply With Quote
Old 8th May 2023, 14:51   #14  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
Quote:
Originally Posted by TDS View Post
Yes I do, but I don't use them that much, anymore...

What do you have ??
I don't understand why I need AVX2 for BM3D_CPU.

my processor is i7-3770.
Lan4 is offline   Reply With Quote
Old 8th May 2023, 15:48   #15  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by Lan4 View Post
Is this a feature of BM3D for CPU and Avisynt? BM3D for Vapoursynth works well.
It's a "feature" of the vapoursynth version. The avs version is ported from the vpy version
poisondeathray is offline   Reply With Quote
Old 8th May 2023, 16:33   #16  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
and so, I don't do anything to make the vapoursynth version work, it just works. but the Avisynth version requires something.
Lan4 is offline   Reply With Quote
Old 8th May 2023, 16:43   #17  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Quote:
Originally Posted by Lan4 View Post
and so, I don't do anything to make the vapoursynth version work, it just works. but the Avisynth version requires something.
You can report the issue. The avs version is considered experimental
poisondeathray is offline   Reply With Quote
Old 9th May 2023, 16:49   #18  |  Link
Lan4
Registered User
 
Join Date: Dec 2022
Posts: 64
Developer response. In the Avisynth version, the AVX processor only works for maintenance in BM3D_CUDA. The BM3D_CPU has never supported AVX processors, and only works on AVX2.
Lan4 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 +1. The time now is 20:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.