You are not logged in.

#1 2012-09-28 09:09:34

ksemeks
Member
Registered: 2009-12-31
Posts: 51

Cannot blacklist nouveau

Hi,
so I tried to blacklist the nouveau module but it seems it doesn't work.
I have a intel graphic card.

[ksemeks@archxps ~]$ lsinitcpio /boot/initramfs-linux.img | grep nouveau
[ksemeks@archxps ~]$ grep nouveau /etc/rc.conf 
[ksemeks@archxps ~]$ grep nouveau /var/log/Xorg.0.log
[ksemeks@archxps ~]$ ls /etc/modprobe.d/
modprobe.conf  nouveau.conf
[ksemeks@archxps ~]$ cat /etc/modprobe.d/modprobe.conf 
blacklist nouveau
[ksemeks@archxps ~]$ cat /etc/modprobe.d/nouveau.conf 
blacklist nouveau
[ksemeks@archxps ~]$ cat /etc/mkinitcpio.conf 
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run.  Advanced users may wish to specify all system modules
# in this array.  For instance:
#     MODULES="piix ide_disk reiserfs"
MODULES="i915"
....
[ksemeks@archxps ~]$ lsmod
Module                  Size  Used by
fuse                   68908  2 
joydev                  9991  0 
snd_hda_codec_hdmi     23704  1 
snd_hda_codec_realtek    59152  1 
btusb                  11892  0 
bluetooth             193532  1 btusb
nouveau               872353  0 
mxm_wmi                 1425  1 nouveau
ttm                    64448  1 nouveau
arc4                    1410  2 
iwlwifi               304490  0 
snd_hda_intel          25700  3 
snd_hda_codec          97432  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
microcode              12377  0 
uvcvideo               72339  0 
aesni_intel            42907  0 
snd_hwdep               6300  1 snd_hda_codec
videobuf2_vmalloc       2468  1 uvcvideo
mac80211              416391  1 iwlwifi
snd_pcm                74926  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
iTCO_wdt                5989  0 
videobuf2_memops        2246  1 videobuf2_vmalloc
aes_x86_64              7508  1 aesni_intel
iTCO_vendor_support     1929  1 iTCO_wdt
videobuf2_core         20575  1 uvcvideo
aes_generic            26138  2 aesni_intel,aes_x86_64
videodev              100564  2 uvcvideo,videobuf2_core
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
ghash_clmulni_intel     4237  0 
serio_raw               4689  0 
snd_timer              18966  1 snd_pcm
sdhci_pci              10833  0 
cryptd                  8741  2 ghash_clmulni_intel,aesni_intel
dell_wmi                1517  0 
cfg80211              173210  2 iwlwifi,mac80211
r8169                  51909  0 
snd                    60021  13 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
lpc_ich                10545  0 
sdhci                  23790  1 sdhci_pci
dell_laptop             6643  0 
media                  10405  2 uvcvideo,videodev
sparse_keymap           3056  1 dell_wmi
kvm_intel             124013  0 
kvm                   363714  1 kvm_intel
dcdbas                  5520  1 dell_laptop
coretemp                6006  0 
crc32c_intel            1987  0 
acpi_cpufreq            5933  1 
rts_pstor             401619  0 
psmouse                71557  0 
pcspkr                  1899  0 
i2c_i801                8212  0 
mmc_core               81526  2 sdhci,sdhci_pci
rfkill                 15604  3 cfg80211,bluetooth
mfd_core                2833  1 lpc_ich
soundcore               5442  1 snd
mii                     4123  1 r8169
mei                    32583  0 
wmi                     8475  3 dell_wmi,mxm_wmi,nouveau
battery                 6517  0 
ac                      2376  0 
mperf                   1267  1 acpi_cpufreq
evdev                  10266  9 
processor              27015  5 acpi_cpufreq
ext4                  438999  4 
crc16                   1359  2 ext4,bluetooth
jbd2                   78720  1 ext4
mbcache                 5977  1 ext4
sd_mod                 29271  7 
xhci_hcd               84338  0 
ahci                   20549  5 
libahci                20023  1 ahci
libata                167675  2 ahci,libahci
scsi_mod              133152  3 libata,rts_pstor,sd_mod
ehci_hcd               41058  0 
usbcore               147434  4 btusb,uvcvideo,ehci_hcd,xhci_hcd
usb_common               954  1 usbcore
i915                  473038  3 
video                  11308  2 i915,nouveau
button                  4502  2 i915,nouveau
i2c_algo_bit            5391  2 i915,nouveau
intel_agp              11096  1 i915
intel_gtt              14478  3 i915,intel_agp
drm_kms_helper         32749  2 i915,nouveau
drm                   220804  6 ttm,i915,drm_kms_helper,nouveau
i2c_core               20508  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nouveau,videodev

The xf86-video-nouveau and nouveau-dri are not installed.
Any suggestions? I tried to run mkinitcpio -p linux to update it, but it still loads it.

Offline

#2 2012-09-28 09:20:21

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Cannot blacklist nouveau

The xf86-video-nouveau and nouveau-dri are not installed.

Are you sure about that?

# pacman -R xf86-video-nouveau nouveau-dri
# mv /etc/modprobe.d/modprobe.conf ~/
# mv /etc/modprobe.d/nouveau.conf ~/
# nano /etc/mkinitcpio.conf
<remove any "nouveau" from it>
# mkinitcpio -p linux

Or are you booting some other kernel with it's own tailored initramfs? Because then you'd be re-generating the "linux" profile for nothing... You need to re-generate it using something like:

# mkinitcpio -p linux-lts

Or:

# mkinitcpio -p linux-ck

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-09-28 09:50:59

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,682

Re: Cannot blacklist nouveau

Mods: Please delete this post

Last edited by skunktrader (2012-09-28 09:52:05)

Offline

#4 2012-09-28 09:56:02

ksemeks
Member
Registered: 2009-12-31
Posts: 51

Re: Cannot blacklist nouveau

Yes, I'm sure the nouveau packages are not installed.

[ksemeks@archxps ~]$ grep nouveau /etc/mkinitcpio.conf 
[ksemeks@archxps ~]$ pacman -Qqs dri
brltty
dasher
dri2proto
ethtool
hdparm
intel-dri
lib32-intel-dri
lib32-libgl
libgl
libraw1394
libva-driver-intel
os-prober
xf86-input-evdev
xf86-input-keyboard
xf86-input-mouse
xf86-input-synaptics
xf86-video-intel
[ksemeks@archxps ~]$ pacman -Qqs nouveau

Im using the stock kernel, and I've done the mkinitcpio after I assured myself the nouveau was only in the blacklist file.

Offline

#5 2012-09-28 10:25:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Cannot blacklist nouveau

Did you reboot?
Are you using [testing]? If so, read 'man modules-load.d' how to blacklist modules - if you're using systemd.
Check if you're not using the deprecated method of loading modules from rc.conf.

Last edited by karol (2012-09-28 10:27:20)

Offline

Board footer

Powered by FluxBB