LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Strange console behaviour - Nvidia 304.84 (http://www.linuxquestions.org/questions/slackware-14/strange-console-behaviour-nvidia-304-84-a-4175454795/)

coralfang 03-20-2013 01:33 AM

Strange console behaviour - Nvidia 304.84
 
Hello. Recently been using slackware again for the past week, i upgraded to -current last night and realised i cannot access any consoles (CTRL+ALT+F2, etc) after starting an X display.

What happens, is that i can boot the system and 2 penguins appear followed by the boot messages (suggesting vga=792 in my lilo.conf is working). I get the login prompt and login as expected, however, when i issue "startx" it seems as though nothing is happening other than a black screen. I can see disk activity from the flashing light on my computer...

After hitting random keys, i noticed that when i press CTRL+ALT+F7 i can now see my KDE desktop. For instance, if i issue "startx" and immediately press CTRL+ALT+F7 i'll be greeted by my KDE splash theme loading up as normal.

Now, once i have got into X/KDE everything seems to work as expected. Although, if i logout and drop to a console, or simply switch to a different getty i only see a black screen. Pressing CTRL+ALT+F7 takes me back to X/KDE though... i am not sure what is going on.

If i do logout, i have to type "blind" to log back in.

I noticed this in dmesg:
Code:

[ 6657.156169] NVRM: Your system is not currently configured to drive a VGA console
[ 6657.156175] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[ 6657.156178] NVRM: requires the use of a text-mode VGA console. Use of other console
[ 6657.156180] NVRM: drivers including, but not limited to, vesafb, may result in
[ 6657.156182] NVRM: corruption and stability problems, and is not supported.
[ 6665.170068] NVRM: Xid (0000:00:0d): 16, Head 00000000 Count 00000000

An ideas at how to fix this? I have not seen this message before, and cannot think of anything i would have done that may be causing this.


I'm using Nvidia driver 304.84 on Slackware 64 -current.

uname -a
Code:

Linux darkstar 3.7.10 #2 SMP Mon Mar 11 21:09:34 CDT 2013 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD GNU/Linux
lspci |grep VGA
Code:

00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 6150SE nForce 430] (rev a2)

wildwizard 03-20-2013 02:57 AM

Currently known bug with nvidia either drop back one version or wait until they release a new one.

Also see this thread for more information :-

http://www.linuxquestions.org/questi...ue-4175453796/

coralfang 03-20-2013 09:13 AM

Quote:

Originally Posted by wildwizard (Post 4914982)
Currently known bug with nvidia either drop back one version or wait until they release a new one.

Also see this thread for more information :-

http://www.linuxquestions.org/questi...ue-4175453796/

Thanks, i just followed instructions in that thread (symlink and patch). It builds fine, but X refuses to start with this driver version:
Code:

[  478.237]
X.Org X Server 1.14.0
Release Date: 2013-03-05
[  478.250] X Protocol Version 11, Revision 0
[  478.255] Build Operating System: Slackware 14.0 Slackware Linux Project
[  478.260] Current Operating System: Linux darkstar 3.7.10 #2 SMP Mon Mar 11 21:09:34 CDT 2013 x86_64
[  478.261] Kernel command line: auto BOOT_IMAGE=Linux ro root=802 vt.default_utf8=0
[  478.272] Build Date: 12 March 2013  05:52:11PM
[  478.277] 
[  478.283] Current version of pixman: 0.28.2
[  478.294]        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  478.294] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  478.317] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 20 14:00:09 2013
[  478.323] (==) Using config file: "/etc/X11/xorg.conf"
[  478.329] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  478.330] (==) ServerLayout "Layout0"
[  478.330] (**) |-->Screen "Screen0" (0)
[  478.330] (**) |  |-->Monitor "Monitor0"
[  478.330] (**) |  |-->Device "Device0"
[  478.330] (**) |-->Input Device "Keyboard0"
[  478.330] (**) |-->Input Device "Mouse0"
[  478.330] (**) Option "Xinerama" "0"
[  478.331] (==) Automatically adding devices
[  478.331] (==) Automatically enabling devices
[  478.331] (==) Automatically adding GPU devices
[  478.331] (WW) The directory "/usr/share/fonts/local" does not exist.
[  478.331]        Entry deleted from font path.
[  478.331] (WW) The directory "/usr/share/fonts/CID" does not exist.
[  478.331]        Entry deleted from font path.
[  478.331] (**) FontPath set to:
        /usr/lib64/X11/fonts/misc/:unscaled,
        /usr/lib64/X11/fonts/100dpi/:unscaled,
        /usr/lib64/X11/fonts/75dpi/:unscaled,
        /usr/lib64/X11/fonts/misc/,
        /usr/lib64/X11/fonts/Type1/,
        /usr/lib64/X11/fonts/Speedo/,
        /usr/lib64/X11/fonts/100dpi/,
        /usr/lib64/X11/fonts/75dpi/,
        /usr/lib64/X11/fonts/cyrillic/,
        /usr/lib64/X11/fonts/TTF/,
        /usr/share/fonts/TTF,
        /usr/share/fonts/OTF,
        /usr/share/fonts/Type1,
        /usr/share/fonts/misc,
        /usr/share/fonts/75dpi/:unscaled,
        /usr/share/fonts/100dpi/:unscaled,
        /usr/share/fonts/75dpi,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/cyrillic
