Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
uvesafb broken with latest kernel / nvidia drivers gtx 980
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
-=GGW=- $ol!d $n4>|e
Veteran
Veteran


Joined: 12 Apr 2004
Posts: 1614
Location: USA

PostPosted: Tue Jan 13, 2015 7:35 am    Post subject: uvesafb broken with latest kernel / nvidia drivers gtx 980 Reply with quote

Hey all,

I just did my monthly update and it seems uvesafb has broken with the most recent mix of kernel / driver. I still boot and get text but the text thats rendered looks blitted to the screen, i'm not sure how else to describe it, like its taking the full resolution blitting it to a muc much smaller resolution, then interpolating back to the full resolution.

Anyone else experiencing this? here are my relevant specs

Quote:

eix nvidia-drivers
[I] x11-drivers/nvidia-drivers
Available versions: [M]96.43.23^msd [M]173.14.39^msd 304.125^msd 310.32^s[1] (~)313.18^s[1] 313.30-r1^msd[1] 331.113^msd 340.65^msd 343.36^msd (~)346.22^msd {+X acpi custom-cflags gtk gtk2 gtk3 multilib pax_kernel (+)tools uvm +vanilla KERNEL="FreeBSD linux"}
Installed versions: 346.22^msd(11:09:35 PM 01/12/2015)(X acpi multilib -gtk2 -gtk3 -pax_kernel -tools -uvm KERNEL="linux -FreeBSD")
Homepage: http://www.nvidia.com/


Quote:

cat /etc/default/grub
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/files/grub.default-3,v 1.4 2014/10/16 04:04:02 floppym Exp $
#
# To populate all changes in this file you need to regenerate your
# grub configuration file afterwards:
# 'grub2-mkconfig -o /boot/grub/grub.cfg'
#
# See the grub info page for documentation on possible variables and
# their associated values.

GRUB_DISTRIBUTOR="Gentoo"

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=5
GRUB_HIDDEN_TIMEOUT_QUIET=true
#GRUB_TIMEOUT=5
#GRUB_TIMEOUT_STYLE=menu

# Append parameters to the linux kernel command line
#GRUB_CMDLINE_LINUX=""
#
# Examples:
#
# Boot with network interface renaming disabled
# GRUB_CMDLINE_LINUX="net.ifnames=0"
#
# Boot with systemd instead of sysvinit (openrc)
# GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd"

# Append parameters to the linux kernel command line for non-recovery entries
GRUB_CMDLINE_LINUX_DEFAULT="quiet init=/usr/lib/systemd/systemd video=uvesafb:2560x1440-32,mtrr:3,ywrap"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal.
# Note that you can use only modes which your graphic card supports via VBE.
# You can see them in real GRUB with the command `vbeinfo'.
GRUB_GFXMODE=1024x768

# Path to theme spec txt file.
# The starfield is by default provided with use truetype.
# NOTE: when enabling custom theme, ensure you have required font/etc.
#GRUB_THEME="/boot/grub/themes/starfield/theme.txt"

# Background image used on graphical terminal.
# Can be in various bitmap formats.
#GRUB_BACKGROUND="/boot/grub/mybackground.png"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to kernel
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true


Quote:

cat /sys/class/graphics/fb0/modes
U:2560x1440p-60
D:2560x1440p-59
V:1600x1200p-85
V:1600x1200p-75
V:1600x1200p-70
V:1600x1200p-65
V:1600x1200p-60
V:1280x1024p-85
V:1280x1024p-75
V:1280x1024p-60
V:1024x768p-85
V:1024x768p-75
V:1024x768p-70
V:1024x768p-60
V:800x600p-85
V:800x600p-75
V:800x600p-72
V:800x600p-60
V:800x600p-56
V:640x480p-85
V:640x480p-75
V:640x480p-72
V:640x480p-60
V:640x400p-85
U:1280x800p-60
U:2560x1440p-60
U:1600x1200p-60
U:320x240p-60
U:320x400p-59
U:320x200p-59
U:1280x1024p-59
U:1024x768p-60
U:800x600p-59
U:640x480p-60
U:640x400p-59


Quote:

mike@~ ∫ eix gentoo-sources
[I] sys-kernel/gentoo-sources
Available versions:
(3.4.105) ~3.4.105^bs
(3.4.9999) **3.4.9999^bs
(3.10.63) 3.10.63^bs
(3.10.64) ~3.10.64^bs
(3.10.9999) **3.10.9999^bs
(3.12.35) 3.12.35^bs
(3.12.9999) **3.12.9999^bs
(3.14.27) 3.14.27^bs
(3.14.28) ~3.14.28^bs
(3.17.7) 3.17.7^bs
(3.17.8) ~3.17.8^bs
(3.18.0) ~3.18.0^bs
(3.18.1) ~3.18.1^bs
(3.18.2) ~3.18.2^bs
{build deblob experimental symlink}
Installed versions: 3.17.7(3.17.7)^bs(11:58:15 PM 01/11/2015)(-build -deblob -experimental -symlink)
Homepage: http://dev.gentoo.org/~mpagano/genpatches
Description: Full sources including the Gentoo patchset for the 3.18 kernel tree



let me know if i can provide more info, would be happy to
Back to top
View user's profile Send private message
dweezil-n0xad
Apprentice
Apprentice


Joined: 30 Oct 2006
Posts: 156
Location: Ostend, Belgium

PostPosted: Sun Jan 18, 2015 9:52 pm    Post subject: Reply with quote

Today I installed Gentoo on a brand new system with a gtx 970 and I have the same problem. (gentoo-sources-3.18.3 + nvidia-drivers-346.35)
When the kernel boots, everything looks fine. I can view in 1920x1080 openrc starting the services. Then the screen refreshes and the fonts are unreadable and tuxes at the top of the screen blurry.
Code:
01:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)

Code:
linux   /vmlinuz-3.18.3-gentoo root=UUID=93457e11-af81-4adc-8040-30570374260b ro rootflags=subvol=@root  rootfstype=btrfs video=uvesafb:1920x1080-32,mtrr:3,ywrap

Code:
cat /sys/bus/platform/drivers/uvesafb/uvesafb.0/vbe_modes
640x400-8, 0x0100
640x480-8, 0x0101
800x600-8, 0x0103
1024x768-8, 0x0105
1280x1024-8, 0x0107
320x200-16, 0x010e
320x200-32, 0x010f
640x480-16, 0x0111
640x480-32, 0x0112
800x600-16, 0x0114
800x600-32, 0x0115
1024x768-16, 0x0117
1024x768-32, 0x0118
1280x1024-16, 0x011a
1280x1024-32, 0x011b
320x200-8, 0x0130
320x400-8, 0x0131
320x400-16, 0x0132
320x400-32, 0x0133
320x240-8, 0x0134
320x240-16, 0x0135
320x240-32, 0x0136
640x400-16, 0x013d
640x400-32, 0x013e
1920x1080-8, 0x014b
1920x1080-16, 0x014c
1920x1080-32, 0x014d
1280x800-8, 0x0160
1280x800-32, 0x0161



edit: it works fine in gentoo-sources-3.17.8-r1. There is no support for later kernels yet.
Code:
 * Gentoo supports kernels which are supported by NVIDIA
 * which are limited to the following kernels:
 * <sys-kernel/gentoo-sources-3.18
 * <sys-kernel/vanilla-sources-3.18
 *
 * You are free to utilize epatch_user to provide whatever
 * support you feel is appropriate, but will not receive
 * support as a result of those changes.
 *
 * Do not file a bug report about this.

_________________
i7-4790K | 16GB DDR3 | GTX 970 | 500GB SSD
ASUS N56VV | i7-3630QM | 12GB DDR3 | GT 750M | 256GB SSD
Back to top
View user's profile Send private message
Linubie
Apprentice
Apprentice


Joined: 11 Jun 2004
Posts: 268

PostPosted: Sat Jan 31, 2015 2:08 pm    Post subject: Reply with quote

Today I updated to gentoo-sources-3.17.8-r1 (AMD64/NVIDIA GTX660), but uvesafb is not working,:

Code:

[    0.715169] v86d (50) used greatest stack depth: 14416 bytes left
[    1.704042] tsc: Refined TSC clocksource calibration: 2812.709 MHz
[    2.703961] Switched to clocksource tsc
[    5.713375] uvesafb: Getting VBE info block failed (eax=0x4f00, err=1)
[    5.713883] uvesafb: vbe_init() failed with -22
[    5.714391] uvesafb: probe of uvesafb.0 failed with error -22


with kernel-3.17.7 it was running without problems.
_________________
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1595
Location: Just over the horizon

PostPosted: Sat Jan 31, 2015 2:46 pm    Post subject: Reply with quote

Yep, same thing happening to me. Text in console is 'blitted'...nice way to describe it. I just put a new Nvidia gtx 960 card on my system and thought it was related to that somehow. Actually, 3 out of 4 replies thus far are an Nvidia gtx 9xx series card, so it may be related to that card series with the currently kernel/drivers combination. This is with the 3.18.4 gentoo sources. I've also been getting strange lockups that started randomly occuring as well, but may be completely unrelated to the 'blitted' output on the console.
Back to top
View user's profile Send private message
dweezil-n0xad
Apprentice
Apprentice


Joined: 30 Oct 2006
Posts: 156
Location: Ostend, Belgium

PostPosted: Sat Jan 31, 2015 3:15 pm    Post subject: Reply with quote

I tried uvesafb and efifb, both have same problem with the text in console.
_________________
i7-4790K | 16GB DDR3 | GTX 970 | 500GB SSD
ASUS N56VV | i7-3630QM | 12GB DDR3 | GT 750M | 256GB SSD
Back to top
View user's profile Send private message
jagdpanther
Guru
Guru


Joined: 22 Nov 2003
Posts: 532

PostPosted: Sat Jan 31, 2015 4:50 pm    Post subject: Reply with quote

Similar issue on with my Evga GTX 970. nvidia-drivers-346.35 breaks my console.

The only console that I can get to work with 346.35 is the default very low resolution text.
Old working grub.cfg:
Code:
menuentry "Linux 3.17.8-gentoo-r1" {
  insmod gzio
  insmod part_gpt
  insmod ext2
  set gfxpayload=1920x1200x8
  root=hd0,gpt3
  linux /kernel-3.17.8-gentoo-r1 root=/dev/sdb2
}

With nvidia-drivers-346.35, if I comment out 'set gfxpayload=1920x1200x8', then my console works at low resolution.

With the above grub.cfg, I notice that the console appears to work at the desired resolution for a few lines until the nvidia-driver is loaded, then the console text becomes 'fuzzy' and unreadable.

Workaround: Use nvidia-drivers-343.36.
Back to top
View user's profile Send private message
platojones
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1595
Location: Just over the horizon

PostPosted: Sat Jan 31, 2015 5:13 pm    Post subject: Reply with quote

Definitely sounds like a driver issue then, at least with these Maxwell GPUs, though it may affect other GPUs. Doesn't bother me too much since, except at boot-up, which I do rarely, I'm in X anyway. Probably gets fixed in the next nvidia-driver update.
Back to top
View user's profile Send private message
jagdpanther
Guru
Guru


Joined: 22 Nov 2003
Posts: 532

PostPosted: Fri Feb 20, 2015 10:13 pm    Post subject: Reply with quote

blacklisting the nvidia kernel module so that it does not load during system boot also solves my issue here. I can start X with either startx after logging into to the console, or I can run '/etc/init.d/xdm start' at the end of the boot process if I want a gui login.

Edited: No I am wrong: startx worked but when I went back to the console from X the console fonts were corrupt again: back to nvidia-drivers-343.36 for me


Last edited by jagdpanther on Sun Feb 22, 2015 2:37 am; edited 1 time in total
Back to top
View user's profile Send private message
Tatsh
Apprentice
Apprentice


Joined: 22 Jul 2007
Posts: 179

PostPosted: Sat Feb 21, 2015 10:03 pm    Post subject: Reply with quote

Same problem. Others on the Nvidia forum know about this too. Just downgrade to 343 for now.
Back to top
View user's profile Send private message
dweezil-n0xad
Apprentice
Apprentice


Joined: 30 Oct 2006
Posts: 156
Location: Ostend, Belgium

PostPosted: Wed Feb 25, 2015 1:17 pm    Post subject: Reply with quote

It seems to be fixed here with the new 346.47 drivers.
_________________
i7-4790K | 16GB DDR3 | GTX 970 | 500GB SSD
ASUS N56VV | i7-3630QM | 12GB DDR3 | GT 750M | 256GB SSD
Back to top
View user's profile Send private message
jagdpanther
Guru
Guru


Joined: 22 Nov 2003
Posts: 532

PostPosted: Sun Mar 08, 2015 10:20 pm    Post subject: Reply with quote

Quote:
It seems to be fixed here with the new 346.47 drivers.


Yes, the issue vanishes in nvidia-drivers-346.47.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum