Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Tempfix} Gnome 3 crashes : because of radeon driver ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Saturne
n00b
n00b


Joined: 13 Mar 2005
Posts: 25
Location: Paris, France

PostPosted: Fri Apr 22, 2011 4:01 pm    Post subject: [Tempfix} Gnome 3 crashes : because of radeon driver ? Reply with quote

Edit : as pointed out below, tempfix for the following is to switch to the gallium mesa driver (eselect mesa set r600 gallium).

Hello everyone,

I saw quite a number of Gnome 3 issues/gnome-shell crash issues, but none that looked quite like this - or rather I did find some similar cases on other distributions but they didn't get much reply so far, even though I waited for a while after Gnome 3 was released. So I thought I'd submit it here.

It might even be something obvious that I'm missing... anyway.

Symptoms : Gnome 3 (or more specifically, Gnome-shell) crashes if I click the Sound, Accessibility, Networkmanager or Battery applet, or if I try to browse applications from the Activity overview.
After first 2 crashes (when doing any of the above), gnome-shell restarts fine (if I may say), then on the third time it'll kick me back to gdm.

On the other hand, the Dash, Alt+F2 shortcut, Clock and Account applets all work fine, and I can use most applications w/o problems.

From what I read here and there - it's not very well documented yet, I guess Gnome 3 is too new - it seems to be radeon-driver related. Or ATI-related at least. This seems to be confirmed by the ~/.xsession-errors messages. In any case, nothing I tried worked so far, including :
- switching from open-source driver to fglrx (that caused it to not work at all and go into restricted mode)
- updating to most recent, unstable, open-source driver,
- updating xorg-server,
- downgrading all these to the latest stable version,
- playing with xorg settings.

Currently using :
- kernel : 2.6.38-gentoo-r1
- xorg-server : 1.9.4
- radeon driver : 6.14.1 (xf86-video-ati)
- radeon-ucode : 20110302
- gnome-shell : 3.0.0.2 (from Gnome Overlay)
- graphics card : ATI Mobility Radeon HD 5400 Series. It's a Cedar-core based card (R800 GPU family) and the kernel recognizes it that way ; for some reason Gnome thinks it's a R600 GPU family card - wonder if that's significant ?

I made sure that the KMS is properly configured ; dri is also enabled like it should (glxinfo says so).
Other than that, and even without that variable from this post in /etc/environment, Gnome 3 runs fast and nice.

And so I've run out of ideas as to what I could do. I'm even considering it might not be a video driver related issue at all. On the other hand i can't understand the only useful line in the following messages or how gnome-shell-calendar-server gets involved in it.

The ~/.xsession-errors messages are :
- for a crash that occurs when clicking an applet
Code:

radeonSetSpanFunctions: bad format: 0x0002
radeonSetSpanFunctions: bad format: 0x0002
** Message: applet now removed from the notification area
gnome-session[11319]: WARNING: Application 'gnome-shell.desktop' killed by signal
gnome-shell-calendar-server[11481]: Got HUP on stdin - exiting


- for a crash that occurs when browsing the application menu in the Activities overview :
Code:

** Message: applet now removed from the notification area
gnome-session[11319]: WARNING: Application 'gnome-shell.desktop' killed by signal
gnome-shell-calendar-server[11705]: Got HUP on stdin - exiting


I can provide other details/system info on request, i'm not sure what's needed.
Oh and I found a small handful of other users experiencing this exactly (same problems on the same applets) on various distributions (such as ArchLinux or Fedora) but they don't seem to have got interesting replies so far.

I also thought of filing a bug but as you may see... I'm not even sure what's faulty, i.e. I'm not sure where to report it.

I'll just end this first post by mentioning that :
- I'm running the Restricted mode just fine, except xdm (as far as I can tell) always crashes after a few mins in the session then it doesn't crash again until I shut down the laptop,
- For some reason gdm starts on tty2, instead of tty7. That may be crash-related, as it's back on tty7 after the crash. But it's a different issue, of course.

So, here goes. Any hint or idea would be much welcome ! :)


Last edited by Saturne on Tue Apr 26, 2011 7:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
moben
n00b
n00b


Joined: 09 Jan 2009
Posts: 52

PostPosted: Mon Apr 25, 2011 9:49 am    Post subject: Reply with quote

yeah! ive got exactly the same issues and like you no idea where to report or who can help. :/

if any system infos requiered, pls tell me, the errors are the same as saturnes....


edit: got it! switching to gallium driver solves these issues... but, is this a good solution? :)


ben
Back to top
View user's profile Send private message
jancici
Apprentice
Apprentice


Joined: 27 Jan 2004
Posts: 284
Location: Slovakia

PostPosted: Mon Apr 25, 2011 3:53 pm    Post subject: Reply with quote

I have same problem. There is radeon HD3400 in my laptop.
how to switch to gallium driver? I am trying that but I am not sure how can I check which driver I am using?

thanks
Back to top
View user's profile Send private message
moben
n00b
n00b


Joined: 09 Jan 2009
Posts: 52

PostPosted: Mon Apr 25, 2011 3:57 pm    Post subject: Reply with quote

no problem :)

Code:
moben ~ # eselect mesa list
i915 (Intel 915, 945)
i965 (Intel 965, G/Q3x, G/Q4x)
r300 (Radeon R300-R500)
  [1]   classic
  [2]   gallium *
r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   classic *
  [2]   gallium
sw (Software renderer)
  [1]   classic
  [2]   gallium *
moben ~ #
moben ~ # eselect mesa set r600 gallium
Switching r600 to gallium
moben ~ #
moben ~ # eselect mesa list
i915 (Intel 915, 945)
i965 (Intel 965, G/Q3x, G/Q4x)
r300 (Radeon R300-R500)
  [1]   classic
  [2]   gallium *
r600 (Radeon R600-R700, Evergreen, Northern Islands)
  [1]   classic
  [2]   gallium *
sw (Software renderer)
  [1]   classic
  [2]   gallium *



you can check it with

Code:
moben ~ # glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Gallium 0.4 on AMD CEDAR
moben ~ #


ben
Back to top
View user's profile Send private message
jancici
Apprentice
Apprentice


Joined: 27 Jan 2004
Posts: 284
Location: Slovakia

PostPosted: Mon Apr 25, 2011 4:59 pm    Post subject: Reply with quote

thans for help
problem is solved, I can click networks and other stuff in right top corner and gnome-shell is running ...
Back to top
View user's profile Send private message
Saturne
n00b
n00b


Joined: 13 Mar 2005
Posts: 25
Location: Paris, France

PostPosted: Tue Apr 26, 2011 7:16 pm    Post subject: Reply with quote

Hey guys, thanks for the replies.

I'm not sure why I didn't think to test the mesa driver. Thanks for the hint ! It did fix it ! (I still have to investigate the first-time-crash, that I'm unsure whether it's related to the driver).

However this is not a satisfactory fix, as there is obviously some sort of bug upstream, either from Gnome or the Radeon driver...

I'm unsure what the difference is, in any case, so I'm going to look it up. In the meantime it's quite a relief that things seem to work fine !

Putting [tempfix] in the thread post, if mods consider it should be resolved feel free/i'll change it then.
Back to top
View user's profile Send private message
bacon
n00b
n00b


Joined: 16 Feb 2011
Posts: 18
Location: Brazil

PostPosted: Sat Apr 30, 2011 3:41 am    Post subject: Reply with quote

That didn't fix my problem! My gnome3 is crashing whenever I try to navigate through my files with nautilus or switch my screen resolution.

I dont know how to retrieve info from the ~/.xsession file, cuz when I log in it overwrites the file... =/

Any ideas?
_________________
│ █ █ │ █ █ █ │ █ █ │
Back to top
View user's profile Send private message
moben
n00b
n00b


Joined: 09 Jan 2009
Posts: 52

PostPosted: Sat Apr 30, 2011 3:47 am    Post subject: Reply with quote

dont log in into gnome? log in with another user? ...^^
Back to top
View user's profile Send private message
bacon
n00b
n00b


Joined: 16 Feb 2011
Posts: 18
Location: Brazil

PostPosted: Sat Apr 30, 2011 4:19 am    Post subject: Reply with quote

=)

Code:
Initializing nautilus-gdu extension
gnome-session[5619]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.


(gnome-settings-daemon:5647): Gdk-WARNING **: gnome-settings-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

[1304135122,000,xklavier.c:xkl_engine_start_listen/]    The backend does not require manual layout management - but it is provided by the application
Window manager warning: Log level 16: gnome-shell: Fatal IO error 104 (Connection reset by peer) on X server :0.

gnome-shell-calendar-server[5690]: Lost (or failed to acquire) the name org.gnome.Shell.CalendarServer - exiting
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
** Message: Caught signal 15, shutting down...
[5765:5765:546883135:ERROR:browser_main_gtk.cc(47)] X IO Error detected

(gdu-notification-daemon:5677): Gdk-WARNING **: gdu-notification-daemon: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

[5902:5902:546892491:ERROR:x11_util.cc(65)] X IO Error detected
[6008:6008:546895454:ERROR:x11_util.cc(65)] X IO Error detected
XIO:  fatal IO error 88 (Socket operation on non-socket) on X server ":0"
      after 9 requests (9 known processed) with 0 events remaining.
npviewer.bin: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.


so, any ideas? i've emerged gnome-session already!
_________________
│ █ █ │ █ █ █ │ █ █ │
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Sat Apr 30, 2011 6:49 am    Post subject: Reply with quote

bacon wrote:
That didn't fix my problem! My gnome3 is crashing whenever I try to navigate through my files with nautilus or switch my screen resolution.

I dont know how to retrieve info from the ~/.xsession file, cuz when I log in it overwrites the file... =/

Any ideas?

If you use gdm-3 it has problems. Gnome-3 crashes with it. I use kdm for a while and no gnome3 crashes here. Until gdm is fixed, try another login manager.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
moben
n00b
n00b


Joined: 09 Jan 2009
Posts: 52

PostPosted: Sat Apr 30, 2011 6:52 am    Post subject: Reply with quote

gdm3 works fine, no problems with it....
Back to top
View user's profile Send private message
Saturne
n00b
n00b


Joined: 13 Mar 2005
Posts: 25
Location: Paris, France

PostPosted: Sat Apr 30, 2011 9:46 am    Post subject: Reply with quote

No problems with gdm 3 here either (except... well... it doesn't start in the proper tty on boot, but that may not be gdm-related at all).

I'm not sure that the problem is the same as above, it looks more like a nautilus-gdu issue. In which case i'm guessing it may be related to DeviceKit, In any case my first move would be to deep-remerge (or upgrade if available) sys-apps/gnome-disk-utility and its deps. And then revdep-rebuilding of course.

The screen resolution thing is more puzzling, I guess... does it output the same error ?
Back to top
View user's profile Send private message
bacon
n00b
n00b


Joined: 16 Feb 2011
Posts: 18
Location: Brazil

PostPosted: Sun May 08, 2011 4:08 am    Post subject: Reply with quote

I solved the problem by removing hal and its services on boot. Xorg takes care of the functions hal has. Got rid of all those crashes. Yay!

Too good to be true, though. When I rebooted my system, gdm comes up and when I log in, it crashes and brings me the login screen again. o.O

Code:
gnome-shell-calendar-server[4750]: Lost (or failed to acquire) the name org.gnome.Shell.CalendarServer - exiting
g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.


Thats the last info at .xsession-errors

=/

(full emerge -DNuva and revdep already made)
_________________
│ █ █ │ █ █ █ │ █ █ │
Back to top
View user's profile Send private message
Saturne
n00b
n00b


Joined: 13 Mar 2005
Posts: 25
Location: Paris, France

PostPosted: Sun May 08, 2011 11:22 am    Post subject: Reply with quote

bacon wrote:

Too good to be true, though. When I rebooted my system, gdm comes up and when I log in, it crashes and brings me the login screen again. o.O


Out of curiosity, does gdm start on the correct tty ? (usually tty7). I find that when booting, it loads in tty2 instead (the conf.d/xdm file does specify tty7), and it crashes/start after a moment, I'm guessing there's some sort of conflict (but I admit I haven't had the time to investigate yet). When it restarts, it does start in tty7. if, after booting, I restart it manually, it does reload in tty7 as well.
Back to top
View user's profile Send private message
druggo
Apprentice
Apprentice


Joined: 24 Sep 2003
Posts: 289
Location: Hangzhou, China

PostPosted: Wed May 25, 2011 5:49 am    Post subject: Reply with quote

moben wrote:

moben ~ # eselect mesa set r600 gallium


nice! works for me!
_________________
HighWayToHell(blog)
http://blog.druggo.org/
Back to top
View user's profile Send private message
newfuntek
n00b
n00b


Joined: 28 Jun 2006
Posts: 30
Location: Poland

PostPosted: Sat Aug 27, 2011 6:11 pm    Post subject: Reply with quote

Use gnome-next branch from gnome overlay:
http://forums.funtoo.org/viewtopic.php?pid=3368

For gnome-shell crash you need only this unicode date format removal:

https://bugzilla.redhat.com/show_bug.cgi?id=703060
https://bugzilla.mozilla.org/show_bug.cgi?id=508783
_________________
gcc 8.1.0 lto graphite, rpi3 gcc 7.3.0
Tools for easy installation of Gentoo Linux (comments in Polish)
https://github.com/pwasiewi/gentools
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum