[gentoo-user] libXfont 1.4.0 fails to emerge

2009-08-30 Thread Simon Hunt
I need libXfont-1.4.0 because xf86-video-intel-2.7.99.902-r1 depends on
xorg-server-1.6.3 which depends on libXfont-1.4.0. But libXfont fails to
emerge. Here is the end of the libXfont build.log:


libtool: link: i686-pc-linux-gnu-gcc -shared  .libs/dummy.o  
-Wl,--whole-archive fontfile/.libs/libfontfile.a FreeType/.libs/libft.a 
bitmap/.libs/libbitmap.a builtins/.libs/libbuiltins.a fc/.libs/libfc.a 
util/.libs/libutil.a stubs/.libs/libstubs.a -Wl,--no-whole-archive  
/usr/lib/libfreetype.so -lbz2 -lm /usr/lib/libfontenc.so -lz  -march=i686 
-Wl,-O1   -Wl,-soname -Wl,libXfont.so.1 -o .libs/libXfont.so.1.4.1
bitmap/.libs/libbitmap.a: member bitmap/.libs/libbitmap.a(bitscale.o) in 
archive is not an object
collect2: ld returned 1 exit status
make[3]: *** [libXfont.la] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/x11-libs/libXfont-1.4.0/work/libXfont-1.4.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/x11-libs/libXfont-1.4.0/work/libXfont-1.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/x11-libs/libXfont-1.4.0/work/libXfont-1.4.0'
make: *** [all] Error 2
 * 
 * ERROR: x11-libs/libXfont-1.4.0 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_compile
 * environment, line 3109:  Called x-modular_src_compile
 * environment, line 3894:  Called x-modular_src_make
 * environment, line 3934:  Called die
 * The specific snippet of code:
 *   emake || die emake failed
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call 
stack if relevant.
 * A complete build log is located at 
'/var/tmp/portage/x11-libs/libXfont-1.4.0/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/x11-libs/libXfont-1.4.0/temp/environment'.
 * 



[gentoo-user] Intel dilemma

2009-08-29 Thread Simon Hunt
I posted this on the forums but I want some more information. I have a
bit of a dilemma. With these settings,

xf86-video-intel: 2.6.3-r1 xorg-server: 1.6.2-r1 and 1.6.3 kernel
module: i830 kernel: gentoo 2.6.29-r5 and 2.6.30-r4

sometimes when stopping or starting X my computer would freeze and there
would be no video output. However, other than that, inside Gnome Firefox
ran pretty smoothly, not incredibly fast, but not sluggishly at all.
With these settings,

xf86-video-intel: 2.8.0 xorg-server: 1.6.3 kernel module: i915 kernel:
vanilla 2.6.31_rc7


X starts and stops very smoothly without ever freezing, I think because
of the KMS. But Firefox runs sluggishly and my whole machine freezes in
Firefox frequently. According to this,
http://www.x.org/wiki/IntelGraphicsDriver, the 2.8.0 driver drops
support for XAA and EXA, but has no UXA support for my graphics card
(865G), so I think I'm getting no 2D acceleration. Could that be the
reason Firefox is so slow? As for the freezes, I think that's just
because the newer driver is unstable. What are the optimum driver and
kernel versions for my graphics card, the 865G? Also, the reason I'm
using the 2.6.31 kernel is because that X.Org wiki page says it works
best with the 2.8.0 intel driver. Oh, and what exactly is the kernel
module for and what are the differences between the i830 and i915? 

Pappy told me I should use kernel .27, and that KMS support right now
for my card is very unstable. Anyway, I just want to know the best
options right now for my card which is the 865G.



Re: [gentoo-user] Intel dilemma

2009-08-29 Thread Simon Hunt
On Sat, Aug 29, 2009 at 03:48:59PM -0500, Andr??s Becerra Sandoval wrote:
 
 Hello,
 
 I have a 865G too, the only combination that works for me with the
 i915 intel driver is:
 
 kernel: gentoo-sources-2.6.28
 driver: xf86-video-intel: 2.7.1
 
 Anything above that (=gentoo-sources-2.6.29, =xf86-video-intel:
 2.7.1) fails for my setup with freezes like the ones you describe.
 
 As my box is ~x86, I have installed many versions of xorg-server
 without varying  the kernel and driver, and they worked all right.
 
 I am thinking in giving up to using the intel driver in order to user
 the latest kernel, with an /etc/X11/xorg.conf using a VESA card
 configuration and I have not tested the i830 option.
 
 Hope this helps.
 
 -- 
   Andr??s
 

Thank you very much! That is very helpful to know and I will get back to
you on how it works for me. Also, let me know how the VESA card
configuration works. What does that mean exactly, it's just a generic
solution?



Re: [gentoo-user] Intel dilemma

2009-08-29 Thread Simon Hunt
On Sat, Aug 29, 2009 at 03:40:14PM -0700, Keith Dart wrote:
 Works for me, YMMV.
 
 
 -- Keith Dart

And you don't get freezes or anything?



Re: [gentoo-user] Intel dilemma

2009-08-29 Thread Simon Hunt
Hey, nevermind about my USB wireless-LAN card not working, it just
requires a different firmware for that kernel, I looked it up (although
the problems with it hanging still remain). By the way, I know I should
be replying to the messages I already sent right? But those messages
don't appear in my inbox, with mutt using GMail and IMAP, any
suggestions?



Re: [gentoo-user] Intel dilemma

2009-08-29 Thread Simon Hunt
Well I tried the .28 kernel with the package versions you suggested, and
when the X server starts, it's just a black screen BUT the machine
doesn't freeze and there is video output, it is just black. These lines
seem relevant in the Xorg log:

(II) GLX: Initialized DRI GL provider for screen 0
(II) intel(0):
Setting screen physical size to 304 x 228 [config/dbus] couldn't take
over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection
:1.3 is not allowed to own the service org.x.config.display0 due to
security policies in the configuration file)
(II) config/hal: Adding input device ImPS/2 Generic Wheel Mouse

One other problem I have with that kernel is that my USB wireless LAN
card isn't seen, even though I have the correct prism54 module set in
the kernel, like in my new kernels where it works fine. By the way, if
you choose prism54 built-in, for some reason the kernel stops early in
the boot process for several minutes before continuing. Should I file a
bug?

Do you have an xorg.conf? I've been doing this without one, which works
with the other kernels.



Re: [gentoo-user] Intel dilemma

2009-08-29 Thread Simon Hunt
And I just sent the last two messages in the wrong order because I
forgot I still only had a draft of my first message, I never actually
sent it until I realized that.



Re: [gentoo-user] Intel dilemma

2009-08-29 Thread Simon Hunt
On Sat, Aug 29, 2009 at 04:44:31PM -0700, Keith Dart wrote:
 === On Sat, 08/29, Simon Hunt wrote: ===
  And you don't get freezes or anything?
 
 ===
 
 No, everything seems to be working fine now.
 
 
 -- Keith Dart
 

Okay, I did everything you said and THANK YOU! I don't get freezes
anymore BUT I don't have direct rendering, which means everything is
very slow because my CPU is doing all the work (I think that's what it
means...). Anyway, here is the Xorg log:


This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the xorg product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.6.3.901 (1.6.4 RC 1)
Release Date: 2009-8-25
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-rc7 i686 
Current Operating System: Linux gentoo-desktop 2.6.30-gentoo-r4 #11 Sat Aug 29 
19:10:41 EDT 2009 i686
Build Date: 29 August 2009  07:22:41PM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sat Aug 29 19:45:53 2009
(II) Loader magic: 0x1da0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 8

(--) PCI:*(0:0:2:0) 8086:2572:1028:019d Intel Corporation 82865G Integrated 
Graphics Controller rev 2, Mem @ 0xe800/134217728, 0xfeb8/524288, I/O @ 
0xefa8/8
(==) Using default built-in configuration (39 lines)
(==) --- Start of built-in configuration ---
Section Device
Identifier  Builtin Default intel Device 0
Driver  intel
EndSection
Section Screen
Identifier  Builtin Default intel Screen 0
Device  Builtin Default intel Device 0
EndSection
Section Device
Identifier  Builtin Default i810 Device 0
Driver  i810
EndSection
Section Screen
Identifier  Builtin Default i810 Screen 0
Device  Builtin Default i810 Device 0
EndSection
Section Device
Identifier  Builtin Default vesa Device 0
Driver  vesa
EndSection
Section Screen
Identifier  Builtin Default vesa Screen 0
Device  Builtin Default vesa Device 0
EndSection
Section Device
Identifier  Builtin Default fbdev Device 0
Driver  fbdev
EndSection
Section Screen
Identifier  Builtin Default fbdev Screen 0
Device  Builtin Default fbdev Device 0
EndSection
Section ServerLayout
Identifier  Builtin Default Layout
Screen  Builtin Default intel Screen 0
Screen  Builtin Default i810 Screen 0
Screen  Builtin Default vesa Screen 0
Screen  Builtin Default fbdev Screen 0
EndSection
(==) --- End of built-in configuration ---
(==) ServerLayout Builtin Default Layout
(**) |--Screen Builtin Default intel Screen 0 (0)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default intel Device 0
(==) No monitor specified for screen Builtin Default intel Screen 0.
Using a default monitor configuration.
(**) |--Screen Builtin Default i810 Screen 0 (1)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default i810 Device 0
(==) No monitor specified for screen Builtin Default i810 Screen 0.
Using a default monitor configuration.
(**) |--Screen Builtin Default vesa Screen 0 (2)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default vesa Device 0
(==) No monitor specified for screen Builtin Default vesa Screen 0.
Using a default monitor configuration.
(**) |--Screen Builtin Default fbdev Screen 0 (3)
(**) |   |--Monitor default monitor
(**) |   |--Device Builtin Default fbdev Device 0
(==) No monitor specified for screen Builtin Default fbdev Screen 0.
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/share/fonts/TTF/ does not exist.
Entry deleted from font path.
(WW) The directory /usr/share/fonts/OTF does not exist.
Entry deleted from font path.
(WW) The directory /usr/share/fonts/Type1/ does not exist.
Entry deleted from font

Re: [gentoo-user] Intel dilemma

2009-08-29 Thread Simon Hunt
On Sat, Aug 29, 2009 at 07:55:16PM -0400, Simon Hunt wrote:
 On Sat, Aug 29, 2009 at 04:44:31PM -0700, Keith Dart wrote:
  === On Sat, 08/29, Simon Hunt wrote: ===
   And you don't get freezes or anything?
  
  ===
  
  No, everything seems to be working fine now.
  
  
  -- Keith Dart
  
 
 Okay, I did everything you said and THANK YOU! I don't get freezes
 anymore BUT I don't have direct rendering, which means everything is
 very slow because my CPU is doing all the work (I think that's what it
 means...). Anyway, here is the Xorg log:
 
 ...

Okay I got direct rendering to work, I think by removing the intel
framebuffer from my kernel modules. Now my graphics are definitely
faster, but not as fast as they once were before I upgraded to the 2.8
intel driver series. For instance, Facebook.com on Firefox is much
slower and laggy. And I've noticed it even in apps like mutt and less in
gnome-terminal. I haven't experienced any freezes though, and the way it
was before, it *definitely* would have frozen by now. So any thoughts on
why it is slower? Do you think it will be faster in subsequent releases?
I thought uxa was supposed to be better than whatever I had before.



Re: [gentoo-user] Intel dilemma

2009-08-29 Thread Simon Hunt
Yes, it's me again. I think upgrading to the newest unstable
vanilla-source (31-rc8) makes it definitely go faster, but Firefox is
still a little laggy. Although Epiphany really isn't, so I think it's
just Firefox's fault. Anyway, my computer actually did freeze once. Just
wanting to provide an update I guess.



Re: [gentoo-user] Intel dilemma

2009-08-29 Thread Simon Hunt
On Sat, Aug 29, 2009 at 07:06:35PM -0400, Simon Hunt wrote:
 Well I tried the .28 kernel with the package versions you suggested, and
 when the X server starts, it's just a black screen BUT the machine
 doesn't freeze and there is video output, it is just black. These lines
 seem relevant in the Xorg log:
 
 (II) GLX: Initialized DRI GL provider for screen 0
 (II) intel(0):
 Setting screen physical size to 304 x 228 [config/dbus] couldn't take
 over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection
 :1.3 is not allowed to own the service org.x.config.display0 due to
 security policies in the configuration file)
 (II) config/hal: Adding input device ImPS/2 Generic Wheel Mouse
 

This is probably because I was accidentally using an xorg.conf. I'll get
back to you on this later.



[gentoo-user] Re: Intel dilemma

2009-08-29 Thread Simon Hunt
On Sat, Aug 29, 2009 at 02:00:35PM -0400, Simon Hunt wrote:
 I posted this on the forums but I want some more information. I have a
 bit of a dilemma. With these settings,
 
 xf86-video-intel: 2.6.3-r1 xorg-server: 1.6.2-r1 and 1.6.3 kernel
 module: i830 kernel: gentoo 2.6.29-r5 and 2.6.30-r4
 
 sometimes when stopping or starting X my computer would freeze and there
 would be no video output. However, other than that, inside Gnome Firefox
 ran pretty smoothly, not incredibly fast, but not sluggishly at all.
 With these settings,
 
 xf86-video-intel: 2.8.0 xorg-server: 1.6.3 kernel module: i915 kernel:
 vanilla 2.6.31_rc7
 
 
 X starts and stops very smoothly without ever freezing, I think because
 of the KMS. But Firefox runs sluggishly and my whole machine freezes in
 Firefox frequently. According to this,
 http://www.x.org/wiki/IntelGraphicsDriver, the 2.8.0 driver drops
 support for XAA and EXA, but has no UXA support for my graphics card
 (865G), so I think I'm getting no 2D acceleration. Could that be the
 reason Firefox is so slow? As for the freezes, I think that's just
 because the newer driver is unstable. What are the optimum driver and
 kernel versions for my graphics card, the 865G? Also, the reason I'm
 using the 2.6.31 kernel is because that X.Org wiki page says it works
 best with the 2.8.0 intel driver. Oh, and what exactly is the kernel
 module for and what are the differences between the i830 and i915? 
 
 Pappy told me I should use kernel .27, and that KMS support right now
 for my card is very unstable. Anyway, I just want to know the best
 options right now for my card which is the 865G.

Okay, my current setup is
xf86-video-intel: 2.7.1
xorg-server: 1.6.3.901
kernel: 2.6.30-r4 with i915

and it never freezes while starting or stopping, and it never lags in
Firefox. The only way this differs from my old setup is the xorg-server,
so I think they may have fixed the freezing issue in the version. I
tried both suggestions, and I don't know why but they just didn't work
for me. Thanks for all the help though! Oh by the way, the only reason I
even tried this was because I had to use a different kernel to get into
X and it just happened to work perfectly!



[gentoo-user] Re: Intel dilemma

2009-08-29 Thread Simon Hunt
On Sat, Aug 29, 2009 at 10:30:02PM -0400, Simon Hunt wrote:
 On Sat, Aug 29, 2009 at 02:00:35PM -0400, Simon Hunt wrote:
  I posted this on the forums but I want some more information. I have a
  bit of a dilemma. With these settings,
  
  xf86-video-intel: 2.6.3-r1 xorg-server: 1.6.2-r1 and 1.6.3 kernel
  module: i830 kernel: gentoo 2.6.29-r5 and 2.6.30-r4
  
  sometimes when stopping or starting X my computer would freeze and there
  would be no video output. However, other than that, inside Gnome Firefox
  ran pretty smoothly, not incredibly fast, but not sluggishly at all.
  With these settings,
  
  xf86-video-intel: 2.8.0 xorg-server: 1.6.3 kernel module: i915 kernel:
  vanilla 2.6.31_rc7
  
  
  X starts and stops very smoothly without ever freezing, I think because
  of the KMS. But Firefox runs sluggishly and my whole machine freezes in
  Firefox frequently. According to this,
  http://www.x.org/wiki/IntelGraphicsDriver, the 2.8.0 driver drops
  support for XAA and EXA, but has no UXA support for my graphics card
  (865G), so I think I'm getting no 2D acceleration. Could that be the
  reason Firefox is so slow? As for the freezes, I think that's just
  because the newer driver is unstable. What are the optimum driver and
  kernel versions for my graphics card, the 865G? Also, the reason I'm
  using the 2.6.31 kernel is because that X.Org wiki page says it works
  best with the 2.8.0 intel driver. Oh, and what exactly is the kernel
  module for and what are the differences between the i830 and i915? 
  
  Pappy told me I should use kernel .27, and that KMS support right now
  for my card is very unstable. Anyway, I just want to know the best
  options right now for my card which is the 865G.
 
 Okay, my current setup is
 xf86-video-intel: 2.7.1
 xorg-server: 1.6.3.901
 kernel: 2.6.30-r4 with i915
 
 and it never freezes while starting or stopping, and it never lags in
 Firefox. The only way this differs from my old setup is the xorg-server,
 so I think they may have fixed the freezing issue in the version. I
 tried both suggestions, and I don't know why but they just didn't work
 for me. Thanks for all the help though! Oh by the way, the only reason I
 even tried this was because I had to use a different kernel to get into
 X and it just happened to work perfectly!

No, I was wrong. I also changed my xf86-video-intel, and THAT is what
fixed the freezing problem, but now I have another freezing problem
which I think is cause by the new intel driver because it happened in
several versions of xorg-server.



Re: [gentoo-user] Blank screen when starting or stopping X server

