LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-18-2004, 04:25 PM   #1
fax8
Member
 
Registered: Jul 2004
Location: Italy
Distribution: SlackWare 10 - The Best
Posts: 72

Rep: Reputation: 15
ati radeon freeze kde on slackware 10


Hi guys!

I tried to find an answer for this problem on this forum...
but I didn't find it elsewere...

This is my Desktop Pc.
Pentium 4 2.400, 770 Mb ram, Ati Radeon 9600 SE.
Two weeks ago I installed on this pc Slackware 10 with all
the packages... kernel 2.4
Then I installed the Ati drivers RPM (v 3.11.1).

The problem is that using KDE i get random freeze of the screen..
It does not happen if I use Gnome, wmaker or others...


I also try xorg ati driver and it freeze..

I really like Slackware and I want to use it with KDE.

Does someone know something to help me???

Thanks..


Fabio Italy
 
Old 08-18-2004, 05:45 PM   #2
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
Heya...

If the problem really the driver:
What driver do you have configured now? ATI's rpm or X.Org?

Unless you really play games, I would go with X.Org.

1st, go through this
http://freedesktop.org/~xorg/X11R6.7.../radeon.4.html

your card is RV350.

2nd. Make sure you are using AGPGart, not FB. (do "lsmod" as root in X and post it here.)

Are you sure it's not a hardware issue?
Does the card run OK in Windows?
 
Old 08-19-2004, 12:47 PM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
i think , if the screen freezes, and there's no reaction on " ctrl-alt-F6 ".....HW problem.

egag
 
Old 08-19-2004, 04:38 PM   #4
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
How exactly does that "freez" look like?

Can you CTRL+ALT+F1(F2,F3,F4,F5,F6) out of it? Can you move the mouse? Is there screen garbling?

