View previous topic :: View next topic |
Author |
Message |
cloud6 n00b
Joined: 11 Jun 2013 Posts: 6 Location: United States
|
Posted: Tue Jun 11, 2013 11:52 pm Post subject: gma500 driver not working after I built the kernel |
|
|
Hi there,
I have an Acer Aspire with GMA500 graphics. When I used the system rescue cd to configure my gentoo build, the framebuffer loaded fine, and startx worked well (with minor graphics glitches).
However on my custom built kernel, I have the following selected in menuconfig
Device Driver->Graphics Support
<*> Intel GMA5/600 KMS Framebuffer
<*> Intel GMA500 Stub Driver
--*-- Support for frame buffer devices
[*] Bootup logo
When I boot up with this kernel, my screen is never resized, it stays at text resolution, /dev/fb0 doesn't exist, and /proc/fb is empty. A look at /var/log/dmesg shows no activity at all from the gma500 module.
How come this is not loading? I have been stuck for several days on this and I'd like to get it working right so I can move forward with setting up X windows. |
|
Back to top |
|
|
cloud6 n00b
Joined: 11 Jun 2013 Posts: 6 Location: United States
|
Posted: Thu Jun 13, 2013 4:52 am Post subject: |
|
|
can anyone explain to me how the system rescue cd is able to load the correct video driver? Is it autoconfig? How does that work? How would I be able to manually load the modules autoconfig finds and loads? I'm quite new to gentoo, I really hope to use my netbook as a machine to experiment with Linux. Thanks for your help. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Thu Jun 13, 2013 8:04 pm Post subject: |
|
|
boot the sysresccd to the xfce GUI and run what drivers/modules are used by the video?
same question.
zcat /proc/config.gz > sysresccdconfig will give you a copy of the working kernel configuration
reading around, I'd try: Quote: | --- /dev/agpgart (AGP Support)
< > AMD Opteron/Athlon64 on-CPU GART support
<*> Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > SiS chipset support
< > VIA chipset support
(2) Maximum number of GPUs
[ ] Laptop Hybrid Graphics - GPU switching support
<*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) --->
I2C encoder or helper chips --->
< > 3dfx Banshee/Voodoo3+ (NEW)
< > ATI Rage 128 (NEW)
< > ATI Radeon (NEW)
< > Nouveau (nVidia) cards (NEW)
< > Intel 8xx/9xx/G3x/G4x/HD Graphics (NEW)
< > Matrox g200/g400 (NEW)
< > SiS video cards (NEW)
< > Via unichrome video cards (NEW)
< > Savage video cards (NEW)
< > DRM driver for VMware Virtual GPU (NEW)
<*> Intel GMA5/600 KMS Framebuffer
[ ] Intel GMA600 support (Experimental) (NEW)
[ ] Intel GMA3600/3650 support (Experimental) (NEW)
< > DisplayLink (NEW)
< > AST server chips (NEW)
< > Kernel modesetting driver for MGA G200 server engines (NEW)
< > Cirrus driver for QEMU emulated device (NEW)
<*> Lowlevel video output switch controls
-*- Support for frame buffer devices --->
--- Support for frame buffer devices
[*] Enable firmware EDID
[ ] Framebuffer foreign endianness support --->
[*] Enable Video Mode Handling Helpers
[*] Enable Tile Blitting Support
*** Frame buffer hardware drivers ***
< > Cirrus Logic support
< > Permedia2 support
< > CyberPro 2000/2010/5000 support
< > Arc Monochrome LCD board support
[ ] Asiliant (Chips) 69000 display support
[ ] IMS Twin Turbo display support
< > VGA 16-color graphics support
< > Userspace VESA VGA graphics support
[ ] VESA VGA graphics support
[ ] EFI-based Framebuffer Support
< > N411 Apollo/Hecuba devkit support
< > Hercules mono graphics support
< > Epson S1D13XXX framebuffer support
< > nVidia Framebuffer Support
< > nVidia Riva support
< > Intel740 support
< > Intel LE80578 (Vermilion) support
< > Matrox acceleration
< > ATI Radeon display support
< > ATI Rage128 display support
< > ATI Mach64 display support
< > S3 Trio/Virge support
< > S3 Savage support
< > SiS/XGI display support
< > VIA UniChrome (Pro) and Chrome9 display support
< > NeoMagic display support
< > IMG Kyro support
< > 3Dfx Banshee/Voodoo3/Voodoo5 display support
< > 3Dfx Voodoo Graphics (sst1) support
< > VIA VT8623 support
< > Trident/CyberXXX/CyberBlade support
< > ARK 2000PV support
< > Permedia3 support
< > Fujitsu carmine frame buffer support
[ ] AMD Geode family framebuffer support
< > SMSC UFX6000/7000 USB Framebuffer support
< > Displaylink USB Framebuffer support
< > Goldfish Framebuffer
< > Virtual Frame Buffer support (ONLY FOR TESTING!)
< > E-Ink Metronome/8track controller support
< > Fujitsu MB862xx GDC support
< > E-Ink Broadsheet/Epson S1D13521 controller support
< > AUO-K190X EPD controller support
[ ] Exynos Video driver support --->
[*] Backlight & LCD device support --->
Console display driver support --->
-*- VGA text console
[*] Enable Scrollback Buffer in System RAM
(256) Scrollback Buffer Size (in KB)
-*- Framebuffer Console support
-*- Map the console to the primary display device
[ ] Framebuffer Console Rotation
[ ] Select compiled-in fonts
[*] Bootup logo ---> | and Code: | emerge x11-drivers/xf86-video-fbdev |
_________________ Defund the FCC. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Fri Jun 14, 2013 12:02 pm Post subject: |
|
|
Depending on how new your netbook is, it might require the GMA3600 driver instead of GMA500/600.
Also xf86-video-modesetting is preferable to fbdev in most cases, as it supports xrandr 1.2. |
|
Back to top |
|
|
cloud6 n00b
Joined: 11 Jun 2013 Posts: 6 Location: United States
|
Posted: Mon Jun 17, 2013 11:00 pm Post subject: |
|
|
thanks for the pointers. lsmod and lspci show the gma500 and poulsbo drivers.
I tried to built my kernel using system rescue cd's /proc/config.z parameters, but it froze up on boot. I'm going to try the genkernel script now since it's the best option that I haven't tried. |
|
Back to top |
|
|
cloud6 n00b
Joined: 11 Jun 2013 Posts: 6 Location: United States
|
Posted: Mon Jun 17, 2013 11:19 pm Post subject: |
|
|
emerge genkernel isn't working for me! starting with app-arch/cpio-2.11, I get a whole bunch of
"resolving ftp.ucsb.edu... failed: Name or service not known."
messages, even though I can ping that address from my machine. |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Tue Jun 18, 2013 12:58 am Post subject: |
|
|
cloud6 wrote: | emerge genkernel isn't working for me! starting with app-arch/cpio-2.11, I get a whole bunch of
"resolving ftp.ucsb.edu... failed: Name or service not known."
messages, even though I can ping that address from my machine. |
Check /etc/resolv.conf in the chroot.
If it's empty use google's
Code: | echo "nameserver 8.8.8.8" > /etc/resolv.conf
echo "nameserver 8.8.4.4" >> /etc/resolv.conf
|
Good luck... _________________ Good luck
Since installing gentoo, my life has become one long emerge |
|
Back to top |
|
|
cloud6 n00b
Joined: 11 Jun 2013 Posts: 6 Location: United States
|
Posted: Tue Jun 18, 2013 1:30 am Post subject: |
|
|
BillWho wrote: | cloud6 wrote: | emerge genkernel isn't working for me! starting with app-arch/cpio-2.11, I get a whole bunch of
"resolving ftp.ucsb.edu... failed: Name or service not known."
messages, even though I can ping that address from my machine. |
Check /etc/resolv.conf in the chroot.
If it's empty use google's
Code: | echo "nameserver 8.8.8.8" > /etc/resolv.conf
echo "nameserver 8.8.4.4" >> /etc/resolv.conf
|
Good luck... |
yess, that worked! |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Tue Jun 18, 2013 6:27 am Post subject: |
|
|
cloud6 wrote: | thanks for the pointers. lsmod and lspci show the gma500 and poulsbo drivers. | What lsmod shows is mostly irrelevant. lspci -k "kernel driver in use" is the interesting thing on live CD. |
|
Back to top |
|
|
cloud6 n00b
Joined: 11 Jun 2013 Posts: 6 Location: United States
|
Posted: Wed Jun 19, 2013 4:57 pm Post subject: |
|
|
chithanh wrote: | cloud6 wrote: | thanks for the pointers. lsmod and lspci show the gma500 and poulsbo drivers. | What lsmod shows is mostly irrelevant. lspci -k "kernel driver in use" is the interesting thing on live CD. |
tried wgetpaste!
Quote: |
00:00.0 Host bridge: Intel Corporation System Controller Hub (SCH Poulsbo) (rev 07)
Subsystem: Acer Incorporated [ALI] Device 0244
00:02.0 VGA compatible controller: Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller (rev 07)
Subsystem: Acer Incorporated [ALI] Device 0244
Kernel driver in use: gma500
00:1b.0 Audio device: Intel Corporation System Controller Hub (SCH Poulsbo) HD Audio Controller (rev 07)
Subsystem: Acer Incorporated [ALI] Device 0244
00:1c.0 PCI bridge: Intel Corporation System Controller Hub (SCH Poulsbo) PCI Express Port 1 (rev 07)
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation System Controller Hub (SCH Poulsbo) PCI Express Port 2 (rev 07)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #1 (rev 07)
Subsystem: Acer Incorporated [ALI] Device 0244
Kernel driver in use: uhci_hcd
00:1d.1 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #2 (rev 07)
Subsystem: Acer Incorporated [ALI] Device 0244
Kernel driver in use: uhci_hcd
00:1d.2 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB UHCI #3 (rev 07)
Subsystem: Acer Incorporated [ALI] Device 0244
Kernel driver in use: uhci_hcd
00:1d.7 USB controller: Intel Corporation System Controller Hub (SCH Poulsbo) USB EHCI #1 (rev 07)
Subsystem: Acer Incorporated [ALI] Device 0244
Kernel driver in use: ehci_hcd
00:1f.0 ISA bridge: Intel Corporation System Controller Hub (SCH Poulsbo) LPC Bridge (rev 07)
Subsystem: Acer Incorporated [ALI] Device 0244
00:1f.1 IDE interface: Intel Corporation System Controller Hub (SCH Poulsbo) IDE Controller (rev 07)
Subsystem: Acer Incorporated [ALI] Device 0244
Kernel driver in use: pata_sch
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Subsystem: Acer Incorporated [ALI] Device 0244
Kernel driver in use: r8169
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Foxconn International, Inc. Device e00d
Kernel driver in use: ath5k |
|
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Wed Jun 19, 2013 4:59 pm Post subject: |
|
|
Code: | 00:02.0 VGA compatible controller: Intel Corporation System Controller Hub (SCH Poulsbo) Graphics Controller (rev 07)
Subsystem: Acer Incorporated [ALI] Device 0244
Kernel driver in use: gma500 | So that looks like gma500 is the correct driver. Does lspci -k in your Gentoo install show the same or something else? |
|
Back to top |
|
|
elmar283 Guru
Joined: 06 Dec 2004 Posts: 316 Location: Haarlem, Netherlands
|
Posted: Sat Jan 03, 2015 5:02 pm Post subject: |
|
|
This is an old post, but still.
I have the same Poulsbo video card.
I'm using VIDEO_CARDS="fbdev" in my /etc/portage/make.conf.
(That works for me, alhought the screen is te big on my TV) |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Mon Jan 05, 2015 8:36 am Post subject: |
|
|
fbdev works but you will miss out on some functions like monitor hotplug/reconfiguration with xrandr.
modesetting is usually preferable. |
|
Back to top |
|
|
elmar283 Guru
Joined: 06 Dec 2004 Posts: 316 Location: Haarlem, Netherlands
|
Posted: Mon Jan 05, 2015 9:02 am Post subject: |
|
|
What is the VIDEO_CARDS="??" that should be set, if not fbdev?
I've tried intel in the past and that didn't work. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Mon Jan 05, 2015 9:03 am Post subject: |
|
|
VIDEO_CARDS="modesetting" should be set.
intel will not work, this driver does not support the GMA500/600/3600. |
|
Back to top |
|
|
|