Re: 945GM graphics and mplayer

2006-10-25 Thread Ganbold

Marcus Alves Grando wrote:

Eric Anholt wrote:

On Mon, 2006-10-02 at 13:25 +0800, Ganbold wrote:

Hi,


http://marcus.grupos.com.br:8080/patch/agp_i810.c.patch


Eric, Marcus,

Good news, I updated gnome to 2.16.x (which means it updated xorg, 
i945GM support was included). So I can use your patch and mplayer can do 
full screen playing with -vo xv option. And yet no more strange mouse 
problem.


thanks a lot,

Ganbold




___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 945GM graphics and mplayer

2006-10-15 Thread Ganbold

Marcus Alves Grando wrote:

Eric Anholt wrote:

On Mon, 2006-10-02 at 13:25 +0800, Ganbold wrote:

Hi,


http://marcus.grupos.com.br:8080/patch/agp_i810.c.patch


Eric, Marcus,

Just wanted to let you know that the mouse problem exist even when 945GM 
patch is not applied. So it is something else.


thanks,

Ganbold



___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 945GM graphics and mplayer

2006-10-11 Thread Ganbold

Marcus Alves Grando wrote:

Eric Anholt wrote:

On Mon, 2006-10-02 at 13:25 +0800, Ganbold wrote:

Hi,


http://marcus.grupos.com.br:8080/patch/agp_i810.c.patch


Eric, Marcus,

Any update on 945GM support patch?

I tested Marcus's patch but problem still exists. Without loading
acpi_video mouse pointer doesn't move or moves very lately/slowly.
I can see highlighted applets in gnome panel. But pointer is still in
the middle. But mplayer can use -vo xv for full screen playing.
With acpi_video mplayer can only use "sdl" for full screen playing.

I tried to apply Eric's patch but it didn't apply cleanly. I compared
Marcus's and Eric's patch and it seemed to me almost the same.
So after testing marcus's patch problem still exists.

thanks,

Ganbold


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 945GM graphics and mplayer

2006-10-05 Thread Eric Anholt
On Wed, 2006-10-04 at 10:05 +0800, Ganbold wrote:
> Eric Anholt wrote: 
> > On Mon, 2006-10-02 at 13:25 +0800, Ganbold wrote:
> >   
> > > Hi,
> > > 
> > > I have strange problem with my Dell Latitude D620 laptop which has 945GM 
> > > chipset and onboard graphic card.
> > > I'm using September 30th RELENG_6.
> > > 
> > > If I use acpi_video only, mplayer can only use "sdl" video output for 
> > > full screen playing.
> > > If I use [EMAIL PROTECTED]'s i945 graphics support patch without using 
> > > acpi_video, mplayer can use other video outputs for full screen playing 
> > > but my mouse works in strange way, mouse pointer doesn't move, or moves 
> > > very very slowly. I can see mouse goes over gnome applets (highlights) 
> > > but I don't see pointer itself is moving.
> > > If I use mnag's patch and acpi_video together mplayer can use only "sdl" 
> > > for full screen playing.
> > > 
> > 
> > OK, I think in reading your email, I'll substitute "having acpi_video"
> > with "not having AGP loaded."  If you have acpi_video on RELENG_6, that
> > prevents your AGP from loading afaik.
> >   
> 
> Oh, ok, I thought so. Some questions:
> Do I really need acpi_video? 

It gets you brightness controls for some panels.

> Can I use both AGP and acpi_video at the same time?

Not on RELENG_6.

> Do I need to load i915 kernel module?

No, X does that for you.

> It is strange though I see mouse pointer in center of the screen, but
> it doesn't move.
> As I recall it was working without moused when I first installed
> FreeBSD-6.1-RELEASE.
> I'm not quite sure, I did several updates to RELENG_6 and somewhere
> July it didn't work without moused loaded beforehand.
> Maybe it is ACPI related problem, but it is only my opinion.

sysmouse always sits there, and if you have no mouse events fed from a
moused (either automatically started by devd for USB mice, or started
for others from rc.conf), you won't see any events on that simulated
mouse.

-- 
Eric Anholt [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: 945GM graphics and mplayer

2006-10-05 Thread Eric Anholt
On Wed, 2006-10-04 at 09:41 +0800, Ganbold wrote:
> Marcus Alves Grando wrote:
> > Eric Anholt wrote:
> >> On Mon, 2006-10-02 at 13:25 +0800, Ganbold wrote:
> >>> Hi,
> >>>
> >>> I have strange problem with my Dell Latitude D620 laptop which has 
> >>> 945GM chipset and onboard graphic card.
> >>> I'm using September 30th RELENG_6.
> >>>
> >>> If I use acpi_video only, mplayer can only use "sdl" video output 
> >>> for full screen playing.
> >>> If I use [EMAIL PROTECTED]'s i945 graphics support patch without 
> >>> using acpi_video, mplayer can use other video outputs for full 
> >>> screen playing but my mouse works in strange way, mouse pointer 
> >>> doesn't move, or moves very very slowly. I can see mouse goes over 
> >>> gnome applets (highlights) but I don't see pointer itself is moving.
> >>> If I use mnag's patch and acpi_video together mplayer can use only 
> >>> "sdl" for full screen playing.
> >>
> >> OK, I think in reading your email, I'll substitute "having acpi_video"
> >> with "not having AGP loaded."  If you have acpi_video on RELENG_6, that
> >> prevents your AGP from loading afaik.
> >>
> >> So, if you have AGP loaded, you get a broken cursor, but playing XV
> >> works fine?  Could you try the patch at
> >> http://people.freebsd.org/~anholt/agp-i945-4.diff instead?  There were
> >
> > RELENG_6:
> > http://marcus.grupos.com.br:8080/patch/agp_i810.c.patch

I thought I was posting the link to the RELENG_6 patch, but I posted the
-current one.  Oops.  Use mnag@'s patch.

-- 
Eric Anholt [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: 945GM graphics and mplayer

2006-10-04 Thread Ganbold

Marcus Alves Grando wrote:

Eric Anholt wrote:

On Mon, 2006-10-02 at 13:25 +0800, Ganbold wrote:

Hi,

I have strange problem with my Dell Latitude D620 laptop which has 
945GM chipset and onboard graphic card.

I'm using September 30th RELENG_6.

If I use acpi_video only, mplayer can only use "sdl" video output 
for full screen playing.
If I use [EMAIL PROTECTED]'s i945 graphics support patch without 
using acpi_video, mplayer can use other video outputs for full 
screen playing but my mouse works in strange way, mouse pointer 
doesn't move, or moves very very slowly. I can see mouse goes over 
gnome applets (highlights) but I don't see pointer itself is moving.
If I use mnag's patch and acpi_video together mplayer can use only 
"sdl" for full screen playing.


OK, I think in reading your email, I'll substitute "having acpi_video"
with "not having AGP loaded."  If you have acpi_video on RELENG_6, that
prevents your AGP from loading afaik.

So, if you have AGP loaded, you get a broken cursor, but playing XV
works fine?  Could you try the patch at
http://people.freebsd.org/~anholt/agp-i945-4.diff instead?  There were


RELENG_6:
http://marcus.grupos.com.br:8080/patch/agp_i810.c.patch


Eric, Marcus,

I tested Marcus's patch but problem still exists. Without loading 
acpi_video mouse pointer doesn't move or moves very lately/slowly.
I can see highlighted applets in gnome panel. But pointer is still in 
the middle. But mplayer can use -vo xv for full screen playing.

With acpi_video mplayer can only use "sdl" for full screen playing.

I tried to apply Eric's patch but it didn't apply cleanly. I compared 
Marcus's and Eric's patch and it seemed to me almost the same.

So after testing marcus's patch problem still exists.

thanks,

Ganbold




Regards


cases where the original patch (along with Linux's code) could get the
aperture size wrong in my testing.  But then, testing 3 versions of the
code across 2-3 pieces of hardware and 2 OSes leaves me somewhat
confused as to what I've really tested, so no guarantees :)


Is this strange behavior related to ACPI or something else?

Also when I'm not starting /etc/rc.d/moused before going to X I 
can't use mouse in X.

Is this problem related to X or ACPI?


X expects to use sysmouse by default.  If you don't have moused
providing mouse events, you won't get any.






___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 945GM graphics and mplayer

2006-10-03 Thread Ganbold

Eric Anholt wrote:

On Mon, 2006-10-02 at 13:25 +0800, Ganbold wrote:
  

Hi,

I have strange problem with my Dell Latitude D620 laptop which has 945GM 
chipset and onboard graphic card.

I'm using September 30th RELENG_6.

If I use acpi_video only, mplayer can only use "sdl" video output for 
full screen playing.
If I use [EMAIL PROTECTED]'s i945 graphics support patch without using 
acpi_video, mplayer can use other video outputs for full screen playing 
but my mouse works in strange way, mouse pointer doesn't move, or moves 
very very slowly. I can see mouse goes over gnome applets (highlights) 
but I don't see pointer itself is moving.
If I use mnag's patch and acpi_video together mplayer can use only "sdl" 
for full screen playing.



OK, I think in reading your email, I'll substitute "having acpi_video"
with "not having AGP loaded."  If you have acpi_video on RELENG_6, that
prevents your AGP from loading afaik.
  


Oh, ok, I thought so. Some questions:
Do I really need acpi_video?
Can I use both AGP and acpi_video at the same time?
Do I need to load i915 kernel module?


So, if you have AGP loaded, you get a broken cursor, but playing XV
works fine?


Yes.


  Could you try the patch at
http://people.freebsd.org/~anholt/agp-i945-4.diff instead?  There were
cases where the original patch (along with Linux's code) could get the
aperture size wrong in my testing.  But then, testing 3 versions of the
code across 2-3 pieces of hardware and 2 OSes leaves me somewhat
confused as to what I've really tested, so no guarantees :)

  


Ok, I understand, I'll try your patch and let you know whether it solves 
the problem or not.



Is this strange behavior related to ACPI or something else?

Also when I'm not starting /etc/rc.d/moused before going to X I can't 
use mouse in X.

Is this problem related to X or ACPI?



X expects to use sysmouse by default.  If you don't have moused
providing mouse events, you won't get any.
  


It is strange though I see mouse pointer in center of the screen, but it 
doesn't move.
As I recall it was working without moused when I first installed 
FreeBSD-6.1-RELEASE.
I'm not quite sure, I did several updates to RELENG_6 and somewhere July 
it didn't work without moused loaded beforehand.

Maybe it is ACPI related problem, but it is only my opinion.

thanks,

Ganbold


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 945GM graphics and mplayer

2006-10-03 Thread Ganbold

Marcus Alves Grando wrote:

Eric Anholt wrote:

On Mon, 2006-10-02 at 13:25 +0800, Ganbold wrote:

Hi,

I have strange problem with my Dell Latitude D620 laptop which has 
945GM chipset and onboard graphic card.

I'm using September 30th RELENG_6.

If I use acpi_video only, mplayer can only use "sdl" video output 
for full screen playing.
If I use [EMAIL PROTECTED]'s i945 graphics support patch without 
using acpi_video, mplayer can use other video outputs for full 
screen playing but my mouse works in strange way, mouse pointer 
doesn't move, or moves very very slowly. I can see mouse goes over 
gnome applets (highlights) but I don't see pointer itself is moving.
If I use mnag's patch and acpi_video together mplayer can use only 
"sdl" for full screen playing.


OK, I think in reading your email, I'll substitute "having acpi_video"
with "not having AGP loaded."  If you have acpi_video on RELENG_6, that
prevents your AGP from loading afaik.

So, if you have AGP loaded, you get a broken cursor, but playing XV
works fine?  Could you try the patch at
http://people.freebsd.org/~anholt/agp-i945-4.diff instead?  There were


RELENG_6:
http://marcus.grupos.com.br:8080/patch/agp_i810.c.patch



Eric, Marcus, who's patch should I try on RELENG_6?
Anyway I'll try both in couple of days and let you know how it goes.

thanks a lot,

Ganbold




Regards


cases where the original patch (along with Linux's code) could get the
aperture size wrong in my testing.  But then, testing 3 versions of the
code across 2-3 pieces of hardware and 2 OSes leaves me somewhat
confused as to what I've really tested, so no guarantees :)


Is this strange behavior related to ACPI or something else?

Also when I'm not starting /etc/rc.d/moused before going to X I 
can't use mouse in X.

Is this problem related to X or ACPI?


X expects to use sysmouse by default.  If you don't have moused
providing mouse events, you won't get any.






___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 945GM graphics and mplayer

2006-10-03 Thread Marcus Alves Grando

Eric Anholt wrote:

On Mon, 2006-10-02 at 13:25 +0800, Ganbold wrote:

Hi,

I have strange problem with my Dell Latitude D620 laptop which has 945GM 
chipset and onboard graphic card.

I'm using September 30th RELENG_6.

If I use acpi_video only, mplayer can only use "sdl" video output for 
full screen playing.
If I use [EMAIL PROTECTED]'s i945 graphics support patch without using 
acpi_video, mplayer can use other video outputs for full screen playing 
but my mouse works in strange way, mouse pointer doesn't move, or moves 
very very slowly. I can see mouse goes over gnome applets (highlights) 
but I don't see pointer itself is moving.
If I use mnag's patch and acpi_video together mplayer can use only "sdl" 
for full screen playing.


OK, I think in reading your email, I'll substitute "having acpi_video"
with "not having AGP loaded."  If you have acpi_video on RELENG_6, that
prevents your AGP from loading afaik.

So, if you have AGP loaded, you get a broken cursor, but playing XV
works fine?  Could you try the patch at
http://people.freebsd.org/~anholt/agp-i945-4.diff instead?  There were


RELENG_6:
http://marcus.grupos.com.br:8080/patch/agp_i810.c.patch

Regards


cases where the original patch (along with Linux's code) could get the
aperture size wrong in my testing.  But then, testing 3 versions of the
code across 2-3 pieces of hardware and 2 OSes leaves me somewhat
confused as to what I've really tested, so no guarantees :)


Is this strange behavior related to ACPI or something else?

Also when I'm not starting /etc/rc.d/moused before going to X I can't 
use mouse in X.

Is this problem related to X or ACPI?


X expects to use sysmouse by default.  If you don't have moused
providing mouse events, you won't get any.




--
Marcus Alves Grando
marcus(at)corp.grupos.com.br  |  Grupos Internet S/A
  mnag(at)FreeBSD.org |  FreeBSD.org
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 945GM graphics and mplayer

2006-10-03 Thread Eric Anholt
On Mon, 2006-10-02 at 13:25 +0800, Ganbold wrote:
> Hi,
> 
> I have strange problem with my Dell Latitude D620 laptop which has 945GM 
> chipset and onboard graphic card.
> I'm using September 30th RELENG_6.
> 
> If I use acpi_video only, mplayer can only use "sdl" video output for 
> full screen playing.
> If I use [EMAIL PROTECTED]'s i945 graphics support patch without using 
> acpi_video, mplayer can use other video outputs for full screen playing 
> but my mouse works in strange way, mouse pointer doesn't move, or moves 
> very very slowly. I can see mouse goes over gnome applets (highlights) 
> but I don't see pointer itself is moving.
> If I use mnag's patch and acpi_video together mplayer can use only "sdl" 
> for full screen playing.

OK, I think in reading your email, I'll substitute "having acpi_video"
with "not having AGP loaded."  If you have acpi_video on RELENG_6, that
prevents your AGP from loading afaik.

So, if you have AGP loaded, you get a broken cursor, but playing XV
works fine?  Could you try the patch at
http://people.freebsd.org/~anholt/agp-i945-4.diff instead?  There were
cases where the original patch (along with Linux's code) could get the
aperture size wrong in my testing.  But then, testing 3 versions of the
code across 2-3 pieces of hardware and 2 OSes leaves me somewhat
confused as to what I've really tested, so no guarantees :)

> Is this strange behavior related to ACPI or something else?
> 
> Also when I'm not starting /etc/rc.d/moused before going to X I can't 
> use mouse in X.
> Is this problem related to X or ACPI?

X expects to use sysmouse by default.  If you don't have moused
providing mouse events, you won't get any.

-- 
Eric Anholt [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part