On Wed, 2010-03-10 at 13:37 +0100, Peter Hanzel wrote:
>
> I had to change this:
> src/gallium/state_trackers/egl/kms/native_kms.c
> in kms_surface_swap_buffers:
>
> if (ksurf->is_shown && kcrtc->crtc) {
> //err = drmModeSetCrtc(kdpy->fd, kcrtc->crtc->crtc_id,
> // ksurf->back_fb.buffer_id, kcrtc->crtc->x, kcrtc->crtc->y,
> // kcrtc->connectors, kcrtc->num_connectors, &kcrtc->crtc->mode);
> //if (err)
> // return FALSE;
> drmModeDirtyFB(kdpy->fd, ksurf->back_fb.buffer_id, NULL, 0);
> }
>
> Because with drmModeSetCrtc i've got an kernel error:
> vmw_ldu_crtc_set_config: DRM_ERROR("Multiple framebuffers not supported\n");
There were bugs in the vmwgfx kernel module related to this which have
been fixed in the standalone vmwgfx kernel module repository. Are you
still getting these errors with that?
> I have also questuion to gallium.
> What is soft_pipe, llvm_pipe?
They're software rasterization drivers, all the work is done by the CPU.
--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
|