[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2011-02-03 Thread Bug Watch Updater
** Changed in: xserver-xorg-video-intel
   Importance: Unknown = Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/320813

Title:
  [drm] compiz animations cause temporary freezes with vblank

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2011-01-25 Thread Bug Watch Updater
** Changed in: xserver-xorg-video-intel
   Importance: Critical = Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/320813

Title:
  [drm] compiz animations cause temporary freezes with vblank

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-07-01 Thread Bug Watch Updater
** Changed in: xserver-xorg-video-intel
   Status: Confirmed = Fix Released

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-03-12 Thread Till Kamppeter
It is indeed fixed now. After booting into the new kernel and
suspending/restoring the problem disappeared.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-03-10 Thread Khashayar Naderehvandi
Timo, does the latest kernel update mean you're gonna enable vblank
again?

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-03-10 Thread Kees Cook
** CVE removed: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2008-1514

** CVE removed: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2008-3528

** CVE removed: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2008-3831

** CVE removed: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2009-0029

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-25 Thread Matteo Collina
Timo, is related with the last update that I have really slow
performance with OpenArena? Some days ago that game was running
smoothly.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-23 Thread Timo Aaltonen
I've disabled vblank for intel again (in mesa), because it doesn't look
likely that it'd get stable in time for jaunty. Leaving the bug open but
dropping the milestone.

** Changed in: linux (Ubuntu Jaunty)
   Status: In Progress = Triaged
   Target: jaunty-alpha-6 = None

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-20 Thread Steve Langasek
** Changed in: linux (Ubuntu Jaunty)
 Assignee: Tim Gardner (timg-tpi) = Timo Aaltonen (tjaalton)

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-12 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 2.6.28-8.21

---
linux (2.6.28-8.21) jaunty; urgency=low

  [ Andy Whitcroft ]

  * SAUCE: switch the Asus Pundit P1-AH2 to old acpi sleep ordering
- LP: #327267

  [ Tim Gardner ]

  * Added LPIA arch support
  * Added libdrm-dev as a 'Replaces' to linux-libc-dev
  * SAUCE: LPIA support for 9202 HDA Sigmatel codec
  * SAUCE: Add an X86_LPIA Kconfig option
  * SAUCE: UHCI USB quirk for resume
  * SAUCE: LPIA Reboot fix for Intel Crownbeach development boards
  * SAUCE: LPIA  Logical reset of USB port on resume
  * Set CONFIG_WIRELESS_OLD_REGULATORY=n, added wireless-crda
as an install dependency.

  [ Upstream Kernel Changes ]

  * Revert Revert x86, early_ioremap: fix fencepost error
- LP: #312554
  * drm/i915: capture last_vblank count at IRQ uninstall time too
- LP: #320813
  * drm/i915: add get_vblank_counter function for GM45
- LP: #320813
  * Staging: comedi: fix Kbuild
  * Staging: meilhaus: fix Kbuild
  * Staging: android: binder: fix arm build errors
  * Staging: android: timed_gpio: Fix build to build on kernels after
2.6.25.
  * Staging: android: fix build error on 64bit boxes
  * Staging: android: Add lowmemorykiller documentation.
  * Staging: android: task_get_unused_fd_flags: fix the wrong usage of
tsk-signal
  * staging: agnx: drivers/staging/agnx/agnx.h needs linux/io.h
  * Staging: usbip: usbip_start_threads(): handle kernel_thread failure
  * Staging: poch: fix verification of memory area
  * Documentation: move DMA-mapping.txt to Doc/PCI/
  * sgi-xp: fix writing past the end of kzalloc()'d space
  * do_wp_page: fix regression with execute in place
  * wait: prevent exclusive waiter starvation
  * shm: fix shmctl(SHM_INFO) lockup with !CONFIG_SHMEM
  * revert rlimit: permit setting RLIMIT_NOFILE to RLIM_INFINITY
  * prevent kprobes from catching spurious page faults
  * sound: usb-audio: handle wMaxPacketSize for FIXED_ENDPOINT devices
  * md: Ensure an md array never has too many devices.
  * md: Fix a bug in linear.c causing which_dev() to return the wrong
device.
  * ACPI: Enable bit 11 in _PDC to advertise hw coord
  * ACPI: dock: Don't eval _STA on every show_docked sysfs read
  * ieee1394: ohci1394: increase AT req. retries, fix ack_busy_X from
Panasonic camcorders and others
  * firewire: ohci: increase AT req. retries, fix ack_busy_X from Panasonic
camcorders and others
  * firewire: sbp2: fix DMA mapping leak on the failure path
  * firewire: sbp2: add workarounds for 2nd and 3rd generation iPods
  * ieee1394: sbp2: add workarounds for 2nd and 3rd generation iPods
  * module: remove over-zealous check in __module_get()
  * x86: APIC: enable workaround on AMD Fam10h CPUs
  * eeepc-laptop: fix oops when changing backlight brightness during
eeepc-laptop init
  * eeepc-laptop: Add support for extended hotkeys
  * e1000: fix bug with shared interrupt during reset
  * e1000: Fix PCI enable to honor the need_ioport flag
  * agp/intel: Fix broken ® symbol in device name.
  * ALSA: hda - Add quirk for FSC Amilo Xi2550
  * ALSA: hda - Add missing COEF initialization for ALC887
  * ALSA: hda - Add missing initialization for ALC272
  * asus_acpi: Add R1F support
  * panasonic-laptop: fix X[ ARRAY_SIZE(X) ]
  * ACPI: Skip the first two elements in the _BCL package
  * ACPI: proc_dir_entry 'video/VGA' already registered
  * ACPI: disable ACPI cleanly when bad RSDP found
  * ACPICA: Fix table entry truncation calculation
  * PCI: properly clean up ASPM link state on device remove
  * PCI: return error on failure to read PCI ROMs
  * seq_file: move traverse so it can be used from seq_read
  * seq_file: fix big-enough lseek() + read()
  * serial: set correct baud_base for Oxford Semiconductor Ltd EXSYS
EX-41092 Dual 16950 Serial adapter
  * Add support for '8-port RS-232 MIC-3620 from advantech'
  * mm: fix error case in mlock downgrade reversion
  * elf core dump: fix get_user use
  * ACPI: video: Fix reversed brightness behavior on ThinkPad SL series
  * ipw2200: fix scanning while associated
  * XFS: set b_error from bio error in xfs_buf_bio_end_io
  * Revert USB: option: add Pantech cards
  * USB: option: New mobile broadband modems to be supported
  * USB: new id for ti_usb_3410_5052 driver
  * USB: two more usb ids for ti_usb_3410_5052
  * USB: usb-storage: add Pentax to the bad-vendor list
  * sata_via: Add VT8261 support
  * nbd: do not allow two clients at the same time
  * sctp: Fix another socket race during accept/peeloff
  * Linux 2.6.28.5

 -- Tim Gardner tim.gard...@canonical.com   Mon, 09 Feb 2009 16:11:28
-0700

** Changed in: linux (Ubuntu Jaunty)
   Status: Fix Committed = Fix Released

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com

[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-12 Thread Matteo Collina
This bug it's not fixed at all!

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-12 Thread Timo Aaltonen
right, let's wait for the last patch to go through upstream review.

** Changed in: linux (Ubuntu Jaunty)
   Status: Fix Released = In Progress

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-11 Thread martin
The third patch does improve things on Gigabyte GA-EG45M-DS2H mobo
(G45), I can suspend/resume and VT switch without getting into that
annoying 1sec freeze mode. I have not yet tried running xorg for a
_long_ time to see if that still triggers the bug. glxgears now also
reports around 60 FPS as excepted with vblank (the gears move now but
they still flicker in a very annoying way, I guess this is a separate
bug though). I can play chromnium arcade with nice FPS etc.

With 3-4 windows on each cube side the overall graphics performance is
still _horrible_ when spinning the cube though. It doesn't stop for
1sec but it's embarrassingly slow for a quad core 2.8ghz, 8GB machine.
If I _hold_ the spin cube to the right button for about 10-15 seconds
then audio from totem is more or less certain to skip (silence for about
1sec) which is really annoying because it happens also sometimes on
single normal ALT-TAB (not every ALT-TAB though).

G45 definitely needs some more love before it's usable. I will go test
UXA now.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-11 Thread martin
I also found these nasty lines in my dmesg after testing with all three
patches:

[  759.736511] [drm:i915_get_vblank_counter] *ERROR* trying to get
vblank count for disabled pipe 1

[  779.816019] Corrupted low memory at 8800d348 (d348 phys) = 
4000
[  779.816029] [ cut here ]
[  779.816032] WARNING: at 
/build/buildd/linux-2.6.28/arch/x86/kernel/setup.c:719 
check_for_bios_corruption+0xdd/0xe0()
[  779.816034] Memory corruption detected in low memory
[  779.816035] Modules linked in: i915 drm binfmt_misc bnep ipt_MASQUERADE 
iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack 
ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables bridge stp kvm_intel kvm 
acpi_cpufreq input_polldev video output ppdev parport_pc lp parport joydev 
snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss 
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device 
snd soundcore snd_page_alloc intel_agp usbhid psmouse iTCO_wdt pcspkr 
iTCO_vendor_support serio_raw pata_it8213 r8169 mii ehci_hcd uhci_hcd fbcon 
tileblit font bitblit softcursor fuse
[  779.816078] Pid: 0, comm: swapper Not tainted 2.6.28-7-generic #20-Ubuntu
[  779.816080] Call Trace:
[  779.816081]  IRQ  [8024d857] warn_slowpath+0xb7/0xf0
[  779.816089]  [8052217d] ? usb_submit_urb+0xdd/0x270
[  779.816093]  [8067f320] ? printk+0x67/0x6f
[  779.816097]  [8025980f] ? __mod_timer+0xbf/0xe0
[  779.816100]  [802168dd] check_for_bios_corruption+0xdd/0xe0
[  779.816102]  [802168e0] ? periodic_check_for_corruption+0x0/0x40
[  779.816105]  [802168e9] periodic_check_for_corruption+0x9/0x40
[  779.816108]  [80258db9] run_timer_softirq+0x179/0x260
[  779.816112]  [8027066f] ? clockevents_program_event+0x4f/0x90
[  779.816114]  [802539fc] __do_softirq+0x9c/0x170
[  779.816117]  [80213d8c] call_softirq+0x1c/0x30
[  779.816120]  [80214ffd] do_softirq+0x5d/0xa0
[  779.816123]  [8025377d] irq_exit+0x8d/0xa0
[  779.816126]  [80224828] smp_apic_timer_interrupt+0x88/0xc0
[  779.816129]  [80213668] apic_timer_interrupt+0x88/0x90
[  779.816130]  EOI  [8022b866] ? native_safe_halt+0x6/0x10
[  779.816137]  [804670ee] ? acpi_safe_halt+0x3a/0x55
[  779.816139]  [80467c79] ? acpi_idle_do_entry+0x1b/0x2b
[  779.816142]  [80467cf1] ? acpi_idle_enter_c1+0x68/0x8d
[  779.816145]  [80571385] ? cpuidle_idle_call+0xa5/0x100
[  779.816148]  [80210e85] ? cpu_idle+0x65/0xc0
[  779.816151]  [8066dd7c] ? rest_init+0x5c/0x70
[  779.816153] ---[ end trace 8faa7fd8cd7a6ddd ]---
[  906.658683] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count 
for disabled pipe 1
[  912.08] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count 
for disabled pipe 1
[  938.758016] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count 
for disabled pipe 1


** Attachment added: dmesg from G45 after suspend/resume + VT-switching with 
all three patches applied
   http://launchpadlibrarian.net/22496132/dmesg_2009feb11.txt

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-10 Thread martin
Yesterday before I went to sleep I rebooted by G45  machine and when
left it running over night with both of the drm patches applied. When I
woke up again I the bug was happening, so that means that I get this
freezes even without suspend/resume if I just let X.org run sufficiently
long (I also had like 2-3 windows on each side of the cube when it was
idling over night).

Another scary note is that I now currently see this on the G45 machine
(I used to have around 60 FPS in glxgears before I applied the drm
patches because of the slow down to screen Hz but now it's getting
crazy... basically I can't even see the gears moving at all and the FPS
is single digit):

mn...@kingfish:~$ glxgears
49 frames in 5.1 seconds =  9.528 FPS
20 frames in 10.2 seconds =  1.957 FPS
20 frames in 10.2 seconds =  1.960 FPS
20 frames in 9.2 seconds =  2.170 FPS

(Note: that's 2 frames per second, and not 2000 FPS!!)

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-10 Thread Timo Aaltonen
Derek, you're right, the patches aren't enough. It's harder to trigger
though..

Can you try the patch from this post on top of the two earlier commits?
I've tried it before and it worked for me (during the brief testing
period), and upstream would like to know if it helps in this case:

http://www.mail-archive.com/dri-
devel%40lists.sourceforge.net/msg37945.html

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-10 Thread Derek Dolney
That patch worked for me. I can suspend/resume with vblank and it works
fine.

Should I apply the oneliner also. (I did not).

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread Matteo Collina
I've applied that patch to the current ubuntu kernel but it doesn't
solve the problem for me: there are still freezes after a suspend/resume
cycle without the modified drirc.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread Derek Dolney
The patch worked for me: no more freezes after suspend/resume.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread Derek Dolney
Oops...uh, yeah. Let me just pull my foot out of my mouth for a sec...

I forgot I also had a user .drirc that disabled vblank. This patch *does
not* solve the suspend/resume problem.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread Timo Aaltonen
Derek, Matteo: what graphics chip do you have? Attach your
/var/log/Xorg.0.log to be sure.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread Tim Gardner
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-
jaunty.git;a=commit;h=80099849ac5ad8998a76872c0af37a0c2a26a5a6

http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-
jaunty.git;a=commit;h=edc3e6ca74ce8cc7da039e1b3feeb3ac7553a707

** Changed in: linux (Ubuntu Jaunty)
   Status: Triaged = Fix Committed

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread Derek Dolney
I have an Intel 965GM.

** Attachment added: Xorg.0.log
   http://launchpadlibrarian.net/22422152/Xorg.0.log

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread martin
I definitely still have the 1sec freezes _after_ suspend/resume on a
Gigabyte GA-EG45M-DS2H board (which has a G45-chipset) with the capture
last_vblank count at IRQ uninstall time too patch applied.

Currently I've not seen freezes _before_ the first suspend/resume round
trip but normally I have to run xorg for quiet some time before I see
the non-suspend/resume-related freezes. Maybe the non-suspend/resume
freezes are still there, maybe not.

** Attachment added: Xorg.0.log for G45 machine after suspend/resume
   http://launchpadlibrarian.net/22422572/Xorg.0.log

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread martin
Now I applied the add get_vblank_counter function for GM45 patch as
well (so that I had both this one and the capture last_vblank count at
IRQ uninstall time too one). After one suspend/resume roundtrip I still
get the 1sec freezes consistently. Note that I have a G45 (a desktop
machine) and not the mobile GM45 chipset (maybe these patches removes
the freezes from GM45 laptops?).

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread Matteo Collina
No  Martin, I have a Dell laptop (Latitude E6400) with the GM45 and the
problem is still there.

[0 sec: 401802 usec](II) intel(0): Integrated Graphics Chipset: Intel(R) Mobile 
Intel® GM45 Express Chipset
[0 sec: 401816 usec](--) intel(0): Chipset: Mobile Intel® GM45 Express 
Chipset

Do you need a 'normal' Xorg.0.log or one after suspend/resume?

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread Timo Aaltonen
It's enough to see what chip you have, no need for the log otherwise. So
there are still issues with G*45...

Derek, my 965GM works perfectly with the oneliner, so I suspect you've
done something wrong..

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread Matteo Collina
I've just recompiled with the two fixes uploaded by Tim and those
doesn't solve the problem.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-09 Thread Derek Dolney
Timo:

Well I double checked for you to be sure I hadn't forgotten anything in
the patch-rebuild-install chain. No, I did it right.

Are you sure you don't have neither /etc/drirc nor a ~/.drirc? I forgot
the latter and spoke too soon because of it.

You didn't disable vblank in ccsm at any point in your testing?

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-07 Thread Timo Aaltonen
Here is the final patch, and as you can see it's quite small.. This
should hit upstream in the not-too-distant future.

Date: Fri, 06 Feb 2009 13:04:49 -0800
From: Jesse Barnes jbar...@virtuousgeek.org
To: Dave Airlie airl...@linux.ie
Cc: DRI dri-de...@lists.sourceforge.net, Timo Aaltonen tjaal...@cc.hut.fi,
Michel Dänzer mic...@tungstengraphics.com
Subject: [PATCH] capture last_vblank count at IRQ uninstall time too

In dc1336ff4fe08ae7cfe8301bfd7f0b2cfd31d20a (set vblank enable flag correctly
across IRQ uninstall), we made sure drivers that uninstall their interrupt
handler set the vblank enabled flag correctly, so that when interrupts are
re-enabled, vblank interrupts  counts work as expected.  However I missed the
last_vblank field:  it needs to be updated as well, otherwise, at the next
drm_update_vblank_count we'll end up comparing a current count to a stale
one (the last one captured by the disable function), which may trigger the
wraparound handling, leading to a jumpy counter and hangs in drm_wait_vblank.

The jumpy counter can prevent the DRM_WAIT_ON from returning success if the
difference between the current count and the requested count is greater than
2^23, leading to timeouts or hangs, if the ioctl is restarted in a loop (as
is the case in libdrm  2.4.4).

Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org

diff --git a/drivers/gpu/drm/drm_irq.c b/drivers/gpu/drm/drm_irq.c
index 69aa0ab..3795dbc 100644
--- a/drivers/gpu/drm/drm_irq.c
+++ b/drivers/gpu/drm/drm_irq.c
@@ -276,6 +276,7 @@ int drm_irq_uninstall(struct drm_device * dev)
for (i = 0; i  dev-num_crtcs; i++) {
DRM_WAKEUP(dev-vbl_queue[i]);
dev-vblank_enabled[i] = 0;
+   dev-last_vblank[i] = dev-driver-get_vblank_counter(dev, i);
}
spin_unlock_irqrestore(dev-vbl_lock, irqflags);

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-05 Thread Till Kamppeter
I tested with UXA on Tuesday and for me X crashes. I have an Intel i945.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-05 Thread Till Kamppeter
For me the problem usually appears only after a Suspend and Resume.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-05 Thread Khashayar Naderehvandi
Timo, I read through that thread on dri-devel, and would like to add,
just for the record, that for me the problem was never related to VT
switching or suspend/resume cycles. The freezes start occuring after a
few minutes of normal usage.

I don't know if this is relevant, but thought I'd mention it.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-05 Thread Erno Kuusela
The DRI settings workaround eliminates the random stops.

But I have a feeling that it ran more smoothly in Intrepid, now it looks
like ~2-4 fps with zoom taking about 2 seconds, if I have more than
about 10 windows on a workspace. Or maybe I just have more windows open
now, anyone else notice a slowdown?

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-05 Thread Erno Kuusela
Whoops, I was talking about the compiz window picker's zoom performance
in my above comment.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-05 Thread Khashayar Naderehvandi
Yes, performance is really bad with the workaround here as well.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-04 Thread Martin Pitt
For the record, I can perfectly reproduce this after suspend when using
EXA (GMA945).

I have used UXA since today, and with that suspend/resume with compiz
works fine, i. e. this bug doesn't hit me with UXA.

As requested by Steve, I'll put this onto the release radar.

** Tags added: regression-potential

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-03 Thread Bryce Harrington
leann,

Could you help us find a kernel dev to take a look at integrating the
kernel patch to fix this issue?

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-03 Thread Leann Ogasawara
Just pasting the email timo forwarded to the ubuntu kernel team
regarding this patch:

https://lists.ubuntu.com/archives/kernel-team/2009-February/004277.html

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-03 Thread Bryce Harrington
Timo, can you attach the kernel patch here?

** Changed in: linux (Ubuntu)
   Target: None = jaunty-alpha-6

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = Tim Gardner (timg-tpi)

** Description changed:

  Some compiz animations (most, though not all) cause temporary freezes. For 
example, when spinning the cube or switching between applications, everything 
on the screen suddenly freezes for a couple of seconds, and then it returns to 
normal. The desktop behaves sort of like a narcoleptic person would. Normally, 
this behavior starts a couple of minutes after X has started. That is, when 
logging in to a GNOME session, everything is smooth and
  fine for a couple of minutes, and then this problem surfaces making compiz 
unusable. Furthermore, the problem only appears when using EXA. With UXA this 
particular problem does not appear.
  
  Unfortunately, I haven't found anything of interest in the logs and don't know
  where else from to get additional useful information. Please let me know how I
  can help.
  
  Xorg.0.log attached.
  
  This is on Jaunty with the following packages.
  libdrm: 2.4.4-0ubuntu2
  libgl1-mesa-dri: 7.3~rc3-1ubuntu1
  xserver-xorg-video-intel: 2:2.6.1-1ubuntu1
  linux-image-2.6.28-5: 2.6.28-5.15
  
  I reported the upstream bug as well, but with packages I had compiled
  myself for intrepid.
  
  [lspci]
  00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory 
Controller Hub [8086:2a40] (rev 07)
Subsystem: ASUSTeK Computer Inc. Device [1043:19c7]
  00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series 
Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
Subsystem: ASUSTeK Computer Inc. Device [1043:1862]
+ 
+ [update]
+ A kernel patch is available, which timo has confirmed solves the issue, 
however there is still discussion upstream whether this will be the final patch 
or needs further changes.  Tim will wait to see if the upstream discussion gets 
to a resolution before we pull it in, and pull it in by alpha-6 at the latest.

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 320813] Re: [drm] compiz animations cause temporary freezes with vblank

2009-02-03 Thread Timo Aaltonen
actually, there's another proposed patch now, since the one I forwarded
is 'only a workaround to hide the real bug'. Anyway, it's not yet clear
what will be committed, so I'll just post the link to the discussion..

http://www.mail-archive.com/dri-
devel%40lists.sourceforge.net/msg37900.html

-- 
[drm] compiz animations cause temporary freezes with vblank
https://bugs.launchpad.net/bugs/320813
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs