Re: xorg hangs after last commits

2010-04-28 Thread Alex Keda

27.04.2010 18:13, Robert Noland пишет:



Alex Keda wrote:

27.04.2010 17:55, Robert Noland пишет:



Alex Keda wrote:
Following recent changes in dri, xorg server freezes after 20-30 
seconds of work. mouse works, but the image does not change.

process xorg get 100% cpu
if I delete/rename drm.ko - all OK (but, very slow)


vgap...@pci0:1:5:0: class=0x03 card=0x12ff103c 
chip=0x791e1002 rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, 
Inc.'

device = 'ATI RADEON X1200 Series (RS690)'
class  = display
subclass   = VGA
bar   [10] = type Prefetchable Memory, range 64, base 
0xd000, size 134217728, enabled
bar   [18] = type Memory, range 64, base 0xd850, size 
65536, enabled
bar   [20] = type I/O Port, range 32, base 0x1100, size 256, 
enabled
bar   [24] = type Memory, range 32, base 0xd840, size 
1048576, enabled

cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
cap 05[80] = MSI supports 1 message, 64 bit


Ok, does this patch help?

yes. I work without freeze more than 3 minutes =))


How about this one?

I reverse previous and apply it patch
working time more than without it (without ~1 minutes, with last patch 
~2-3 minutes), but - one final - Xorg get 100% CPU and freeze

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: xorg hangs after last commits

2010-04-28 Thread Robert Noland
On Wed, 2010-04-28 at 10:27 +0400, Alex Keda wrote:
 27.04.2010 18:13, Robert Noland пишет:
 
 
  Alex Keda wrote:
  27.04.2010 17:55, Robert Noland пишет:
 
 
  Alex Keda wrote:
  Following recent changes in dri, xorg server freezes after 20-30 
  seconds of work. mouse works, but the image does not change.
  process xorg get 100% cpu
  if I delete/rename drm.ko - all OK (but, very slow)
 
 
  vgap...@pci0:1:5:0: class=0x03 card=0x12ff103c 
  chip=0x791e1002 rev=0x00 hdr=0x00
  vendor = 'ATI Technologies Inc. / Advanced Micro Devices, 
  Inc.'
  device = 'ATI RADEON X1200 Series (RS690)'
  class  = display
  subclass   = VGA
  bar   [10] = type Prefetchable Memory, range 64, base 
  0xd000, size 134217728, enabled
  bar   [18] = type Memory, range 64, base 0xd850, size 
  65536, enabled
  bar   [20] = type I/O Port, range 32, base 0x1100, size 256, 
  enabled
  bar   [24] = type Memory, range 32, base 0xd840, size 
  1048576, enabled
  cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
  cap 05[80] = MSI supports 1 message, 64 bit
 
  Ok, does this patch help?
  yes. I work without freeze more than 3 minutes =))
 
  How about this one?
 I reverse previous and apply it patch
 working time more than without it (without ~1 minutes, with last patch 
 ~2-3 minutes), but - one final - Xorg get 100% CPU and freeze

Ok, the IGP chips are strange... Just go with the first patch for now
and let it keep snooping... Performance impact shouldn't be substantial.

robert.

 ___
 freebsd-current@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
-- 
Robert Noland rnol...@freebsd.org
FreeBSD

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


xorg hangs after last commits

2010-04-27 Thread Alex Keda
Following recent changes in dri, xorg server freezes after 20-30 seconds 
of work. mouse works, but the image does not change.

process xorg get 100% cpu
if I delete/rename drm.ko - all OK (but, very slow)


vgap...@pci0:1:5:0: class=0x03 card=0x12ff103c chip=0x791e1002 
rev=0x00 hdr=0x00

vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'ATI RADEON X1200 Series (RS690)'
class  = display
subclass   = VGA
bar   [10] = type Prefetchable Memory, range 64, base 0xd000, 
size 134217728, enabled
bar   [18] = type Memory, range 64, base 0xd850, size 65536, 
enabled

bar   [20] = type I/O Port, range 32, base 0x1100, size 256, enabled
bar   [24] = type Memory, range 32, base 0xd840, size 1048576, 
enabled

cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
cap 05[80] = MSI supports 1 message, 64 bit

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: xorg hangs after last commits

2010-04-27 Thread Robert Noland



Alex Keda wrote:
Following recent changes in dri, xorg server freezes after 20-30 seconds 
of work. mouse works, but the image does not change.

process xorg get 100% cpu
if I delete/rename drm.ko - all OK (but, very slow)


vgap...@pci0:1:5:0: class=0x03 card=0x12ff103c chip=0x791e1002 
rev=0x00 hdr=0x00

vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'ATI RADEON X1200 Series (RS690)'
class  = display
subclass   = VGA
bar   [10] = type Prefetchable Memory, range 64, base 0xd000, 
size 134217728, enabled
bar   [18] = type Memory, range 64, base 0xd850, size 65536, 
enabled

bar   [20] = type I/O Port, range 32, base 0x1100, size 256, enabled
bar   [24] = type Memory, range 32, base 0xd840, size 1048576, 
enabled

cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
cap 05[80] = MSI supports 1 message, 64 bit


Ok, does this patch help?

robert.


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Index: ati_pcigart.c
===
--- ati_pcigart.c	(revision 207069)
+++ ati_pcigart.c	(working copy)
@@ -198,7 +198,7 @@
 page_base |=
 (upper_32_bits(entry_addr)  0xff)  4;
 page_base |= ATI_GART_READ | ATI_GART_WRITE;
-page_base |= ATI_GART_NOSNOOP;
+//page_base |= ATI_GART_NOSNOOP;
 break;
 			case DRM_ATI_GART_PCIE:
 page_base = 8;
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: xorg hangs after last commits

2010-04-27 Thread Alex Keda

27.04.2010 17:55, Robert Noland пишет:



Alex Keda wrote:
Following recent changes in dri, xorg server freezes after 20-30 
seconds of work. mouse works, but the image does not change.

process xorg get 100% cpu
if I delete/rename drm.ko - all OK (but, very slow)


vgap...@pci0:1:5:0: class=0x03 card=0x12ff103c 
chip=0x791e1002 rev=0x00 hdr=0x00

vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'ATI RADEON X1200 Series (RS690)'
class  = display
subclass   = VGA
bar   [10] = type Prefetchable Memory, range 64, base 0xd000, 
size 134217728, enabled
bar   [18] = type Memory, range 64, base 0xd850, size 65536, 
enabled

bar   [20] = type I/O Port, range 32, base 0x1100, size 256, enabled
bar   [24] = type Memory, range 32, base 0xd840, size 
1048576, enabled

cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
cap 05[80] = MSI supports 1 message, 64 bit


Ok, does this patch help?

yes. I work without freeze more than 3 minutes =))
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: xorg hangs after last commits

2010-04-27 Thread Robert Noland



Alex Keda wrote:

27.04.2010 17:55, Robert Noland пишет:



Alex Keda wrote:
Following recent changes in dri, xorg server freezes after 20-30 
seconds of work. mouse works, but the image does not change.

process xorg get 100% cpu
if I delete/rename drm.ko - all OK (but, very slow)


vgap...@pci0:1:5:0: class=0x03 card=0x12ff103c 
chip=0x791e1002 rev=0x00 hdr=0x00

vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'ATI RADEON X1200 Series (RS690)'
class  = display
subclass   = VGA
bar   [10] = type Prefetchable Memory, range 64, base 0xd000, 
size 134217728, enabled
bar   [18] = type Memory, range 64, base 0xd850, size 65536, 
enabled

bar   [20] = type I/O Port, range 32, base 0x1100, size 256, enabled
bar   [24] = type Memory, range 32, base 0xd840, size 
1048576, enabled

cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0
cap 05[80] = MSI supports 1 message, 64 bit


Ok, does this patch help?

yes. I work without freeze more than 3 minutes =))


How about this one?

robert.


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Index: ati_pcigart.c
===
--- ati_pcigart.c	(revision 207069)
+++ ati_pcigart.c	(working copy)
@@ -220,6 +220,8 @@
 	ret = 1;
 
 done:
+	if (gart_info-gart_reg_if == DRM_ATI_GART_IGP)
+		DRM_MEMORYBARRIER();
 	gart_info-addr = address;
 	gart_info-bus_addr = bus_address;
 	return ret;
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

Re: xorg hangs after last commits

2010-04-27 Thread Alex Keda

27.04.2010 18:13, Robert Noland пишет:



Alex Keda wrote:

27.04.2010 17:55, Robert Noland пишет:



Alex Keda wrote:

Following recent changes in dri, xorg server freezes after 20-30
seconds of work. mouse works, but the image does not change.
process xorg get 100% cpu
if I delete/rename drm.ko - all OK (but, very slow)


vgap...@pci0:1:5:0: class=0x03 card=0x12ff103c chip=0x791e1002
rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'ATI RADEON X1200 Series (RS690)'
class = display
subclass = VGA
bar [10] = type Prefetchable Memory, range 64, base 0xd000, size
134217728, enabled
bar [18] = type Memory, range 64, base 0xd850, size 65536, enabled
bar [20] = type I/O Port, range 32, base 0x1100, size 256, enabled
bar [24] = type Memory, range 32, base 0xd840, size 1048576,
enabled
cap 01[50] = powerspec 2 supports D0 D1 D2 D3 current D0
cap 05[80] = MSI supports 1 message, 64 bit


Ok, does this patch help?

yes. I work without freeze more than 3 minutes =))


How about this one?

it use with previous patch, or without it?
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: xorg hangs after last commits

2010-04-27 Thread Robert Noland



Alex Keda wrote:

27.04.2010 18:13, Robert Noland пишет:



Alex Keda wrote:

27.04.2010 17:55, Robert Noland пишет:



Alex Keda wrote:

Following recent changes in dri, xorg server freezes after 20-30
seconds of work. mouse works, but the image does not change.
process xorg get 100% cpu
if I delete/rename drm.ko - all OK (but, very slow)


vgap...@pci0:1:5:0: class=0x03 card=0x12ff103c chip=0x791e1002
rev=0x00 hdr=0x00
vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
device = 'ATI RADEON X1200 Series (RS690)'
class = display
subclass = VGA
bar [10] = type Prefetchable Memory, range 64, base 0xd000, size
134217728, enabled
bar [18] = type Memory, range 64, base 0xd850, size 65536, enabled
bar [20] = type I/O Port, range 32, base 0x1100, size 256, enabled
bar [24] = type Memory, range 32, base 0xd840, size 1048576,
enabled
cap 01[50] = powerspec 2 supports D0 D1 D2 D3 current D0
cap 05[80] = MSI supports 1 message, 64 bit


Ok, does this patch help?

yes. I work without freeze more than 3 minutes =))


How about this one?

it use with previous patch, or without it?


Try this one by itself.

robert.


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org