Bug 9339

Summary: Lockup with ATI Radeon 9250 PCI (AIGLX) & Intel Corporation 82865G Integrated Graphics Controller (no DRI)
Product: xorg Reporter: Adeline <adelineenileda>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: high CC: adelineenileda
Version: 7.1 (2006.05)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
For information : Xorg.0.log none

Description Adeline 2006-12-13 23:30:35 UTC
Hello,

I have a problem with the 3D on my graphic card : ATI Radeon 9250 PCI (vendor
HIS). When I load a game or a command using 3D, my mouse and my screens are
freeze and i need to reboot my pc. 

I have building the current version of Mesa and drm but the problem doesn't solve.

Configuration : HP dx200MT with 2 screens ( 1-ATI Radeon 9250 PCI/Daewoo Sensy
and 2-Intel Corporation 82865G Integrated Graphics/Diamond Pro 930SB)

OS : Ubuntu Edgy
 $ uname -a
Linux didou-pentium 2.6.17-10-generic #2 SMP Fri Oct 13 18:45:35 UTC 2006 i686
GNU/Linux

When I use the ATI driver I don't have this problem.

 $ dmesg | grep drm
[17179604.704000] [drm] Initialized drm 1.1.0 20060810
[17179604.724000] [drm] Initialized radeon 1.25.0 20060524 on minor 0: 
[17179606.568000] [drm] Setting GART location based on new memory map
[17179606.572000] [drm] Loading R200 Microcode
[17179606.572000] [drm] writeback test succeeded in 2 usecs

 # scanpci
pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x2570
 Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface

pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x2572
 Intel Corporation 82865G Integrated Graphics Controller

pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x24d2
 Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1

pci bus 0x0000 cardnum 0x1d function 0x01: vendor 0x8086 device 0x24d4
 Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2

pci bus 0x0000 cardnum 0x1d function 0x02: vendor 0x8086 device 0x24d7
 Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3

pci bus 0x0000 cardnum 0x1d function 0x03: vendor 0x8086 device 0x24de
 Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4

pci bus 0x0000 cardnum 0x1d function 0x07: vendor 0x8086 device 0x24dd
 Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller

pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x244e
 Intel Corporation 82801 PCI Bridge

pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x24d0
 Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge

pci bus 0x0000 cardnum 0x1f function 0x01: vendor 0x8086 device 0x24db
 Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller

pci bus 0x0000 cardnum 0x1f function 0x03: vendor 0x8086 device 0x24d3
 Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller

pci bus 0x0000 cardnum 0x1f function 0x05: vendor 0x8086 device 0x24d5
 Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller

pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x1002 device 0x5960
 ATI Technologies Inc RV280 [Radeon 9200 PRO]

pci bus 0x0001 cardnum 0x00 function 0x01: vendor 0x1002 device 0x5940
 ATI Technologies Inc RV280 [Radeon 9200 PRO] (Secondary)

pci bus 0x0001 cardnum 0x08 function 0x00: vendor 0x8086 device 0x1050
 Intel Corporation 82562EZ 10/100 Ethernet Controller

For information :

 Xorg.conf :
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"type1"
	Load	"vbe"
EndSection

Section "Extensions"
     Option "RENDER" "Enable"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"fr"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ExplorerPS/2"
	Option		"ZAxisMapping"		"4 5"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "stylus"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "stylus"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "eraser"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "eraser"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"
  Driver        "wacom"
  Identifier    "cursor"
  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
  Option        "Type"          "cursor"
  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
EndSection



Section "Device"
	Identifier	"Intel Corporation 82865G Integrated Graphics Controller"
	Driver		"i810"
	BusID		"PCI:0:2:0"
EndSection

Section "Device"
    	Identifier    	"HIS (Ati) Radeon 9250 PCI"
   	Driver        	"radeon"
    	BusID        	"PCI:1:0:0"
#   	Option 		"AccelMethod" "XAA" # Use XFree86 Acceleration Architecture
#       Option 		"EnablePageFlip" "1" # Enable page flipping for 3D apps
#       Option 		"ColorTiling" "1"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
    	Option       	"dpms"
EndSection

Section "Monitor"
    Identifier    "DaewooSensy"
    Option        "DPMS" "true"
    HorizSync      30-80
    VertRefresh    56-75
    Option       "dpms"     
EndSection

Section "Screen"
	Identifier	"No Screen"
	Device		"Intel Corporation 82865G Integrated Graphics Controller"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
	EndSubSection
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "HIS (Ati) Radeon 9250 PCI"
    Monitor        "DaewooSensy"
    DefaultDepth    24
    SubSection "Display"
        Depth        1
        Modes        "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        4
        Modes        "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        8
        Modes        "1280x1024" "1024x768"  "800x600" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        15
        Modes        "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        16
        Modes        "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1280x1024" "1024x768" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen 0	"Default Screen" 
	Screen 1	"No Screen" LeftOf "Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice     "stylus" "SendCoreEvents"
	InputDevice     "cursor" "SendCoreEvents"
	InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
	Mode	0666
EndSection
Comment 1 Adeline 2006-12-13 23:32:27 UTC
Created attachment 8100 [details]
For information : Xorg.0.log
Comment 2 Adeline 2006-12-13 23:44:55 UTC
My card is not a 9200 PRO like the scanpci say but a 9250 PCI :
http://france.hisdigital.com/html/product_ov.php?id=137&view=yes

And I am sorry for my bad english ;)

Adeline
Comment 3 Michel Dänzer 2006-12-14 00:42:31 UTC
(In reply to comment #0)
> When I load a game or a command using 3D, my mouse and my screens are
> freeze and i need to reboot my pc. 

What are the specific symptoms of the freeze? Can you still log in remotely
afterwards? If so, is the X server still running?

Does glxinfo report direct rendering?

Does this also happen if you start the X server on the Radeon card only?
Comment 4 Adeline 2006-12-14 03:17:09 UTC
>What are the specific symptoms of the freeze? 

When I begin of loading a 3D game : I can't move my mousse (I see the cursor but
I can't move it). I see the desktop (in the bottom I see loading "the name of
the application") but I can't interact (with the mouse or the keyboard) with him.

When I don't use my computer during a time : The screen is black but I see the
cursor of the mouse (I can't move it).

In the both I try to reboot only the X (ctrl+alt+backslash) but I can't. I need
to stop the PC with the button of power. and reboot.

Can you still log in remotely
afterwards? If so, is the X server still running?
I don't try to log in remotely because I don't know how to do that... If you
speak to do alt+f2 to have a other terminal I can't .
Comment 5 Adeline 2006-12-14 03:24:07 UTC
> Does glxinfo report direct rendering?

I try yo do $ glxinfo but this command do freeze too the computer and I can't
see the result ...

Comment 6 Adeline 2006-12-14 04:22:13 UTC
(In reply to comment #3)

>Does this also happen if you start the X server on the Radeon card only?

No freeze with the radeon only.

Thanks

Adeline
Comment 7 Michel Dänzer 2006-12-14 04:25:42 UTC
(In reply to comment #4)
> > Can you still log in remotely afterwards? If so, is the X server still
> > running?
> I don't try to log in remotely because I don't know how to do that... If you
> speak to do alt+f2 to have a other terminal I can't .

No, I mean via ssh from another machine.

Do the freezes also occur if you disable AIGLX with

    Option "AIGLX" "off"

in xorg.conf section "ServerFlags"?
Comment 8 Alexander E. Patrakov 2006-12-14 04:52:29 UTC
Another possible test (instead of ssh) is to start some MP3 player, and while it
is playing a song, attempt to produce this bug. Does music continue playing
after the freeze?
Comment 9 Adeline 2006-12-15 04:09:18 UTC
(In reply to comment #6)
> (In reply to comment #3)
> 
> >Does this also happen if you start the X server on the Radeon card only?
> 
> No freeze with the radeon only.

I have test the radeon only but I have a other problem :
At the end of a certain time (more or less long) I have a black screen and I
need to reboot...

> 
> Thanks
> 
> Adeline

Comment 10 Adeline 2006-12-15 04:11:17 UTC
(In reply to comment #8)
> Another possible test (instead of ssh) is to start some MP3 player, and while it
> is playing a song, attempt to produce this bug. Does music continue playing
> after the freeze?

No music doesn't continue playing after the freeze.
Comment 11 Adeline 2006-12-15 04:25:49 UTC
(In reply to comment #7)
> (In reply to comment #4)
> > > Can you still log in remotely afterwards? If so, is the X server still
> > > running?
> > I don't try to log in remotely because I don't know how to do that... If you
> > speak to do alt+f2 to have a other terminal I can't .
> 
> No, I mean via ssh from another machine.
> 
> Do the freezes also occur if you disable AIGLX with
> 
>     Option "AIGLX" "off"
> 
> in xorg.conf section "ServerFlags"?

I have add

Section "ServerFlags"
	Option "AIGLX" "off"
EndSection

after Section "ServerLayout"

and I can use 3D application (I test with Egoboo and it's work with DFS = 450-550)

Can I have a explication of this option to understand why I need it ?

Thanks

Adeline

PS : Can I improve my DFS with other option ?

Comment 12 Michel Dänzer 2006-12-16 02:41:37 UTC
(In reply to comment #11)
> Can I have a explication of this option to understand why I need it ?

AIGLX stands for Accelerated Indirect GLX; it's a technique that uses the DRI 3D
driver from the server to accelerate indirect rendering. For some reason yet to
be determined, this causes trouble with your configuration. My first guess would
be that it could be related to the fact that AIGLX gets enabled on one screen
but not the other.

Can you try redirecting stdout and stderr of the X server process and see if
that contains anything interesting?
Comment 13 Adeline 2007-01-18 14:42:06 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > Can I have a explication of this option to understand why I need it ?
> 
> AIGLX stands for Accelerated Indirect GLX; it's a technique that uses the DRI 3D
> driver from the server to accelerate indirect rendering. For some reason yet to
> be determined, this causes trouble with your configuration. My first guess would
> be that it could be related to the fact that AIGLX gets enabled on one screen
> but not the other.
> 
> Can you try redirecting stdout and stderr of the X server process and see if
> that contains anything interesting?

I don't know how I can redirecting stout and stderr....
But I think too it's related to the fact that AIGLX gets enabled on one screen
but not the other because I try to install two screen (whith a ATI Radeon 9250
AGP and a NVIDIA Geforce 4 PCI) on a other computer and I need to disable AIGLX
too..
Comment 14 Michel Dänzer 2007-01-19 00:06:44 UTC
(In reply to comment #13)
> 
> I don't know how I can redirecting stout and stderr....

If you're starting X with a display manager, chances are they're already
captured in the display manager's log file. Otherwise, try something like

X >X-output.txt 2>&1

and then connecting clients to that X server by setting DISPLAY=:0 explicitly.
Comment 15 Daniel Stone 2007-02-27 01:35:05 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 16 Adeline 2007-05-07 00:31:48 UTC
Hello,

You can close this report because my configuration is changed... so I have open a other report (10874)

Thank for tour help.

Adeline

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.