Bug#830721: Failed to load module "nv" (module does not exist, 0)

2016-07-10 Thread Andreas Beckmann
Hi Karsten,

You are missing a xorg.conf - see README.Debian
(or use the driver packages from jessie-backports, these automatically
configure Xorg)


Andreas



Bug#830721: Failed to load module "nv" (module does not exist, 0)

2016-07-10 Thread Luca Boccassi
Control: tags -1 moreinfo

On Sun, 2016-07-10 at 20:36 +0200, Karsten Malcher wrote:
> Package: nvidia-driver
> Version: 340.96-1
> Severity: normal
> 
> 
> Hello,
> 
> i changed the card from ATI to NVIDIA after the ATI card died.
> After that i uninstalled all ATI stuff.
> Then i reinstalled the xserver and the nvidia-driver.
> It says it was compiling the nvidia driver and did report no error.
> 
> But it is not working - there is no driver!
> 
> Why graphics is such a pain in original Debian?
> When i boot Knoppix i always have a running X!
> 
> Cheers
> Karsten

How did you install the drivers? Make sure you reboot afterwards to
unload and blacklist nouveau!

Logs show that:

1) You have a very old 304.125 module loaded. Remove any *legacy-304xx
packages, and make sure the kernel modules from dkms are gone too
2) Xorg is still loading nouveau, so make sure update-alt is correct:

- "sudo update-alternatives --config glx" should have /usr/lib/nvidia
- "sudo update-alternatives --config nvidia" should
have /usr/lib/nvidia/current

Kind regards,
Luca Boccassi


signature.asc
Description: This is a digitally signed message part


Bug#830721: Failed to load module "nv" (module does not exist, 0)

2016-07-10 Thread Karsten Malcher
Package: nvidia-driver
Version: 340.96-1
Severity: normal


Hello,

i changed the card from ATI to NVIDIA after the ATI card died.
After that i uninstalled all ATI stuff.
Then i reinstalled the xserver and the nvidia-driver.
It says it was compiling the nvidia driver and did report no error.

But it is not working - there is no driver!

Why graphics is such a pain in original Debian?
When i boot Knoppix i always have a running X!

Cheers
Karsten


-- Package-specific info:
uname -a:
Linux PC8 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1 (2016-07-04) x86_64 GNU/Linux

/proc/version:
Linux version 3.16.0-4-amd64 (debian-ker...@lists.debian.org) (gcc version 
4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian
3.16.36-1 (2016-07-04)

/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module  304.125  Mon Dec  1 19:58:28 
PST 2014
GCC version:  gcc version 4.8.4 (Debian 4.8.4-1)

lspci 'VGA compatible controller [0300]':
02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [GeForce GT 
430] [10de:0de1] (rev a1) (prog-if 00
[VGA controller])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [100 v1] Virtual Channel
Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
Arb:Fixed- WRR32- WRR64- WRR128-
Ctrl:   ArbSelect=Fixed
Status: InProgress-
VC0:Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb:Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [128 v1] Power Budgeting 
Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=024 
Kernel driver in use: nvidia

dmesg:
[0.00] AGP: No AGP bridge found
[0.00] AGP: Checking aperture...
[0.00] AGP: No AGP bridge found
[0.00] AGP: Node 0: aperture [bus addr 0x4d9a00-0x4d9bff] (32MB)
[0.00] Console: colour VGA+ 80x25
[0.201784] vgaarb: setting as boot device: PCI::02:00.0
[0.201784] vgaarb: device added: 
PCI::02:00.0,decodes=io+mem,owns=io+mem,locks=none
[0.201784] vgaarb: loaded
[0.201784] vgaarb: bridge control possible :02:00.0
[0.926641] Linux agpgart interface v0.103
[4.832218] snd_hda_intel :02:00.1: Handle VGA-switcheroo audio client
[4.962472] nvidia: module license 'NVIDIA' taints kernel.
[4.986801] vgaarb: device changed decodes: 
PCI::02:00.0,olddecodes=io+mem,decodes=none:owns=none
[4.987257] [drm] Initialized nvidia-drm 0.0.0 20140818 for :02:00.0 on 
minor 0
[4.987263] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  304.125  Mon Dec 
 1 19:58:28 PST 2014
[5.620508] input: HDA NVidia HDMI/DP,pcm=3 as 
/devices/pci:00/:00:02.0/:02:00.1/sound/card0/input7
[5.620575] input: HDA NVidia HDMI/DP,pcm=7 as 
/devices/pci:00/:00:02.0/:02:00.1/sound/card0/input8
[5.620637] input: HDA NVidia HDMI/DP,pcm=8 as 
/devices/pci:00/:00:02.0/:02:00.1/sound/card0/input9
[5.620695] input: HDA NVidia HDMI/DP,pcm=9 as 
/devices/pci:00/:00:02.0/:02:00.1/sound/card0/input10

Device node permissions:
crw-rw+ 1 root video 226,   0 Jul 10 20:11 /dev/dri/card0
crw-rw+ 1 root video 195,   0 Jul 10 20:11 /dev/nvidia0
crw-rw+ 1 root video 195, 255 Jul 10 20:11 /dev/nvidiactl
video:x:44:karsten,multimedia

OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root   15 Jul 10 19:56 /etc/alternatives/glx -> 
/usr/lib/nvidia
lrwxrwxrwx 1 root root   44 Jul 10 19:56 
/etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu ->
/usr/lib/x86_64-linux-gnu/nvidia/libEGL.so.1
lrwxrwxrwx 1 root root   41 Jul 10 19:56 
/etc/alternatives/glx--libGL.so.1-i386-linux-gnu ->
/usr/lib/i386-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root   41 Jul 10 19:56 
/etc/alternatives/glx--libGL.so.1-i386-linux-gnu ->
/usr/lib/i386-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root   43 Jul 10 19:56 
/etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu ->
/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root   43 Jul 10 19:56 
/etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu ->
/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root   50 Jul 10 19:56 
/etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu ->
/usr/lib/x86_64-linux-gnu/nvidia/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root   50 Jul 10 19:56 
/etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu ->
/usr/lib/x86_64-linux-gnu/nvidia/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root   47 Jul 10 19:56 
/etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu ->
/usr/lib/x86_64-linux-gnu/nvidia/libGLESv2.so.2
lrwxrwxrwx 1 root root   47 Jul 10 19:56