Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78405 - grub.conf says video=vesafb:ywrap but I always get redraw, which is slow
Summary: grub.conf says video=vesafb:ywrap but I always get redraw, which is slow
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-17 12:46 UTC by Peter Humphrey
Modified: 2005-01-17 13:06 UTC (History)
0 users

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 Peter Humphrey 2005-01-17 12:46:38 UTC
I have both amd64 (2.6.9-r12) and ~amd64 (2.6.10-r5) systems on this box,
and both their grub.conf entries include "video=vesafb:ywrap". Whichever
system I boot, the monitor output says it's using redraw instead of ywrap.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




emerge info:  
Portage 2.0.51-r13 (default-linux/amd64/2004.3, gcc-3.4.3,  
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r5 x86_64)  
=================================================================  
System uname: 2.6.10-gentoo-r5 x86_64 AMD Opteron(tm) Processor 246  
Gentoo Base System version 1.6.8  
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 17 2005, 11:01:58)]  
dev-lang/python:     2.3.4  
sys-devel/autoconf:  2.13, 2.59-r6  
sys-devel/automake:  1.5, 1.9.4, 1.6.3, 1.7.9, 1.4_p6, 1.8.5-r2  
sys-devel/binutils:  2.15.92.0.2-r2  
sys-devel/libtool:   1.5.10-r2  
virtual/os-headers:  2.6.8.1-r3  
ACCEPT_KEYWORDS="amd64 ~amd64"  
AUTOCLEAN="no"  
CFLAGS="-march=opteron -O3 -pipe"  
CHOST="x86_64-pc-linux-gnu"  
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"  
CONFIG_PROTECT_MASK="/etc/X11/xdm/Xservers /etc/fonts /etc/gconf /etc/rc.d /etc/rsync /etc/terminfo /etc/wget /etc/env.d"  
CXXFLAGS="-march=opteron -O3 -pipe"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox userpriv usersandbox"  
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/                  
ftp://ftp.easynet.nl/mirror/gentoo/              
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"  
MAKEOPTS="-j4"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"  
USE="amd64 X aalib acpi alsa berkdb bitmap-fonts cdr crypt cups dvd  
emul-linux-x86 f77 fam flac font-serverfoomaticdb fortran gif gpm imlib ipv6  
jp2 jpeg kde lzw lzw-tiff motif multilib ncurses nls oggvorbis opengloss pam  
perl png ppds python qt readline ssl tcpd tiff truetype truetype-fonts  
type1-fonts usb userlocales xine xinerama xml2 xpm xrandr xscreensaver xv zlib  
linguas_en_GB"  
Unset:  LDFLAGS, PORTDIR_OVERLAY  
 
=================================================================  
 
 
wstn ~ # cat /boot/grub/grub.conf 
 
timeout 10 
default 0 
fallback 2 
color white/blue black/light-gray 
 
title  Gentoo Test KDE 
        root    (hd1,1) 
        kernel  (hd1,1)/kernel-2.6.10-gentoo-r5 root=/dev/ram0 init=/linuxrc 
ramdisk=8192 real_root=/dev/hdb11 video=vesafb:ywrap vga=0x317 /dev/hdd=ide-cd 
ide0=ata66 splash=native 
        initrd  (hd1,1)/initrd-2.6.10-gentoo-r5 
        splashimage (hd1,1)/grub/splash.xpm.gz 
 
title  Gentoo Test No-X 
        root    (hd1,1) 
        kernel  (hd1,1)/kernel-2.6.10-gentoo-r5 root=/dev/ram0 init=/linuxrc 
ramdisk=8192 real_root=/dev/hdb11 video=vesafb:ywrap vga=0x317 /dev/hdd=ide-cd 
ide0=ata66 splash=native softlevel=nox 
        initrd  (hd1,1)/initrd-2.6.10-gentoo-r5 
        splashimage (hd1,1)/grub/splash.xpm.gz 
 
title  Gentoo 2.6.9-r12 
        root    (hd1,1) 
        kernel  (hd1,1)/kernel-2.6.9-gentoo-r12 root=/dev/ram0 init=/linuxrc 
ramdisk=8192 real_root=/dev/hdb9 video=mtrr,vesafb:ywrap vga=0x31B acpi=off 
noacpi /dev/hdd=ide-cd ide0=ata66 splash=native 
        initrd  (hd1,1)/initrd-2.6.9-gentoo-r12 
        splashimage (hd1,1)/grub/splash.xpm.gz 
 
title  Gentoo 2.6.9-r9 
        root    (hd1,1) 
        kernel  (hd1,1)/kernel-2.6.9-gentoo-r9 root=/dev/ram0 init=/linuxrc 
ramdisk=8192 real_root=/dev/hdb9 video=mtrr,vesafb:ywrap vga=0x31B acpi=off 
noacpi /dev/hdd=ide-cd ide0=ata66 splash=native 
        initrd  (hd1,1)/initrd-2.6.9-gentoo-r9 
        splashimage (hd1,1)/grub/splash.xpm.gz 
 
=================================================================  
 
After booting 2.6.10-r5: 
 
wstn ~ # dmesg | grep vesafb 
Bootdata ok (command line is root=/dev/ram0 init=/linuxrc ramdisk=8192 
real_root=/dev/hdb11 video=vesafb:ywrap vga=0x317 /dev/hdd=ide-cd ide0=ata66 
splash=native) 
Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 
real_root=/dev/hdb11 video=vesafb:ywrap vga=0x317 /dev/hdd=ide-cd ide0=ata66 
splash=native console=tty0 
vesafb: framebuffer at 0xf0000000, mapped to 0xffffff0000080000, using 3072k, 
total 131072k 
vesafb: mode is 1024x768x16, linelength=2048, pages=1 
vesafb: scrolling: redraw 
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0 
 
=================================================================  
 
Hardware: vga card is nVidia Quadro FX500, monitor is Iiyama 19" flat panel,  
1600x1200 @ 60Hz.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2005-01-17 13:06:27 UTC
ywrap is a feature that can be enabled, when certain conditions are met. For ywrap to work, the VBE BIOS must have something called the PMI (Protected Mode Interface). My guess is that the PMI is not available on amd64 when the CPU is in 64-bit mode. I'm sorry but it's something that simply cannot be fixed.