#6017(undetermined:new): --disable-everything keeps nvidia stuff enabled
#6017: --disable-everything keeps nvidia stuff enabled -------------------------------------+------------------------------------- Reporter: kierank | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- ./configure --disable-everything has: cuda cuvid nvenc enabled This shouldn't be the case. -- Ticket URL: <https://trac.ffmpeg.org/ticket/6017> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6017: --disable-everything keeps nvidia stuff enabled -------------------------------------+------------------------------------- Reporter: kierank | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by richardpl): Is this still correct? -- Ticket URL: <https://trac.ffmpeg.org/ticket/6017#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6017: --disable-everything keeps nvidia stuff enabled -------------------------------------+------------------------------------- Reporter: kierank | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by jamrial): There's --disable-autodetect for this kind of thing. Same with zlib and every other autodetected library. -- Ticket URL: <https://trac.ffmpeg.org/ticket/6017#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6017: --disable-everything keeps nvidia stuff enabled -------------------------------------+------------------------------------- Reporter: kierank | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by Gyan): `--disable-autodetect` is blunt, and is, IMHO, the wrong tack. The test for an external lib should be whether there's at least one enabled component making use of the lib, and if not, that lib shouldn't be linked e.g., `--disable-everything --enable-libx264` should fail since lavc/libx264.c isn't enabled and libx264 is expressly specified. `--disable-everything --enable-encoder=png` should be successful and link (autodetected) zlib but not cuda..etc. -- Ticket URL: <https://trac.ffmpeg.org/ticket/6017#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#6017: --disable-everything keeps nvidia stuff enabled -------------------------------------+------------------------------------- Reporter: kierank | Owner: Type: defect | Status: closed Priority: normal | Component: build Version: git-master | system Keywords: | Resolution: fixed Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => fixed * version: unspecified => git-master * component: undetermined => build system Comment: Apparently fixed in e3c1219c7c7457f4b157cfb299e4387c1ebdabe7 Note that changing the behaviour of `--disable-everything` breaks regression tests and has to avoided at all costs. -- Ticket URL: <https://trac.ffmpeg.org/ticket/6017#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
The test for an external lib should be whether there's at least one enabled component making use of the lib, and if not, that lib shouldn't be
#6017: --disable-everything keeps nvidia stuff enabled -------------------------------------+------------------------------------- Reporter: kierank | Owner: Type: defect | Status: closed Priority: normal | Component: build Version: git-master | system Keywords: | Resolution: fixed Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by heleppkes): Replying to [comment:3 Gyan]: linked e.g.,
The NVIDIA functionality never links in any libraries either way, so complaining that configure shows it as present from auto-detection was always rather of an artificial complaint if anything. Additionally to the above, this was also facilitated because the CUDA/NVENC headers were being shipped with FFmpeg, but have since moved into their own repository, so if you don't actually make the headers available, it won't actually detect anything anymore. -- Ticket URL: <https://trac.ffmpeg.org/ticket/6017#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg