Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16672 - matroxfb broken in gentoo-sources-2.4.20; works in 2.4.19
Summary: matroxfb broken in gentoo-sources-2.4.20; works in 2.4.19
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-02 11:44 UTC by Ryan Koski
Modified: 2003-06-30 21:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Koski 2003-03-02 11:44:00 UTC
I emerged and built the newly unmasked gentoo-sources 2.4.20-r1, using my old
.config file and manually checking for any new options in make menuconfig.  I
copied the relevant block in my grub.conf, which includes
"video:matrox:vesa:0x118" as a kernel parameter.  CONFIG_FB_VESA is not set;
CONFIG_FB_MATROX=y

In 2.4.19, this correctly produces a 1024x768x32bpp console.  In 2.4.20, the
matroxfb seems to be limited to 640x480x8bpp regardless of what was requested.

Others are experiencing this as well: http://forums.gentoo.org/viewtopic.php?t=30106


Reproducible: Always
Steps to Reproduce:
1.emerge gentoo-sources-2.4.20-r1
2.make menuconfig and setup the matrox framebuffer options
3.specify a video:matrox parameter that requests more than 640x480x8bpp
4.reboot and notice that you are in 640x480x8bpp

Actual Results:  
Console is 640x480x8bpp

Expected Results:  
Console should be 1024x768x32bpp (or whatever mode > 640x480x8bpp was requested)
as it was in 2.4.19

ryan@aurora ryan $ emerge info
Portage 2.0.47-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Intel(R) Xeon(TM) CPU 1700MHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Lin
ux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurse
s nls png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline 
arts svga java X sdl gpm tcpd pam ssl python imlib oggvorbis gtk qt kde motif op
engl ldap snmp -3dnow -gnome -oss acpi alsa apache2 cdr dga directfb dvd fbcon g
tk2 imap matrox mozilla mysql pdflib perl samba scanner smooth tiff"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Brandon Low (RETIRED) gentoo-dev 2003-03-02 14:44:04 UTC
can you please try using the vga=0x318 kernel boot parameter, that is the way I specify FB modes...
Comment 2 Ryan Koski 2003-03-03 11:16:01 UTC
Nope; vga=0x318 doesn't work either.  dmesg shows:matroxfb: Matrox G450 detectedmatroxfb: MTRR's turned onmatroxfb: 640x480x8bpp (virtual: 640x26208)matroxfb: framebuffer at 0xF8000000, mapped to 0xf880e000, size 33554432Console: switching to colour frame buffer device 80x30fb0: MATROX VGA frame buffer devicevga16fb: initializingvga16fb: mapped to 0xc00a0000fb1: VGA16 VGA frame buffer device
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-04 13:36:23 UTC
can you try  matroxfb on pfeifer-sources-2.4.20_pre9?
Comment 4 Ryan Koski 2003-05-04 14:48:36 UTC
matroxfb appears to work correctly with pfeifer-sources-2.4.20_pre9.  Although, all I did was 
build, install, configure grub, reboot, note that the FB was set to the requested resolution, then 
reboot into my primary kernel.  If you would like me to do any further testing, please let me 
know. 
 
Comment 5 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-05 23:45:02 UTC
appreciate the update. figured it should be working in this kernel. this will be in 
gentoo-sources soon. if you need this support just use pfeifer-sources for now. 
 
closing, 
 
Jay 
Comment 6 Evan Langlois 2003-06-30 21:31:44 UTC
I had similar problems but I've always used pfiefer-sources.  I'm always getting 640x480, but I was trying to use the additional options such as xres,yres,and all the specific video mode timings.  None seemed to work - it just doesn't parse the options.  However, I did manage to put the timings directly into the driver to get the resolution and timings I need.  I cannot get bootsplash working though - anyone have bootsplash working with matroxfb.