Hello.

I have been success on VMWare 5.5.2 + official linux-2.6.33.
modetest -s 4...@6:800x600 works well.

But I have to add : drmModeDirtryFB(fd, fb_id, NULL, 0) after drmModeSetCrtc 
line.

The color squares are displayed, but in dmesg i still have 
WARN_ON(vmw_framebuffer_dmabuf_pin).
So it is moving the right way.

Bye

----- Original Message ----- 
From: "Peter Hanzel" <hanzelpe...@gmail.com>
To: "Kristian Høgsberg" <k...@bitplanet.net>
Cc: <dri-devel@lists.sourceforge.net>
Sent: Monday, February 22, 2010 10:37 AM
Subject: Re: modetest + libkms, intel, vmwgfx


> Hello.
>
> I have made test\modetest\modetest.c to use libkms.
> I have tested it on intel gfx and also in VMWare with vmwgfx.
> With intel I was succesfull -> but it needed patches to libkms (attached,
> especially with DRM_I915_GEM_SET_DOMAIN, otherwise you get result like
> attached picture).
> But with vmwgfx with same modetest.c it displays only blank screen, but 
> mode
> is changed.
>
> Regards.
>
> ----- Original Message ----- 
> From: "Kristian Høgsberg" <k...@bitplanet.net>
> To: "Peter Hanzel" <hanzelpe...@gmail.com>
> Cc: <dri-devel@lists.sourceforge.net>
> Sent: Tuesday, February 09, 2010 3:14 PM
> Subject: Re: vmwgfx + VMWare 7.0 -> libdrm modetest.c
>
>
>> On Tue, Feb 9, 2010 at 8:05 AM, Peter Hanzel <hanzelpe...@gmail.com>
>> wrote:
>>> Hello.
>>>
>>> I have a question about libdrm/libkms and test/modetest/modetest.c.
>>> I am now working with vmwgfx + VMWare 7.0, where vmwgfx had correctly
>>> initialized framebuffer and also now using fbcon.
>>> Now I want to test it woth modetest.c
>>> This program is only for intel so i recoded it to use libkms functions.
>>
>> Could you send the changes to make modetest.c use libkms as a patch?
>> It's a good idea.
>>
>> cheers,
>> Kristian
>>
> 


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to