Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155728 - Problems with console fonts
Summary: Problems with console fonts
Status: RESOLVED DUPLICATE of bug 70689
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-19 14:59 UTC by Marcin Deranek
Modified: 2006-11-20 00:43 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 Marcin Deranek 2006-11-19 14:59:45 UTC
I have 2 issues with console fonts at the moment..

1. In my current setup consolefont is started after xdm. In such case X server allocates vt7 (because it's started as first) and then consolefont script tries to set fonts on vt7. Such situation leads to X server display corruption. To fix it I have to switch to any of text terminals (eg. CTRL+ALT+F1) and back to X server (CTRL+ALT+F7). The easiest fix would be to start consolefonts before xdm is started - tried it and works..

2. The other problem I'm having is that whenever console fonts are set (I'm using ISO8859-2 fonts) and I do not switch to X server (CRTL+ALT+F7) I can see them on the screen. After I switch to X server display (CRTL+ALT+F7) and back to any of the terminals my fonts are gone. Looks like switching to X server removes fonts from memory.. I'm using xorg-server-1.0.2-r7

emerge --info
Portage 2.1.2_rc2 (default-linux/amd64, gcc-4.1.1, glibc-2.5-r0, 2.6.17-reiser4-r8 x86_64)
=================================================================
System uname: 2.6.17-reiser4-r8 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.6
Last Sync: Sun, 19 Nov 2006 15:50:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -ftracer -frename-registers -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -mtune=athlon64 -ftracer -frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib accessibility acpi adns alsa ao apm audiofile bash-completion bcmath berkdb bidi bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr clamav cli cracklib crypt cscope ctype cups curl curlwrappers dga dio directfb dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc encode exif expat fbcon ffmpeg fftw firefox flac flatfile foomaticdb ftp gb gd gdbm ggi gif ginac glut gmp gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal iconv idn imagemagick imlib input_devices_keyboard input_devices_mouse input_devices_v4l isdnlog javascript jbig jikes jpeg jpeg2k kdehiddenvisibility kernel_linux lcms lesstif libcaca libedit libgda libwww linguas_en linguas_pl lm_sensors m17n-lib mad maildir matroska mbox mcal memlimit mhash mikmod mime mmap mng motif mp3 mpeg mpi mplayer msession musepack ncurses nocd nptl nsplugin offensive ogg openal opengl osc oss pam pcntl pcre pda pdf pic plotutils png portaudio posix ppds pppd quicktime readline recode reflection scanner sdl session sharedmem shorten simplexml skey slang slp sndfile snmp sockets sox speex spell ssl svg sysvipc szip tcpd test theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l vcd video_cards_fglrx video_cards_radeon videos vim-syntax vorbis wifi wmf wxwindows x264 xine xml xmlrpc xorg xosd xpm xsl xv xvid yaz zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marcin Deranek 2006-11-19 15:04:46 UTC
Please disregard the 2nd problem - looks like it does not happen when consolefont is started before xdm (just tried it).
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-11-20 00:43:54 UTC
Set XSTATICVT="no" in /etc/conf.d/xdm


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