[  478.331] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  478.331] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  478.331] (WW) Disabling Keyboard0
[  478.331] (WW) Disabling Mouse0
[  478.331] (II) Loader magic: 0x7f65a0
[  478.331] (II) Module ABI versions:
[  478.331]        X.Org ANSI C Emulation: 0.4
[  478.331]        X.Org Video Driver: 14.1
[  478.331]        X.Org XInput driver : 19.1
[  478.331]        X.Org Server Extension : 7.0
[  478.333] (--) PCI:*(0:0:13:0) 10de:03d0:103c:2a6c rev 162, Mem @ 0xfb000000/16777216, 0xe0000000/268435456, 0xfc000000/16777216, BIOS @ 0x????????/131072
[  478.334] (II) Open ACPI successful (/var/run/acpid.socket)
[  478.340] Initializing built-in extension Generic Event Extension
[  478.345] Initializing built-in extension SHAPE
[  478.351] Initializing built-in extension MIT-SHM
[  478.356] Initializing built-in extension XInputExtension
[  478.361] Initializing built-in extension XTEST
[  478.365] Initializing built-in extension BIG-REQUESTS
[  478.368] Initializing built-in extension SYNC
[  478.372] Initializing built-in extension XKEYBOARD
[  478.376] Initializing built-in extension XC-MISC
[  478.379] Initializing built-in extension XINERAMA
[  478.383] Initializing built-in extension XFIXES
[  478.386] Initializing built-in extension RENDER
[  478.389] Initializing built-in extension RANDR
[  478.392] Initializing built-in extension COMPOSITE
[  478.395] Initializing built-in extension DAMAGE
[  478.398] Initializing built-in extension MIT-SCREEN-SAVER
[  478.401] Initializing built-in extension DOUBLE-BUFFER
[  478.404] Initializing built-in extension RECORD
[  478.406] Initializing built-in extension DPMS
[  478.409] Initializing built-in extension X-Resource
[  478.412] Initializing built-in extension XVideo
[  478.414] Initializing built-in extension XVideo-MotionCompensation
[  478.417] Initializing built-in extension XFree86-VidModeExtension
[  478.419] Initializing built-in extension XFree86-DGA
[  478.422] Initializing built-in extension XFree86-DRI
[  478.424] Initializing built-in extension DRI2
[  478.424] (II) LoadModule: "glx"
[  478.424] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[  478.446] (II) Module glx: vendor="NVIDIA Corporation"
[  478.446]        compiled for 4.0.2, module version = 1.0.0
[  478.446]        Module class: X.Org Server Extension
[  478.446] (II) NVIDIA GLX Module  304.64  Tue Oct 30 11:18:32 PDT 2012
[  478.448] Loading extension GLX
[  478.448] (II) LoadModule: "nvidia"
[  478.449] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[  478.450] (II) Module nvidia: vendor="NVIDIA Corporation"
[  478.450]        compiled for 4.0.2, module version = 1.0.0
[  478.450]        Module class: X.Org Video Driver
[  478.452] ================ WARNING WARNING WARNING WARNING ================
[  478.461] This server has a video driver ABI version of 14.1 that is not
supported by this NVIDIA driver.  Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[  478.463] =================================================================
[  478.465] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[  478.465] (II) UnloadModule: "nvidia"
[  478.465] (II) Unloading nvidia
[  478.465] (EE) Failed to load module "nvidia" (module requirement mismatch, 0)
[  478.465] (EE) No drivers available.
[  478.469]
Fatal server error:
[  478.470] no screens found
[  478.472] (EE)
Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
[  478.480] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  478.482] (EE)

I think this is the same problem (doesn't appear to be a solution):
http://www.linuxquestions.org/questi...6/#post4912662

jtsn 03-20-2013 01:04 PM

Add vga=normal to the kernel command line to fix the text consoles. As nVidia states, using vesafb.ko together with nvidia.ko is not a supported configuration.

allend 03-20-2013 06:36 PM

Changing back to 'vga = normal' does not fix the issue with my setup (nVidia 304.84 driver, X Server 1.14.0 and 3.7.10 kernel with my GeForce 7300 LE).
My usual setting of 'vga = 795' has worked with many previous nVidia driver versions.
This is a bug that I have known to come and go since I have been using the nVidia driver. Normally it just affects log out from X, but this time round I cannot access other consoles even while X is running.

wildwizard 03-21-2013 06:04 AM

Quote:

Originally Posted by jtsn (Post 4915361)
Add vga=normal to the kernel command line to fix the text consoles.

That will not fix this bug.

willysr 03-21-2013 08:02 AM

The proper solution is wait for NVidia to fix this problem

ponce 03-21-2013 10:05 AM

they will have to fix also incompatibilities with the present X input ABI in -current: you should find this in your Xorg.0.log
Quote:

(WW) NVIDIA: This server has an unsupported input driver ABI version (have 19.1, need < 19.0). The driver will continue to load, but may behave strangely.
here, it manifests with garbled keyboard input after playing for a while an SDL/OpenGL game.

MLanden 04-02-2013 10:44 PM

Great news,slackers...for those using the older GeForce 6/7's..the upgrade to the 304.88 blob fixes the broken TTY that was made by 304.84

Other upgrades were also released

https://devtalk.nvidia.com/default/t...iver-releases/

ponce 04-05-2013 02:04 PM

Quote:

Originally Posted by ponce (Post 4916010)
they will have to fix also incompatibilities with the present X input ABI in -current

yupz, 313.30 fixes this too.


All times are GMT -5. The time now is 03:33 AM.