You are not logged in.

#1 2012-11-08 07:53:16

amadar
Banned
Registered: 2011-04-15
Posts: 147

After recent updates, Gnome freezes randomly. Video problem?

I've been having some problems lately that I didn't have before recent updates.

My desktop will freeze randomly and my only option is to switch to a VT and enter multi-user mode with `systemctl isolate multi-user.service`. X doesn't crash though. My Gnome Desktop just freezes entirely, but the mouse pointer continues to move around just fine. When I enter multi-user mode, Xorg.0.log says that the server exited successfully.

Below are error messages in dmesg, systemd journal, and Xorg.0.log.

# dmesg | grep -i error
...
...
[17986.766825] [drm:r100_cs_track_texture_check] *ERROR* Texture of unit 0 needs 245760 bytes but is 139264
[17986.766827] [drm:r100_cs_track_texture_print] *ERROR* pitch                      1280
[17986.766829] [drm:r100_cs_track_texture_print] *ERROR* use_pitch                  1
[17986.766831] [drm:r100_cs_track_texture_print] *ERROR* width                      65
[17986.766833] [drm:r100_cs_track_texture_print] *ERROR* width_11                   2048
[17986.766834] [drm:r100_cs_track_texture_print] *ERROR* height                     48
[17986.766836] [drm:r100_cs_track_texture_print] *ERROR* height_11                  2048
[17986.766838] [drm:r100_cs_track_texture_print] *ERROR* num levels                 0
[17986.766840] [drm:r100_cs_track_texture_print] *ERROR* depth                      0
[17986.766842] [drm:r100_cs_track_texture_print] *ERROR* bpp                        4
[17986.766844] [drm:r100_cs_track_texture_print] *ERROR* coordinate type            0
[17986.766845] [drm:r100_cs_track_texture_print] *ERROR* width round to power of 2  0
[17986.766847] [drm:r100_cs_track_texture_print] *ERROR* height round to power of 2 0
[17986.766849] [drm:r100_cs_track_texture_print] *ERROR* compress format            0
[17986.766851] [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
[22547.870582] plugin-containe[20829]: segfault at 7fcf04225a05 ip 00007fcf1487c9d8 sp 00007fcf0c3a1970 error 4

# journalctl | grep -i error
...
...
Nov 07 23:22:43 starlancer kernel: [drm:r100_cs_track_texture_print] *ERROR* bpp                        4
Nov 07 23:22:43 starlancer kernel: [drm:r100_cs_track_texture_print] *ERROR* coordinate type            0
Nov 07 23:22:43 starlancer kernel: [drm:r100_cs_track_texture_print] *ERROR* width round to power of 2  0
Nov 07 23:22:43 starlancer kernel: [drm:r100_cs_track_texture_print] *ERROR* height round to power of 2 0
Nov 07 23:22:43 starlancer kernel: [drm:r100_cs_track_texture_print] *ERROR* compress format            0
Nov 07 23:22:43 starlancer kernel: [drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
Nov 07 23:41:07 starlancer dbus-daemon[275]: dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.418" (uid=1002 pid=19143 comm="/usr/bin/gnome-session --session=gnome-compiz ")
Nov 07 23:41:07 starlancer dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.418" (uid=1002 pid=19143 comm="/usr/bin/gnome-session --session=gnome-compiz ")
Nov 07 23:42:07 starlancer dbus-daemon[275]: dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.418" (uid=1002 pid=19143 comm="/usr/bin/gnome-session --session=gnome-compiz ")
Nov 07 23:42:07 starlancer dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.418" (uid=1002 pid=19143 comm="/usr/bin/gnome-session --session=gnome-compiz ")
Nov 07 23:42:16 starlancer gnome-session[19143]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Nov 07 23:42:20 starlancer dbus-daemon[275]: dbus[275]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.438" (uid=0 pid=19658 comm="/usr/sbin/gdm-binary ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.439" (uid=0 pid=19664 comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
Nov 07 23:42:20 starlancer dbus[275]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.438" (uid=0 pid=19658 comm="/usr/sbin/gdm-binary ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.439" (uid=0 pid=19664 comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
Nov 07 23:42:20 starlancer NetworkManager[269]: <error> [1352360540.622789] [nm-system.c:924] add_ip4_route_to_gateway(): (wlan0): failed to add IPv4 route to gateway (-12)
Nov 08 00:19:41 starlancer dbus-daemon[275]: dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.487" (uid=1002 pid=19809 comm="/usr/bin/gnome-session --session=gnome-compiz ")
Nov 08 00:19:41 starlancer dbus[275]: [system] Rejected send message, 2 matched rules; type="method_return", sender=":1.1" (uid=0 pid=273 comm="/usr/lib/systemd/systemd-logind ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.487" (uid=1002 pid=19809 comm="/usr/bin/gnome-session --session=gnome-compiz ")
Nov 08 00:20:33 starlancer gnome-session[19809]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
Nov 08 00:20:36 starlancer dbus-daemon[275]: dbus[275]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.507" (uid=0 pid=20280 comm="/usr/sbin/gdm-binary ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.508" (uid=0 pid=20286 comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
Nov 08 00:20:36 starlancer dbus[275]: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.507" (uid=0 pid=20280 comm="/usr/sbin/gdm-binary ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.508" (uid=0 pid=20286 comm="/usr/lib/gdm/gdm-simple-slave --display-id /org/gn")
Nov 08 00:20:37 starlancer NetworkManager[269]: <error> [1352362837.36005] [nm-system.c:924] add_ip4_route_to_gateway(): (wlan0): failed to add IPv4 route to gateway (-12)

# cat /var/log/Xorg.0.log | grep -i -e "(EE)" -e "(WW)"
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 22555.361] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 22555.361] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 22555.361] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 22555.364] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 22555.366] (WW) Warning, couldn't open module vesa
[ 22555.366] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 22555.367] (WW) Warning, couldn't open module modesetting
[ 22555.367] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 22555.367] (WW) Warning, couldn't open module fbdev
[ 22555.367] (EE) Failed to load module "fbdev" (module does not exist, 0)

EDIT: My desktop is started by systemd using graphical.target and gdm.service to start the GDM display manager on terminal 1 (TTY1). My Gnome desktop runs in Classic (Fallback) mode with Compiz and compiz-decorator-gtk for effect. I

Any idea what might be causing these freezes or what info I can further provide?

EDIT: Processes in X are apparently not crashing, only the video output is. For example, if I'm running applications with sound, I continue hearing sound though the graphics are completely frozen. Is there a way to refresh the graphics or video card somehow?

Last edited by amadar (2012-12-20 10:59:32)

Offline

#2 2012-11-08 10:00:00

Tes--
Member
Registered: 2009-11-13
Posts: 42

Re: After recent updates, Gnome freezes randomly. Video problem?

Did you try killing just gnome-shell from the terminal?

Offline

#3 2012-11-08 18:34:41

amadar
Banned
Registered: 2011-04-15
Posts: 147

Re: After recent updates, Gnome freezes randomly. Video problem?

I forgot to mention I'm using Gnome Classic (Fallback) mode with Compiz so I edited my original post.

Last edited by amadar (2012-11-08 22:29:53)

Offline

#4 2012-11-08 22:32:08

amadar
Banned
Registered: 2011-04-15
Posts: 147

Re: After recent updates, Gnome freezes randomly. Video problem?

Just now, when freezing ocurred, I switched to a virtual terminal then killed compiz and gnome-panel, and when I switched back, my desktop was unfrozen! One of those is the cuplrit. I'll be back when I figure out for sure which one it is... (this might not be a kernel/hardware issue).

Last edited by amadar (2012-11-08 22:32:39)

Offline

#5 2012-11-09 09:55:13

bmanuel
Member
Registered: 2011-10-06
Posts: 103

Re: After recent updates, Gnome freezes randomly. Video problem?

I'm experiencing the very same problem on both my machines: i'm running vanilla gnome-shell 3.6, no gnome classic, nvidia blob and latest updates.
In my case i'm able to switch to a VT and restart gdm, but this will last only some random time, then another freeze will follows and this time there is nothing i can do since everything is completely frozen so REISUB won't work either.
Don't know if this is related to video, but this never happened with gnome 3.4.

Offline

#6 2012-11-10 03:50:53

amadar
Banned
Registered: 2011-04-15
Posts: 147

Re: After recent updates, Gnome freezes randomly. Video problem?

My crashes seem to be related to Compiz. I haven't experienced any crashes so far using Gnome Shell, Mutter, or Metacity. If I use Compiz, the desktop freezes some random time into the session. I'm going to see if I can get some output from Compiz.

Offline

#7 2012-11-13 00:44:34

jo-shva
Member
From: Sherman, TX USA
Registered: 2010-10-18
Posts: 126

Re: After recent updates, Gnome freezes randomly. Video problem?

I am having similar issue with gnome freezing randomly in a fresh install of 3.6.  For me it usually happens when moving the cursor to the upper left corner (activities) or even when using the "win" key.  while frozen i can move the cursor but I'm unable to exit without a hard reboot.  I just reinstalled Arch after having a 4+ year install, i figured it was due and things would run smoother.  I was wrong.  Funny thing is, I have an install of ubuntu12.10 and i run gnome-shell on it without any problems.  Usually its the other way around.
Any Help!


"Democracy is being allowed to vote for the candidate you dislike least." -- Robert Byrne
http://killhellokitty.deviantart.com/

Offline

#8 2012-11-15 12:13:58

Jompu
Member
From: Finland
Registered: 2012-04-14
Posts: 14
Website

Re: After recent updates, Gnome freezes randomly. Video problem?

I have same problem after upgrade to GNOME 3.6.  I haven't noticed that going to activities with mouse or win key would cause it. And I don't use any compiz effects. For me it have happened only on battery power.

Btw. If using native gnome with gnome shell and you can get to VT, you can restart gnome by killing it. First find out PID of running gnome-shell process by:

ps -e | grep gnome-shell

And then kill process by (replace xxxx with PID number of your gnome-shell process):

sudo kill -HUP xxxx

Offline

#9 2012-11-15 14:23:51

bmanuel
Member
Registered: 2011-10-06
Posts: 103

Re: After recent updates, Gnome freezes randomly. Video problem?

This is still happening on one of my machines and, curiously, that machine is the one i'm using for developing a game so i'm basically using GL all the time and i initially thought that graphics was involved also by reading here that Compiz was somewhat related.
But then i read today's post (#8) from Jompu and i'm not sure if that is still the case: however, yesterday night that machine worked flawlessly without hiccups or hangs for the first time after the gnome shell 3.6 update, just updated everything and started working as always.
Hopefully everything will be fine tonight smile

Offline

#10 2012-11-19 09:11:16

bmanuel
Member
Registered: 2011-10-06
Posts: 103

Re: After recent updates, Gnome freezes randomly. Video problem?

Just an update: this weekend the machine i thought "stable" has frozen again, just while watching some videos from a fresh boot, so it looks like the problem is still there.

<edit>It could be interesting to add that just the screens (multihead setup here 1920x1080+1920x1080) frozen completely, both the mouse cursor,  RadioTray and VLC were still running fine in the background, as well as XChat</edit>

Last edited by bmanuel (2012-11-19 09:20:47)

Offline

#11 2012-11-20 18:41:48

WhiteKnight
Member
Registered: 2011-11-19
Posts: 11

Re: After recent updates, Gnome freezes randomly. Video problem?

I just want to confirm, that you're not alone:

Since the upgrade to Gnome 3.6 I have the exact same problem like bmanuel described in #10.
Music is still playing, I can move the mouse, but nothing else is working. I can only switch to the console and kill X. The method of signalling gnome-shell to restart seems like a better idea, so I will try this.
This happens at least 2 times a day, sometimes even more often.

I didn't found anything worth to mention in my .xsession-errors file. Besides that:

dropbox: Fatal IO error 11 (resource temporarily unavailable) on X server :0.

But since this is related to Dropbox, I have not searched further for that …

Offline

#12 2012-11-20 22:49:56

bmanuel
Member
Registered: 2011-10-06
Posts: 103

Re: After recent updates, Gnome freezes randomly. Video problem?

I think i got my problem, but i don't know how to solve it: after much troubles i found out that whenever i have an SMB connection with a machine that then goes down/disconnect from network without me unmounting the share BEFORE it, then BOOM, everything freeze.
I noticed this only because i was sharing a directory with my brother and noticed i had the froze as soon as he got disconnected from the network: so i asked him to power on that machine and.. magic! My machine unfroze instantly!

But now, how to fix that?! Is it due to my /etc/fstab? Does this really matter with nemo/nautilus mounted shares? This, however, depicts the machine in question (the one that, disconnecting from the network, caused my own to freeze)

//themachine.local/shared /home/username/mountpoint/ cifs noauto,guest,username=myname,password=mypassword,uid=1000,gid=100 0 0

At last i found out what's my problem, hopefully your situation is similar so that we can work out a solution on this one.

Last edited by bmanuel (2012-11-20 22:51:22)

Offline

#13 2012-11-20 22:56:30

bmanuel
Member
Registered: 2011-10-06
Posts: 103

Re: After recent updates, Gnome freezes randomly. Video problem?

It looks like i found a very similar problem on this thread: https://bbs.archlinux.org/viewtopic.php?id=149294, but i don't have any of those listed extensions installed, but now that i think about it, i've the option "Show mounted volumes on the desktop" in the Tweak Tool->Desktop tool.. need to investigate more.

Offline

#14 2012-11-21 22:11:16

WhiteKnight
Member
Registered: 2011-11-19
Posts: 11

Re: After recent updates, Gnome freezes randomly. Video problem?

Today at work I looked into Gnome Tweak Tool. Even though I disabled showing nautilus/files on my desktop in general, the option "Show mounted volumes on the desktop" was set to "on". I disabled it and today I got only one time (compared to at least 2-3) a desktop freeze.

Thank you (Jompu) very much for the tip with restarting gnome-shell instead of killing whole X, now I can continue working without restarting all applications and stuff. This is making everything way less painful.

Tomorrow, I will disable all my shell extensions to find out, if there's a connection ...

Offline

#15 2012-11-22 11:46:35

xgdgsc
Member
Registered: 2012-02-03
Posts: 122

Re: After recent updates, Gnome freezes randomly. Video problem?

Thanks for the tip with restarting only gnome-shell rather than X. I can reproduce this freeze everytime I check the "use system title bar" in chromium. Hope someone file a bug somewhere.

Offline

#16 2012-11-22 12:37:39

bmanuel
Member
Registered: 2011-10-06
Posts: 103

Re: After recent updates, Gnome freezes randomly. Video problem?

I was also used to sudo service restart gdm from a VT, but i noticed the next freeze will be harder than the first one, usually involving removing power or pressing the power on button for 3 seconds since even the Magic SysRq will not work anymore, so i usually reboot the machine.

Offline

#17 2012-11-23 12:12:25

amadar
Banned
Registered: 2011-04-15
Posts: 147

Re: After recent updates, Gnome freezes randomly. Video problem?

Hmmmm.... Yeah, I've narrowed down my problem to Compiz. I've been using Mutter for the past week with no freezing, then I tried Compiz and it froze within an hour. I'm not exactly sure why it's freezing though. I know it's not samba like in bmanuel's case because I don't use samba. As for everyone else, it seems video related. I'll post back if I find more info.

Offline

#18 2012-11-23 17:33:47

WhiteKnight
Member
Registered: 2011-11-19
Posts: 11

Re: After recent updates, Gnome freezes randomly. Video problem?

Interesting, obviously we all have different causes for the freeze …

For me, it seems like one of the Gnome Shell extensions is to blame.
Yesterday I deactivated all of them: no freezes.
Today I activated some: no freezes.
Still some extensions to go … wink

Offline

#19 2012-12-02 20:46:45

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 749

Re: After recent updates, Gnome freezes randomly. Video problem?

I run compiz-standalone session,and like amadar's,it freezes within one hour at most. It started after last compiz update.

Offline

#20 2012-12-20 10:58:37

amadar
Banned
Registered: 2011-04-15
Posts: 147

Re: After recent updates, Gnome freezes randomly. Video problem?

Hey all. I've confirmed that the problem is with Compiz, but I have also now confirmed more specifically that the problem is with Compiz + Radeon video cards. I believe Compiz is having problem with the Radeon card because I've gotten a new laptop that has an Intel HD 4000 video card and Compiz runs smoothly and does not crash at all.

The problem wasn't there not long before I opened this thread, so something has obviously changed with Compiz that is conflicting with Radeon. I've no idea what though.

Word of advice: Radeon video cards are notorious for having the worst driver support in Linux so make sure your system has an Nvidia or Intel video card instead.

Last edited by amadar (2012-12-20 11:02:00)

Offline

#21 2012-12-29 23:44:54

ravil
Member
Registered: 2012-12-23
Posts: 2

Re: After recent updates, Gnome freezes randomly. Video problem?

I have this issue on Intel HD 3000 graphics (sandybridge). No compiz installed, just standard gnome composite manager (gnome-shell).

Offline

#22 2012-12-30 10:09:25

bmanuel
Member
Registered: 2011-10-06
Posts: 103

Re: After recent updates, Gnome freezes randomly. Video problem?

I have an nVidia GTX660, no compiz for me too.

Offline

#23 2013-04-02 10:19:58

AbtZ
Member
Registered: 2008-05-30
Posts: 31

Re: After recent updates, Gnome freezes randomly. Video problem?

bmanuel wrote:

I think i got my problem, but i don't know how to solve it: after much troubles i found out that whenever i have an SMB connection with a machine that then goes down/disconnect from network without me unmounting the share BEFORE it, then BOOM, everything freeze.
I noticed this only because i was sharing a directory with my brother and noticed i had the froze as soon as he got disconnected from the network: so i asked him to power on that machine and.. magic! My machine unfroze instantly!

But now, how to fix that?! Is it due to my /etc/fstab? Does this really matter with nemo/nautilus mounted shares? This, however, depicts the machine in question (the one that, disconnecting from the network, caused my own to freeze)

//themachine.local/shared /home/username/mountpoint/ cifs noauto,guest,username=myname,password=mypassword,uid=1000,gid=100 0 0

At last I found out what's my problem, hopefully your situation is similar so that we can work out a solution on this one.

THANKS! I'm quite sure this is the reason gnome shell freezes for me as well. I was mounting my box.com cloud with this entry in /etc/fstab:

# box.com account
https://www.box.com/dav /home/abtz/Box davfs rw,user,noauto 0 0

If anyone has an idea for how to fix this, I'm all ears. For now, I'll just remove the entry from /etc/fstab.

I'm running vanilla Gnome, with only the Frippery shutdown menu and battery remaining extensions installed.

Offline

#24 2013-04-02 12:12:20

bmanuel
Member
Registered: 2011-10-06
Posts: 103

Re: After recent updates, Gnome freezes randomly. Video problem?

AbtZ wrote:

THANKS! I'm quite sure this is the reason gnome shell freezes for me as well. I was mounting my box.com cloud with this entry in /etc/fstab:

# box.com account
https://www.box.com/dav /home/abtz/Box davfs rw,user,noauto 0 0

If anyone has an idea for how to fix this, I'm all ears. For now, I'll just remove the entry from /etc/fstab.

I'm running vanilla Gnome, with only the Frippery shutdown menu and battery remaining extensions installed.

Nice i'm not the only one with vanilla Gnome, hopefully we'll rule out and pinpoint the problem OR gnome 3.8 will fix this?

Offline

#25 2013-04-02 12:41:27

bwat47
Member
Registered: 2009-10-07
Posts: 637

Re: After recent updates, Gnome freezes randomly. Video problem?

ravil wrote:

I have this issue on Intel HD 3000 graphics (sandybridge). No compiz installed, just standard gnome composite manager (gnome-shell).


If anyone is experiencing a freeze like this with gnome-shell and happens to have intel graphics this may fix it:

add i915.i915_enable_fbc=0 to your grub commandline (this only works with intel)

I was experiencing random freezes like this with gnome-shell and my intel HD4000 (desktop would totally freeze except I could still move mouse), but after adding that to grub its been smooth sailing.

Last edited by bwat47 (2013-04-02 12:45:15)

Offline

Board footer

Powered by FluxBB