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

Focus.Luo luoyanqing at sjtu.org
Mon Oct 10 19:37:12 PDT 2011


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 [mostawesomedude at gmail.com]
Sent: Tuesday, 11 October 2011 10:31
To: Focus.Luo
Cc: xorg at 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 <luoyanqing at 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
<MostAwesomeDude at gmail.com>



More information about the xorg mailing list