[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I suppress dpms mode setting messages on text console?



On Sun, Mar 4, 2012 at 12:16 PM, Stephen Powell <zlinuxman@wowway.com> wrote:
>
> I am using Debian wheezy i386 with an Nvidia video card and the default
> nouveau driver.  Everytime I switch back and forth between the X console
> (tty7) and a text console (such as tty1), tty1 gets spammed with messages
> like this:
>
> [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
> [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
> [drm] nouveau 0000:01:00.0: Output VGA-1 is running on CRTC 0 using output A
>
> I assume that mode 3 is graphics mode (X server) and mode 0 is text mode
> (frame buffer simulated text console).
>
> Similar messages occur if I stay in a text console long enough for the
> power management feature to turn off the display and then I re-activate the
> display again (such as by pressing the Shift key by itself).  Apparently,
> when power management kicks in, I get dmps mode 1; and when I re-activate
> the console it switches back to dpms mode 0.  I do not get these results
> on another computer which uses the Nvidia proprietary driver (nvidia),
> nor did I get such results using this computer back when I used
> the older free nvidia driver (nv), which has since been dropped from the
> distribution.
>
> I consider these messages to be noise messages and I wish to suppress them.
> I don't mind if they are written to the kernel log, but I don't ever want to
> see them written to the console itself (except maybe during boot).
>
> I tried searching the internet, but I didn't find anything useful.  Is there
> a way to suppress these messages without suppressing true error messages?
> Maybe there's a module option that I can set in /etc/modprobe.d/local.conf,
> or something along those lines?  Any help will be appreciated.

Isn't this a "/proc/sys/kernel/printk" issue?

You can set "kernel.printk = 3 4 1 3" in "/etc/sysctl.conf".


Reply to: