Bug 4675 - Nvidia proprietary driver doesn't work on GT216
Summary: Nvidia proprietary driver doesn't work on GT216
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Anssi Hannula
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
: 4765 4766 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-24 14:44 CET by Pierre Jarillon
Modified: 2013-04-07 18:20 CEST (History)
7 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Pierre Jarillon 2012-02-24 14:44:16 CET
Description of problem:
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA:     system's kernel log for additional error messages.
There is no more information in syslog and Xorg.0.log
Back to nouveau which works.

Nvidia was working fine with Mageia 1 but failed after Mageia 2 beta 2 with all the kernels of alpha 3.

My hardware:
VIDIA GeForce 6100 to GeForce 360: nVidia Corporation|GT216 [GeForce GT 220] [DISPLAY_VGA] (vendor:10de device:0a20) (rev: a2)

My software: Mageia 2 beta1 x86_64 with all updates (2012/02/24).
Comment 1 Manuel Hiebel 2012-02-28 12:28:00 CET
Any ideas, guys ?

CC: (none) => anssi.hannula, thierry.vignaud, tmb

Comment 2 Thierry Vignaud 2012-02-28 12:57:23 CET
What reports "/sbin/modinfo nvidia" ?

Summary: Nvidia cannot be installed => Nvidia proprietary driver doesn't work on GT216

Thierry Vignaud 2012-02-28 12:57:28 CET

Keywords: (none) => NEEDINFO

Comment 3 Anssi Hannula 2012-02-28 18:38:46 CET
Also useful are the outputs of "dkms status" and "update-alternatives --display gl_conf".
Comment 4 Pierre Jarillon 2012-02-29 00:11:25 CET
# /sbin/modinfo nvidia
ERROR: modinfo: could not find module nvidia

# update-alternatives --display gl_conf
gl_conf - status is manual.
 link currently points to /etc/ld.so.conf.d/GL/standard.conf
/etc/ld.so.conf.d/GL/standard.conf - priority 500
 slave xorg_extra_modules: /usr/lib64/xorg/xorg-1.6-extra-modules
Current `best' version is /etc/ld.so.conf.d/GL/standard.conf.

In the standard install from the DVD, dkms is not installed. I just install dkms.
# dkms status gives nothing. Just a new prompter.
Comment 5 Anssi Hannula 2012-02-29 00:22:24 CET
According to the output of the commands you don't have the NVIDIA driver enabled, so it cannot work.

Also, "dkms" command (in "dkms-minimal package) is a dependency of x11-driver-video-nvidia-current, where the error message in the description comes from. I.e. I don't see how you could get that error message without dkms-minimal installed.

Are you sure the output is from the same system?
Comment 6 Thierry Vignaud 2012-02-29 13:28:07 CET
Was "install nvidia driver" just manually write "nvidia" in /etc/X11/xorg.conf?
Comment 7 Pierre Jarillon 2012-03-01 22:58:12 CET
If I install nvidia driver manually I have a message saying:
Failed to load module "nvidia" (module does not exist, 0)

# rpm -qa "*nvidia*"
nvidia-current-kernel-3.2.6-desktop-3.mga2-290.10-12.mga2.nonfree
x11-driver-video-nvidia-current-290.10-1.mga2.nonfree
nvidia-current-kernel-3.2.9-desktop-1.mga2-290.10-15.mga2.nonfree
dkms-nvidia-current-290.10-1.mga2.nonfree
nvidia-current-kernel-desktop-latest-290.10-15.mga2.nonfree
nvidia-current-kernel-3.2.7-desktop-1.mga2-290.10-13.mga2.nonfree
nvidia-current-doc-html-290.10-1.mga2.nonfree
Comment 8 Anssi Hannula 2012-03-01 23:03:00 CET
That output of 'rpm -qa "*nvidia"' doesn't seem to correspond to the output of the earlier commands (or there is something very strange going on).

Please try to use the NVIDIA driver, and if it fails, then run the commands:
/sbin/modinfo nvidia
update-alternatives --display gl_conf
dkms status
rpm -qa '*nvidia*'

*before* altering the configuration again in any way so that we can try to determine where the issue lies.
Comment 9 Manuel Hiebel 2012-03-02 20:03:16 CET
*** Bug 4766 has been marked as a duplicate of this bug. ***

CC: (none) => puntogil

Comment 10 gil gil 2012-03-03 23:21:30 CET
Is this normal?
 42/59: kernel-desktop586-3.2.9-2.mga2
                                
########################################################################################
Subroutine detect_devices::formatError redefined at
/usr/lib/libDrakX/detect_devices.pm line 12
"my" variable $_pkg masks earlier declaration in same scope at
        /usr/lib/libDrakX/fs/format.pm line 199 (#1)
    (W misc) A "my", "our" or "state" variable has been redeclared in the
    current scope or statement, effectively eliminating all access to the
    previous instance.  This is almost always a typographical error.  Note
    that the earlier variable will still exist until the end of the scope
    or until all closure referents to it are destroyed.

"my" variable $cmd masks earlier declaration in same scope at
        /usr/lib/libDrakX/fs/format.pm line 199 (#1)

Use of uninitialized value in pattern match (m//) at
        /usr/lib/libDrakX/detect_devices.pm line 218 (#2)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.

    To help you figure out what was undefined, perl will try to tell you the
    name of the variable (if any) that was undefined. In some cases it cannot
    do this, so it also tells you what operation you used the undefined value
    in.  Note, however, that perl optimizes your program and the operation
    displayed in the warning may not necessarily appear literally in your
    program.  For example, "that $foo" is usually optimized into "that "
    . $foo, and the warning will refer to the concatenation (.) operator,
    even though there is no . in your program.

Use of uninitialized value $o_prefix in concatenation (.) or string at
        /usr/lib/perl5/vendor_perl/5.14.1/MDK/Common/System.pm line 345 (#2)
Use of uninitialized value $o_prefix in concatenation (.) or string at
        /usr/lib/perl5/vendor_perl/5.14.1/MDK/Common/System.pm line 352 (#2)
Use of uninitialized value in string eq at /usr/lib/libDrakX/fs/type.pm line
        290 (#2)
Use of uninitialized value in string eq at /usr/lib/libDrakX/fs/type.pm line
        298 (#2)
Use of uninitialized value in concatenation (.) or string at
        /usr/lib/libDrakX/fs/type.pm line 309 (#2)
Use of uninitialized value in string eq at /usr/lib/libDrakX/fs/type.pm line
        323 (#2)
Use of uninitialized value in string eq at /usr/lib/libDrakX/fs/type.pm line
        322 (#2)
Use of uninitialized value in string eq at /usr/lib/libDrakX/fs/type.pm line
        324 (#2)
Use of uninitialized value in string eq at /usr/lib/libDrakX/fs/get.pm line 116
(#2)
Use of uninitialized value in pattern match (m//) at
        /usr/lib/libDrakX/devices.pm line 215 (#2)
Use of uninitialized value in pattern match (m//) at
        /usr/lib/libDrakX/bootloader.pm line 180 (#2)
Use of uninitialized value in pattern match (m//) at
        /usr/lib/libDrakX/bootloader.pm line 183 (#2)
Use of uninitialized value in concatenation (.) or string at
        /usr/lib/libDrakX/bootloader.pm line 711 (#2)
Use of uninitialized value in split at /usr/lib/libDrakX/modules.pm line 98
(#2)
I: *** Including module: dash ***
I: *** Including module: i18n ***
I: *** Including module: rpmversion ***
I: *** Including module: plymouth ***
I: *** Including module: kernel-modules ***
I: *** Including module: resume ***
I: *** Including module: rootfs-block ***
I: *** Including module: terminfo ***
I: *** Including module: udev-rules ***
I: Skipping udev rule: 50-udev.rules
I: Skipping udev rule: 95-late.rules
I: Skipping udev rule: 50-firmware.rules
I: *** Including module: usrmount ***
I: *** Including module: base ***
I: *** Including module: fs-lib ***
I: *** Including module: shutdown ***
I: Skipping program kexec as it cannot be found and is flagged to be optional
I: *** Including modules done ***
I: Wrote /boot/initrd-3.2.9-desktop586-2.mga2.img:
I: -rw-r--r-- 1 root root 5944413 mar  3 23:18
/boot/initrd-3.2.9-desktop586-2.mga2.img
Subroutine detect_devices::formatError redefined at
/usr/lib/libDrakX/detect_devices.pm line 12
Use of uninitialized value in string eq at /usr/lib/libDrakX/detect_devices.pm
        line 67 (#2)
Use of uninitialized value in pattern match (m//) at
        /usr/lib/libDrakX/bootloader.pm line 1764 (#2)
Use of uninitialized value $m in quotemeta at /usr/lib/libDrakX/fs/get.pm line
        105 (#2)
Use of uninitialized value in numeric lt (<) at /usr/lib/libDrakX/fs/get.pm
        line 105 (#2)
Use of uninitialized value $vga in concatenation (.) or string at
        /usr/lib/libDrakX/bootloader.pm line 1812 (#2)
Comment 11 Manuel Hiebel 2012-03-03 23:36:47 CET
please don't mix bugs, tmb has open one https://bugs.mageia.org/show_bug.cgi?id=4783
Comment 12 Marja Van Waes 2012-03-19 11:37:56 CET
(In reply to comment #8)
> That output of 'rpm -qa "*nvidia"' doesn't seem to correspond to the output of
> the earlier commands (or there is something very strange going on).
> 
> Please try to use the NVIDIA driver, and if it fails, then run the commands:
> /sbin/modinfo nvidia
> update-alternatives --display gl_conf
> dkms status
> rpm -qa '*nvidia*'
> 
> *before* altering the configuration again in any way so that we can try to
> determine where the issue lies.



Pierre, could you please reply to comment 8? If you won't reply within two weeks from now, I will have to close this bug as OLD. Thank you.

CC: (none) => marja11

Comment 13 Xavier BERTAUX 2012-03-19 21:01:15 CET
*** Bug 4765 has been marked as a duplicate of this bug. ***

CC: (none) => bertauxx

Comment 14 Pierre Jarillon 2012-03-20 19:10:49 CET
My machine is freshly updated. If I select nvidia instead of nouveau, the screen become black because there is no more VGA video signal. Nothing is connected on the others output.

[root@gaina ~]# /sbin/modinfo nvidia
ERROR: modinfo: could not find module nvidia 

[root@gaina ~]# update-alternatives --display gl_conf
gl_conf - status is manual.
 link currently points to /etc/ld.so.conf.d/GL/standard.conf
/etc/ld.so.conf.d/GL/standard.conf - priority 500
 slave xorg_extra_modules: /usr/lib64/xorg/xorg-1.6-extra-modules
/etc/nvidia-current/ld.so.conf - priority 9700
 slave xorg_extra_modules: /usr/lib64/nvidia-current/xorg
 slave nvidia-debugdump: /usr/lib64/nvidia-current/bin/nvidia-debugdump
 slave nvidia-smi.1.xz: /usr/share/man/man1/alt-nvidia-current-smi.1.xz
 slave lib64vdpau_nvidia.so.1: /usr/lib64/nvidia-current/vdpau/libvdpau_nvidia.so.295.20
 slave nvidia_settings: /usr/lib64/nvidia-current/bin/nvidia-settings
 slave libvdpau_nvidia.so.1: /usr/lib/nvidia-current/vdpau/libvdpau_nvidia.so.295.20
 slave nvidia_desktop: /usr/share/nvidia-current/mageia-nvidia-settings.desktop
 slave nvidia_xconfig: /usr/lib64/nvidia-current/bin/nvidia-xconfig
 slave nvidia.icd: /etc/nvidia-current/nvidia.icd
 slave display-driver.conf: /etc/nvidia-current/modprobe.conf
 slave nvidia-settings.xinit: /etc/nvidia-current/nvidia-settings.xinit
 slave man_nvidiasettings.xz: /usr/share/man/man1/alt-nvidia-current-settings.1.xz
 slave man_nvidiaxconfig.xz: /usr/share/man/man1/alt-nvidia-current-xconfig.1.xz
 slave xvmcconfig: /etc/nvidia-current/XvMCConfig
 slave nvidia_bug_report: /usr/lib64/nvidia-current/bin/nvidia-bug-report.sh
 slave nvidia_smi: /usr/lib64/nvidia-current/bin/nvidia-smi
Current `best' version is /etc/nvidia-current/ld.so.conf.

[root@gaina ~]# dkms status
nvidia-current, 295.20-2.mga2.nonfree, 3.3.0-desktop-0.rc6.1.mga2, x86_64: installed 
nvidia-current, 295.20-2.mga2.nonfree, 3.3.0-desktop-0.rc7.1.mga2, x86_64: installed 
nvidia-current, 295.20-2.mga2.nonfree, 3.3.0-desktop-1.mga2, x86_64: installed-binary from 3.3.0-desktop-1.mga2
nvidia-current, 290.10-1.mga2.nonfree, 3.2.9-desktop-2.mga2, x86_64: installed-binary from 3.2.9-desktop-2.mga2
nvidia-current, 290.10-1.mga2.nonfree, 3.2.7-desktop-1.mga2, x86_64: installed-binary from 3.2.7-desktop-1.mga2
nvidia-current, 295.20-2.mga2.nonfree, 3.3.0-desktop-0.rc6.1.mga2, x86_64: installed-binary from 3.3.0-desktop-0.rc6.1.mga2
nvidia-current, 290.10-1.mga2.nonfree, 3.2.9-desktop-1.mga2, x86_64: installed-binary from 3.2.9-desktop-1.mga2
nvidia-current, 295.20-2.mga2.nonfree, 3.3.0-desktop-0.rc7.1.mga2, x86_64: installed-binary from 3.3.0-desktop-0.rc7.1.mga2

[root@gaina ~]# rpm -qa '*nvidia*'
nvidia-current-kernel-3.3.0-desktop-0.rc7.1.mga2-295.20-2.mga2.nonfree
nvidia-current-kernel-3.2.7-desktop-1.mga2-290.10-13.mga2.nonfree
nvidia-current-kernel-desktop-latest-295.20-3.mga2.nonfree
nvidia-current-kernel-3.2.9-desktop-1.mga2-290.10-15.mga2.nonfree
dkms-nvidia-current-295.20-2.mga2.nonfree
x11-driver-video-nvidia-current-295.20-2.mga2.nonfree
nvidia-current-doc-html-295.20-2.mga2.nonfree
nvidia-current-kernel-3.3.0-desktop-0.rc6.1.mga2-295.20-1.mga2.nonfree
nvidia-current-kernel-3.3.0-desktop-1.mga2-295.20-3.mga2.nonfree
nvidia-current-kernel-3.2.9-desktop-2.mga2-290.10-16.mga2.nonfree
Marja Van Waes 2012-03-21 06:30:16 CET

Keywords: NEEDINFO => (none)

Comment 15 Marja Van Waes 2012-05-26 13:03:34 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 16 Marja Van Waes 2012-07-15 06:28:03 CEST
@ Pierre
@ Xavier

This bug was filed agains old cauldron, from before Mageia 2 release

Is this bug still valid for Mageia 2 and/or for *current* cauldron, or did it somehow get fixed?

Please tell us within two weeks from now. If you don't reply again, we'll have to close this bug as old.
Comment 17 roelof Wobben 2012-12-31 15:05:51 CET
@ Pierre
@ Xavier

This bug was filed agains old cauldron, from before Mageia 2 release

Is this bug still valid for Mageia 2 and/or for *current* cauldron, or did it
somehow get fixed?

Please tell us within two weeks from now. If you don't reply again, we'll have
to close this bug as old.

CC: (none) => r.wobben

Comment 18 Xavier BERTAUX 2012-12-31 18:17:39 CET
for me work fine now on Mageia2 and cauldron in 64 bits
Comment 19 Pierre Jarillon 2012-12-31 19:06:07 CET
I still use nouveau with Mageia2 but Nividia works fine with Mageia3  and Nvidia drive on the same hardware.
Comment 20 Pierre Jarillon 2013-01-01 02:34:23 CET
I just try mageia 2 (updated): nvidia cannot be used. Only nouveau works and works fine.
When I test nvidia, the screen becomes black and the computer is locked.

# rpm -qa "*nvidia*"
nvidia-current-kernel-desktop-latest-295.71-1.mga2.nonfree
dkms-nvidia-current-295.71-1.mga2.nonfree
nvidia-current-kernel-3.3.6-desktop-2.mga2-295.49-4.mga2.nonfree
nvidia-current-kernel-3.3.8-desktop-2.mga2-295.71-1.mga2.nonfree
nvidia-current-doc-html-295.71-1.mga2.nonfree
x11-driver-video-nvidia-current-295.71-1.mga2.nonfree

# uname -a
Linux gaina 3.3.8-desktop-2.mga2 #1 SMP Mon Jul 30 21:35:06 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

On the same hardware, with mageia 3 beta1 updated, nvidia works fine.
roelof Wobben 2013-01-01 10:39:45 CET

Assignee: bugsquad => anssi.hannula

Comment 21 Marja Van Waes 2013-03-15 20:05:49 CET
(In reply to Xavier BERTAUX from comment #18)
> for me work fine now on Mageia2 and cauldron in 64 bits

(In reply to Pierre Jarillon from comment #19)
> I still use nouveau with Mageia2 but Nividia works fine with Mageia3  and
> Nvidia drive on the same hardware.

(In reply to Pierre Jarillon from comment #20)
> I just try mageia 2 (updated): nvidia cannot be used. Only nouveau works and
> works fine.
> When I test nvidia, the screen becomes black and the computer is locked.
> 

Thanks Xavier and Pierre for the feedback 

@ Xavier
Do you have a GT216, too?

Version: Cauldron => 2

Comment 22 Pierre Jarillon 2013-04-07 18:20:28 CEST
I have just installed Mageia3 beta4 on the machine with GT216. I made the updates in the install process.
Works perfectly.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.