LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   X crashes when screensaver activates (https://www.linuxquestions.org/questions/slackware-14/x-crashes-when-screensaver-activates-879494/)

xdunlapx 05-08-2011 01:09 PM

X crashes when screensaver activates
 
1 Attachment(s)
I'm having an issue with the screensaver activating. It crashes X. It doesn't matter which screensaver I use.

dmesg output is:

[ 7258.345115] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[ 7258.352383] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[ 7858.357503] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[ 7858.357510] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[ 7858.362155] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[34998.194848] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[34998.194855] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.

I have an intel 915 chipset I believe. Might anyone know how to fix this?

Attached is Xorg.0.log
Attachment 6978

voyciz 05-08-2011 01:44 PM

According to this: http://forums.opensuse.org/english/g...zero-boot.html [+]

...those may be harmless.

Don't suppose there's anything helpful in Xorg.0.log.old?

xdunlapx 05-08-2011 09:49 PM

Quote:

Originally Posted by voyciz (Post 4350176)
According to this: http://forums.opensuse.org/english/g...zero-boot.html [+]

...those may be harmless.

Don't suppose there's anything helpful in Xorg.0.log.old?

Here is a snippet of Xorg.0.log.old:
Code:

Backtrace:
[ 48544.652] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e72fb]
[ 48544.652] 1: /usr/bin/X (0x8048000+0x5dbf5) [0x80a5bf5]
[ 48544.652] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xffffe40c]
[ 48544.653] 3: /usr/lib/xorg/modules/dri/i965_dri.so (0xb6d38000+0x1966c) [0xb6d5166c]
[ 48544.653] 4: /usr/lib/xorg/modules/dri/i965_dri.so (0xb6d38000+0x1b9d7) [0xb6d539d7]
[ 48544.653] 5: /usr/lib/xorg/modules/dri/i965_dri.so (0xb6d38000+0x8d359) [0xb6dc5359]
[ 48544.653] 6: /usr/lib/xorg/modules/extensions/libglx.so (0xb732c000+0x7f38) [0xb7333f38]
[ 48544.653] 7: /usr/lib/xorg/modules/extensions/libglx.so (0xb732c000+0x34784) [0xb7360784]
[ 48544.653] 8: /usr/lib/xorg/modules/extensions/libglx.so (0xb732c000+0x3728f) [0xb736328f]
[ 48544.653] 9: /usr/bin/X (0x8048000+0x27e87) [0x806fe87]
[ 48544.653] 10: /usr/bin/X (0x8048000+0x1aec5) [0x8062ec5]
[ 48544.653] 11: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb73ccdb6]
[ 48544.653] 12: /usr/bin/X (0x8048000+0x1aaa1) [0x8062aa1]
[ 48544.653] Segmentation fault at address 0x30
[ 48544.653]
Fatal server error:
[ 48544.653] Caught signal 11 (Segmentation fault). Server aborting
[ 48544.653]
[ 48544.653]

I found out that X crashes only when running an OpenGL screensaver, not the other's. I have no idea what to do to fix it.. Any ideas?

andrew.46 05-09-2011 01:30 AM

Quote:

Originally Posted by xdunlapx (Post 4350458)
I found out that X crashes only when running an OpenGL screensaver, not the other's. I have no idea what to do to fix it.. Any ideas?

It is not really much of a solution but I deleted the xscreensaver package after x crashes with my Intel 945GM, no more crashes :).

xdunlapx 05-09-2011 02:56 AM

andrew.46, what do you use for a screensaver? Just blank the screen with inactivity?

adamk75 05-09-2011 04:44 PM

Do other OpenGL programs crash the X server?

Adam

guanx 05-09-2011 05:57 PM

Quote:

Originally Posted by xdunlapx (Post 4350458)
Here is a snippet of Xorg.0.log.old:
Code:

Backtrace:
[ 48544.652] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80e72fb]
[ 48544.652] 1: /usr/bin/X (0x8048000+0x5dbf5) [0x80a5bf5]
[ 48544.652] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xffffe40c]
[ 48544.653] 3: /usr/lib/xorg/modules/dri/i965_dri.so (0xb6d38000+0x1966c) [0xb6d5166c]
[ 48544.653] 4: /usr/lib/xorg/modules/dri/i965_dri.so (0xb6d38000+0x1b9d7) [0xb6d539d7]
[ 48544.653] 5: /usr/lib/xorg/modules/dri/i965_dri.so (0xb6d38000+0x8d359) [0xb6dc5359]
[ 48544.653] 6: /usr/lib/xorg/modules/extensions/libglx.so (0xb732c000+0x7f38) [0xb7333f38]
[ 48544.653] 7: /usr/lib/xorg/modules/extensions/libglx.so (0xb732c000+0x34784) [0xb7360784]
[ 48544.653] 8: /usr/lib/xorg/modules/extensions/libglx.so (0xb732c000+0x3728f) [0xb736328f]
[ 48544.653] 9: /usr/bin/X (0x8048000+0x27e87) [0x806fe87]
[ 48544.653] 10: /usr/bin/X (0x8048000+0x1aec5) [0x8062ec5]
[ 48544.653] 11: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb73ccdb6]
[ 48544.653] 12: /usr/bin/X (0x8048000+0x1aaa1) [0x8062aa1]
[ 48544.653] Segmentation fault at address 0x30
[ 48544.653]
Fatal server error:
[ 48544.653] Caught signal 11 (Segmentation fault). Server aborting
[ 48544.653]
[ 48544.653]

I found out that X crashes only when running an OpenGL screensaver, not the other's. I have no idea what to do to fix it.. Any ideas?

Have you tried the alternative libdrm, intel video driver, and mesa packages in the testing/ and pasture/ directories?

Darth Vader 05-09-2011 06:33 PM

Quote:

Originally Posted by xdunlapx (Post 4350152)
I'm having an issue with the screensaver activating. It crashes X. It doesn't matter which screensaver I use.

dmesg output is:

[ 7258.345115] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[ 7258.352383] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[ 7858.357503] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[ 7858.357510] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[ 7858.362155] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[34998.194848] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.
[34998.194855] [drm:intel_panel_get_max_backlight] *ERROR* fixme: max PWM is zero.

I have an intel 915 chipset I believe. Might anyone know how to fix this?

Attached is Xorg.0.log
Attachment 6978

Just stay away from the OpenGL screensavers. If you still have problems with other OpenGL apps, disable these cute KDE effects before to launch a problematic app.

kgs 05-09-2011 08:47 PM

I have a 915 chipset and I can recall having similar trouble over the weekend. I'm not one to use screensavers, so I didn't mess around with it too much, but I did notice a few things.

What I know is that I set GLMatrix as my screensaver and went to bed, and in the morning the machine was locked up. I am not going to blame this on the screensaver, as I had several programs running at the time (some of which I had not run before). I also did not get to see if the screensaver started properly and ran for several minutes before crashing.

Another curious thing was that there was a preview in xscreensaver-demo, presumably an OpenGL one, that caused X to crash.

I am going to try to recreate the crash and then I will report back.

andrew.46 05-10-2011 01:28 AM

Quote:

Originally Posted by xdunlapx (Post 4350658)
andrew.46, what do you use for a screensaver? Just blank the screen with inactivity?

I am afraid that I did not examine it all that closely, I saw lockups with 'random' screensaver set and found the computer with black screen + lockup when the screensaver should have been active so I simply removed the entire package. I have never been one for screensavers anyway....

ruario 05-10-2011 02:58 AM

Quote:

Originally Posted by xdunlapx (Post 4350658)
.... what do you use for a screensaver? Just blank the screen with inactivity?

If you are looking for a simple program to blank and lock the screen, slock (see SlackBuilds) is pretty nice and only 20K installed.

Alien Bob 05-10-2011 03:01 AM

I have these crashes too on the laptop with an Intel graphics chipset, but only in KDE with compositing enabled and with OpenGL screensavers.
The same screensavers run from XScreensaver in XFCE for example, do not crash.

Eric

xdunlapx 05-10-2011 08:27 AM

Quote:

Originally Posted by Alien Bob (Post 4351802)
I have these crashes too on the laptop with an Intel graphics chipset, but only in KDE with compositing enabled and with OpenGL screensavers.
The same screensavers run from XScreensaver in XFCE for example, do not crash.

Eric

I switched to xfce and when I woke up this morning my computer would not respond to mouse movement or clicks or the keyboard. I pressed the power button and it shut down. I'll download slock and try that.


All times are GMT -5. The time now is 02:15 AM.