Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116791 - vesafb-tng breakage? X.org makes textual framebuffer consoles unusable
Summary: vesafb-tng breakage? X.org makes textual framebuffer consoles unusable
Status: RESOLVED DUPLICATE of bug 113408
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-26 09:40 UTC by Stefano
Modified: 2006-02-02 07:53 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 Stefano 2005-12-26 09:40:43 UTC
I'm using X.org 6.8.2-r6 on a kernel 2.6.14-r5, with an Intel i855 video card. On a previous 2.6.12 kernel I was using framebuffer consoles with no problem whatsoever. After upgrading to 2.6.14-r5 (keeping the old .config as a base), frame buffer consoles still work perfectly, but after starting X.org they become unusable, flickering as if vertical or horiz frequency is somehow wrong.

I need pointers to debug this trouble...
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2005-12-29 12:44:53 UTC
Please post "emerge --info" output to every bug that you file.
Please say which framebuffer driver you are using.
Please reproduce the problem on the latest development kernel (currently vanilla-sources-2.6.15_rc7)
Comment 2 Stefano 2005-12-29 13:50:55 UTC
(In reply to comment #1)
> Please post "emerge --info" output to every bug that you file.

# emerge info
Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acl acpi alsa amuled aqua_theme arts async atlas audiofile avantgo bash-completion berkdb bindist bitmap-fonts bluetooth bzip2 cardbus cdparanoia cdr cpudetection crypt css cups curl curlwrappers devfs26 devmap dga dhcp dio directfb divx4linux djbfft dlloader dpms dri dvb dvd encode ethereal exif expat fat fbcon fbsplash ffmpeg fftw flac foomaticdb fortran fpx ftp gd gdbm gif glut glx gnutls gphoto2 gpm gs gssapi gtk gtk2 gzip hpn icq idea idn imagemagick imap imlib ipv6 irda jabber java javascript jikes john jp2 jpeg jpeg2k kde kdepim kerberos krb4 lapack lcms ldap lesstif libg++ libwww mad mbox messages mikmod mime mmap mmx mmxext mng motif mozilla mozsvg mp3 mpeg mppe-mppc msn mysql mysqli ncurses nls nocd nomalloccheck nptl nptlonly ntfs ntlm octave odbc offensive ogg oggvorbis opengl oscar oss pam pcapnav pcmcia pcntl pcre pda pdflib perl plotutils png pnp posix ppds python qt quicktime radius rdesktop readline real samba sasl sdl sharedmem silc slp sms snmp sockets sox spell sse ssl svga sysfs sysvipc tcltk tcpd tetex threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb v4l v4l2 vcd vorbis wifi win32codecs winbind wmf xchattext xml2 xmlrpc xmms xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

> Please say which framebuffer driver you are using.

vesafb

vesafb: Intel Corporation, Intel(r)852MG/852MGE/855MG/855MGE Graphics Controller, Hardware Version 0.0 (OEM: Intel(r)852MG/852MGE/855MG/855MGE Graphics Chip Accelerated VGA BIOS)
vesafb: VBE version: 3.0
vesafb: VBIOS/hardware doesn't support DDC transfers
vesafb: no monitor limits have been set
vesafb: scrolling: redraw
vesafb: framebuffer at 0xe8000000, mapped to 0xde980000, using 10240k, total 32576k

Should I try to disable it completely and keep just the i810 framebuffer drivers ?

> Please reproduce the problem on the latest development kernel (currently
> vanilla-sources-2.6.15_rc7)

I am using gentoo-sources, but if this is _REALLY_ needed...
Comment 3 Stefano 2005-12-29 14:10:03 UTC
> > Please say which framebuffer driver you are using.
> 
> vesafb
> 
> Should I try to disable it completely and keep just the i810 framebuffer
> drivers ?

I answer myself: NO, but almost.

Using the "intelfb" driver, and using ONLY that driver, makes everything work fine.
Comment 4 Stefano 2006-01-02 05:51:49 UTC
> Using the "intelfb" driver, and using ONLY that driver, makes everything work
> fine.

Perhaps I overstated by saying "everything". See bug 117442 ;)
Comment 5 Stefano 2006-01-02 08:30:40 UTC
Perhaps I have an additional input.

This is the output from the boot of kernel 2.6.12:
Dec 24 10:29:10 raistmobile vesafb: Intel Corporation, Intel(r)852MG/852MGE/855MG/855MGE Graphics Controller, Hardware Version 0.0 (OEM: Intel(r)852MG/852MGE/855MG/855MGE Graphics Chip Accelerated VGA BIOS)
Dec 24 10:29:10 raistmobile vesafb: VBE version: 3.0
Dec 24 10:29:10 raistmobile vesafb: hardware doesn't support DDC transfers
Dec 24 10:29:10 raistmobile vesafb: monitor limits: vf = 0 Hz, hf = 0 kHz, clk = 0 MHz
Dec 24 10:29:10 raistmobile vesafb: scrolling: redraw
Dec 24 10:29:10 raistmobile vesafb: framebuffer at 0xe8000000, mapped to 0xdf980000, using 1536k, total 16192k

This is from 2.6.14
Dec 24 19:45:26 raistmobile vesafb: Intel Corporation, Intel(r)852MG/852MGE/855MG/855MGE Graphics Controller, Hardware Version 0.0 (OEM: Intel(r)852MG/852MGE/855MG/855MGE Graphics Chip Accelerated VGA BIOS)
Dec 24 19:45:26 raistmobile vesafb: VBE version: 3.0
Dec 24 19:45:26 raistmobile vesafb: VBIOS/hardware doesn't support DDC transfers
Dec 24 19:45:26 raistmobile vesafb: no monitor limits have been set
Dec 24 19:45:26 raistmobile vesafb: scrolling: redraw
Dec 24 19:45:26 raistmobile vesafb: framebuffer at 0xe8000000, mapped to 0xdf980000, using 10240k, total 16192k

Note the different monitor limits line... Does this make any sense ?
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-01-10 08:30:24 UTC
Please confirm the bug exists in the latest kernel, currently gentoo-sources-2.6.15
Comment 7 Roland 2006-01-24 13:05:00 UTC
(In reply to comment #6)
> Please confirm the bug exists in the latest kernel, currently
> gentoo-sources-2.6.15

I was stuck with gentoo-sources-2.6.13-r5 since everything higher gives me this kind of problem too. I upgraded to 2.6.15-r1 and the problem is still here.

I have a nvidia card, using vesa-tng as a framebuffer console driver.

Symptoms: the console is fine, I startx, switch back to console and it's unreadable. fbgrab image is fine though. I took a picture here: http://ttk22.free.fr/vesafb-tng.jpg ...

If I close the lid, and open it again the console is back to the normal state.

(Ps: am I posting in the correct bug ?)
Comment 8 Roland 2006-01-25 13:41:00 UTC
(In reply to comment #7)

Seems like it was the same bug: http://bugs.gentoo.org/show_bug.cgi?id=113408
Adding nocrtc works for me.
Comment 9 Stefano 2006-01-30 04:17:44 UTC
> Seems like it was the same bug: http://bugs.gentoo.org/show_bug.cgi?id=113408
> Adding nocrtc works for me.

For me too (I also upgraded to gentoo-sources 2.6.15-r1)
Comment 10 Michal Januszewski (RETIRED) gentoo-dev 2006-02-02 07:53:09 UTC

*** This bug has been marked as a duplicate of 113408 ***