Skip to contentSkip to conversation

modetest + libkms, intel, vmwgfx

DISCUSSION Peter Hanzel 1 participant 1 message Feb 26, 2010

lore
Share & tools
lore
#0 lore raw

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" <[email protected]>
To: "Kristian Høgsberg" <[email protected]>
Cc: <[email protected]>
Sent: Monday, February 22, 2010 10:37 AM
Subject: Re: modetest + libkms, intel, vmwgfx

Quoted 11 lines

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.

Quoted 27 lines

Regards.

----- Original Message -----
From: "Kristian Høgsberg" <[email protected]>
To: "Peter Hanzel" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, February 09, 2010 3:14 PM
Subject: Re: vmwgfx + VMWare 7.0 -> libdrm modetest.c

Quoted 16 lines
Quoted 7 lines · Peter Hanzel

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel