* MTRR problem, maybe FB related
@ 2004-08-06 17:47 admin
2004-08-06 20:34 ` Dave Jones
0 siblings, 1 reply; 3+ messages in thread
From: admin @ 2004-08-06 17:47 UTC (permalink / raw)
To: linux-kernel
Greetings,
i'm getting the following problem since 2.6.8-rc1. maybe with 2.6.7 too, i don't remember.
vesafb: framebuffer at 0xb0000000, mapped to 0xdf80d000, size 6144k
vesafb: mode is 1024x768x32, linelength=4096, pages=4
vesafb: protected mode interface info at 00ff:44f0
vesafb: scrolling: redraw
vesafb: directcolor: size=8:8:8:8, shift=24:16:8:0
.
.
.
agpgart: AGP aperture is 128M @ 0xb0000000
mtrr: 0xb0000000,0x8000000 overlaps existing 0xb0000000,0x400000
[drm] Initialized i830 1.3.2 20021108 on minor 0: Intel Corp. 82852/855GM Integrated Graphics Device
mtrr: 0xb0000000,0x8000000 overlaps existing 0xb0000000,0x400000
[drm] Initialized i830 1.3.2 20021108 on minor 1: Intel Corp. 82852/855GM Integrated Graphics Device (#2)
when starting X i'm getting the following in dmesg:
mtrr: base(0xb0020000) is not aligned on a size(0x180000) boundary
mtrr: 0xb0000000,0x8000000 overlaps existing 0xb0000000,0x400000
is there any way to get both working together? (fb + mtrr)
Thanks, sebastian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MTRR problem, maybe FB related
2004-08-06 17:47 MTRR problem, maybe FB related admin
@ 2004-08-06 20:34 ` Dave Jones
2004-08-07 13:29 ` Sebastian
0 siblings, 1 reply; 3+ messages in thread
From: Dave Jones @ 2004-08-06 20:34 UTC (permalink / raw)
To: admin@wodkahexe.de; +Cc: linux-kernel
On Fri, Aug 06, 2004 at 07:47:22PM +0200, admin@wodkahexe.de wrote:
> vesafb: framebuffer at 0xb0000000, mapped to 0xdf80d000, size 6144k
> vesafb: mode is 1024x768x32, linelength=4096, pages=4
vesafb's mtrr usage is borken. Instead of creating an MTRR the size
of video RAM, it creates one the size of the display.
> mtrr: 0xb0000000,0x8000000 overlaps existing 0xb0000000,0x400000
> [drm] Initialized i830 1.3.2 20021108 on minor 0: Intel Corp. 82852/855GM Integrated Graphics Device
> mtrr: 0xb0000000,0x8000000 overlaps existing 0xb0000000,0x400000
> [drm] Initialized i830 1.3.2 20021108 on minor 1: Intel Corp. 82852/855GM Integrated Graphics Device (#2)
Then X comes along, sizes the video ram, and tries to create an MTRR
of the correct size, but the framebuffer got there first and bodged it.
I used to see this happening also on my Matrox g550, but it seems
to have 'gone away' in recent times. I haven't checked out why,
but I'm suspecting X now detects this case, and deletes the crap
entry, and puts the proper values in its place.
> when starting X i'm getting the following in dmesg:
>
> mtrr: base(0xb0020000) is not aligned on a size(0x180000) boundary
This one I can't explain however.
> mtrr: 0xb0000000,0x8000000 overlaps existing 0xb0000000,0x400000
>
> is there any way to get both working together? (fb + mtrr)
Disable MTRR for vesafb. iirc, there's a boot command line option to do it.
Dave
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MTRR problem, maybe FB related
2004-08-06 20:34 ` Dave Jones
@ 2004-08-07 13:29 ` Sebastian
0 siblings, 0 replies; 3+ messages in thread
From: Sebastian @ 2004-08-07 13:29 UTC (permalink / raw)
To: Dave Jones; +Cc: linux-kernel
On Fri, 6 Aug 2004 21:34:36 +0100
Dave Jones <davej@redhat.com> wrote:
> On Fri, Aug 06, 2004 at 07:47:22PM +0200, admin@wodkahexe.de wrote:
>
> > vesafb: framebuffer at 0xb0000000, mapped to 0xdf80d000, size 6144k
> > vesafb: mode is 1024x768x32, linelength=4096, pages=4
>
> vesafb's mtrr usage is borken. Instead of creating an MTRR the size
> of video RAM, it creates one the size of the display.
>
> > mtrr: 0xb0000000,0x8000000 overlaps existing 0xb0000000,0x400000
> > [drm] Initialized i830 1.3.2 20021108 on minor 0: Intel Corp. 82852/855GM Integrated Graphics Device
> > mtrr: 0xb0000000,0x8000000 overlaps existing 0xb0000000,0x400000
> > [drm] Initialized i830 1.3.2 20021108 on minor 1: Intel Corp. 82852/855GM Integrated Graphics Device (#2)
>
> Then X comes along, sizes the video ram, and tries to create an MTRR
> of the correct size, but the framebuffer got there first and bodged it.
>
> I used to see this happening also on my Matrox g550, but it seems
> to have 'gone away' in recent times. I haven't checked out why,
> but I'm suspecting X now detects this case, and deletes the crap
> entry, and puts the proper values in its place.
>
> > when starting X i'm getting the following in dmesg:
> >
> > mtrr: base(0xb0020000) is not aligned on a size(0x180000) boundary
>
> This one I can't explain however.
>
> > mtrr: 0xb0000000,0x8000000 overlaps existing 0xb0000000,0x400000
> >
> > is there any way to get both working together? (fb + mtrr)
>
> Disable MTRR for vesafb. iirc, there's a boot command line option to do it.
>
> Dave
>
Ah, I see. It's not documented in Documentation/fb/vesafb.txt, but after
looking at drivers/video/vesafb.c i got it (video=vesafb:nomtrr).
Now it seems to work, but X still gives me upon starting:
mtrr: base(0xb0020000) is not aligned on a size(0x180000) boundary
thanks
sebastian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-07 11:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-06 17:47 MTRR problem, maybe FB related admin
2004-08-06 20:34 ` Dave Jones
2004-08-07 13:29 ` Sebastian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox