You are not logged in.

#1 2011-06-05 19:28:48

Enunes
Member
Registered: 2009-08-06
Posts: 11

X weird behavior and eventually crash

Hey,

I've been getting this bug for a while now, I thought it was just from some specific driver/app version combination but it's been sticking for long.

Basically, when I open Gimp or some other specific graphic apps, like Libreoffice, my screen gets trashed.
If I force a screen contents refresh (for example, maximizing and minimizing a window) it apparently goes back to normal.
Here are some screenshots, as I recently found a way to reproduce it:

This is how it looks like in the beginning:
https://sites.google.com/site/nuneseric … before.png

This is how it gets like when I open Gimp:
https://sites.google.com/site/nuneseric … after1.png
(It was supposed to open only one of each of the toolbars, and only one image)

This is to show how trashed it gets, by moving a window over the dirty area:
https://sites.google.com/site/nuneseric … after2.png

After I clean the mess (for example resizing firefox, forcing a screen refresh), there are still artifacts on the desktop environment:
https://sites.google.com/site/nuneseric … after3.png
Look for a small white bar over the konsole bar at the task manager (at the KDE Panel close to the KDE menu).
I know it's small but that's to show there are still unsolved artifacts after I trigger the bug.

The bad part is, sometimes after the bug is triggered (by running Gimp or Libreoffice for instance) X crashes by some unrelated random reason.
For example, opening a menu in firefox or something like that could make it crash. Sometimes it just runs for long and doesnt crash.
When this crash happens, I get all black screen and am forced to reboot.

That's bad because I have already lost work by running Libreoffice to edit some documents and getting a crash later.

I am using a dual monitor setup.
My graphics card is a Mobility Radeon x1600, and I am using the radeon open source driver.

The bug has happened without the external monitor attached.

[erico@hp 16:24:04 ~]$ xrandr 
Screen 0: minimum 320 x 200, current 2720 x 900, maximum 8192 x 8192
VGA-0 connected 1440x900+1280+0 (normal left inverted right x axis y axis) 428mm x 255mm
   1440x900       59.9*+   75.0  
   1280x1024      75.0     60.0  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1280x800       60.0*+
   1280x720       59.9  
   1152x768       59.8  
   1024x768       59.9  
   800x600        59.9  
   848x480        59.7  
   720x480        59.7  
   640x480        59.4  
S-video disconnected (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
[erico@hp 16:18:56 ~]$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc M56P [Radeon Mobility X1600]
02:06.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
02:06.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller
02:06.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD)
02:06.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller
02:06.4 Communication controller: Texas Instruments PCIxx12 GemCore based SmartCard controller
08:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5753M Gigabit Ethernet PCI Express (rev 21)
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
[erico@hp 16:18:47 ~]$ uname -a
Linux hp 2.6.39-ARCH #1 SMP PREEMPT Fri May 20 09:09:27 UTC 2011 i686 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux
[erico@hp 16:20:06 ~]$ cat /var/log/Xorg.0.log | tail -50
[  1142.456] (**) PS/2 Generic Mouse: YAxisMapping: buttons 4 and 5
[  1142.456] (**) PS/2 Generic Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  1142.456] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/serio5/input/input11/event11"
[  1142.456] (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE)
[  1142.456] (II) PS/2 Generic Mouse: initialized for relative axes.
[  1142.457] (**) PS/2 Generic Mouse: (accel) keeping acceleration scheme 1
[  1142.457] (**) PS/2 Generic Mouse: (accel) acceleration profile 0
[  1142.457] (**) PS/2 Generic Mouse: (accel) acceleration factor: 2.000
[  1142.457] (**) PS/2 Generic Mouse: (accel) acceleration threshold: 4
[  1142.457] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/mouse2)
[  1142.457] (II) No input driver/identifier specified (ignoring)
[  1142.458] (II) config/udev: Adding input device ST LIS3LV02DL Accelerometer (/dev/input/event8)
[  1142.458] (II) No input driver/identifier specified (ignoring)
[  1142.458] (II) config/udev: Adding input device ST LIS3LV02DL Accelerometer (/dev/input/js0)
[  1142.458] (II) No input driver/identifier specified (ignoring)
[  1142.459] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[  1142.459] (II) No input driver/identifier specified (ignoring)
[  1142.463] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event7)
[  1142.463] (**) HP WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[  1142.463] (II) Using input driver 'evdev' for 'HP WMI hotkeys'
[  1142.463] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1142.463] (**) HP WMI hotkeys: always reports core events
[  1142.463] (**) HP WMI hotkeys: Device: "/dev/input/event7"
[  1142.483] (--) HP WMI hotkeys: Found keys
[  1142.483] (II) HP WMI hotkeys: Configuring as keyboard
[  1142.483] (**) Option "config_info" "udev:/sys/devices/virtual/input/input7/event7"
[  1142.483] (II) XINPUT: Adding extended input device "HP WMI hotkeys" (type: KEYBOARD)
[  1142.483] (**) Option "xkb_rules" "evdev"
[  1142.483] (**) Option "xkb_model" "evdev"
[  1142.483] (**) Option "xkb_layout" "us"
[  1143.372] (II) RADEON(0): EDID vendor "SEC", prod id 12869
[  1143.372] (II) RADEON(0): Printing DDC gathered Modelines:
[  1143.372] (II) RADEON(0): Modeline "1280x800"x0.0   68.94  1280 1296 1344 1408  800 801 804 816 -hsync -vsync (49.0 kHz)
[  1143.416] (II) RADEON(0): Allocate new frame buffer 2720x912 stride 2752
[  1143.416] (II) RADEON(0): VRAM usage limit set to 222217K
[  1143.491] (II) RADEON(0): EDID vendor "SEC", prod id 12869
[  1143.491] (II) RADEON(0): Printing DDC gathered Modelines:
[  1143.491] (II) RADEON(0): Modeline "1280x800"x0.0   68.94  1280 1296 1344 1408  800 801 804 816 -hsync -vsync (49.0 kHz)
[  1144.390] (II) RADEON(0): EDID vendor "SEC", prod id 12869
[  1144.391] (II) RADEON(0): Printing DDC gathered Modelines:
[  1144.391] (II) RADEON(0): Modeline "1280x800"x0.0   68.94  1280 1296 1344 1408  800 801 804 816 -hsync -vsync (49.0 kHz)
[  1182.775] (II) RADEON(0): EDID vendor "SEC", prod id 12869
[  1182.775] (II) RADEON(0): Printing DDC gathered Modelines:
[  1182.775] (II) RADEON(0): Modeline "1280x800"x0.0   68.94  1280 1296 1344 1408  800 801 804 816 -hsync -vsync (49.0 kHz)
[  1424.886] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1435.478] (II) AIGLX: Resuming AIGLX clients after VT switch
[  1435.534] (II) RADEON(0): EDID vendor "SEC", prod id 12869
[  1435.534] (II) RADEON(0): Printing DDC gathered Modelines:
[  1435.534] (II) RADEON(0): Modeline "1280x800"x0.0   68.94  1280 1296 1344 1408  800 801 804 816 -hsync -vsync (49.0 kHz)
[  1435.779] (--) SynPS/2 Synaptics TouchPad: touchpad found
[erico@hp 16:25:46 ~]$ sudo cat /var/log/messages.log | egrep "video|radeon|screen" | grep Jun\ \ 5
Jun  5 12:23:38 localhost kernel: [    0.000000] Kernel command line: root=/dev/sda2 rw nopat noatime nodiratime radeon.modeset=1 fastboot rootdelay=1
Jun  5 12:23:38 localhost kernel: [    1.309894] [drm] radeon kernel modesetting enabled.
Jun  5 12:23:38 localhost kernel: [    1.310052] radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jun  5 12:23:38 localhost kernel: [    1.310808] radeon 0000:01:00.0: VRAM: 256M 0x0000000000000000 - 0x000000000FFFFFFF (256M used)
Jun  5 12:23:38 localhost kernel: [    1.310881] radeon 0000:01:00.0: GTT: 512M 0x0000000010000000 - 0x000000002FFFFFFF
Jun  5 12:23:38 localhost kernel: [    1.311133] radeon 0000:01:00.0: radeon: using MSI.
Jun  5 12:23:38 localhost kernel: [    1.311215] [drm] radeon: irq initialized.
Jun  5 12:23:38 localhost kernel: [    1.313126] [drm] radeon: 256M of VRAM memory ready
Jun  5 12:23:38 localhost kernel: [    1.313187] [drm] radeon: 512M of GTT memory ready.
Jun  5 12:23:38 localhost kernel: [    1.314853] [drm] radeon: 1 quad pipes, 2 z pipes initialized.
Jun  5 12:23:38 localhost kernel: [    1.316131] radeon 0000:01:00.0: WB enabled
Jun  5 12:23:38 localhost kernel: [    1.318657] [drm] radeon: ring at 0x0000000010001000
Jun  5 12:23:38 localhost kernel: [    1.318974] [drm] radeon: ib pool ready.
Jun  5 12:23:38 localhost kernel: [    1.321866] [drm]   S-video
Jun  5 12:23:38 localhost kernel: [    1.438574] [drm] radeon: power management initialized
Jun  5 12:23:38 localhost kernel: [    1.876495] fbcon: radeondrmfb (fb0) is primary device
Jun  5 12:23:38 localhost kernel: [    2.242284] fb0: radeondrmfb frame buffer device
Jun  5 12:23:38 localhost kernel: [    2.242361] [drm] Initialized radeon 2.9.0 20080528 for 0000:01:00.0 on minor 0
Jun  5 12:29:33 localhost kernel: [    0.000000] Kernel command line: root=/dev/sda2 rw nopat noatime nodiratime radeon.modeset=1 fastboot rootdelay=1
Jun  5 12:29:33 localhost kernel: [    1.323120] [drm] radeon kernel modesetting enabled.
Jun  5 12:29:33 localhost kernel: [    1.323263] radeon 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
Jun  5 12:29:33 localhost kernel: [    1.324029] radeon 0000:01:00.0: VRAM: 256M 0x0000000000000000 - 0x000000000FFFFFFF (256M used)
Jun  5 12:29:33 localhost kernel: [    1.324103] radeon 0000:01:00.0: GTT: 512M 0x0000000010000000 - 0x000000002FFFFFFF
Jun  5 12:29:33 localhost kernel: [    1.324355] radeon 0000:01:00.0: radeon: using MSI.
Jun  5 12:29:33 localhost kernel: [    1.324438] [drm] radeon: irq initialized.
Jun  5 12:29:33 localhost kernel: [    1.326366] [drm] radeon: 256M of VRAM memory ready
Jun  5 12:29:33 localhost kernel: [    1.326427] [drm] radeon: 512M of GTT memory ready.
Jun  5 12:29:33 localhost kernel: [    1.328092] [drm] radeon: 1 quad pipes, 2 z pipes initialized.
Jun  5 12:29:33 localhost kernel: [    1.329368] radeon 0000:01:00.0: WB enabled
Jun  5 12:29:33 localhost kernel: [    1.331785] [drm] radeon: ring at 0x0000000010001000
Jun  5 12:29:33 localhost kernel: [    1.332103] [drm] radeon: ib pool ready.
Jun  5 12:29:33 localhost kernel: [    1.333865] [drm]   S-video
Jun  5 12:29:33 localhost kernel: [    1.450592] [drm] radeon: power management initialized
Jun  5 12:29:33 localhost kernel: [    1.873164] fbcon: radeondrmfb (fb0) is primary device
Jun  5 12:29:33 localhost kernel: [    2.252282] fb0: radeondrmfb frame buffer device
Jun  5 12:29:33 localhost kernel: [    2.252359] [drm] Initialized radeon 2.9.0 20080528 for 0000:01:00.0 on minor 0

Offline

#2 2011-06-05 19:47:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: X weird behavior and eventually crash

Are you running [testing]? Your kernel is newer than the one in [core].

Last edited by karol (2011-06-05 19:50:33)

Offline

#3 2011-06-05 20:20:46

Enunes
Member
Registered: 2009-08-06
Posts: 11

Re: X weird behavior and eventually crash

Yes, I'm running [testing].

But as this has been happening for months already I don't think it's because of the [testing] kernel.

Offline

#4 2011-06-24 00:28:04

Enunes
Member
Registered: 2009-08-06
Posts: 11

Re: X weird behavior and eventually crash

Hey,

I'm still having this issue.

Today I found out that I can still log on my pc through ssh though when it crashes.
I even managed to start a new X session on my machine using xinit --display :0 from remotely.
It started the X session alright, and it all went back to somewhat normal.
Then I was able to change to tty1 again, and restart my local X session. (I'm using it right now).

Any way I can use the remote login to extract more info about the crash?
So far, I noticed that there was no high cpu usage while it was unusable.

Last edited by Enunes (2011-06-24 00:32:03)

Offline

#5 2011-08-06 23:32:27

sk1418
Member
Registered: 2011-08-06
Posts: 11

Re: X weird behavior and eventually crash

well, I have exactly the same problem here.
- Thinkpad T60 with ATI x1400 + Samsung T240 (dual screen)
- gnome3 (fallback mode)
- uname -a
Linux ArchT60 2.6.39-ARCH #1 SMP PREEMPT Sat Jul 9 15:31:04 CEST 2011 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linux


every first time urxvt was started, my screen looks quite similar as the screenshot made by Enunes. And the way to "clean" the screen also the same here.  Then if I start urxvt terminal window again, the screen will stay in clean.  Sometimes (not reproducible)  urxvt can make X crash.

And I don't know if it is normal, I feel the GPU temperature is too high.  I boot the laptop, waiting for 10 mins, there is no any X-application running in gnome3. the GPU temp is about 85 C . If I start a browser, open 4,5 tabs, temp can easily go to 88-90. If I watch some video even youtube online, the temp will be 95 ,97.  the fan works very hard btw. wink

It seems everything is ok if there is no 2nd monitor connected.

I do have a xorg.conf file to configure thinkpad Trackpoint.

Section "InputDevice"
 Identifier  "TPPS/2 IBM TrackPoint"
 Driver      "evdev"
 Option "CorePointer"
 Option     "Device" "/dev/input/by-path/platform-i8042-serio-1-event-mouse"
 Option     "GrabDevice" "False"
 Option "Emulate3Buttons" "true"
 Option "EmulateWheel" "true"
 Option "EmulateWheelTimeout" "200" # adjust third button paste timeout. 
 Option "EmulateWheelButton" "2"
 Option "YAxisMapping" "4 5"
 Option "XAxisMapping" "6 7"

EndSection

Section "ServerLayout"
 Identifier "myServerLayout"
 InputDevice    "TPPS/2 IBM TrackPoint"
# InputDevice    "Keyboard0" "CoreKeyboard"
 #option "AIGLX" "true"
EndSection

anybody has any clue ?

thanx in advance.

Offline

Board footer

Powered by FluxBB