Gentoo Archives: gentoo-user

From: Wael Nasreddine <mla@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] intelfb and 945GM
Date: Fri, 14 Mar 2008 00:49:22
Message-Id: 20080314004912.GB28414@phoenix.nasreddine.info
In Reply to: [gentoo-user] intelfb and 945GM by Sergey Kobzar
1 This One Time, at Band Camp, Sergey Kobzar <tod.zullu@×××××.com> said, On Thu, Mar 13, 2008 at 11:34:10PM +0200:
2 > Hi
3
4
5 > Linux 2.6.24-gentoo-r3 i686
6
7 > I have Asus U5F laptop:
8
9 > # lspci
10 > 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
11 > 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
12 > 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
13 > 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
14 > 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
15 > 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
16 > 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
17 > 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
18 > 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
19 > 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
20 > 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
21 > 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
22 > 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
23 > 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
24 > 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
25 > 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
26 > 02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
27 > 08:03.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
28 > 08:03.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
29 > 08:03.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
30 > 08:03.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
31
32
33 > and can't get working intelfb module on it. Kernel config:
34
35 > # cat /usr/src/linux/.config | grep FB | grep -v '#'
36 > CONFIG_FB=y
37 > CONFIG_FB_DDC=y
38 > CONFIG_FB_CFB_FILLRECT=y
39 > CONFIG_FB_CFB_COPYAREA=y
40 > CONFIG_FB_CFB_IMAGEBLIT=y
41 > CONFIG_FB_DEFERRED_IO=y
42 > CONFIG_FB_MODE_HELPERS=y
43 > CONFIG_FB_INTEL=y
44 > CONFIG_FB_INTEL_I2C=y
45
46 > # dmesg | grep intel
47 > intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM chipsets
48 > intelfb: Version 0.9.4
49 > intelfb: 00:02.0: Intel(R) 945GM, aperture size 256MB, stolen memory 7932kB
50 > intelfb: Non-CRT device is enabled ( LVDS port ). Disabling mode switching.
51 > intelfb: Video mode must be programmed at boot time.
52
53
54 > I tried these kernel kernel options:
55 > kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=/dev/sda5 video=intelfb vga=0x318
56 > kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=/dev/sda5 video=intelfb:mode=1024x768-32@60
57 > kernel /boot/kernel-2.6.24-gentoo-r3-b2 root=/dev/sda5 vga=792
58
59 > and in all cases I see blank screen or screen with many scrolling
60 > white lines.
61
62
63 > Any chance to get framebuffer working on my laptop?
64
65 Don't use intelfb, just use the standard uvesafb.
66
67 $ zgrep FB /proc/config.gz
68 CONFIG_FB=y
69 # CONFIG_FB_DDC is not set
70 CONFIG_FB_CFB_FILLRECT=y
71 CONFIG_FB_CFB_COPYAREA=y
72 CONFIG_FB_CFB_IMAGEBLIT=y
73 # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
74 # CONFIG_FB_SYS_FILLRECT is not set
75 # CONFIG_FB_SYS_COPYAREA is not set
76 # CONFIG_FB_SYS_IMAGEBLIT is not set
77 # CONFIG_FB_SYS_FOPS is not set
78 CONFIG_FB_DEFERRED_IO=y
79 # CONFIG_FB_SVGALIB is not set
80 # CONFIG_FB_MACMODES is not set
81 # CONFIG_FB_BACKLIGHT is not set
82 CONFIG_FB_MODE_HELPERS=y
83 # CONFIG_FB_TILEBLITTING is not set
84 # CONFIG_FB_CIRRUS is not set
85 # CONFIG_FB_PM2 is not set
86 # CONFIG_FB_CYBER2000 is not set
87 # CONFIG_FB_ARC is not set
88 # CONFIG_FB_ASILIANT is not set
89 # CONFIG_FB_IMSTT is not set
90 # CONFIG_FB_VGA16 is not set
91 CONFIG_FB_UVESA=y
92 # CONFIG_FB_VESA is not set
93 # CONFIG_FB_EFI is not set
94 # CONFIG_FB_HECUBA is not set
95 # CONFIG_FB_HGA is not set
96 # CONFIG_FB_S1D13XXX is not set
97 # CONFIG_FB_NVIDIA is not set
98 # CONFIG_FB_RIVA is not set
99 # CONFIG_FB_I810 is not set
100 # CONFIG_FB_LE80578 is not set
101 # CONFIG_FB_INTEL is not set
102 # CONFIG_FB_MATROX is not set
103 # CONFIG_FB_RADEON is not set
104 # CONFIG_FB_ATY128 is not set
105 # CONFIG_FB_ATY is not set
106 # CONFIG_FB_S3 is not set
107 # CONFIG_FB_SAVAGE is not set
108 # CONFIG_FB_SIS is not set
109 # CONFIG_FB_NEOMAGIC is not set
110 # CONFIG_FB_KYRO is not set
111 # CONFIG_FB_3DFX is not set
112 # CONFIG_FB_VOODOO1 is not set
113 # CONFIG_FB_VT8623 is not set
114 # CONFIG_FB_CYBLA is not set
115 # CONFIG_FB_TRIDENT is not set
116 # CONFIG_FB_ARK is not set
117 # CONFIG_FB_PM3 is not set
118 # CONFIG_FB_GEODE is not set
119 # CONFIG_FB_VIRTUAL is not set
120 CONFIG_FB_CON_DECOR=y
121
122 Here's my menu.lst part:
123 title=Gentoo Linux
124 root (hd0,1)
125 kernel (hd0,1)/gentoo/kernel dolvm crypt_root=/dev/sda4 lvm2root=/dev/mapper/root real_root=/dev/system/gentoo-root video=uvesafb:ywrap,mtrr:3,scroll:ywrap,1024x768-32 splash=silent,theme:KillBillTux-Grey fbcon=scrollback:128k console=tty1 resume=swap:/dev/system/suspend-swap quiet
126 initrd (hd0,1)/gentoo/initramfs
127
128 I have the same card and it works perfectly this way
129
130 Good Luck!
131
132 --
133 Wael Nasreddine
134 http://wael.nasreddine.com
135 PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2
136
137 .: An infinite number of monkeys typing into GNU emacs,
138 would never make a good program. (L. Torvalds 1995) :.

Replies

Subject Author
Re[2]: [gentoo-user] intelfb and 945GM Sergey Kobzar <tod.zullu@×××××.com>