Re: xorg problems

2012-05-26 Thread John Marshall
On 25/05/2012 05:18, Baptiste Daroussin wrote:
 Without the cairo patch (because it doesn't work for me) I managed to 
 workaround
 the bug creating a xorg.conf (I haven't done that for a while :)) containing
 this:
 Section Device
   Identifier bla
   Driver intel
   Option AccelMethod XAA
 EndSection
 
 note that my xorg-server is not built with hal (don't know if is important or
 not)

Brilliant! Worked for me too with unpatched cairo-1.12.2. My xorg-server
*is* built with HAL but I don't think that has any influence on the
Intel driver problem. Prior to the explicit XAA config in my Intel
Device Section, /var/log/Xorg.0.log showed that the method was
defaulting to EXA and X would freeze very soon after starting.

Thank you.

-- 
John Marshall



signature.asc
Description: OpenPGP digital signature


Re: xorg problems

2012-05-24 Thread Jacques Chanel
On Thu, May 24, 2012 at 01:53:41PM +0200, Koop Mast wrote:
 Can people try this and see if it fixes the problems? 
 http://people.freebsd.org/~kwm/patch-cairo
 Just put it in x11-servers/xorg-server/files/ and rebuild xorg-server. 
 Works for both 1.7 and 1.10.

Hello all !

Yes, this fix works for me: xorg does not crash anymore when upgrading
cairo-1.10.2_3,1 to cairo-1.12.2,1, on my Samsung q210 laptop:

jc@q210:~ uname -a
FreeBSD q210.perso 9.0-STABLE FreeBSD 9.0-STABLE #0 r235448: Mon May 14
20:45:22 CEST 2012 jc@q210.perso:/usr/obj/usr/src/sys/GENERIC  amd64
jc@q210:~ grep agp0 /var/run/dmesg.boot 
agp0: Intel GM45 SVGA controller on vgapci0
agp0: aperture size is 256M, detected 32764k stolen memory

Thank you for your hard work on FreeBSD

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: xorg problems

2012-05-24 Thread Jeremy Messenger
On Thu, May 24, 2012 at 12:03 PM, Jacques Chanel jcha...@free.fr wrote:
 On Thu, May 24, 2012 at 01:53:41PM +0200, Koop Mast wrote:
 Can people try this and see if it fixes the problems?
 http://people.freebsd.org/~kwm/patch-cairo
 Just put it in x11-servers/xorg-server/files/ and rebuild xorg-server.
 Works for both 1.7 and 1.10.

 Hello all !

 Yes, this fix works for me: xorg does not crash anymore when upgrading
 cairo-1.10.2_3,1 to cairo-1.12.2,1, on my Samsung q210 laptop:

Good and thanks for test! I was thinking about back out this weekend
when I get back in town if it doesn't fix.

Cheers,
Mezz


 jc@q210:~ uname -a
 FreeBSD q210.perso 9.0-STABLE FreeBSD 9.0-STABLE #0 r235448: Mon May 14
 20:45:22 CEST 2012     jc@q210.perso:/usr/obj/usr/src/sys/GENERIC  amd64
 jc@q210:~ grep agp0 /var/run/dmesg.boot
 agp0: Intel GM45 SVGA controller on vgapci0
 agp0: aperture size is 256M, detected 32764k stolen memory

 Thank you for your hard work on FreeBSD


-- 
mezz.free...@gmail.com - m...@freebsd.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gn...@freebsd.org
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: xorg problems

2012-05-24 Thread Baptiste Daroussin
On Thu, May 24, 2012 at 12:07:43PM -0500, Jeremy Messenger wrote:
 On Thu, May 24, 2012 at 12:03 PM, Jacques Chanel jcha...@free.fr wrote:
  On Thu, May 24, 2012 at 01:53:41PM +0200, Koop Mast wrote:
  Can people try this and see if it fixes the problems?
  http://people.freebsd.org/~kwm/patch-cairo
  Just put it in x11-servers/xorg-server/files/ and rebuild xorg-server.
  Works for both 1.7 and 1.10.
 
  Hello all !
 
  Yes, this fix works for me: xorg does not crash anymore when upgrading
  cairo-1.10.2_3,1 to cairo-1.12.2,1, on my Samsung q210 laptop:
 
 Good and thanks for test! I was thinking about back out this weekend
 when I get back in town if it doesn't fix.
 

after patching X is unusable here: patchwork of colors everywhere on the screen,
can't go back to the console :(

regards,
Bapt


pgpmqfVaElvzM.pgp
Description: PGP signature


Re: xorg problems

2012-05-24 Thread Jacques Chanel
On Thu, May 24, 2012 at 07:03:40PM +0200, Jacques Chanel wrote:
 On Thu, May 24, 2012 at 01:53:41PM +0200, Koop Mast wrote:
  Can people try this and see if it fixes the problems? 
  http://people.freebsd.org/~kwm/patch-cairo
  Just put it in x11-servers/xorg-server/files/ and rebuild xorg-server. 
  Works for both 1.7 and 1.10.
 
 Hello all !
 
 Yes, this fix works for me: xorg does not crash anymore when upgrading
 cairo-1.10.2_3,1 to cairo-1.12.2,1, on my Samsung q210 laptop:
 
 jc@q210:~ uname -a
 FreeBSD q210.perso 9.0-STABLE FreeBSD 9.0-STABLE #0 r235448: Mon May 14
 20:45:22 CEST 2012 jc@q210.perso:/usr/obj/usr/src/sys/GENERIC  amd64
 jc@q210:~ grep agp0 /var/run/dmesg.boot 
 agp0: Intel GM45 SVGA controller on vgapci0
 agp0: aperture size is 256M, detected 32764k stolen memory
 

Ooops.. I spoke too fast : a few hours later, Xorg crashed (in a
different way: xorg restarts every second).

Reinstalling my saved cairo-1.10.2_3,1 package instead of
cairo-1.12.2,1 is not enoughi to be able to start xorg, I must also rebuild
x11-servers/xorg-server without patch-cairo.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: xorg problems

2012-05-24 Thread Baptiste Daroussin
On Thu, May 24, 2012 at 08:53:40PM +0200, Jacques Chanel wrote:
 On Thu, May 24, 2012 at 07:03:40PM +0200, Jacques Chanel wrote:
  On Thu, May 24, 2012 at 01:53:41PM +0200, Koop Mast wrote:
   Can people try this and see if it fixes the problems? 
   http://people.freebsd.org/~kwm/patch-cairo
   Just put it in x11-servers/xorg-server/files/ and rebuild xorg-server. 
   Works for both 1.7 and 1.10.
  
  Hello all !
  
  Yes, this fix works for me: xorg does not crash anymore when upgrading
  cairo-1.10.2_3,1 to cairo-1.12.2,1, on my Samsung q210 laptop:
  
  jc@q210:~ uname -a
  FreeBSD q210.perso 9.0-STABLE FreeBSD 9.0-STABLE #0 r235448: Mon May 14
  20:45:22 CEST 2012 jc@q210.perso:/usr/obj/usr/src/sys/GENERIC  amd64
  jc@q210:~ grep agp0 /var/run/dmesg.boot 
  agp0: Intel GM45 SVGA controller on vgapci0
  agp0: aperture size is 256M, detected 32764k stolen memory
  
 
 Ooops.. I spoke too fast : a few hours later, Xorg crashed (in a
 different way: xorg restarts every second).
 
 Reinstalling my saved cairo-1.10.2_3,1 package instead of
 cairo-1.12.2,1 is not enoughi to be able to start xorg, I must also rebuild
 x11-servers/xorg-server without patch-cairo.
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Without the cairo patch (because it doesn't work for me) I managed to workaround
the bug creating a xorg.conf (I haven't done that for a while :)) containing
this:
Section Device
Identifier bla
Driver intel
Option AccelMethod XAA
EndSection

note that my xorg-server is not built with hal (don't know if is important or
not)

regards,
Bapt



pgp3YWgVxykcC.pgp
Description: PGP signature


xorg problems

2012-05-22 Thread Warren Block
Since a port upgrade yesterday, there have been some occasional 
graphical garblings in text in terminal windows and title bars.  My 
saved example went away when X went away.  Rebuilding everything the 
xfce4 port depended on doesn't seem to have cured it, nor did rebuilding 
everything the xorg port depends on.


Starting X one time seems to work.  Quit X and restart it, and the 
machine reboots.


Any ideas?
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: xorg problems

2012-05-22 Thread Jeremy Messenger
On Tue, May 22, 2012 at 2:20 PM, Warren Block wbl...@wonkity.com wrote:
 Since a port upgrade yesterday, there have been some occasional graphical
 garblings in text in terminal windows and title bars.  My saved example went
 away when X went away.  Rebuilding everything the xfce4 port depended on
 doesn't seem to have cured it, nor did rebuilding everything the xorg port
 depends on.

 Starting X one time seems to work.  Quit X and restart it, and the machine
 reboots.

 Any ideas?

Since you didn't tell us what 'a port upgrade'. I am guessing that it
might be cairo, so try to downgrade cairo and see if it helps. You do
not need to rebuild ports for that.

Cheers,
Mezz


-- 
mezz.free...@gmail.com - m...@freebsd.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gn...@freebsd.org
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: xorg problems

2012-05-22 Thread Warren Block

On Tue, 22 May 2012, Jeremy Messenger wrote:


On Tue, May 22, 2012 at 2:20 PM, Warren Block wbl...@wonkity.com wrote:

Since a port upgrade yesterday, there have been some occasional graphical
garblings in text in terminal windows and title bars.  My saved example went
away when X went away.  Rebuilding everything the xfce4 port depended on
doesn't seem to have cured it, nor did rebuilding everything the xorg port
depends on.

Starting X one time seems to work.  Quit X and restart it, and the machine
reboots.

Any ideas?


Since you didn't tell us what 'a port upgrade'. I am guessing that it
might be cairo, so try to downgrade cairo and see if it helps. You do
not need to rebuild ports for that.


Sorry, I should have mentioned that.  There were half a dozen or so new 
port versions last night, and then I ran portmaster --check-depends 
afterwards, which updated the dates on all of /var/db/pkg, so 'ls -ltr 
/var/db/pkg' failed me.


Here's an example: http://www.wonkity.com/~wblock/garbled/garbled.jpg

That is from post #8 in this thread, which might be related:
http://forums.freebsd.org/showthread.php?t=32220___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: xorg problems

2012-05-22 Thread Warren Block

On Tue, 22 May 2012, Gök?in Akdeniz wrote:


If you downgrade cairo port it will be ok. If you update ports tree
with csup try portdowngrade. If not try to get the old version of ciaro
port as package, remove the new one and install the old one, then do
nnot upgrade the cairo port. That will keep things working untill a bug
fix is available.


Yes, so far so good.  Downgraded to cairo-1.10.2_3,1 and have not seen 
the garbling problem again.___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: xorg problems

2012-05-22 Thread Koop Mast

On 22-5-2012 23:48, Warren Block wrote:

On Tue, 22 May 2012, Gök?in Akdeniz wrote:


If you downgrade cairo port it will be ok. If you update ports tree
with csup try portdowngrade. If not try to get the old version of ciaro
port as package, remove the new one and install the old one, then do
nnot upgrade the cairo port. That will keep things working untill a bug
fix is available.


Yes, so far so good.  Downgraded to cairo-1.10.2_3,1 and have not seen 
the garbling problem again.


Just picking the last message in the thread.

I found a Xorg bug report about the cairo 1.12 corruption. I will 
investigate this more closely tomorrow since I about to fall asleep. It 
seems there is a issue in EXA. People with cairo 1.12 should try to 
disable that and see if that helps. I think that can be done by putting 
the line below in your xorg.conf.


Option NoAccel true


-Koop
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: xorg problems

2012-05-22 Thread Jeremy Messenger
On Tue, May 22, 2012 at 7:25 PM, Koop Mast k...@rainbow-runner.nl wrote:
 On 22-5-2012 23:48, Warren Block wrote:

 On Tue, 22 May 2012, Gök?in Akdeniz wrote:

 If you downgrade cairo port it will be ok. If you update ports tree
 with csup try portdowngrade. If not try to get the old version of ciaro
 port as package, remove the new one and install the old one, then do
 nnot upgrade the cairo port. That will keep things working untill a bug
 fix is available.


 Yes, so far so good.  Downgraded to cairo-1.10.2_3,1 and have not seen the
 garbling problem again.


 Just picking the last message in the thread.

 I found a Xorg bug report about the cairo 1.12 corruption. I will
 investigate this more closely tomorrow since I about to fall asleep. It
 seems there is a issue in EXA. People with cairo 1.12 should try to disable
 that and see if that helps. I think that can be done by putting the line
 below in your xorg.conf.

 Option NoAccel true

Yes, it's what I have collected from in Google search as well.

http://lists.x.org/archives/xorg-announce/2012-May/001943.html

* Pixmap (and bo leak) during fallback glyph composition

* Remove broken acceleration for rendering glyphs directly upon the
  destination pixmap, exposed by cairo-1.12.0 (and coincidentally fix
  another Pixmap leak upon fallback handling).


Another for xorg-server 1.12.x:

https://projects.archlinux.org/svntogit/packages.git/tree/trunk/EXA_Fall_back_earlier_and_more_thoroughly_from_exaGlyphsV2.diff?h=packages/xorg-server

I can't reproduce any of bug here with nvidia-driver as I have been
running for three or four days by now with GNOME 2, Firefox 12 and
etc.

Cheers,
Mezz


 -Koop


-- 
mezz.free...@gmail.com - m...@freebsd.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gn...@freebsd.org
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org