Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435564 - sys-boot/grub-2.00: ignores 'GRUB_GFXMODE' and does not use framebuffer
Summary: sys-boot/grub-2.00: ignores 'GRUB_GFXMODE' and does not use framebuffer
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://savannah.gnu.org/bugs/?37664
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-20 01:33 UTC by Alexandre
Modified: 2016-04-23 20:15 UTC (History)
2 users (show)

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


Attachments
grub conf. (grub,1.33 KB, text/plain)
2012-09-20 01:33 UTC, Alexandre
Details
grub.cfg (grub.cfg,7.03 KB, text/plain)
2012-09-22 20:53 UTC, Alexandre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre 2012-09-20 01:33:03 UTC
Grub 2.00 ignoring gfxmode and not using framebuffer. 
I need to notice: it's works with v.1.99-r2.

Reproducible: Always




Portage 2.1.11.18 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r2, 3.5.4-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.4-gentoo-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T3400_@_2.16GHz-with-gentoo-2.2
Timestamp of tree: Wed, 19 Sep 2012 21:15:01 +0000
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.3
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo sunrise
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" ftp://gentoo.c3sl.ufpr.br/gentoo/ http://gentoo.c3sl.ufpr.br/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage/"
USE="7Zip X a52 aac acl acpi alsa amd64 audiofile bash-completion berkdb branding bzip2 cairo caps cdda cddb cdparanoia cdr cli colord consolekit cracklib crypt css cups custom-cflags cxx dbus dga dri dts dvd dvdr eds encode evo exif fam ffmpeg firefox flac foomaticdb ftp gdbm gif gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk gtk3 iconv imagemagick imap jabber java jpeg lame latex lcms libcanberra libnotify llvm lm_sensors lzma lzo mad matroska minimal mmx mng modules mp3 mp4 mpd mpeg mudflap multilib musepack musicbrainz nautilus ncurses networkmanager nls nptl nsplugin nvidia offensive ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio quicktime readline samba schroedinger sdl session socialweb spell sse sse2 ssl ssse3 startup-notification svg syslog tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vdpau vim-syntax vorbis wavpack wifi x264 xcb xml xv xvid zlib" ALSA_CARDS="hda-intel loopback" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-boot/grub-2.00 was built with the following:
USE="nls sdl truetype -custom-cflags -debug -device-mapper -doc -efiemu -libzfs -mount -static" GRUB_PLATFORMS="pc -coreboot -efi-32 -efi-64 -emu -ieee1275 -multiboot -qemu -qemu-mips -yeeloong"
Comment 1 Alexandre 2012-09-20 01:33:30 UTC
Created attachment 324332 [details]
grub conf.
Comment 2 Mike Gilbert gentoo-dev 2012-09-22 17:42:07 UTC
Can you attach the generated grub.cfg?
Comment 3 Alexandre 2012-09-22 20:53:46 UTC
Created attachment 324660 [details]
grub.cfg

I did some minor changes on '/etc/default/grub' since I generated this last one.
Comment 4 Mike Gilbert gentoo-dev 2012-09-23 02:29:04 UTC
Just playing with it in qemu, the gfxmode setting seems to work fine for me. Here's a minimal config I used to test with:

loadfont unicode
set gfxmode=1024x768
insmod all_video
insmod gfxterm
terminal_output gfxterm

Also, I am using GRUB_GFXMODE=auto in /etc/default/grub on my real hardware, and it auto-detects my 1600x1200 monitor.

Maybe try a different resolution? It is possible that your graphics card does not support a VBE resolution of 1280x800.

Otherwise, I would suggest you seek help from upstream; there may be something odd about your system that is triggering a bug.
Comment 5 Alexandre 2012-09-23 03:57:34 UTC
I already tried 'auto' and others resolutions.

I'm sure it's works here on 1280x800, because using the exactly same '/etc/default/grub' with grub-1.99-r2 it's work smoothly.

I'll report to upstream, indeed may be a hardware specific issue.

Thanks!
Comment 6 Alexandre 2012-11-03 19:21:45 UTC
I finally reported for upstream:

https://savannah.gnu.org/bugs/?37664
Comment 7 Alexandre 2016-04-23 20:15:38 UTC
It works with current supported versions.