LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-10-2016, 05:14 PM   #1
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Rep: Reputation: Disabled
Disabling the Nouveau kernal driver.


I have an NVidea Gforce 210 graphics card, and when I tried to install the drivers for it, I was told that I had to first disable the Nouveau kernel. How do I go about doing that?
 
Old 05-10-2016, 05:20 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
For me, the nVidia installer does this automatically by dropping a file in the /etc/modprobe.d/ directory.
Code:
bash-4.3$ cat /etc/modprobe.d/nvidia-installer-disable-nouveau.conf 
# generated by nvidia-installer
blacklist nouveau
options nouveau modeset=0
Probably easiest to reboot to run level 3 after this to install the proprietary nVidia driver.

Last edited by allend; 05-10-2016 at 05:22 PM.
 
Old 05-10-2016, 05:21 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
Remove the nouveau package, then install the blacklist-nouveau package from /extra.
 
Old 05-10-2016, 06:58 PM   #4
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
problem is you disable nouveau but libvdpau is linked to it. This is causing issues for proprietary nividia blob causes issues with mplayer and rendering projects. Did not have this issue in 14.1 when we built libvdpau separate from the system. yes i know Pat has it enabled in Mplayer needed for mapping.
http://docs.slackware.com/howtos:har...aphics_drivers

Last edited by Drakeo; 05-10-2016 at 07:00 PM.
 
Old 05-10-2016, 07:35 PM   #5
TheNutCase
Member
 
Registered: May 2016
Location: Columbia, South Carolina14
Distribution: Slackware 15.0
Posts: 700

Original Poster
Rep: Reputation: Disabled
I guess I forgot to mention that I am currently using version 14.1 (I am transitioning over from Vector Linux 7.0).
 
Old 05-10-2016, 11:16 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
You should use the xf86-nouveau-blacklist in the /extras directory of the installation media, or create a blacklist file in /lib/modprobe.d such as blacklist.conf such as

Code:
echo "blacklist nouveau" > /lib/modprobe.d/nouveau-blacklist.conf
When you install the OEM Nvidia driver, please for sanity's sake, use the SlackBuild scripts from www.slackbuilds.org to create a Slackware compatible package. It will make things much easier to manage when you go to upgrade or rebuild the package for any reason.
 
Old 05-11-2016, 07:12 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by ReaperX7 View Post
or create a blacklist file in /lib/modprobe.d such as blacklist.conf
As a general rule, users should not make changes within /lib/modprobe.d/. That folder is designed to only be put in place by the packages. Local administrators (you) are able to override those using files in /etc/modprobe.d/. This same convention is used with udev and X11, with their files in /usr/ being overridden by files in /etc/.

Distro/system defaults reside in /usr/ directories (and occasionally /lib/) and overrides should be done within /etc/.
 
2 members found this post helpful.
Old 05-11-2016, 07:33 AM   #8
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Quote:
problem is you disable nouveau but libvdpau is linked to it. This is causing issues for proprietary nividia blob causes issues with mplayer and rendering projects.
The problem I have is that after installing the nVidia driver using the nVidia installer, I need to create a link
Code:
ln -s /usr/lib64/libvdpau_nvidia.so /usr/lib64/libvdpau.so.1
so that mplayer will start.
Quote:
When you install the OEM Nvidia driver, please for sanity's sake, use the SlackBuild scripts from www.slackbuilds.org to create a Slackware compatible package. It will make things much easier to manage when you go to upgrade or rebuild the package for any reason.
On a kernel or X upgrade, I know that I need to reinstall the nVidia driver. Then, it just works until another upgrade.
I used to use SlackBuild scripts, but the nVidia installer is quick and efficient. I have not come across a use case that has threatened my sanity.
 
1 members found this post helpful.
Old 05-12-2016, 06:26 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
I have not come across a use case that has threatened my sanity.
Aren't you running Linux?

Sorry, I couldn't resist.

Last edited by Didier Spaier; 05-12-2016 at 06:27 AM.
 
Old 05-12-2016, 06:45 AM   #10
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by allend View Post
The problem I have is that after installing the nVidia driver using the nVidia installer, I need to create a link
Code:
ln -s /usr/lib64/libvdpau_nvidia.so /usr/lib64/libvdpau.so.1
so that mplayer will start.

On a kernel or X upgrade, I know that I need to reinstall the nVidia driver. Then, it just works until another upgrade.
I used to use SlackBuild scripts, but the nVidia installer is quick and efficient. I have not come across a use case that has threatened my sanity.
allend --

I also invoke the NVIDIA-Linux-x86_64-<<VERSION>>.run file manually ( currently on NVIDIA-Linux-x86_64-361.42.run ).

It's always worked for me, easy-peasy and I don't know why I would ever revert to nouveau so I've never bothered with the SBo wrapper ...

Anyhow, I've never made the libvdpau_nvidia.so symlink.

MPlayer seems to work OK.

Is there something I should be doing to test / break it ?

Thanks.

-- kjh
 
Old 05-12-2016, 08:00 AM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by kjhambrick View Post

MPlayer seems to work OK.

Is there something I should be doing to test / break it ?

Thanks.

-- kjh
Trying the nvidia card built in codecs?
Code:
mplayer -vo vdpau -vc ffodivxvdpau,ffh264vdpau, file.avi
 
2 members found this post helpful.
Old 05-12-2016, 08:42 AM   #12
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by keefaz View Post
Trying the nvidia card built in codecs?
Code:
mplayer -vo vdpau -vc ffodivxvdpau,ffh264vdpau, file.avi
Thanks keefaz.

I've got a development project due this afternoon so I'll have test later.

I did see that the command line above gives me audio, no video on this file:

http://samples.mplayerhq.hu/avi/AV36_1.AVI

However, if I simply type:

Code:
mplayer AV36_1.AVI
It works fine ( audio and video ).

-- kjh

These are my codecs:
Code:
# cat mplayer-show-codecs.sh
mplayer -afm help \
        -vfm help \
        -ao  help \
        -vo  help \
        -vf  help
This is the output of `sh mplayer-show-codecs.sh`
Code:
Available video filters:
  rectangle      : draw rectangle
  bmovl          : Read bitmaps from a FIFO and display them in window
  crop           : cropping
  expand         : expanding & osd
  scale          : software scaling
  vo             : libvo wrapper
  format         : force output format
  noformat       : disallow one output format
  flip           : flip image upside-down
  rotate         : rotate
  mirror         : horizontal mirror
  palette        : 8bpp indexed (using palette) -> BGR 15/16/24/32 conversion
  pp7            : postprocess 7
  lavc           : realtime mpeg1 encoding with libavcodec
  lavcdeint      : libavcodec's deinterlacing filter
  screenshot     : screenshot to file
  geq            : generic equation filter
  pp             : postprocessing
  dvbscale       : calc Y scaling for DVB card
  cropdetect     : autodetect crop size
  test           : test pattern generator
  noise          : noise generator
  yvu9           : fast YVU9->YV12 conversion
  eq             : soft video equalizer
  eq2            : Software equalizer
  gradfun        : gradient deband
  halfpack       : yuv planar 4:2:0 -> packed 4:2:2, half height
  dint           : drop interlaced frames
  1bpp           : 1bpp bitmap -> YUV/BGR 8/15/16/32 conversion
  2xsai          : 2xSai BGR bitmap 2x scaler
  unsharp        : unsharp mask & gaussian blur
  swapuv         : UV swapper
  il             : (de)interleave
  fil            : fast (de)interleaver
  boxblur        : box blur
  sab            : shape adaptive blur
  smartblur      : smart blur
  perspective    : perspective correcture
  down3dright    : convert stereo movie from top-bottom to left-right field
  field          : extract single field
  denoise3d      : 3D Denoiser (variable lowpass filter)
  hqdn3d         : High Quality 3D Denoiser
  detc           : de-telecine filter
  telecine       : telecine filter
  tinterlace     : temporal field interlacing
  tfields        : temporal field separation
  ivtc           : inverse telecine, take 2
  ilpack         : 4:2:0 planar -> 4:2:2 packed reinterlacer
  dsize          : reset displaysize/aspect
  decimate       : near-duplicate frame remover
  softpulldown   : mpeg2 soft 3:2 pulldown
  pullup         : pullup (from field sequence to frames)
  filmdint       : Advanced inverse telecine filer
  framestep      : Dump one every n / key frames
  tile           : Make a single image tiling x/y images
  delogo         : simple logo remover
  remove-logo    : Removes a tv logo based on a mask image.
  hue            : hue changer
  spp            : simple postprocess
  uspp           : ultra simple/slow postprocess
  fspp           : fast simple postprocess
  qp             : QP changer
  mcdeint        : motion compensating deinterlacer
  yuvcsp         : yuv colorspace converter
  kerndeint      : Kernel Deinterlacer
  rgbtest        : rgbtest
  phase          : phase shift fields
  divtc          : inverse telecine for deinterlaced video
  harddup        : resubmit duplicate frames for encoding
  softskip       : soft (post-filter) frame skipping for encoding
  ass            : Render ASS/SSA subtitles
  yadif          : Yet Another DeInterlacing Filter
  blackframe     : detects black frames
  ow             : overcomplete wavelet denoiser
  fixpts         : Fix presentation timestamps
  stereo3d       : stereoscopic 3d view

Available video filters:
  rectangle      : draw rectangle
  bmovl          : Read bitmaps from a FIFO and display them in window
  crop           : cropping
  expand         : expanding & osd
  scale          : software scaling
  vo             : libvo wrapper
  format         : force output format
  noformat       : disallow one output format
  flip           : flip image upside-down
  rotate         : rotate
  mirror         : horizontal mirror
  palette        : 8bpp indexed (using palette) -> BGR 15/16/24/32 conversion
  pp7            : postprocess 7
  lavc           : realtime mpeg1 encoding with libavcodec
  lavcdeint      : libavcodec's deinterlacing filter
  screenshot     : screenshot to file
  geq            : generic equation filter
  pp             : postprocessing
  dvbscale       : calc Y scaling for DVB card
  cropdetect     : autodetect crop size
  test           : test pattern generator
  noise          : noise generator
  yvu9           : fast YVU9->YV12 conversion
  eq             : soft video equalizer
  eq2            : Software equalizer
  gradfun        : gradient deband
  halfpack       : yuv planar 4:2:0 -> packed 4:2:2, half height
  dint           : drop interlaced frames
  1bpp           : 1bpp bitmap -> YUV/BGR 8/15/16/32 conversion
  2xsai          : 2xSai BGR bitmap 2x scaler
  unsharp        : unsharp mask & gaussian blur
  swapuv         : UV swapper
  il             : (de)interleave
  fil            : fast (de)interleaver
  boxblur        : box blur
  sab            : shape adaptive blur
  smartblur      : smart blur
  perspective    : perspective correcture
  down3dright    : convert stereo movie from top-bottom to left-right field
  field          : extract single field
  denoise3d      : 3D Denoiser (variable lowpass filter)
  hqdn3d         : High Quality 3D Denoiser
  detc           : de-telecine filter
  telecine       : telecine filter
  tinterlace     : temporal field interlacing
  tfields        : temporal field separation
  ivtc           : inverse telecine, take 2
  ilpack         : 4:2:0 planar -> 4:2:2 packed reinterlacer
  dsize          : reset displaysize/aspect
  decimate       : near-duplicate frame remover
  softpulldown   : mpeg2 soft 3:2 pulldown
  pullup         : pullup (from field sequence to frames)
  filmdint       : Advanced inverse telecine filer
  framestep      : Dump one every n / key frames
  tile           : Make a single image tiling x/y images
  delogo         : simple logo remover
  remove-logo    : Removes a tv logo based on a mask image.
  hue            : hue changer
  spp            : simple postprocess
  uspp           : ultra simple/slow postprocess
  fspp           : fast simple postprocess
  qp             : QP changer
  mcdeint        : motion compensating deinterlacer
  yuvcsp         : yuv colorspace converter
  kerndeint      : Kernel Deinterlacer
  rgbtest        : rgbtest
  phase          : phase shift fields
  divtc          : inverse telecine for deinterlaced video
  harddup        : resubmit duplicate frames for encoding
  softskip       : soft (post-filter) frame skipping for encoding
  ass            : Render ASS/SSA subtitles
  yadif          : Yet Another DeInterlacing Filter
  blackframe     : detects black frames
  ow             : overcomplete wavelet denoiser
  fixpts         : Fix presentation timestamps
  stereo3d       : stereoscopic 3d view

MPlayer 1.2.1-5.3.0 (C) 2000-2016 MPlayer Team
Available video output drivers:
        vdpau   VDPAU with X11
        xv      X11/Xv
        gl_nosw OpenGL no software rendering
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        sdl     SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
        gl      OpenGL
        gl_tiled        X11 (OpenGL) - multiple textures version
        dga     DGA ( Direct Graphic Access V2.0 )
        fbdev   Framebuffer Device
        fbdev2  Framebuffer Device
        svga    SVGAlib
        matrixview      MatrixView (OpenGL)
        aa      AAlib
        caca    libcaca
        v4l2    V4L2 MPEG Video Decoder Output
        xvidix  X11 (VIDIX)
        cvidix  console VIDIX
        null    Null video output
        mpegpes MPEG-PES to DVB card
        yuv4mpeg        yuv4mpeg output for mjpegtools
        png     PNG file
        jpeg    JPEG file
        gif89a  animated GIF output
        tga     Targa output
        pnm     PPM/PGM/PGMYUV file
        md5sum  md5sum of each frame
        mng     MNG file

Available audio output drivers:
        oss     OSS/ioctl audio output
        alsa    ALSA-0.9.x-1.x audio output
        esd     EsounD audio output
        pulse   PulseAudio audio output
        sdl     SDLlib audio output
        mpegpes DVB audio output
        v4l2    V4L2 MPEG Audio Decoder output
        null    Null audio output
        pcm     RAW PCM/WAVE file writer audio output

Available (compiled-in) video codec families/drivers:
   vfm:    info:  (comment)
    null  Null video decoder (no decoding)
   black  black video generator (no decoding, always outputs black frames)
  ffmpeg  FFmpeg's libavcodec codec family (native codecs)
  theora  Theora/VP3 (Theora project's VP3 codec)
     lzo  LZO compressed Video (based on liblzo: http://www.oberhumer.com/opensource/lzo/)
     raw  RAW Uncompressed Video (uncompressed)
  hmblck  Hauppauge Macroblock Decoder (uncompressed)
   xanim  XAnim codecs (binary codec plugins)
    mpng  PNG Images decoder (uses libpng, 8bpp modes not supported yet)
    ijpg  JPEG Images decoder (uses Independent JPEG Group's jpeglib)
    mtga  TGA Images decoder (only 24bpp and 32bpp RGB targa files support so far)
     sgi  SGI Image decoder ()
 mpegpes  MPEG 1/2 Video passthrough (for hw decoders)
 realvid  RealVideo decoder (binary real video codecs)

Available (compiled-in) audio codec families/drivers:
    afm:    info:  (comment)
   mpg123  MPEG 1.0/2.0/2.5 layers I, II, III (High-performance decoder using libmpg123.)
   liba52  AC3 decoding with liba52
    hwac3  AC3/DTS pass-through S/PDIF
    hwmpa  MPEG audio pass-through (fake decoder) (For hardware decoders)
   ffmpeg  FFmpeg/libavcodec audio decoders
    spdif  libavformat/spdifenc audio pass-through decoder. (For ALL hardware decoders)
      pcm  Uncompressed PCM audio decoder
   dvdpcm  Uncompressed DVD/VOB LPCM audio decoder
     alaw  aLaw/uLaw audio decoder
 imaadpcm  IMA ADPCM audio decoder
  msadpcm  MS ADPCM audio decoder
 dk3adpcm  Duck Corp. DK3 ADPCM decoder
libvorbis  Ogg/Vorbis audio decoder
   libmad  libmad mpeg audio decoder (based on Xine's libmad/xine_decoder.c)
  realaud  RealAudio decoder (binary real audio codecs)
 
Old 05-12-2016, 09:29 AM   #13
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
No output with
Code:
 mplayer -vc help | grep vdpau
?

edit:
btw when playing the linked file with mplayer --identify, I see:
ID_VIDEO_CODEC=ffindeo5
I don't think nvidia card has this codec as built-in (only H.264 and MPEG4/MPEG2 iirc)

Last edited by keefaz; 05-12-2016 at 09:35 AM.
 
1 members found this post helpful.
Old 05-12-2016, 10:20 AM   #14
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by keefaz View Post
No output with
Code:
 mplayer -vc help | grep vdpau
?

edit:
btw when playing the linked file with mplayer --identify, I see:
ID_VIDEO_CODEC=ffindeo5
I don't think nvidia card has this codec as built-in (only H.264 and MPEG4/MPEG2 iirc)
Thanks keefaz ...

oops yes ...

interesting ... `mplayer -vf help` dumps Available video filters twice on my system ...

-- kjh


Code:
# mplayer -vc help | grep vdpau

ffmpeg12vdpau ffmpeg    working   FFmpeg MPEG-1/2 (VDPAU)  [mpegvideo]
ffmpeg12vdpauold ffmpeg    working   FFmpeg MPEG-1/2 (VDPAU)  [mpegvideo_vdpau]
ffwmv3vdpau ffmpeg    problems  FFmpeg WMV3/WMV9 (VDPAU)  [wmv3]
ffwmv3vdpauold ffmpeg    problems  FFmpeg WMV3/WMV9 (VDPAU)  [wmv3_vdpau]
ffvc1vdpau  ffmpeg    problems  FFmpeg WVC1 (VDPAU)  [vc1]
ffvc1vdpauold ffmpeg    problems  FFmpeg WVC1 (VDPAU)  [vc1_vdpau]
ffhevcvdpau ffmpeg    working   FFmpeg HEVC / H.265 (VDPAU)  [hevc]
ffh264vdpau ffmpeg    working   FFmpeg H.264 (VDPAU)  [h264]
ffh264vdpauold ffmpeg    working   FFmpeg H.264 (VDPAU)  [h264_vdpau]
ffodivxvdpau ffmpeg    working   FFmpeg MPEG-4,DIVX-4/5 (VDPAU)  [mpeg4]
ffodivxvdpauold ffmpeg    working   FFmpeg MPEG-4,DIVX-4/5 (VDPAU)  [mpeg4_vdpau]
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Some games work with Nvidia proprietary driver some with nouveau driver. Why? kairen Slackware 14 10-14-2015 03:19 PM
Nouveau kernel driver Ordinary12 Ubuntu 38 01-20-2014 05:05 AM
[SOLVED] linux-3.2.2 and nouveau driver rkelsen Slackware 8 02-04-2012 01:51 PM
how well does Nouveau driver work? Cultist Debian 6 02-19-2011 03:57 PM
Kernal disabling irq channels penguin tech Linux - Newbie 2 08-18-2005 03:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration