From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JaCgK-0001Hw-Fa for garchives@archives.gentoo.org; Fri, 14 Mar 2008 16:22:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83133E049E; Fri, 14 Mar 2008 16:22:54 +0000 (UTC) Received: from server1.nasreddine.com (server1.nasreddine.com [82.225.70.234]) by pigeon.gentoo.org (Postfix) with ESMTP id F2B8EE049E for ; Fri, 14 Mar 2008 16:22:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by server1.nasreddine.com (Postfix) with ESMTP id 3F39D130E26 for ; Fri, 14 Mar 2008 17:22:51 +0100 (CET) X-Virus-Scanned: amavisd-new at nasreddine.com Received: from server1.nasreddine.com ([127.0.0.1]) by localhost (cadmus.nasreddine.info [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tIlFOmoDt-cW for ; Fri, 14 Mar 2008 17:22:40 +0100 (CET) Received: from phoenix.nasreddine.info (phoenix.nasreddine.info [192.168.1.3]) by server1.nasreddine.com (Postfix) with ESMTPA id 65223130E25 for ; Fri, 14 Mar 2008 17:22:40 +0100 (CET) Date: Fri, 14 Mar 2008 17:22:27 +0100 From: Wael Nasreddine To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] intelfb and 945GM Message-ID: <20080314162226.GC9831@phoenix.nasreddine.info> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <637767164.20080313233410@gmail.com> <20080314004912.GB28414@phoenix.nasreddine.info> <743007646.20080314135448@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c3bfwLpm8qysLVxt" Content-Disposition: inline In-Reply-To: <743007646.20080314135448@gmail.com> X-OS: Linux 2.6.24-tuxonice-r3 i686 X-Editor: VIM - Vi IMproved 7.1 (2007 May 12, compiled Mar 8 2008 19:37:19) X-PGP-Key: http://wael.nasreddine.com/files/Wael_Nasreddine.asc User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: ec92c453-12aa-4c00-b26e-bf950ada6816 X-Archives-Hash: 66d89661baa68788ba1e3808a6d2fd49 --c3bfwLpm8qysLVxt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This One Time, at Band Camp, Sergey Kobzar said, On F= ri, Mar 14, 2008 at 01:54:48PM +0200: > Hi Wael, > Thanks for help. > According to http://gentoo-wiki.com/HOWTO_fbsplash: > uvesafb - a newer (>=3D2.6.23) generic, _non-accelerated_ driver that > supports additional features such as custom resolutions. Unlike other > drivers, it requires a userspace daemon called v86d to run (provided > in the sys-apps/v86d package) > intelfb - an _accelerated_ driver for Intel chipsets > That's why I selected intelfb. Any chance to get it working or it's > more easy to forget about it? I don't know about this, I've never used intelfb so I can't help with that, but an advise though, if your intention is to use for example mplayer on Console then I think it's worth working on it, but if your intention is to use just for the splash, uvesafb will be sufficient... > Friday, March 14, 2008, 2:49:12 AM, you wrote: > > This One Time, at Band Camp, Sergey Kobzar > > said, On Thu, Mar 13, 2008 at 11:34:10PM +0200: > >> Hi > >> Linux 2.6.24-gentoo-r3 i686 > >> I have Asus U5F laptop: > >> # lspci > >> 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML= and 945GT Express Memory Controller Hub (rev 03) > >> 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,= 943/940GML Express Integrated Graphics Controller (rev 03) > >> 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/94= 0GML Express Integrated Graphics Controller (rev 03) > >> 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Defi= nition Audio Controller (rev 02) > >> 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express= Port 1 (rev 02) > >> 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express= Port 2 (rev 02) > >> 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express= Port 3 (rev 02) > >> 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHC= I Controller #1 (rev 02) > >> 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHC= I Controller #2 (rev 02) > >> 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHC= I Controller #3 (rev 02) > >> 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHC= I Controller #4 (rev 02) > >> 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EH= CI Controller (rev 02) > >> 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) > >> 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface = Bridge (rev 02) > >> 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SA= TA IDE Controller (rev 02) > >> 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8= 168B PCI Express Gigabit Ethernet controller (rev 01) > >> 02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Net= work Connection (rev 02) > >> 08:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller > >> 08:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro H= ost Adapter (rev 19) > >> 08:03.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host A= dapter (rev 0a) > >> 08:03.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (re= v 05) > >> and can't get working intelfb module on it. Kernel config: > >> # cat /usr/src/linux/.config | grep FB | grep -v '#' > >> CONFIG_FB=3Dy > >> CONFIG_FB_DDC=3Dy > >> CONFIG_FB_CFB_FILLRECT=3Dy > >> CONFIG_FB_CFB_COPYAREA=3Dy > >> CONFIG_FB_CFB_IMAGEBLIT=3Dy > >> CONFIG_FB_DEFERRED_IO=3Dy > >> CONFIG_FB_MODE_HELPERS=3Dy > >> CONFIG_FB_INTEL=3Dy > >> CONFIG_FB_INTEL_I2C=3Dy > >> # dmesg | grep intel > >> intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/91= 5G/915GM/945G/945GM chipsets > >> intelfb: Version 0.9.4 > >> intelfb: 00:02.0: Intel(R) 945GM, aperture size 256MB, stolen memory 7= 932kB > >> intelfb: Non-CRT device is enabled ( LVDS port ). Disabling mode swit= ching. > >> intelfb: Video mode must be programmed at boot time. > >> I tried these kernel kernel options: > >> kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=3D/dev/sda5 video=3Dintel= fb vga=3D0x318 > >> kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=3D/dev/sda5 video=3Dintel= fb:mode=3D1024x768-32@60 > >> kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=3D/dev/sda5 vga=3D792 > >> and in all cases I see blank screen or screen with many scrolling > >> white lines. > >> Any chance to get framebuffer working on my laptop? > > Don't use intelfb, just use the standard uvesafb. > > $ zgrep FB /proc/config.gz > > CONFIG_FB=3Dy > > # CONFIG_FB_DDC is not set > > CONFIG_FB_CFB_FILLRECT=3Dy > > CONFIG_FB_CFB_COPYAREA=3Dy > > CONFIG_FB_CFB_IMAGEBLIT=3Dy > > # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set > > # CONFIG_FB_SYS_FILLRECT is not set > > # CONFIG_FB_SYS_COPYAREA is not set > > # CONFIG_FB_SYS_IMAGEBLIT is not set > > # CONFIG_FB_SYS_FOPS is not set > > CONFIG_FB_DEFERRED_IO=3Dy > > # CONFIG_FB_SVGALIB is not set > > # CONFIG_FB_MACMODES is not set > > # CONFIG_FB_BACKLIGHT is not set > > CONFIG_FB_MODE_HELPERS=3Dy > > # CONFIG_FB_TILEBLITTING is not set > > # CONFIG_FB_CIRRUS is not set > > # CONFIG_FB_PM2 is not set > > # CONFIG_FB_CYBER2000 is not set > > # CONFIG_FB_ARC is not set > > # CONFIG_FB_ASILIANT is not set > > # CONFIG_FB_IMSTT is not set > > # CONFIG_FB_VGA16 is not set > > CONFIG_FB_UVESA=3Dy > > # CONFIG_FB_VESA is not set > > # CONFIG_FB_EFI is not set > > # CONFIG_FB_HECUBA is not set > > # CONFIG_FB_HGA is not set > > # CONFIG_FB_S1D13XXX is not set > > # CONFIG_FB_NVIDIA is not set > > # CONFIG_FB_RIVA is not set > > # CONFIG_FB_I810 is not set > > # CONFIG_FB_LE80578 is not set > > # CONFIG_FB_INTEL is not set > > # CONFIG_FB_MATROX is not set > > # CONFIG_FB_RADEON is not set > > # CONFIG_FB_ATY128 is not set > > # CONFIG_FB_ATY is not set > > # CONFIG_FB_S3 is not set > > # CONFIG_FB_SAVAGE is not set > > # CONFIG_FB_SIS is not set > > # CONFIG_FB_NEOMAGIC is not set > > # CONFIG_FB_KYRO is not set > > # CONFIG_FB_3DFX is not set > > # CONFIG_FB_VOODOO1 is not set > > # CONFIG_FB_VT8623 is not set > > # CONFIG_FB_CYBLA is not set > > # CONFIG_FB_TRIDENT is not set > > # CONFIG_FB_ARK is not set > > # CONFIG_FB_PM3 is not set > > # CONFIG_FB_GEODE is not set > > # CONFIG_FB_VIRTUAL is not set > > CONFIG_FB_CON_DECOR=3Dy > > Here's my menu.lst part: > > title=3DGentoo Linux > > root (hd0,1) > > kernel (hd0,1)/gentoo/kernel dolvm crypt_root=3D/dev/sda4 > > lvm2root=3D/dev/mapper/root real_root=3D/dev/system/gentoo-root > > video=3Duvesafb:ywrap,mtrr:3,scroll:ywrap,1024x768-32 > > splash=3Dsilent,theme:KillBillTux-Grey fbcon=3Dscrollback:128k console= =3Dtty1 > > resume=3Dswap:/dev/system/suspend-swap quiet > > initrd (hd0,1)/gentoo/initramfs > > I have the same card and it works perfectly this way > > Good Luck! --=20 Wael Nasreddine http://wael.nasreddine.com PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 =2E: An infinite number of monkeys typing into GNU emacs, would never make a good program. (L. Torvalds 1995) :. --c3bfwLpm8qysLVxt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFH2qZCVWU5RcjdGKIRAiApAKDnxFy3QsEohog704LOVf2kWH0/9wCghEtH 9AbcZxUhDRu+QLPErK9RsyY= =uvdb -----END PGP SIGNATURE----- --c3bfwLpm8qysLVxt-- -- gentoo-user@lists.gentoo.org mailing list