Help: XF86DGAGetVideo:failed to map video memory. I used libXxf86dga-1.1.1 on Ubuntu 10.04 on intel GMA 4500MHD(Intel GM45 chipset)

2011-10-10 Thread Focus . Luo
Hi all,

1, Does the intel GM45 chipset support DGA(direct graphic access)?

2, If it supports, why I used the function XF86DGAGetVideo(dis, 
DefaultScreen(dis), addr, width, bank, ram); and It returen 
XF86DGAGetVideo:failed to map video memory. But I used the function 
XF86DGAQueryDirectVideo, It work well. Does somebody can help me?

thanks,



DGA(direct graphic access) Lib: libXxf86dga-1.1.1

Xserver: xorg

Graphic Driver: intel_drv.so 2.9.1

OS: Ubuntu 10.04

Gpaphic: intel GMA 4500MHD(Intel GM45 chipset)



Focus Luo
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: Help: XF86DGAGetVideo:failed to map video memory. I used libXxf86dga-1.1.1 on Ubuntu 10.04 on intel GMA 4500MHD(Intel GM45 chipset)

2011-10-10 Thread Corbin Simpson
On Mon, Oct 10, 2011 at 6:12 PM, Focus.Luo luoyanq...@sjtu.org wrote:
 Hi all,

 1, Does the intel GM45 chipset support DGA(direct graphic access)?

 2, If it supports, why I used the function
 XF86DGAGetVideo(dis, DefaultScreen(dis), addr, width, bank, ram); and It
 returen XF86DGAGetVideo:failed to map video memory. But I used the
 function XF86DGAQueryDirectVideo, It work well. Does somebody can help me?

 thanks,



 DGA(direct graphic access) Lib: libXxf86dga-1.1.1

 Xserver: xorg

 Graphic Driver: intel_drv.so 2.9.1

 OS: Ubuntu 10.04

 Gpaphic: intel GMA 4500MHD(Intel GM45 chipset)

Hi,

DGA 1, with all of the direct video access, is dead in the core
server. (Blessedly.) The DGA 2 mouse stuff lives on, though.

Is this for a new application, or are you maintaining legacy code?

~ C.

-- 
When the facts change, I change my mind. What do you do, sir? ~ Keynes

Corbin Simpson
mostawesomed...@gmail.com
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


RE: Help: XF86DGAGetVideo:failed to map video memory. I used libXxf86dga-1.1.1 on Ubuntu 10.04 on intel GMA 4500MHD(Intel GM45 chipset)

2011-10-10 Thread Focus . Luo
Hi Corbin,
I  am maintaining a legacy code. How can I do?
And if I rewrite the code, how can I do?
thanks,

Focus Luo


From: Corbin Simpson [mostawesomed...@gmail.com]
Sent: Tuesday, 11 October 2011 10:31
To: Focus.Luo
Cc: xorg@lists.freedesktop.org
Subject: Re: Help: XF86DGAGetVideo:failed to map video memory. I used 
libXxf86dga-1.1.1 on Ubuntu 10.04 on intel GMA 4500MHD(Intel GM45 chipset)

On Mon, Oct 10, 2011 at 6:12 PM, Focus.Luo luoyanq...@sjtu.org wrote:
 Hi all,

 1, Does the intel GM45 chipset support DGA(direct graphic access)?

 2, If it supports, why I used the function
 XF86DGAGetVideo(dis, DefaultScreen(dis), addr, width, bank, ram); and It
 returen XF86DGAGetVideo:failed to map video memory. But I used the
 function XF86DGAQueryDirectVideo, It work well. Does somebody can help me?

 thanks,



 DGA(direct graphic access) Lib: libXxf86dga-1.1.1

 Xserver: xorg

 Graphic Driver: intel_drv.so 2.9.1

 OS: Ubuntu 10.04

 Gpaphic: intel GMA 4500MHD(Intel GM45 chipset)

Hi,

DGA 1, with all of the direct video access, is dead in the core
server. (Blessedly.) The DGA 2 mouse stuff lives on, though.

Is this for a new application, or are you maintaining legacy code?

~ C.

--
When the facts change, I change my mind. What do you do, sir? ~ Keynes

Corbin Simpson
mostawesomed...@gmail.com
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Help: XF86DGAGetVideo:failed to map video memory. I used libXxf86dga-1.1.1 on Ubuntu 10.04 on intel GMA 4500MHD(Intel GM45 chipset)

2011-10-10 Thread Ville Syrjälä
On Mon, Oct 10, 2011 at 07:31:02PM -0700, Corbin Simpson wrote:
 On Mon, Oct 10, 2011 at 6:12 PM, Focus.Luo luoyanq...@sjtu.org wrote:
  Hi all,
 
  1, Does the intel GM45 chipset support DGA(direct graphic access)?
 
  2, If it supports, why I used the function
  XF86DGAGetVideo(dis, DefaultScreen(dis), addr, width, bank, ram); and It
  returen XF86DGAGetVideo:failed to map video memory. But I used the
  function XF86DGAQueryDirectVideo, It work well. Does somebody can help me?
 
  thanks,
 
 
 
  DGA(direct graphic access) Lib: libXxf86dga-1.1.1
 
  Xserver: xorg
 
  Graphic Driver: intel_drv.so 2.9.1
 
  OS: Ubuntu 10.04
 
  Gpaphic: intel GMA 4500MHD(Intel GM45 chipset)
 
 Hi,
 
 DGA 1, with all of the direct video access, is dead in the core
 server. (Blessedly.) The DGA 2 mouse stuff lives on, though.

The code lives on, but it's practically useless. DGA 1 relative input
event support is the only usable feature left. Here's a brief
explanation: http://lists.x.org/archives/xorg-devel/2011-January/018507.html

I was considering some kind of rewrite of DGA (possibly on top of DRI2
and XI2), but decided against it due to the marginal status of DGA.

-- 
Ville Syrjälä
syrj...@sci.fi
http://www.sci.fi/~syrjala/
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com