Comments (2)
@cubanismo is working on adding support for IN_FENCE_FD and OUT_FENCE_PTR to our nvidia-drm module, so these should be working properly in near-future driver release. By "properly" I mean leveraging the synchronization capabilities of the GPU's display hardware.
Having said that, I checked with him and we agreed that our current behavior of failing when IN_FENCE_FD is specified is wrong (and, yeah, returning -EPERM is extra wrong). Instead, we should be calling drm_atomic_helper_wait_for_fences to do a CPU wait on the fence. This is what the nouveau driver does, for example.
As you pointed out, there isn't really a good way for userspace to determine whether IN_FENCE_FD is supported, implying the intention was probably for it to always be supported. At worst using a CPU wait as described above.
If we had noticed this problem earlier we would most likely have made such a change as a short-term fix. However, at this point, since a better fix is right around the corner, there may not be any benefit to doing that.
from open-gpu-kernel-modules.
Thanks for the update.
PS: The issue I mentioned re "commit being applied anyway" turned out to be a bug on my side where I would render directly to the front buffer if too many commits failed in a row.
from open-gpu-kernel-modules.
Related Issues (20)
- Failed to display anything when early KMS HOT 1
- nvidia-drm Direct firmware load for nvidia/550.76/gsp_ga10x.bin failed with error -2 HOT 2
- [555.42.02] D3cold on Turing Mobile not working with kernel 6.9.2. Works with closed driver. HOT 10
- soc_isr_lock is missing a NV_SPIN_LOCK_INIT HOT 2
- `follow_pfn()` is removed from kernel HOT 7
- Chromium GPU Process Cannot Start HOT 5
- Black screen on 555.x.x, Gnome 46, Fedora 40 HOT 2
- open-gpu-kerenel-modules can't build on kernel-6.10 after 2024-05-20 HOT 1
- 6.10 RC kernel fails to build DKMS HOT 4
- Low fps on external monitor connected to nvidia hdmi port HOT 3
- Nvidia gpu not used
- Please Update Changelog for huge 550.90.07 code dump HOT 2
- PRIMUS - Card remains acrive - NVRM: krcWatchdogCallbackVblankRecovery_IMPL: NVRM-RC
- Periodic stutters and “NVRM: RmCheckForGcxSupportOnCurrentState” kernel warnings on Ubuntu 22.04 RTX 4070
- Strip: Assertion failed Thin LTO nvidia-open-dkms
- Suspend sometimes causes a crash when using the open 555.52.04 drivers HOT 4
- NO SHARED MEMORY FOR YEARS [NVIDIA_UVM] - BASIC FEATURE HOT 2
- Failed to load module on boot HOT 1
- Failures to resume when sleeping (s0ix) on newer kernels HOT 9
- The screen show incorrect image when using custom EDID file on ubuntu
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-gpu-kernel-modules.