2009-08-26 Thread Simon Hunt
Well I think I fixed the problem by upgrading the kernel to
vanilla-sources-2.6.31-rc7 and xf86-video-intel-2.8.0 (and recompiling
against  the new kernel), and switching to the i915 module in the
kernel. I did this because of the suggestions at
http://www.x.org/wiki/IntelGraphicsDriver (I already had xorg-server
1.6.3). However, now firefox is significantly slower and I'm wondering
if that is a problem with the newer driver or the framebuffer or
something. Is that possible? Or should I rebuild firefox? Another
thing is that in menuconfig, there was no longer an option for the
framebuffer driver for my chipset, but after openrc starts the boot
process, the frame is suddenly buffered. How does that happen?



Re: [gentoo-user] Blank screen when starting or stopping X server

2009-08-25 Thread Simon Hunt
On Tue, Aug 25, 2009 at 01:03:21PM -0400, Willie Wong wrote:
 On Mon, Aug 24, 2009 at 09:28:50PM -0400, Penguin Lover Simon Hunt squawked:
  Sometimes when I start or stop the X server, for instance at boot when GDM
  loads, or when I logout of Gnome and GDM is restarted, the screen goes 
  blank, 
  and the monitor shows an orange light as if it were disconnected from the 
  computer.
  The computer is still on, but I think it is frozen, because I can't use ssh
  to access it. I've diffed the Xorg logs from a normal server and a frozen 
  server
  and they are the same besides dates and other trivial lines, unless perhaps
  the frozen server doesn't even write to a log. If you think I should try 
  that
  again, tell me. I could have done something wrong.
 
 How about the system/kernel logs? 
 
 Have you built a video driver against a wrong kernel?

Here are the relevant lines from /var/log/messages:

Aug 25 23:38:04 gentoo-desktop sudo: skrapasor : TTY=pts/0 ; 
PWD=/home/skrapasor ; USER=root ; COMMAND=/sbin/reboot
Aug 25 23:38:04 gentoo-desktop sudo: pam_unix(sudo:session): session opened for 
user root by skrapasor(uid=0)
Aug 25 23:38:04 gentoo-desktop sudo: pam_unix(sudo:session): session closed for 
user root
Aug 25 23:38:04 gentoo-desktop shutdown[25368]: shutting down for system reboot
Aug 25 23:38:04 gentoo-desktop init: Switching to runlevel: 6
Aug 25 23:38:09 gentoo-desktop gdm[2404]: pam_unix(gdm:session): session closed 
for user skrapasor
Aug 25 23:40:11 gentoo-desktop syslog-ng[3058]: syslog-ng starting up; 
version='2.1.4'
Aug 25 23:40:11 gentoo-desktop Linux version 2.6.30-gentoo-r4
(r...@gentoo-desktop) (gcc version 4.3.2 (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) ) 
#8 Wed Aug 19 23:09:14 EDT 2009

Init switches to runlevel 6, then GDM closes the session for
skrapasor, and then nothing else is written until I manually reboot by
holding the power button. I also attached the Xorg.0.log.old log, which
looks to be written to at around the same time the machine froze. Any
other logs I should check? And what kernel should I build my driver
against? Actually, I doubt that's the problem because it's done this
with every kernel I've had. My video card is in the Xorg log. I'm new to
mailing lists so please tell me if I am doing something wrong. I wasn't
sure how to post the messages log because screen, or more likely vim, was 
automatically
adding newlines where I didn't want them, so sorry if it's too wide. I love
this line by the way:

 On Mon, Aug 24, 2009 at 09:28:50PM -0400, Penguin Lover Simon Hunt squawked:


Xorg.0.log.old
Description: application/trash


[gentoo-user] Blank screen when starting or stopping X server

2009-08-24 Thread Simon Hunt
Sometimes when I start or stop the X server, for instance at boot when GDM
loads, or when I logout of Gnome and GDM is restarted, the screen goes blank, 
and the monitor shows an orange light as if it were disconnected from the 
computer.
The computer is still on, but I think it is frozen, because I can't use ssh
to access it. I've diffed the Xorg logs from a normal server and a frozen server
and they are the same besides dates and other trivial lines, unless perhaps
the frozen server doesn't even write to a log. If you think I should try that
again, tell me. I could have done something wrong.



[gentoo-user] Aluminum iMac framebuffer?

2009-08-20 Thread Simon Hunt
I can't get a 1680x1050 framebuffer (my native resolution) or any widescreen
framebuffer on this intel iMac and the console looks pretty bad because of
it. The best I can use is 1024x768. I have a Radeon HD 2400 XT video card.
The Radeon framebuffer radeonfb in the kernel doesn't support this card.
What can I do?