Re: X and intelfb fight over videomode

From: Antonino A. Daplas
Date: Wed Nov 16 2005 - 20:11:47 EST


David Härdeman wrote:
> Using the information from this thread:
> http://marc.theaimsgroup.com/?t=112593256400003&r=1&w=2
>
> I've now compiled a kernel with the intelfb and fbcon drivers linked in
> (no other fb drivers). By booting the kernel with vga=0x318 I get a
> 1024x768@16bpp console and drm/agp also seems happy.
>
> However, as soon as X starts, the following message is printed to the
> kernel log:
>
> mtrr: base(0xe0020000) is not aligned on a size(0x300000) boundary
> [drm:drm_unlock] *ERROR* Process 3013 using kernel context 0
>
> Everything seems to work in X though. The first time that I switch from
> X to a vc, the screen stays black for a few seconds before I get the VC
> and then I get this:
>
> intelfb: Changing the video mode is not supported.
> intelfb: ring buffer : space: 61488 wanted 65472
> intelfb: lockup - turning off hardware acceleration
>
> I have X set to also use 1024x768@16bpp, what else do I need to do to
> make sure that intelfb and X play nice together?
>

Try booting with video=intelfb:1024x768-16@60,mtrr=0. Do not include
the vga=0x318 option. This prevents intelfb from changing the videomode.

Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/