OpenGL screensavers crash session

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

OpenGL screensavers crash session

Postby tihson » Oct 26th, '11, 19:32

I have just installed Mageia on two Thinkpad T520 units, and I am having this problem. The OpenGL screensaver in both the KDE module and Xscreensaver crash the session once the screensaver attempts to return to the desktop. If it means anything, I am also finding video playback poor, regardless of the player, and DVD playback has on occasion also crashed the session.

I installed the live 32 bit version of Mageia because the DVD wouldn't boot. They each have 4G of ram, and they both have Intel Sandy Bridge integrated GPU.

I am going to try and figure out this OpenGL issue here, but I am mostly a user, so in spite of over a decade with Mandrake and Mandriva (and now Mageia) I am not confident I will find a solution. I found nothing on these Mageia forums, and Google is not being my friend. :-)

Thank you in advance for any suggestions.
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby doktor5000 » Oct 26th, '11, 22:13

Can you please attach /var/log/Xorg.1.log?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: OpenGL screensavers crash session

Postby tihson » Oct 27th, '11, 05:19

I was not able to find xorg.1.log, but instead found xorg.0.log. I have also attached kdm.log, as it seems to show the cause of the crashes, although my lack of technical kung-fu leaves me a bit lost.

Thanks.
Attachments
kdm.log
(29.8 KiB) Downloaded 242 times
Xorg.0.log
(32.1 KiB) Downloaded 146 times
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby doktor5000 » Oct 27th, '11, 11:37

Well Xorg.0.log is the logfile of the current running Xserver session, and if there were no crashes in that session,
no relevant entries in the log. But the other file you posted has the needed information :)

Maybe this sounds too much, but now you need to create a bugreport, but first you should do the following:
https://bugs.mageia.org/show_bug.cgi?id=2047#c1 Read and do everything beginning from step 3)
Then please check back here or ask if you don't get what should be done, i can explain.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: OpenGL screensavers crash session

Postby tihson » Oct 28th, '11, 02:50

All steps done as requested, save for the bug report. I will get to that asap. I ran the opengl screen saver under KDE, not Xscreensaver, just because that was the one that started this adventure. The first time I ran it the screen saver did not kill the session, so I thought for a moment it had somehow solved itself, but when I ran it in the screen saver module of system settings it killed the x session when I tried to return to the desktop while testing the screen saver.

What I need to know now is what do I do? I will file the bug report, but I feel like I am missing something.

Thank you very much for the direction. I will watch for a reply.
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby tihson » Oct 28th, '11, 10:45

Bug report filed. Bug 3206.

Thanks again for the assistance.
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby mikala » Oct 28th, '11, 14:50

tihson wrote:Bug report filed. Bug 3206.

Thanks again for the assistance.

You forgot to add the info suggested by docktor500 ( https://bugs.mageia.org/show_bug.cgi?id=2047#c1 )
mikala
 
Posts: 114
Joined: Mar 16th, '11, 20:42
Location: French Guiana

Re: OpenGL screensavers crash session

Postby doktor5000 » Oct 28th, '11, 15:13

Well, if you did every step you should have gotten a usable backtrace of the crash,
which you should attach to the bugreport. But lets wait until someone asks in the bugreport for it.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: OpenGL screensavers crash session

Postby tihson » Oct 28th, '11, 19:30

I knew there was something missing. Where would I find this backtrace?
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby doktor5000 » Oct 29th, '11, 17:19

Did you follow the last three lines in https://bugs.mageia.org/show_bug.cgi?id=2047#c1 ?
Then you should simply wait until it crashes again and you should see it, AFAICT.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: OpenGL screensavers crash session

Postby tihson » Oct 30th, '11, 10:17

I will try it again tomorrow and let you know the result. I am guessing I did something incorrectly, although I was reasonably sure I did it right the first time.
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby tihson » Oct 30th, '11, 18:43

A few things;

First, this was in one of two text files generated by Xgdb2.sh in my home directory "./Xgdb2.sh: line 2: gdb: command not found". These were created when I crashed the session in order to get the backtrace. Looking into the software repositories I see it's a bit important, so I've installed it. I will try crashing the session again after this post and report back.

Second, this event occurs when either Xscreensaver or the native KDE screensaver attempts to use OpenGL screensavers, but not reliably. Twice in testing the KSE screensaver has started and then been stopped by myself without trouble.
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby tihson » Oct 30th, '11, 18:52

I have attached the file it generated, but I don't think it will be much help as there was apparently another issue. It was looking for "gcmds2" which is not on my system (that I can find) and I cannot find it in the repositories. Have to go to work, so I will look into this more later.
Attachments
X.gdb.12897.txt
(633 Bytes) Downloaded 142 times
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby tihson » Oct 31st, '11, 04:13

I found a version of gcmds2 linked to on an older Mandriva forum, so I used that ... with bad results. System hung completely both times I tried it. I needed to hard reboot the system to get it back. I have attached a copy of the file I downloaded, renamed so it doesn't hang my system by accident, as well as the log generated from that crash.

Sorry for all the posts. I am just trying to be thorough.
Attachments
X.gdb.3415.txt
Log from one of the hard freezes caused by gcmds2.sh.
(680 Bytes) Downloaded 140 times
gcmds2BAK.sh.txt
This is the file I believe is missing on my system, but caused system freeze when used. Downloaded from a Mandriva forum link. I modified the name to allow me to upload it to this forum, and to protect my system from further accidental crashes.
(79 Bytes) Downloaded 155 times
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby doktor5000 » Oct 31st, '11, 17:29

tihson wrote:First, this was in one of two text files generated by Xgdb2.sh in my home directory "./Xgdb2.sh: line 2: gdb: command not found".


You should at least install gdb as the error message suggests ;)
But about gcmds2, this is actually the name of the second script your downloaded:

