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 > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th May 2013, 10:08   #1901  |  Link
CarlPig
Registered User
 
Join Date: Aug 2012
Posts: 74
Quote:
Originally Posted by cyberbeing View Post
Changelogs can always be found on x264.nl

The only change from r2309 to r2310 was this as mentioned in the previous post.
Thanks.
CarlPig is offline   Reply With Quote
Old 9th May 2013, 16:03   #1902  |  Link
Nazgul
Registered User
 
Join Date: Mar 2002
Posts: 57
Quote:
Originally Posted by LoRd_MuldeR View Post
FWIW, I have spent three minutes to make a "dummy" OPENCL.DLL which people can use to make x264.exe start on their system, if no "real" OpenCL DLL is available.

It should be clear, that any OpenCL-specific functions will not actually work with this DLL. Also this DLL herewith is declared Public Domain, so please feel free to redistribute it
Weird, I'm still getting the error after installing this. The system getting the error is running Radeon HD 4550 graphics, with the "legacy" Catalyst 13.1 driver suite, which according to AMD's website DOES include OpenCL support. My other system which is running Cat13.5beta on a Radeon HD7950 is working just fine without the dummy .dll. Gonna try re-installing the Cat13.1 and see if that clears it up. Seems odd this wasn't caught.
Nazgul is offline   Reply With Quote
Old 9th May 2013, 16:46   #1903  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
So it was not clear that you should not use the dummy OpenCL DLL if your system does support OpenCL?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 9th May 2013, 17:55   #1904  |  Link
Nazgul
Registered User
 
Join Date: Mar 2002
Posts: 57
Quote:
Originally Posted by LigH View Post
So it was not clear that you should not use the dummy OpenCL DLL if your system does support OpenCL?
Apologies, I should have been clear as well. I got the error BEFORE I tried using the dummy .dll file, suggesting that whatever OpenCL support this computer has, x264 wasn't seeing it. So I tried putting in the dummy .dll file, to see if that would do the trick. It didn't. I have managed to get it working, however. I had to blow the video drivers off the system and reinstall them, and now x264 seems to be finding the system's OpenCL driver.
Nazgul is offline   Reply With Quote
Old 10th May 2013, 05:33   #1905  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Just trying to get a little overview over the current state:
  1. current x264 version 'r2310 (JEEB)' requires a OpenCL.dll to work at all.
  2. to make it work on systems which do not support OpenCL and therefore don't have a OpenCL.dll one can use the dummy .dll posted by LoRd_MuldeR
  3. even with the OpenCL.dll, the 64bit version of x264 will not be able to use --opencl due to some cross-prefix problem which JEEB uses with the 64bit-builds and the OpenCL SDK.
  4. if you want to use --opencl you need to either use the 32bit build or in example an older version from http://tmod.nmm-hd.org/x264/test/ . (with the 64bit builds you will get a 'x264 [warning]: OpenCL: Unable to find a compatible device'- or 'x264 [warning]: OpenCL: not compiled with OpenCL support, disabling '-warning)
is this about right or did I miss something?

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 10th May 2013, 08:34   #1906  |  Link
schweinsz
Registered User
 
Join Date: Nov 2005
Posts: 497
Is there the new x264 profiling results? I want to know which modules take most of the time.
schweinsz is offline   Reply With Quote
Old 10th May 2013, 08:48   #1907  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Sorry for all the OpenCL mess; Bugmaster's written up a patch to mostly clean up the problems in the original MultiCoreWare work. It'll be in the next release.

Here's some profiling results if you want them.

Last edited by Dark Shikari; 10th May 2013 at 09:39.
Dark Shikari is offline   Reply With Quote
Old 10th May 2013, 12:35   #1908  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
You refer to this one?
https://github.com/DarkShikari/x264-...2f27d3e6646dae

Looks like runtime loading of the OpenCL library is implemented now, which should make any hacks (like the dummy DLL) obsolete.

__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 10th May 2013, 12:45   #1909  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Nice, thanks for the info.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 10th May 2013, 13:15   #1910  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
And thank You, Selur! I wanted to ask "why is --opencl in the Help file but it doesn't appear to be implemented anyway" and your/Dark's posts have cleared-away the fog.

laserfan is offline   Reply With Quote
Old 15th May 2013, 14:52   #1911  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Quote:
That's because the OpenCL SDK finding code fails if you give the configuration script a cross-prefix (like I do when compiling the 64bit builds), and thus it didn't get enabled :P . A fix for that is being reviewed on #x264dev.
Any news on the fix?
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 15th May 2013, 15:49   #1912  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
See post #1908.
sneaker_ger is offline   Reply With Quote
Old 15th May 2013, 17:16   #1913  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
ah, okay
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 16th May 2013, 08:27   #1914  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
So we just need a binary release with enabled OpenCL support to test it. I believe those on x264.nl did not enable it...

Ah, no, Rev. 2310 apparently supports OpenCL in the 8-bit x86 build. But it seems to have some issues with either my card or my drivers (314.22 W7/64b)...

Code:
x264 [info]: OpenCL acceleration enabled with NVIDIA Corporation GeForce 9600 GT
x264 [info]: Compiling OpenCL kernels...
x264 [warning]: OpenCL: kernel build errors written to x264_kernel_build_log.txt
__

(0) Error: unsupported operation
Well, according to the description in the changelog, it may not even speed up things in general, but rather limit the quality. I will probably avoid it.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 16th May 2013 at 08:42.
LigH is offline   Reply With Quote
Old 16th May 2013, 15:44   #1915  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
I think you need GPU which supports latest OpenCL version (for example my R4850 supports only OpenCL 1.0) also 1GB is considered as minimum memory size. In order to avoid crashes people recommend even 2GB.
Atak_Snajpera is offline   Reply With Quote
Old 16th May 2013, 17:47   #1916  |  Link
Video Dude
Senior Member
 
Join Date: Apr 2004
Posts: 1,053
Quick question about OpenCL and the current x264.nl (x86) build:

I have a video card that supports OpenCL, but I do not want x264 to use OpenCL.

Is OpenCL enabled by default and if it is, is there a switch to disable it? Doing a forum search I found reference to a "--no-opencl" parameter. Is this correct?
Video Dude is offline   Reply With Quote
Old 16th May 2013, 17:59   #1917  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
Quote:
Originally Posted by Video Dude View Post
Is OpenCL enabled by default and if it is, is there a switch to disable it? Doing a forum search I found reference to a "--no-opencl" parameter. Is this correct?
OpenCL isn't enabled by default. To enable it, you have to add "--opencl" to settings.
__________________
“Never argue with stupid people, they will drag you down to their level and then beat you with experience.” — Mark Twain
the_weirdo is offline   Reply With Quote
Old 17th May 2013, 15:45   #1918  |  Link
Stereodude
Registered User
 
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
Any hints of what Haswell brings to the table for x264 encoding in terms of real world performance increases over Ivy Bridge or Sandy Bridge?

It seems from the profile information that Dark Shikari uploaded he's got a Haswell system.
Stereodude is offline   Reply With Quote
Old 17th May 2013, 16:45   #1919  |  Link
the_weirdo
Yes, I'm weird.
 
the_weirdo's Avatar
 
Join Date: May 2010
Location: Southeast Asia
Posts: 271
Quote:
Originally Posted by Stereodude View Post
Any hints of what Haswell brings to the table for x264 encoding in terms of real world performance increases over Ivy Bridge or Sandy Bridge?

It seems from the profile information that Dark Shikari uploaded he's got a Haswell system.
Maybe this: http://mailman.videolan.org/pipermail/x264-devel/2013-May/010049.html
__________________
“Never argue with stupid people, they will drag you down to their level and then beat you with experience.” — Mark Twain
the_weirdo is offline   Reply With Quote
Old 17th May 2013, 17:36   #1920  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
That's just the gain from AVX2 though; I'm still not allowed to post actual benchmarks (i.e. gain from Ivy Bridge -> Haswell).
Dark Shikari is offline   Reply With Quote
Reply

Tags
coding, development, x264 dev

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 01:45.


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