I've been having this problem for quite some time now... 2 month at least and so far I haven't been able to grab a hold on what's causing it in the first place. So I hope this bug report helps. :-) I use "lat1-16" as console font. Whenever I switch to xorg and back to the vt, the font will be reset to something not latin1. More precisely, the font always gets reset to some 80x25 font... no matter what size I had used originally. Setting the console font again manually works until the next xorg <-> vt switch. Some more hints I have been able to figure out: 1) According to a thread in the gentoo forum, this does not seem to be limited to one particular graphics card brand. (see http://forums.gentoo.org/viewtopic-t-572924-highlight-console+font.html) 2) Downgrading kbd doesn't change anything. I wasn't able to find any related kbd bugs. 3) I waited for the next xorg 7.3 release to see if the problem would be solved by it. Unfortunately, no change either, even with the newest nvidia drivers and an up2date ~amd64 system. Reproducible: Always Steps to Reproduce: 1. set console font to e.g. lat1-08 2. switch to xorg 3. switch back to the vt Actual Results: The cursor will most likely by somewhere off screen and the console font should have been reset to some 80x25 font... not lat1 btw. Expected Results: The original console font should still be in place. Portage 2.1.3.9 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-rc6-git1 x86_64) ================================================================= System uname: 2.6.23-rc6-git1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ Timestamp of tree: Wed, 19 Sep 2007 14:20:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r4 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18, 2.18.50.0.1 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -mtune=athlon64 -msse3 -O2 -pipe -fweb -frename-registers -fgcse-after-reload -freorder-blocks-and-partition" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -mtune=athlon64 -msse3 -O2 -pipe -fweb -frename-registers -fgcse-after-reload" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LDFLAGS=" -Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,combreloc -Wl,-z,now" LINGUAS="en en_GB en_US de uk" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/layman/xeffects /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="16bit 3dnowex 64bit X a52 aac acl acpi acpi4linux activefilter additions aiglx aim aio alsa amd64 amr animgif ansi aotuv apm artworkextra asf async athena audiofile bash-completion beepmp berkdb bigpatch bitmap-fonts blender-game bluetooth bonobo branding browserplugin bzip2 bzlib cairo cdb cdda cddb cdinstall cdio cdparanoia cdr cdrom chardet chroot clanJavaScript clanVoice cli cmdsubmenu codecs contrib cracklib crypt css cups curl curlwrappers custom-cflags cutterlimit cutterqueue cvs d dbus de_tvtoday devil dga dhcp dio distribution divx dmi dnd doc dolby-record-switch dolbyinrec dpms dri dts dvb dvbplayer dvd dvdarchive dvdchapjump dvdnav dvdr dvdread dvlfriendlyfnames dvlrecscriptaddon dvlvidprefer editor edl emboss emoticon encode erandom evo evo2 expat ext-png ext-zlib extensions faad fame ffmpeg fftw firefox flac flash fmod foomaticdb fortran fpx freetype ftp fuse gb gcj gd gd-external gdbm gif gimp gimpprint glade glibc-omitfp glitz glut gmedia gmp gnomedb gnutls gpm graphtft graphviz gs gstreamer gtk gtk2 gtkhtml hal hbci hddtemp iconv icq idea idn imagemagick imap imlib imlib2 inherit-graph ipod irc irda isdnlog ithreads j2ee jabber java javacomm javamail javascript jce jikes jpeg jpeg2k jumpplay kde kdeenablefinal kdehiddenvisibility kickoff kqemu lcms libdsk libsamplerate libwww liemikuutio linuxthreads-tls live livebuffer lm_sensors lua lzo mad maildir mainmenuhooks mapeditor maps math matroska md5sum midi mikmod mime ming mixer mjpeg mng modplug monkey mozbranding mozdevelop moznocompose moznoirc moznomail mozsvg mp2 mp3 mp4 mp4live mpeg mpeg4 mplayer msn mudflap music native ncurses neXt network newspr nls no-old-linux noamazon nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl openmp operanom2 oscar osdmaxitems pam pcap pch pcntl pcre pdf perl pertty physfs pic playlist png pnm povray ppds pppd projectx python qt3 qt3support qt4 quicktime rar readline realmedia recode reflection remix rhythmbox rle rss rtc rtsp samba sasl sdl session setup setup-plugin sftplogging silc skey slang smime smp sndfile sortrecords sounds sourceview sox speedo speex spell spl ssl startup-notification stencil-buffer stream submenu subp subtitles subversion svg svgz switchtimer syncearly syslog tcpd tetex tga themes theora threads threadsafe thumbnail tidy tiff timerinfo timidity tools transcode transparency truetype truetype-fonts type1 type1-fonts unicode urandom utf8 uudeview v4l v4l2 valgrind validinput vcd vcdimager videos visualization vlm voice vorbis vorbis-psy wareagleicon wma wma123 wmf x264 xanim xatrix xcb xchatdccserver xcomposite xforms xine xml xml2 xmlrpc xorg xrandr xscreensaver xslt xv xvid xvmc yaepg yahoo yv12 zeroconf zlib zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US de uk" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > I've been having this problem for quite some time now... 2 month at least and > so far I haven't been able to grab a hold on what's causing it in the first > place. So I hope this bug report helps. :-) > > I use "lat1-16" as console font. Whenever I switch to xorg and back to the vt, > the font will be reset to something not latin1. More precisely, the font always > gets reset to some 80x25 font... no matter what size I had used originally. > > Setting the console font again manually works until the next xorg <-> vt > switch. > > Some more hints I have been able to figure out: > > 1) According to a thread in the gentoo forum, this does not seem to be limited > to one particular graphics card brand. (see > http://forums.gentoo.org/viewtopic-t-572924-highlight-console+font.html) > > 2) Downgrading kbd doesn't change anything. I wasn't able to find any related > kbd bugs. > > 3) I waited for the next xorg 7.3 release to see if the problem would be solved > by it. Unfortunately, no change either, even with the newest nvidia drivers and > an up2date ~amd64 system. > > > > Reproducible: Always > > Steps to Reproduce: > 1. set console font to e.g. lat1-08 > 2. switch to xorg > 3. switch back to the vt > > Actual Results: > The cursor will most likely by somewhere off screen and the console font should > have been reset to some 80x25 font... not lat1 btw. > > Expected Results: > The original console font should still be in place. > > Portage 2.1.3.9 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, > 2.6.23-rc6-git1 x86_64) > ================================================================= > System uname: 2.6.23-rc6-git1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor > 5600+ > Timestamp of tree: Wed, 19 Sep 2007 14:20:01 +0000 > ccache version 2.4 [enabled] > app-shells/bash: 3.2_p17-r1 > dev-java/java-config: 1.3.7, 2.0.33-r1 > dev-lang/python: 2.5.1-r2 > dev-python/pycrypto: 2.0.1-r6 > dev-util/ccache: 2.4-r7 > sys-apps/baselayout: 1.12.10-r4 > sys-apps/sandbox: 1.2.18.1 > sys-devel/autoconf: 2.13, 2.61-r1 > sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 > sys-devel/binutils: 2.18, 2.18.50.0.1 > sys-devel/gcc-config: 1.4.0-r2 > sys-devel/libtool: 1.5.24 > virtual/os-headers: 2.6.22-r2 > ACCEPT_KEYWORDS="amd64 ~amd64" > CBUILD="x86_64-pc-linux-gnu" > CFLAGS="-march=athlon64 -mtune=athlon64 -msse3 -O2 -pipe -fweb > -frename-registers -fgcse-after-reload -freorder-blocks-and-partition" > CHOST="x86_64-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config > /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" > CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild > /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" > CXXFLAGS="-march=athlon64 -mtune=athlon64 -msse3 -O2 -pipe -fweb > -frename-registers -fgcse-after-reload" > DISTDIR="/usr/portage/distfiles" > FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer > parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv > usersandbox" > GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ > ftp://mirror.switch.ch/mirror/gentoo/ > ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" > LDFLAGS=" -Wl,-O1 -Wl,--enable-new-dtags -Wl,-z,combreloc -Wl,-z,now" > LINGUAS="en en_GB en_US de uk" > MAKEOPTS="-j3" > 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 > --filter=H_**/files/digest-*" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/layman/xeffects /usr/local/portage" > SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" > USE="16bit 3dnowex 64bit X a52 aac acl acpi acpi4linux activefilter additions > aiglx aim aio alsa amd64 amr animgif ansi aotuv apm artworkextra asf async > athena audiofile bash-completion beepmp berkdb bigpatch bitmap-fonts > blender-game bluetooth bonobo branding browserplugin bzip2 bzlib cairo cdb cdda > cddb cdinstall cdio cdparanoia cdr cdrom chardet chroot clanJavaScript > clanVoice cli cmdsubmenu codecs contrib cracklib crypt css cups curl > curlwrappers custom-cflags cutterlimit cutterqueue cvs d dbus de_tvtoday devil > dga dhcp dio distribution divx dmi dnd doc dolby-record-switch dolbyinrec dpms > dri dts dvb dvbplayer dvd dvdarchive dvdchapjump dvdnav dvdr dvdread > dvlfriendlyfnames dvlrecscriptaddon dvlvidprefer editor edl emboss emoticon > encode erandom evo evo2 expat ext-png ext-zlib extensions faad fame ffmpeg fftw > firefox flac flash fmod foomaticdb fortran fpx freetype ftp fuse gb gcj gd > gd-external gdbm gif gimp gimpprint glade glibc-omitfp glitz glut gmedia gmp > gnomedb gnutls gpm graphtft graphviz gs gstreamer gtk gtk2 gtkhtml hal hbci > hddtemp iconv icq idea idn imagemagick imap imlib imlib2 inherit-graph ipod irc > irda isdnlog ithreads j2ee jabber java javacomm javamail javascript jce jikes > jpeg jpeg2k jumpplay kde kdeenablefinal kdehiddenvisibility kickoff kqemu lcms > libdsk libsamplerate libwww liemikuutio linuxthreads-tls live livebuffer > lm_sensors lua lzo mad maildir mainmenuhooks mapeditor maps math matroska > md5sum midi mikmod mime ming mixer mjpeg mng modplug monkey mozbranding > mozdevelop moznocompose moznoirc moznomail mozsvg mp2 mp3 mp4 mp4live mpeg > mpeg4 mplayer msn mudflap music native ncurses neXt network newspr nls > no-old-linux noamazon nptl nptlonly nsplugin nvidia offensive ogg oggvorbis > opengl openmp operanom2 oscar osdmaxitems pam pcap pch pcntl pcre pdf perl > pertty physfs pic playlist png pnm povray ppds pppd projectx python qt3 > qt3support qt4 quicktime rar readline realmedia recode reflection remix > rhythmbox rle rss rtc rtsp samba sasl sdl session setup setup-plugin > sftplogging silc skey slang smime smp sndfile sortrecords sounds sourceview sox > speedo speex spell spl ssl startup-notification stencil-buffer stream submenu > subp subtitles subversion svg svgz switchtimer syncearly syslog tcpd tetex tga > themes theora threads threadsafe thumbnail tidy tiff timerinfo timidity tools > transcode transparency truetype truetype-fonts type1 type1-fonts unicode > urandom utf8 uudeview v4l v4l2 valgrind validinput vcd vcdimager videos > visualization vlm voice vorbis vorbis-psy wareagleicon wma wma123 wmf x264 > xanim xatrix xcb xchatdccserver xcomposite xforms xine xml xml2 xmlrpc xorg > xrandr xscreensaver xslt xv xvid xvmc yaepg yahoo yv12 zeroconf zlib zvbi" > ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare > dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw > multi null plug rate route share shm softvol" ELIBC="glibc" > INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz > cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB > en_US de uk" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l vesa" > Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, > PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS > I have the same problem when I install nvidia-drivers > 1.0.9639. With 1.0.9639 everything is normal. Gerard.
This is not limited to the binary only nvidia drivers. Just tested the nv driver from the Xorg 7.3 release which shows the exact same behavior.
The same problem on AMD64 platform, LANG=KOI8-r. It's a serioys problem because it unable to read cyrillic font. on input two different symbols intead of one are enters (for cyrillic). /etc/init.d/consolefont restart helps before next switching vt/x11.
Just filed a bug over at freedesktop's bugzilla (#13146). I'd appreciate anyone who adds his/her infos to it. Thanks a lot.
*** Bug 200743 has been marked as a duplicate of this bug. ***
The issue is reproduced with locale ru_RU.utf-8. The problem is not occurred with framebuffer (I used uvesafb).
(In reply to comment #4) > Just filed a bug over at freedesktop's bugzilla (#13146). I'd appreciate anyone > who adds his/her infos to it. Thanks a lot. >
I have the same bug with the latest xorg-server-1.5.3-r4. I know at least 2 humans who have this issue. Upstream couldn't resolve this bug during 2 years. Is there any other possibility to do somthing else?
Upstream did seem to have cared at all. Try pinging them again. But in all fairness I doubt that the bug is related to X, I would say it's a problem with either the kernel or openrc. New CCs, what say you? Thanks
OpenRC just sets the VT fonts at boot, so not an OpenRC bug.
Just for me the issue was resolved after upgrade to xorg-server-1.5. Console font I use is Cyr_a16x8. Does anybody know if it depends on the hardware or the driver version?
I suggest reopening this bug because it is not fixed. I'm running (amd64) x11-base/xorg-server-1.5.3-r5 and x11-drivers/nvidia-drivers-180.37 switching from xorg to terminal or from terminal -> xorg -> terminal still resets font. setfont lat9w-16 fixes it for me, but it's not a long term solution.