intelfb refuses to load
Subsystems (3)
Hi!
I'm trying to fix up my kernel setup so that X is happy... currently it fails to start with:
FATAL: Could not load /lib/modules/2.6.37-rc5+/modules.dep: No such file or directory
(EE) intel(0): No kernel modesetting driver detected. (EE) Screen(s) found, but none have a usable configuration.
So far I have:
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_STUB_POULSBO is not setCONFIG_VGASTATE=yCONFIG_VIDEO_OUTPUT_CONTROL=yCONFIG_FB=yCONFIG_FB_I810=y
# CONFIG_FB_I810_GTF is not set
# CONFIG_FB_LE80578 is not setCONFIG_FB_INTEL=yCONFIG_FB_INTEL_DEBUG=yCONFIG_FB_INTEL_I2C=y
# CONFIG_FB_MATROX is not set
And on the command line:
BOOT_IMAGE=(hd0,2)/l/linux-good/arch/i386/boot/bzImage root=/dev/sda4 resume=/dev/sda1 psmouse.psmouse_proto=imps psmouse_proto=imps psmouse.proto=imps vga=791 init=/tmp/swsusp-init acpi_sleep=s3_bios,s3_mode no_console_suspend i915.modeset=1 video=intelfb:mode=1024x768 fbcon=scrollback:64k
...but intelfb fails with:
[drm] Initialized drm 1.1.0 20060810
intelfb: intelfb_init
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/945GME/965G/965GM chipsets
intelfb: Version 0.9.6
intelfb: intelfb_setup
intelfb: options: mode=1024x768
intelfb: intelfb_pci_register
intelfb 0000:00:02.0: power state changed by ACPI to D0 intelfb 0000:00:02.0: power state changed by ACPI to D0 intelfb 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
intelfb: fb aperture: 0xd0000000/0x10000000, MMIO region:
0xee100000/0x80000
intelfb: Cannot reserve FB region.
intelfb: cleanup
Any hints? If I'm doing some trivial mistake, perhaps "cannot reserve FB region" message could be improved?
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Hi,
Looks like you are using the wrong intel driver.
For intel modesetting you needCONFIG_DRM=yCONFIG_DRM_KMS_HELPER=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not setCONFIG_DRM_I915=y
# CONFIG_DRM_I915_KMS is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_FB_I810 is not set
That will give you inteldrmfb.
^^^
Not sure what dependency is missing in your config that DRM_I915 does not show up... (it might be CONFIG_AGP_INTEL)
intelfb (CONFIG_FB_I810) is obsolete and only supports a pretty limited part of intel GPU features, modesetting only for VGA output (and not sure it works at all with recent GPUs).
Bruno
Quoted 63 lines · On Sat, 11 December 2010 Pavel Machek <[email protected]> wrote:
Hi!
I'm trying to fix up my kernel setup so that X is happy... currently it fails to start with:
FATAL: Could not load
/lib/modules/2.6.37-rc5+/modules.dep: No such file or directory
(EE) intel(0): No kernel modesetting driver detected. (EE) Screen(s) found, but none have a usable configuration.So far I have:
CONFIG_DRM=y
#CONFIG_DRM_TDFXis not set
#CONFIG_DRM_R128is not set
#CONFIG_DRM_RADEONis not set
#CONFIG_DRM_I810is not set
#CONFIG_DRM_MGAis not set
#CONFIG_DRM_SISis not set
#CONFIG_DRM_VIAis not set
#CONFIG_DRM_SAVAGEis not set
#CONFIG_STUB_POULSBOis not setCONFIG_VGASTATE=yCONFIG_VIDEO_OUTPUT_CONTROL=yCONFIG_FB=yCONFIG_FB_I810=y
#CONFIG_FB_I810_GTFis not set
#CONFIG_FB_LE80578is not setCONFIG_FB_INTEL=yCONFIG_FB_INTEL_DEBUG=yCONFIG_FB_INTEL_I2C=y
#CONFIG_FB_MATROXis not setAnd on the command line:
BOOT_IMAGE=(hd0,2)/l/linux-good/arch/i386/boot/bzImage root=/dev/sda4 resume=/dev/sda1 psmouse.psmouse_proto=imps psmouse_proto=imps psmouse.proto=imps vga=791 init=/tmp/swsusp-init acpi_sleep=s3_bios,s3_mode
no_console_suspendi915.modeset=1 video=intelfb:mode=1024x768 fbcon=scrollback:64k...but intelfb fails with:
[drm] Initialized drm 1.1.0 20060810
intelfb:intelfb_init
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/945GME/965G/965GM chipsets
intelfb: Version 0.9.6
intelfb:intelfb_setup
intelfb: options: mode=1024x768
intelfb:intelfb_pci_register
intelfb 0000:00:02.0: power state changed by ACPI to D0 intelfb 0000:00:02.0: power state changed by ACPI to D0 intelfb 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
intelfb: fb aperture: 0xd0000000/0x10000000, MMIO region:
0xee100000/0x80000
intelfb: Cannot reserve FB region.
intelfb: cleanupAny hints? If I'm doing some trivial mistake, perhaps "cannot reserve FB region" message could be improved?
Pavel
Hi!
Quoted 17 lines
Looks like you are using the wrong intel driver.
For intel modesetting you need
CONFIG_DRM=yCONFIG_DRM_KMS_HELPER=y
#CONFIG_DRM_TDFXis not set
#CONFIG_DRM_R128is not set
#CONFIG_DRM_RADEONis not set
#CONFIG_DRM_I810is not set
#CONFIG_DRM_I830is not setCONFIG_DRM_I915=y
#CONFIG_DRM_I915_KMSis not set
#CONFIG_DRM_MGAis not set
#CONFIG_DRM_SISis not set
#CONFIG_DRM_VIAis not set
#CONFIG_DRM_SAVAGEis not set
Quoted 8 lines
#
CONFIG_FB_I810is not setThat will give you inteldrmfb.
^^^Not sure what dependency is missing in your config that
DRM_I915does not show up... (it might beCONFIG_AGP_INTEL)
It is hidden by "choice" with interesting name.
Unfrotunately, if I do this, I get kernel messages for about a second, and then blank screen. Thinkpad X60...
I now have:
i915.modeset=1 video=inteldrmfb:mode=1024x768 fbcon=scrollback:64k
on cmdline and:
CONFIG_DRM=yCONFIG_DRM_KMS_HELPER=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not setCONFIG_DRM_I915=y
# CONFIG_DRM_I915_KMS is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_STUB_POULSBO is not setCONFIG_VGASTATE=yCONFIG_VIDEO_OUTPUT_CONTROL=yCONFIG_FB=yCONFIG_FIRMWARE_EDID=y
# CONFIG_FB_DDC is not set
...CONFIG_ACPI_VIDEO=y
Quoted 3 lines
intelfb (
CONFIG_FB_I810) is obsolete and only supports a pretty limited part of intel GPU features, modesetting only for VGA output (and not sure it works at all with recent GPUs).
Perhaps something like this should be done? I had no idea that the choice is for modern drivers, too...
Pavel
drivers/gpu/drm/Kconfig +1 -1
@@ -81,7 +81,7 @@ config DRM_I810 for this driver to work. choice - prompt "Intel 830M, 845G, 852GM, 855GM, 865G" + prompt "Intel 830M, 845G, 852GM, 855GM, 865G, ..., i915 driver" depends on DRM && AGP && AGP_INTEL optional
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 19 lines
i915.modeset=1 video=inteldrmfb:mode=1024x768 fbcon=scrollback:64k
on cmdline and:
CONFIG_DRM=yCONFIG_DRM_KMS_HELPER=y
#CONFIG_DRM_TDFXis not set
#CONFIG_DRM_R128is not set
#CONFIG_DRM_RADEONis not set
#CONFIG_DRM_I810is not set
#CONFIG_DRM_I830is not setCONFIG_DRM_I915=y
#CONFIG_DRM_I915_KMSis not set
#CONFIG_DRM_MGAis not set
#CONFIG_DRM_SISis not set
#CONFIG_DRM_VIAis not set
#CONFIG_DRM_SAVAGEis not set
Quoted 8 lines
#
CONFIG_STUB_POULSBOis not setCONFIG_VGASTATE=yCONFIG_VIDEO_OUTPUT_CONTROL=yCONFIG_FB=yCONFIG_FIRMWARE_EDID=y
#CONFIG_FB_DDCis not set
...CONFIG_ACPI_VIDEO=y
CONFIG_FRAMEBUFFER_CONSOLE?
drivers/gpu/drm/Kconfig config DRM_I810 · line 86
Quoted 5 lines
drivers/gpu/drm/Kconfig +1
-1- prompt "Intel 830M, 845G, 852GM, 855GM, 865G" + prompt "Intel 830M, 845G, 852GM, 855GM, 865G, ..., i915 driver" depends on DRM && AGP && AGP_INTEL optional
probably,
Dave.
Hi!
Quoted 26 lines
Quoted 17 lines
i915.modeset=1 video=inteldrmfb:mode=1024x768 fbcon=scrollback:64k
on cmdline and:
CONFIG_DRM=yCONFIG_DRM_KMS_HELPER=y
#CONFIG_DRM_TDFXis not set
#CONFIG_DRM_R128is not set
#CONFIG_DRM_RADEONis not set
#CONFIG_DRM_I810is not set
#CONFIG_DRM_I830is not setCONFIG_DRM_I915=y
#CONFIG_DRM_I915_KMSis not set
#CONFIG_DRM_MGAis not set
#CONFIG_DRM_SISis not set
#CONFIG_DRM_VIAis not set
#CONFIG_DRM_SAVAGEis not setQuoted 8 lines
#
CONFIG_STUB_POULSBOis not setCONFIG_VGASTATE=yCONFIG_VIDEO_OUTPUT_CONTROL=yCONFIG_FB=yCONFIG_FIRMWARE_EDID=y
#CONFIG_FB_DDCis not set
...CONFIG_ACPI_VIDEO=y
Quoted 1 line
CONFIG_FRAMEBUFFER_CONSOLE?
No, that one was set. (I see even two penguins for a short while).
#
# Console display driver support
#CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set CONFIG_FONTS=y
Thanks,
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 32 lines · Pavel Machek
Hi!
Quoted 26 lines
Quoted 17 lines
i915.modeset=1 video=inteldrmfb:mode=1024x768 fbcon=scrollback:64k
on cmdline and:
CONFIG_DRM=yCONFIG_DRM_KMS_HELPER=y
#CONFIG_DRM_TDFXis not set
#CONFIG_DRM_R128is not set
#CONFIG_DRM_RADEONis not set
#CONFIG_DRM_I810is not set
#CONFIG_DRM_I830is not setCONFIG_DRM_I915=y
#CONFIG_DRM_I915_KMSis not set
#CONFIG_DRM_MGAis not set
#CONFIG_DRM_SISis not set
#CONFIG_DRM_VIAis not set
#CONFIG_DRM_SAVAGEis not setQuoted 8 lines
#
CONFIG_STUB_POULSBOis not setCONFIG_VGASTATE=yCONFIG_VIDEO_OUTPUT_CONTROL=yCONFIG_FB=yCONFIG_FIRMWARE_EDID=y
#CONFIG_FB_DDCis not set
...CONFIG_ACPI_VIDEO=yQuoted 1 line
CONFIG_FRAMEBUFFER_CONSOLE?No, that one was set. (I see even two penguins for a short while).
Quoted 10 lines
#
# Console display driver support
#CONFIG_VGA_CONSOLE=y
#CONFIG_VGACON_SOFT_SCROLLBACKis not setCONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=y
#CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARYis not set #CONFIG_FRAMEBUFFER_CONSOLE_ROTATIONis not setCONFIG_FONTS=y
What works for me (without boot command line options):
[asuardi@duff linux-2.6.37-rc5-git3]$ egrep 'DRM|FB|VIDEO|VGA|FRAMEBUFFER' .config | grep -v "^#" CONFIG_ACPI_VIDEO=mCONFIG_VGA_ARB=yCONFIG_VGA_ARB_MAX_GPUS=4CONFIG_DRM=mCONFIG_DRM_KMS_HELPER=mCONFIG_DRM_I915=mCONFIG_DRM_I915_KMS=y CONFIG_VIDEO_OUTPUT_CONTROL=mCONFIG_FB=yCONFIG_FB_BOOT_VESA_SUPPORT=y CONFIG_FB_CFB_FILLRECT=y CONFIG_FB_CFB_COPYAREA=y CONFIG_FB_CFB_IMAGEBLIT=y CONFIG_FB_MODE_HELPERS=yCONFIG_FB_VESA=yCONFIG_VGA_CONSOLE=y CONFIG_VGACON_SOFT_SCROLLBACK=y CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64 CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
[asuardi@duff linux-2.6.37-rc5-git3]$ dmesg|grep intelintel_idle: MWAIT substates: 0x3122220intel_idle: does not run on family 6 model 23
agpgart-intel 0000:00:00.0: Intel GM45 Chipset
agpgart-intel 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable agpgart-intel 0000:00:00.0: detected 32768K stolen memory agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xe0000000
fbcon: inteldrmfb (fb0) is primary device
fb0: inteldrmfb frame buffer device
--alessandro
"There's always a siren singing you to shipwreck"
(Radiohead, "There There")
Quoted 4 lines · Bruno Prémont
Hi,
Looks like you are using the wrong intel driver.
Quoted 10 lines
For intel modesetting you need
CONFIG_DRM=yCONFIG_DRM_KMS_HELPER=y
#CONFIG_DRM_TDFXis not set
#CONFIG_DRM_R128is not set
#CONFIG_DRM_RADEONis not set
#CONFIG_DRM_I810is not set
#CONFIG_DRM_I830is not setCONFIG_DRM_I915=y
#CONFIG_DRM_I915_KMSis not set
CONFIG_DRM_I915_KMS=y needed as well?
Quoted 90 lines
#
CONFIG_DRM_MGAis not set
#CONFIG_DRM_SISis not set
#CONFIG_DRM_VIAis not set
#CONFIG_DRM_SAVAGEis not set#
CONFIG_FB_I810is not setThat will give you inteldrmfb.
^^^Not sure what dependency is missing in your config that
DRM_I915does not show up... (it might beCONFIG_AGP_INTEL)intelfb (
CONFIG_FB_I810) is obsolete and only supports a pretty limited part of intel GPU features, modesetting only for VGA output (and not sure it works at all with recent GPUs).Bruno
Quoted 60 lines · On Sat, 11 December 2010 Pavel Machek <[email protected]> wrote:
Hi!
I'm trying to fix up my kernel setup so that X is happy... currently it fails to start with:
FATAL: Could not load
/lib/modules/2.6.37-rc5+/modules.dep: No such file or directory
(EE) intel(0): No kernel modesetting driver detected. (EE) Screen(s) found, but none have a usable configuration.So far I have:
CONFIG_DRM=y
#CONFIG_DRM_TDFXis not set
#CONFIG_DRM_R128is not set
#CONFIG_DRM_RADEONis not set
#CONFIG_DRM_I810is not set
#CONFIG_DRM_MGAis not set
#CONFIG_DRM_SISis not set
#CONFIG_DRM_VIAis not set
#CONFIG_DRM_SAVAGEis not set
#CONFIG_STUB_POULSBOis not setCONFIG_VGASTATE=yCONFIG_VIDEO_OUTPUT_CONTROL=yCONFIG_FB=yCONFIG_FB_I810=y
#CONFIG_FB_I810_GTFis not set
#CONFIG_FB_LE80578is not setCONFIG_FB_INTEL=yCONFIG_FB_INTEL_DEBUG=yCONFIG_FB_INTEL_I2C=y
#CONFIG_FB_MATROXis not setAnd on the command line:
BOOT_IMAGE=(hd0,2)/l/linux-good/arch/i386/boot/bzImage root=/dev/sda4 resume=/dev/sda1 psmouse.psmouse_proto=imps psmouse_proto=imps psmouse.proto=imps vga=791 init=/tmp/swsusp-init acpi_sleep=s3_bios,s3_mode
no_console_suspendi915.modeset=1 video=intelfb:mode=1024x768 fbcon=scrollback:64k...but intelfb fails with:
[drm] Initialized drm 1.1.0 20060810
intelfb:intelfb_init
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/945GME/965G/965GM chipsets
intelfb: Version 0.9.6
intelfb:intelfb_setup
intelfb: options: mode=1024x768
intelfb:intelfb_pci_register
intelfb 0000:00:02.0: power state changed by ACPI to D0 intelfb 0000:00:02.0: power state changed by ACPI to D0 intelfb 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
intelfb: fb aperture: 0xd0000000/0x10000000, MMIO region:
0xee100000/0x80000
intelfb: Cannot reserve FB region.
intelfb: cleanupQuoted 3 lines
Any hints? If I'm doing some trivial mistake, perhaps "cannot reserve FB region" message could be improved?
Pavel--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Signature · 2 lines
Regards dave
On Sat, Dec 11, 2010 at 10:13 PM, Pavel Machek <[email protected]> wrote:
You want CONFIG_DRM_I915 and not CONFIG_FB_INTEL. The old framebuffer driver should not be used in conjunction with xf86-video-intel.
Matt