DO you have to let it stand to freeze? (May be it's 3d accelerated screensaver?)
 
Old 08-23-2004, 11:49 AM   #5
fax8
Member
 
Registered: Jul 2004
Location: Italy
Distribution: SlackWare 10 - The Best
Posts: 72

Original Poster
Rep: Reputation: 15
Ok...
I will try to explain it better..

The freeze happend only using KDE or KDE based applications...
Once it freeze while using konqueror into fluxbox...
The freeze block everything: apps, mouse .. all.
The freeze take only 3 or 4 seconds then everything become normal again.

In windows the card goes ok... It never freeze..
I don't think it's my card...
On Mandrake 10 I never had this problem.

This days I installed Slack on my notebook..
I used it for hours but once it also freeze in the same way as my desktop!
The problem is that my notebook hasn't got a ati card but an s3 one!

I don't know what to do!


For suslik this is my lsmod:

Module Size Used by Tainted: P
ppp_deflate 3256 0 (autoclean)
zlib_deflate 18328 0 (autoclean) [ppp_deflate]
bsd_comp 4344 0 (autoclean)
ppp_async 7392 0 (autoclean)
ppp_generic 19492 0 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 4976 0 (autoclean) [ppp_generic]
fglrx 178632 9
snd-pcm-oss 37736 0 (unused)
snd-mixer-oss 12504 2 [snd-pcm-oss]
acm 5984 0 (unused)
usbmouse 2040 0 (unused)
keybdev 2052 0 (unused)
mousedev 4212 1
hid 21220 0 (unused)
input 3200 0 [usbmouse keybdev mousedev hid]
uhci 24444 0 (unused)
ehci-hcd 17580 0 (unused)
usbcore 59308 1 [acm usbmouse hid uhci ehci-hcd]
snd-intel8x0 18924 3
snd-ac97-codec 49500 0 [snd-intel8x0]
gameport 1420 0 [snd-intel8x0]
snd-pcm 56072 0 [snd-pcm-oss snd-intel8x0]
snd-timer 13604 0 [snd-pcm]
snd-page-alloc 6328 0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart 3200 0 [snd-intel8x0]
snd-rawmidi 12740 0 [snd-mpu401-uart]
snd-seq-device 3888 0 [snd-rawmidi]
snd 30852 1 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3396 4 [snd]
eepro100 19252 1
mii 2272 0 [eepro100]
ohci1394 24112 0 (unused)
ieee1394 42276 0 [ohci1394]
pcmcia_core 39972 0
ntfs 51424 1 (autoclean)
ide-scsi 9328 0
agpgart 43940 0 (unused)

As you can see I'm now using fglrx drivers...
agpgart it's loaded but not used... ???
 
Old 08-23-2004, 12:35 PM   #6
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
well. if you have the same error on different pc's .....its not an ATI-prob. however if your agpgart mod.
is not used, i think that's not well configured.i read you shouldn't use the agp-mod from ATI. you can choose such in the
setup of it. ( search this forum for ATI , there's a howto.....)

but i also think, ( IF it's the same error ? ) , something with the cd's maybe...


egag
 
Old 08-23-2004, 01:42 PM   #7
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
Classic signs of 100% CPU issue - system unresponsive for small period of time. Install a "System Monitor" applet into the Kicker (KDE dock) and watch for 100% CPU spikes right before and during the "freeze".

You mentioned Fluxbox... I think that is the culprit - combination of Fluxbox and KDE. Try running pure KDE for a while. See if problem goes away. It is possible there are some conflicts.

Also.. see if upgrade to KDE 3.3 solves the problem. Look here ("New KDE" thread) for installation instructions.

On the AGPGart:
I would generally recommend to use AGPGart that comes with kernel. ATI drivers have an option for that when you compile and when you configure it..

Last edited by suslik; 08-23-2004 at 01:47 PM.
 
Old 08-23-2004, 05:32 PM   #8
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
I believe I may have a solution for you in regard to the "random" KDE freezes. I also experienced the same thing going from slack 9.1 to 10. What would happen in my case was that after starting KDE and using it for 15 - 20 minutes, the mouse/desktop would freeze for 2-3 seconds, respond for a second, freeze for like 3-4 more seconds, and then be completely fine from that point on.

Now, I don't use GDM or KDM, so when I leave KDE, I exit to the terminal and I can see all the X-related messages/errors that were going on just prior to my exiting KDE. When the random freeze would happen, I quickly exited KDE to see if I could catch an error.

Prior to my coming up with this idea, I had noticed upon leaving KDE, that I would see messages regarding KDE searching for a CD-ROM drive that it had permision to access. What this had to do with was the "music CD browser" applet in konqueror. How this applet is supposed to work is to search the cd-rom for a cd and if it is a music cd, display the cd contents as folders with wavs, mp3s, oggs, etc.

In the case of slack 10, the permissions are set too restrictive for this applet to work out of the box, so the icon in Konqueror just spins and spins and spins. This is because KDE can't find a way to interface with the device specified and it starts searching through the entire contents of /dev trying to find a cdrom it has permission to open. (please note that I am using the 2.4.26 kernel - /dev is different with 2.6)

This is where the freezing part comes in. Once KDE has searched all possible devices and failed, it does something else - essentially giving up the search. I don't know what it is exactly, but it makes the system temporarily freeze as described above. Exiting from KDE to the terminal shows error messages that confirm this and KDE has now stopped searching for a cdrom. It evidently takes 15 kinutes or so for it to search through /dev.

To fix this, I needed to change the permissions of a file in /dev called sg0 or sg1, sorry I'm at work at the moment. This fixed both the applet and the freezes.

One way to tell if this is your problem is to run KDE as root with a music CD in the drive. The applet should work displaying ogg and mp3 and wav folders in the side panel. Do the same as a user and if the applet doesn't work, this could be the problem.

Sorry for the long post. If it helps you I guess it was worth it - if not , never mind

I'll check my box when I get home and edit this post to correct any errors.

Oh, and this has nothing to do with ATI drivers so thats likely something else - I use nvidia.

Later

edit:
Indeed, the two files I changed permissions for were /dev/sg0 and /dev/sg1.
I have a cdrom and a cdburner listed as sr0 and sr1 in fstab as I use ide-scsi for both drives. These files were root:root 600 originally. I chmod 666 both files as root. Their current permissions are listed below. These are character devices. I knew to edit these because KDE told me it couldn't access them when I tried to open the cdrom as a file through konq.

Code:
steve@peggy-o:~$ ls -l /dev/sg*
crw-rw-rw-  1 root root 21,  0 1999-04-13 00:24 /dev/sg0
crw-rw-rw-  1 root root 21,  1 1999-04-13 00:24 /dev/sg1
crw-------  1 root root 21, 10 1999-04-13 00:24 /dev/sg10
crw-------  1 root root 21, 11 1999-04-13 00:24 /dev/sg11
crw-------  1 root root 21, 12 1999-04-13 00:24 /dev/sg12
crw-------  1 root root 21, 13 1999-04-13 00:24 /dev/sg13
crw-------  1 root root 21, 14 1999-04-13 00:24 /dev/sg14
crw-------  1 root root 21, 15 1999-04-13 00:24 /dev/sg15
crw-------  1 root root 21, 16 1999-04-13 00:24 /dev/sg16
YMMV - good luck

Last edited by Franklin; 08-23-2004 at 11:17 PM.
 
Old 08-24-2004, 01:50 PM   #9
fax8
Member
 
Registered: Jul 2004
Location: Italy
Distribution: SlackWare 10 - The Best
Posts: 72

Original Poster
Rep: Reputation: 15
Thank you for your post Franklin!!!!!

I think that you found my problem!

In Konqueror I have the applet "Audio Cd Browser" that is spinning and never stops...

I will try to chmod 666 my cdrom...

I have a /dev/cdrom link to /dev/sr0... so I think that this is the file that I have to chmod...

I will try now and tell you how it works...
 
Old 08-24-2004, 02:09 PM   #10
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
That's not what I told you to do...

Read my post again!
 
Old 08-24-2004, 03:29 PM   #11
fax8
Member
 
Registered: Jul 2004
Location: Italy
Distribution: SlackWare 10 - The Best
Posts: 72

Original Poster
Rep: Reputation: 15
You are right...

I guessed that it was different from you becouse you have ide-scsi devices..

Ok.. now I've chmodded /dev/sg0 and /dev/sg1 and with my non root account I can acces
to a Cd Audio from Konqueror.

I will use pc some time to try if it works...

bye
 
Old 08-24-2004, 03:50 PM   #12
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
Sounds good. Hope it works for you.
 
Old 08-30-2004, 03:24 PM   #13
fax8
Member
 
Registered: Jul 2004
Location: Italy
Distribution: SlackWare 10 - The Best
Posts: 72

Original Poster
Rep: Reputation: 15
Hi guys!

I want thank everybody who partecitapate in this thread, especiallly Franklin who solved my
problem. I've been used kde for a week and I never get my desktop freeze!

Thank you again!

Fabio Italy


p.s: Linux is Great!
 
Old 08-30-2004, 03:38 PM   #14
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, WinXP, Windows 7
Posts: 1,253

Rep: Reputation: 55
COOL.

Have fun!
 
Old 09-06-2004, 07:56 AM   #15
fax8
Member
 
Registered: Jul 2004
Location: Italy
Distribution: SlackWare 10 - The Best
Posts: 72

Original Poster
Rep: Reputation: 15
Bug report done:

here is the link

http://bugs.kde.org/show_bug.cgi?id=88509
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
3D apps freeze with Fedora Core 3, ATI Radeon X600Pro johny42 Linux - Hardware 4 12-01-2005 03:08 PM
ATi Radeon drivers in Slackware 10 Neorio Slackware 1 07-11-2004 11:15 AM
ati radeon and slackware jerkmonkee Linux - Hardware 1 02-28-2004 04:09 PM
ATI Radeon 9000 In Slackware 9.1 crewblunts Linux - Newbie 3 01-25-2004 02:46 PM
ATI Radeon TV Tuner in Slackware pkdk657 Slackware 27 04-11-2003 10:29 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration