LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   system freezes after power saver mode kicks in on desktop (https://www.linuxquestions.org/questions/linux-mint-84/system-freezes-after-power-saver-mode-kicks-in-on-desktop-4175449623/)

pandanuma 02-11-2013 01:45 AM

system freezes after power saver mode kicks in on desktop
 
whenever desktop screensaver mode times out, it seems the power saver mode crashes
I get this on a black screen
[21.254193][drm:drm_crtc_helper_set_config] error failed to set mode on [crtc:10]

no key combo will unfreeze it, I have to turn off the power supply and when I plug in power the computer power light is on and it reboots

tried a few searches but no hits

ukiuki 02-11-2013 03:06 AM

Here a possible explanation about what is going on:
Quote:

original link Here's a better dmesg, however instead of being CTRC 5 and 6; they are 9 and 10 (and so the error is "*ERROR* failed to set mode on [CRTC:10]"). CRTC:9 is the VGA output, and CRTC:10 is the TV output. However, this card (an NV4E - GeForce 6150 LE - integrated onto the motherboard) HAS no TV output (or a DVI output either, which is also detected). So CRTC:10 is connected to a phantom output. Curiously enough, the framebuffer has a physical resolution of CRTC:9 (the VGA), but a virtual resolution of CRTC:10 (the phantom TV output) - so it only fills part of the screen.
Here another thread here in the LQ with about same problem:
https://www.linuxquestions.org/quest...cks-in-944768/

And here some possible solution or at least some lights on the matter:
http://ubuntuforums.org/showthread.php?t=1924956

Quote:

Originally Posted by pandanuma (Post 4888883)
...no key combo will unfreeze it...

I don't think the computer is totally froze, have you tried ctrl+alt+(F1-F6) ? It will drop you to the virtual consoles.
From there you can kill the frozen processes and restart the login manager and GUI.
I would turn off the screensaver/power saving to avoid this issue, so you can manage the problem without having things freezing.

Which video driver is currently loading? nouveau ? And which kernel is running there? Seen like nouveau is the problem here.

Regards

pandanuma 02-11-2013 06:32 PM

thankyou ukiuki.
syslog says I am using nouveau,
-Loaded Modules-
dm_crypt : device-mapper target for transparent encryption / decryption
snd_hda_codec_realtek : Realtek HD-audio codec
parport_pc : PC-style parallel port driver
ppdev
rfcomm : Bluetooth RFCOMM ver 1.11
bnep : Bluetooth BNEP ver 1.3
bluetooth : Bluetooth Core ver 2.16
cx18_alsa : CX23418 ALSA Interface
mxl5005s : MaxLinear MXL5005S silicon tuner driver
s5h1409 : Samsung S5H1409 QAM-B/ATSC Demodulator driver
tuner_simple : Simple 4-control-bytes style tuner driver
tuner_types : Simple tuner device type database
cs5345 : i2c device driver for cs5345 Audio ADC
tda9887
tda8290 : Philips/NXP TDA8290/TDA8295 analog IF demodulator driver
tuner : device driver for various TV and TV+FM radio tuners
binfmt_misc
kvm_amd
kvm
snd_hda_intel : Intel HDA driver
snd_hda_codec : HDA codec core
snd_hwdep : Hardware dependent layer
snd_pcm : Midlevel PCM code for ALSA.
snd_seq_midi : Advanced Linux Sound Architecture sequencer MIDI synth.
snd_rawmidi : Midlevel RawMidi code for ALSA.
psmouse : PS/2 mouse driver
serio_raw : Raw serio driver
snd_seq_midi_event : MIDI byte <-> sequencer event coder
snd_seq : Advanced Linux Sound Architecture sequencer.
cx18 : CX23418 driver
dvb_core : DVB Core Driver
snd_timer : ALSA timer interface
snd_seq_device : ALSA sequencer device management
snd : Advanced Linux Sound Architecture driver for soundcards.
edac_core : Core library routines for EDAC reporting
soundcore : Core sound module
cx2341x : cx23415/6/8 driver
videobuf_vmalloc : helper module to manage video4linux vmalloc buffers
videobuf_core : helper module to manage video4linux buffers
tveeprom : i2c Hauppauge eeprom decoder driver
v4l2_common : misc helper functions for v4l2 device drivers
nv_tco : TCO timer driver for NV chipsets
k8temp : AMD K8 core temperature monitor
videodev : Device registrar for Video4Linux drivers v2
i2c_nforce2 : nForce2/3/4/5xx SMBus driver
snd_page_alloc : Memory allocator for ALSA system.
edac_mce_amd : AMD MCE decoder
mac_hid
lp
parport
nouveau : nVidia Riva/TNT/GeForce
firewire_ohci : Driver for PCI OHCI IEEE1394 controllers
firewire_core : Core IEEE1394 transaction logic
ttm : TTM memory manager subsystem (for DRM device)
crc_itu_t : CRC ITU-T V.41 calculations
forcedeth : Reverse Engineered nForce ethernet driver
sata_nv : low-level driver for NVIDIA nForce SATA controller
drm_kms_helper : DRM KMS helper
drm : DRM shared core routines
pata_amd : low-level driver for AMD and Nvidia PATA IDE
i2c_algo_bit : I2C-Bus bit-banging algorithm
mxm_wmi : MXM WMI Driver
video : ACPI Video Driver
wmi : ACPI-WMI Mapping Driver

*sorry did not mean to post all that, but maybe it helps determine cause of problem.
kernel is linux 3.5.0-17 generic (x86_64)

checked out the links you supplied.

for now I will just disable powersaver mode.

pandanuma 02-11-2013 06:41 PM

forgot to confirm that ctrl+alt+f1 to f6 or any other key combo does not unfreeze it

will turn off power save mode for quick fix
Power management preferences: Display/ put display to sleep: Never

pandanuma 02-14-2013 06:57 PM

I will mark this post as 'solved' but admit I took the lazy way out...
in mint 14, I opened Power Management Preferences, selected the 'On AC Power' tab and for both Actions and Displays, I selected NEVER (put to sleep when inactive for: Never)

so the problem is not really fixed but worked around.
I get basicly the same complaint...[drm:drm_crtc_helper_set_config] error failed to set mode on [crtc:10] when I power down the computer but at least it does not hang like it does for power saving mode.

I will attempt a true fix at some later date...thanks.

ukiuki 02-16-2013 03:26 PM

You should remove nouveau and install a proper nvidia driver to fix the problem for good.

Regards

Joe P 06-01-2017 03:57 PM

Switch mint flavor.
 
This is an old thread but I had this problem recently on an Dell Optiplex 7040 running mint 18.1 xfce. I could not find anything on the web that fixed the problem. However, the problem went away when I switched to mint 18.1 cinnamon ....


All times are GMT -5. The time now is 11:54 AM.