https://bugs.mageia.org/attachment.cgi?id=122 should be saved as gcmds2
and https://bugs.mageia.org/attachment.cgi?id=121 should be saved as Xgdb2.sh
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: OpenGL screensavers crash session

Postby tihson » Nov 2nd, '11, 00:00

doktor5000 wrote:
tihson wrote:First, this was in one of two text files generated by Xgdb2.sh in my home directory "./Xgdb2.sh: line 2: gdb: command not found".


You should at least install gdb as the error message suggests ;)
But about gcmds2, this is actually the name of the second script your downloaded:

https://bugs.mageia.org/attachment.cgi?id=122 should be saved as gcmds2
and https://bugs.mageia.org/attachment.cgi?id=121 should be saved as Xgdb2.sh


GDB is already installed, as I said above, and I have overwritten the other two files with those you linked to. They seem identical to the ones I already had, so I am not sure what will change. I suspect I did run gcmds2 with as "gcmds2.sh", so perhaps that will make a difference. I will report back when I have a moment to crash my system ... :-)
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby doktor5000 » Nov 2nd, '11, 00:20

tihson wrote:I suspect I did run gcmds2 with as "gcmds2.sh", so perhaps that will make a difference. I will report back when I have a moment to crash my system ... :-)

Looking at the instructions in the bugreport, you should not run gcmds2 directly:

https://bugs.mageia.org/show_bug.cgi?id=2047#c1 wrote:Then just run "sh ./Xgdb2.sh" on a text terminal as root
(not from a terminal within X11!!! use Ctrl+Alt+F1),
then switch back to X11 until it segfaults (Ctrl+Alt+F7).


Also if you do this during a running X session, this would explain why you got so bad results.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: OpenGL screensavers crash session

Postby tihson » Nov 2nd, '11, 20:24

I am getting confused. I am doing exactly as the post states. I have found and installed the various unmentioned dependencies as they became issues. I am not running the script you just mentioned directly. So now I am now faced with trying to figure out how to crash an X session when I do not have an instance of X running?

Please understand, I ran the instructions EXACTLY as they are provided. I am quite aware I must run the script from outside of X. Your last few posts are telling me things I figured out on my own days ago. As it stands I have pretty much exhausted my free time with this issue, so whenever I find time to play with it I will post here, but unless you are able to explain to me how to start the debug process and then crash an X session, without actually returning to an active X session to crash it, I think I am simply going to need to call this bug a feature.

Thank you for your time with this. I apologize I have not been able to get the data to you that's required. I will do my best to return to this when time allows.
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby doktor5000 » Nov 3rd, '11, 13:57

tihson wrote:but unless you are able to explain to me how to start the debug process and then crash an X session, without actually returning to an active X session to crash it, I think I am simply going to need to call this bug a feature.

:oops:
From rereading it seems you need to switch to a text terminal during a running X session, run the script,
and return to your normal X session and continue to use it until it crashes. Then you should have the textfile
to which the script writes its output, which should contain necessary information.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: OpenGL screensavers crash session

Postby tihson » Nov 4th, '11, 06:18

As I said, that's what I did.

Sorry about yesterday, frustration levels a bit higher than I like. When I have time I will return to this issue and try again.
User avatar
tihson
 
Posts: 12
Joined: Oct 26th, '11, 19:20

Re: OpenGL screensavers crash session

Postby doktor5000 » Nov 4th, '11, 11:44

tihson wrote:Sorry about yesterday, frustration levels a bit higher than I like. When I have time I will return to this issue and try again.

Ahh, no problem and easily comprehensible with the problem at hand.

I'll see if i can reproduce this and contact the author of those scripts.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron