Conversation
Pull request CI reportReport generated at: 2024-07-08 03:07 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Pull request CI reportReport generated at: 2024-07-09 00:07 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Pull request CI reportReport generated at: 2024-07-10 00:02 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Fix CUDA for old GPUs without FP16 support #25880 Fixes #21461 ~This is a build-time solution that reflects https://github.com/opencv/opencv/blob/4.10.0/modules/dnn/src/cuda4dnn/init.hpp#L68-L82.~ ~We shouldn't add an invalid target while building with `CUDA_ARCH_BIN` < 53.~ _(please see [this discussion](#25880 (comment) This is a run-time solution that basically reverts [these lines](d0fe6ad#diff-757c5ab6ddf2f99cdd09f851e3cf17abff203aff4107d908c7ad3d0466f39604L245-R245). I've debugged these changes, [coupled with other fixes](gentoo/gentoo#37479), on [Gentoo Linux](https://www.gentoo.org/) and [related tests passed](https://github.com/user-attachments/files/16135391/opencv-4.10.0.20240708-224733.log.gz) on my laptop with `GeForce GTX 960M`. Alternative solution: - #21462 _Best regards!_ ### Pull Request Readiness Checklist - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work - [ ] `n/a` There is accuracy test, performance test and test data in opencv_extra repository, if applicable - [ ] `n/a` The feature is well documented and sample code can be built with the project CMake
Pull request CI reportReport generated at: 2024-07-10 10:22 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
Pull request CI reportReport generated at: 2024-07-11 00:42 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
|
wrt java see Required Java dependencies for optional Java support |
|
Thank you for the review, @vaukai! So far I've updated the ebuild in my overlay. |
Please don't since that's unusual in Gentoo. Adjusting the ebuild according to If you like you could try getting rid of meanwhile i have 4.9.0-r2 ready to merge which no longer inherits |
|
@Jamim you want to move |
Pull request CI reportReport generated at: 2024-07-11 14:07 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
|
@vaukai I've added |
Pull request CI reportReport generated at: 2024-07-11 14:32 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
eli-schwartz
left a comment
There was a problem hiding this comment.
Please split this PR up into logically distinct commits. It's okay to have multiple commits in a single PR.
In particular:
- do not update multiple packages in a single commit. If updating opencv depends on making changes to
acct-*/packages, do not silently make that change inside the opencv bump - adding new metadata to metadata.xml is unrelated to bumping the version. It's completely fine to do them both in the same PR: it just makes more sense to do them as separate, logically distinct commits. This means that if, for example, there's a problem with the opencv bump and it needs to be reverted, the metadata.xml change doesn't get reverted alongside it.
- in general, if your commit message says "also changes" with a list of "also changed" things, it may be a sign that the things you are changing have nothing to do with the subject of the commit, and could be done via a separate commit
Please don't... |
|
Hello @eli-schwartz, |
|
Hello @negril, Could you please review this PR? Thanks in advance! |
|
14efa54 builds fine for me with nVIDIA proprietary drivers. All branches after that fail config with the following error: For comparison, the 14efa54 successful config looks like so: |
|
Hello @Delicates, First of all, thank you for testing! 🙇🏼 Normally, $ __nvcc_device_query
50But in rare cases, it fails with the following message: With 14efa54, In your case, I see that
Also, it shouldn't fail in case you set a desired value to I've get rid of the Also, I've found a very annoying bug related to CUDA configuration: I'm not sure what's the best way to handle this situation, so any suggestions are welcome. Thanks! |
Pull request CI reportReport generated at: 2024-07-17 04:38 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
|
Прывітанне @Jamim Thanks for tackling this OpenCV version bump, it's been a blocker for many things.
This seems to work better than any of the prior versions without any
I know 52 is currently the default arch in CUDA, and it would be annoying if it doesn't match your GPU. I did already have a few variables defined in my |
vaukai
left a comment
There was a problem hiding this comment.
if getting any trouble with proposed changes, pls tell
83a0530 to
c0b97f4
Compare
Pull request CI reportReport generated at: 2024-09-11 10:24 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
|
Hello @eli-schwartz, |
|
Hello @juippis, You asked me to stop pinging people and suggested to take a break. Does this PR have chances to be merged this year or, at least, to receive some additional feedback and be improved while I don't ping anyone? I state that there's something fundamentally wrong with contribution processing in Gentoo, so not only this PR got stuck, but hundreds of other PRs, whether they are good or bad, are lost and become irrelevant over time. It's clear that there are not enough resources to process all the PRs, so maybe it's time to stop processing them at all for a moment, take a deep breath and think about what can be changed in the workflow? I believe there is room for improvements and optimizations, so maintainers can bring more value while spend less time. Please let me know if I can do anything to make it happen. For context, I use Gentoo Linux since 2007. I understand this is not the right place to start this topic, but I'm tired and quite disappointed so here we go. Thank you for your time and patience in reading this! P.S. It would be nice if you share my concerns with those whom I shouldn't ping there. |
|
The third PR still contains many changes that are all grouped into a single commit, with the implication that these are issues you encountered in 4.9.0-r2 as well. As I said above:
My initial review comment therefore is still outstanding. And e.g. for https://bugs.gentoo.org/930368 you are NOT in fact fixing it, sorry -- so please remove the "Closes" link entirely if you are not going to do it correctly. (This is, again, the issue with making many changes in the same commit as incrementing the version number, when the changes aren't a result of incrementing the version number.) And changes such as depending on a modified acct-user/portage package to "Allow access to GPUs during tests run" is a very... interesting change. I told you to divide it up into separate commits as a matter of git hygiene, that's not the same as saying I agree with such an acct-user change. But that aside, you haven't followed the bot instructions to
which appears to be necessary in order for the bot to notice that you are modifying the acct-user/portage package so the maintainers of that package are even notified of the need to review this PR. The proxied maintainer for opencv itself still hasn't reviewed the PR, but that may be because it was hard to figure out what it's trying to do considering that it lists 13 different change requests in the commit message for the third commit and it's not necessarily clear which changes are tied to which change requests. |
Pull Request assignmentSubmitter: @Jamim acct-user/portage: @gentoo/portage Linked bugsBugs linked: 930368, 930682, 928747 In order to force reassignment and/or bug reference scan, please append Docs: Code of Conduct ● Copyright policy (expl.) ● Devmanual ● GitHub PRs ● Proxy-maint guide |
Add changelog and doc urls to metadata.xml Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
Release: - https://github.com/opencv/opencv/releases/tag/4.10.0 Changes in comparison to 4.9.0-r2: - add the avif USE flag - add CUDA host compiler validation - update tesseract requirement - remove unnecessary restrictions - fix * missing gtk USE flag at multilib_src_test * CUDAARCHS/CUDA_ARCH_BIN/CUDA_ARCH_PTX configuration * compatibility for old GPUs without FP16 support * compatibility for cuDNN 9+ * tests for CUDA/cuDNN * -ccbin calculation * missing access to GPUs during tests run * redundant virtual/jre in the COMMON_DEPEND Bug: https://bugs.gentoo.org/928747 Bug: https://bugs.gentoo.org/930368 Bug: https://bugs.gentoo.org/930682 Signed-off-by: Aliaksei Urbanski <aliaksei.urbanski@gmail.com>
c0b97f4 to
5fb47eb
Compare
Pull request CI reportReport generated at: 2024-11-02 01:33 UTC There are existing issues already. Please look into the report to make sure none of them affect the packages in question: |
|
Hello @eli-schwartz,
It's not
I suppose you got something mixed up. There was no
Do you have any better ideas on how to allow tests to use the GPU? Is there any... boring way to do so?
Thanks for catching this! 🙇🏼
Sorry, but it looks like a pure speculation. I believe @negril can speak for himself if he wants to. |
|
Current opencv version in Gentoo is 4.12.0-r1 |
Hello everyone,
OpenCV
4.10.0was released in early June.It would be nice to finaly have it in the Portage tree.
Changelog:
Changes in comparison to
4.9.0-r2:avifUSE flagtesseractrequirement (930368)gtkUSE flag atmultilib_src_testCUDA_ARCH_BIN/CUDA_ARCH_PTXconfiguration-ccbincalculationvirtual/jrein theCOMMON_DEPEND, see media-libs/opencv: remove misplaced virtual/jre from COMMON_DEPEND #38177These changes also:
changeloganddocurls tometadata.xmlvideoUSE flag toacct-user/portageBased on:
diff -u opencv-4.{9.0-r2,10.0}.ebuild
Best regards!
Signed-off-byline to every commit in the pull request.pkgcheck scan --commits --netto check for issues with my commits.