[arch-general] Switching back from nouveau doesn't work - Was: Proprietary nvidia driver for different kernels

Ralf Mardorf ralf.mardorf at alice-dsl.net
Tue Sep 18 10:58:31 EDT 2012


Hi :)

I tried to switch back to nv for the kernel-rt, but it failed. GDM
doesn't start anymore.

[root at archlinux spinymouse]# pacman -Rss xf86-video-nouveau
Targets (1): xf86-video-nouveau-1.0.2-1
[root at archlinux spinymouse]# rm /etc/X11/xorg.conf
[root at archlinux spinymouse]# cp /etc/X11/xorg.conf.nv /etc/X11/xorg.conf
[root at archlinux spinymouse]# pacman -Rdds nouveau-dri libgl
Targets (3): libdrm-nouveau1-2.4.33-1  libgl-8.0.4-3
nouveau-dri-8.0.4-2
[root at archlinux spinymouse]# shutdown -r now



GDM won't start anymore, I booted another linux and continued with:



spinymouse at precise:~$ sudo sed -i 's/options nouveau modeset=1/#options
nouveau modeset=1/' /mnt/archlinux/etc/modprobe.d/
sed: can't read /mnt/archlinux/etc/modprobe.d/modprobe.conf: No such
file or directory

spinymouse at precise:~$ ls /mnt/archlinux/etc/modprobe.d/modprobe.conf
ls: cannot access /mnt/archlinux/etc/modprobe.d/modprobe.conf: No such
file or directory

spinymouse at precise:~$ grep nouveau /mnt/archlinux/etc/mkinitcpio.conf
spinymouse at precise:~$



Useless since there's nothing to do. I didn't switch to systemd.



spinymouse at precise:~$ grep \(EE /mnt/archlinux/var/log/Xorg.0.log
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    17.176] (EE) Failed to load module "glx" (module does not exist, 0)
[    17.178] (EE) Failed to load module "v4l" (module does not exist, 0)
[    17.247] (EE) NV: The PCI device 0x10de01d3 (GeForce 7300 SE) at
01 at 00:00:0 has a kernel module claiming it.
[    17.247] (EE) NV: This driver cannot operate until it has been
unloaded.
[    17.248] (EE) No devices detected.



Any hints are welcome.

Regards,
Ralf

PS: I did jitter tests using the nouveau driver, but forgot to take care
about the CPU frequency scaling. I don't know if it was set up to
performance, so I need to do the tests again. IOW first I'll install
nouveau again, but I also want to be able to switch back to nv.

This is an older test:
http://www.digipedia.pl/usenet/thread/11091/63/

No Xruns! As long as peak is > 1ms, it's still > 0.2ms, everything
should be ok for my taste,
so even while the current tests are worse compared with the old tests,
peak jitter perhaps still is inaudible, even for me and I'm very
sensitive to timing issues, phasing and things like that.

However, it's strange to get Xruns when doing a MIDI latency test, this
seems to be a serious issue.

And now today's test:
[spinymouse at archlinux ~]$ uname -r
3.4.4-rt14-1-rt

[spinymouse at archlinux ~]$ hdspmixer
Card 0: RME AIO S/N 0x579bcc at 0xfdbf0000, irq 18
Card 1: TerraTec EWX24/96 at 0xbf00, irq 20
Card 2: TerraTec EWX24/96 at 0xbb00, irq 21

[spinymouse at archlinux ~]$ sudo chgrp audio /dev/hpet
[spinymouse at archlinux ~]$ sudo chmod g+rw /dev/hpet
[spinymouse at archlinux ~]$ sudo modprobe snd-hrtimer

[spinymouse at archlinux ~]$ /etc/rc.d/rtirq status | grep n
  281 FF      85   - 125  0.0 S    irq/18-snd_hdsp	
  283 FF      80   - 120  0.0 S    irq/20-snd_ice1	
  304 FF      79   - 119  0.0 S    irq/21-snd_ice1	
  330 FF      50   -  90  0.0 S    irq/18-nouveau

[spinymouse at archlinux ~]$ jackd --sync -Xalsarawmidi -dalsa -r48000
-p256
jackdmp 1.9.8
JackALSARawMidiDriver::Attach - input port registered (alias='system:1-1
HDSPMx579bcc MIDI 1 1 in').
JackALSARawMidiDriver::Attach - input port registered (alias='system:2-1
TerraTec EWX24/96 MIDI 1 in').
JackALSARawMidiDriver::Attach - output port registered
(alias='system:1-1 HDSPMx579bcc MIDI 1 1 out').
JackALSARawMidiDriver::Attach - output port registered
(alias='system:2-1 TerraTec EWX24/96 MIDI 1 out').

[spinymouse at archlinux ~]$ jack_midi_latency_test -m 3 -s 8192 -t 5
"system:1-1 HDSPMx579bcc MIDI 1 1 out" "system:1-1 HDSPMx579bcc MIDI 1 1
in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.72 ms (562.26 frames)
Lowest latency: 11.67 ms (560 frames)
Highest latency: 11.84 ms (568 frames)
Peak MIDI jitter: 0.17 ms (8 frames)
Average MIDI jitter: 0.03 ms (0.23 frames)

Jitter Plot:
0.0 - 0.1 ms: 8185
0.1 - 0.2 ms: 2
     > 10 ms: 5

Latency Plot:
11.6 - 11.7 ms: 1068
11.7 - 11.8 ms: 7109
11.8 - 11.9 ms: 10
     > 21.6 ms: 5

Messages sent: 8192
Messages received: 8192
Xruns: 5

[spinymouse at archlinux ~]$ jack_midi_latency_test -m 3 -s 8192 -t 5
"system:2-1 TerraTec EWX24/96 MIDI 1 out" "system:2-1 TerraTec EWX24/96
MIDI 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.72 ms (562.71 frames)
Lowest latency: 11.69 ms (561 frames)
Highest latency: 11.81 ms (567 frames)
Peak MIDI jitter: 0.12 ms (6 frames)
Average MIDI jitter: 0.01 ms (0.09 frames)

Jitter Plot:
0.0 - 0.1 ms: 8192

Latency Plot:
11.6 - 11.7 ms: 1
11.7 - 11.8 ms: 8187
11.8 - 11.9 ms: 4

Messages sent: 8192
Messages received: 8192



More information about the arch-general mailing list