Bug 28415

Summary: Poor "direct rendering" choice with network GLX connection on DRI hardware
Product: Mesa Reporter: Andy Ross <andy>
Component: GLXAssignee: mesa-dev
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Andy Ross 2010-06-06 21:07:54 UTC
I hit a performance issue playing with Mesa running in a kvm guest (MeeGo 1.0, as it happens).  TCP connections to the X server in the outer host were showing very slow performance, and seemed to be highly fill limited on the VM where they were not on the host (obviously transport bandwidth shouldn't change fill rate for the same geometry), even on applications like glxgears which should be almost identically performant.

Hacking at the glxgears source to set the "direct" parameter to FALSE restored the performance characteristics I expected.

My guess as to what is happening here is that the presence of DRI drivers in the both the guest OS and the target X server is fooling Mesa into interpreting the "direct" parameter as possible, even when the server is on the other side of a TCP socket and "direct" rendering must take a software path.
Comment 1 Michel Dänzer 2010-06-10 03:46:29 UTC

*** This bug has been marked as a duplicate of bug 24226 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.