Linked by Rahul on Sat 14th Mar 2009 00:00 UTC
Thread beginning with comment 353204
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
Does anyone know exactly why it is slower? Because there is an extra copy involved when copying data from userspace to kernel space?
Without digging through the code myself, this would be my assumption. As far as I know, X has always dealt with accelerated graphics by using overlays-- which causes its own set of problems. If DRI2 is handling composition of 3D graphics by copying the data out of the GPU buffers and back into system memory, this would account for the decrease in speed. If this is the case, I can only hope that it is a stopgap measure and that they eventually intend to handle all compositing in the graphics hardware. Of course, given the way network transparency works in X and how deeply embedded it is in the graphics model, I'm not sure how they can reconcile those features.
RE[2]: Reasons it is slower
by siride on Sun 15th Mar 2009 14:47
in reply to "RE: Reasons it is slower"
RE[2]: Reasons it is slower
by sbergman27 on Sun 15th Mar 2009 14:53
in reply to "RE: Reasons it is slower"







Member since:
2007-08-20
"glXSwapBuffers() - basically, how fast we can push render buffers into the card... is slower with DRI2"
Does anyone know exactly why it is slower? Because there is an extra copy involved when copying data from userspace to kernel space? Or because of the system call overhead?