glxgears really jerky on Maverick

Bug #665117 reported by Eric Boissard
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Hello,

Since I have upgraded (even reinstalled from scratch )from Ubuntu Lucid to Ubuntu Maverick, glxgears is really jerky on my eeePC 1000H (intel 945GM card using i915 module). I checked that direct rendering is enabled. The strange thing is that if I move the mouse while running glxgears, it becomes smooth and the framerate goes up to roughly 60fps (vsync is enabled by default in the new intel driver if I am not wrong). As soon as I stop moving the mouse it becomes jerky and the framerate goes down around 20-30 fps.
Everything was fine on lucid. I know that glxgears is not a benchmark, but it should be running smooth anyway.

see those threads on the forum:
http://ubuntuforums.org/showthread.php?t=1594350
http://ubuntuforums.org/showthread.php?t=1591565

First I thought it was something related to the kernel, I tried different kernels like 2.6.35 and 2.6.36 but I had the same issues.
however I went back to lucid and upgraded to the maverick backported kernel 2.6.35 and glxgears is running fine and smooth.

I tried to run glxgears with and without compiz and it does not change anything.

I also tried other distributions, Mint Linux 10RC and fedora 14 beta and I have exactly the same issues. I tried to use the X-Updates ppa on ubuntu but it did not improve anything. I am now back on lucid with maverick backported kernel 2.6.35, however I have noticed that I have the same errors when I do dmesg. Only the drm errors was present even in lucid default kernel (2.6.32). However both errors are present on Lucid and Maverick with kernel 2.6.35.

From line 637:
  1.743858] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 202
[ 1.743866] [drm:drm_edid_block_valid] *ERROR* Raw EDID:
[ 1.743875] <3>00 ff ff ff ff ff ff 00 22 64 e9 03 a2 28 00 00 ........"d...(..
[ 1.743881] <3>12 12 01 03 80 16 0d 78 0a 86 26 94 57 51 90 27 .......x..&.WQ.'
[ 1.743886] <3>21 4f 54 00 00 00 01 01 01 01 01 01 01 01 01 01 !OT.............
[ 1.743892] <3>01 01 01 01 01 01 94 11 00 b0 40 58 19 20 35 23 ..........@X. 5#
[ 1.743898] <3>45 00 dc 81 00 00 00 19 16 14 00 d8 40 58 26 20 E...........@X&
[ 1.743904] <3>5d 23 15 04 dc 81 00 00 00 00 00 00 00 fe 00 00 ]#..............
[ 1.743910] <3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fe ................
[ 1.743915] <3>00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 c8 ................
[ 1.743920]
[ 1.845657] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 202
[ 1.845664] [drm:drm_edid_block_valid] *ERROR* Raw EDID:
[ 1.845670] <3>00 ff ff ff ff ff ff 00 22 64 e9 03 a2 28 00 00 ........"d...(..
[ 1.845676] <3>12 12 01 03 80 16 0d 78 0a 86 26 94 57 51 90 27 .......x..&.WQ.'
[ 1.845682] <3>21 4f 54 00 00 00 01 01 01 01 01 01 01 01 01 01 !OT.............
[ 1.845688] <3>01 01 01 01 01 01 94 11 00 b0 40 58 19 20 35 23 ..........@X. 5#
[ 1.845693] <3>45 00 dc 81 00 00 00 19 16 14 00 d8 40 58 26 20 E...........@X&
[ 1.845699] <3>5d 23 15 04 dc 81 00 00 00 00 00 00 00 fe 00 00 ]#..............
[ 1.845705] <3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fe ................
[ 1.845710] <3>00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 c8 ................
[ 1.845715]
[ 1.947484] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 202
[ 1.947491] [drm:drm_edid_block_valid] *ERROR* Raw EDID:
[ 1.947497] <3>00 ff ff ff ff ff ff 00 22 64 e9 03 a2 28 00 00 ........"d...(..
[ 1.947503] <3>12 12 01 03 80 16 0d 78 0a 86 26 94 57 51 90 27 .......x..&.WQ.'
[ 1.947509] <3>21 4f 54 00 00 00 01 01 01 01 01 01 01 01 01 01 !OT.............
[ 1.947515] <3>01 01 01 01 01 01 94 11 00 b0 40 58 19 20 35 23 ..........@X. 5#
[ 1.947520] <3>45 00 dc 81 00 00 00 19 16 14 00 d8 40 58 26 20 E...........@X&
[ 1.947526] <3>5d 23 15 04 dc 81 00 00 00 00 00 00 00 fe 00 00 ]#..............
[ 1.947532] <3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fe ................
[ 1.947537] <3>00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 c8 ................
[ 1.947542]
[ 2.049232] [drm:drm_edid_block_valid] *ERROR* EDID checksum is invalid, remainder is 202
[ 2.049238] [drm:drm_edid_block_valid] *ERROR* Raw EDID:
[ 2.049245] <3>00 ff ff ff ff ff ff 00 22 64 e9 03 a2 28 00 00 ........"d...(..
[ 2.049251] <3>12 12 01 03 80 16 0d 78 0a 86 26 94 57 51 90 27 .......x..&.WQ.'
[ 2.049256] <3>21 4f 54 00 00 00 01 01 01 01 01 01 01 01 01 01 !OT.............
[ 2.049262] <3>01 01 01 01 01 01 94 11 00 b0 40 58 19 20 35 23 ..........@X. 5#
[ 2.049267] <3>45 00 dc 81 00 00 00 19 16 14 00 d8 40 58 26 20 E...........@X&
[ 2.049273] <3>5d 23 15 04 dc 81 00 00 00 00 00 00 00 fe 00 00 ]#..............
[ 2.049279] <3>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fe ................
[ 2.049284] <3>00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 c8 ................
[ 2.049288]
[ 2.049297] i915 0000:00:02.0: LVDS-1: EDID block 0 invalid.

and also from line 778
77.109388] Pid: 57, comm: kondemand/1 Tainted: G C 2.6.35-22-generic #34~lucid1-Ubuntu
[ 77.109399] Call Trace:
[ 77.109431] [<c014ac62>] warn_slowpath_common+0x72/0xa0
[ 77.109441] [<c011b4ac>] ? read_measured_perf_ctrs+0x6c/0x80
[ 77.109449] [<c011b4ac>] ? read_measured_perf_ctrs+0x6c/0x80
[ 77.109457] [<c011b440>] ? read_measured_perf_ctrs+0x0/0x80
[ 77.109465] [<c014acb2>] warn_slowpath_null+0x22/0x30
[ 77.109473] [<c011b4ac>] read_measured_perf_ctrs+0x6c/0x80
[ 77.109481] [<c011b440>] ? read_measured_perf_ctrs+0x0/0x80
[ 77.109490] [<c017b392>] smp_call_function_single+0x72/0x130
[ 77.109498] [<c011b39f>] cpufreq_get_measured_perf+0x2f/0xd0
[ 77.109508] [<c04cdeee>] ? cpufreq_cpu_get+0x8e/0xf0
[ 77.109515] [<c01761fa>] ? get_cpu_iowait_time_us+0x6a/0xa0
[ 77.109523] [<c04ce12a>] __cpufreq_driver_getavg+0x6a/0x70
[ 77.109531] [<c04d0df5>] dbs_check_cpu+0x75/0x2e0
[ 77.109539] [<c04d1107>] do_dbs_timer+0xa7/0xc0
[ 77.109548] [<c05c6cfa>] ? schedule+0x37a/0x7a0
[ 77.109557] [<c0161a7e>] run_workqueue+0x8e/0x150
[ 77.109565] [<c04d1060>] ? do_dbs_timer+0x0/0xc0
[ 77.109573] [<c0161bc4>] worker_thread+0x84/0xe0
[ 77.109581] [<c0165e30>] ? autoremove_wake_function+0x0/0x50
[ 77.109589] [<c0161b40>] ? worker_thread+0x0/0xe0
[ 77.109597] [<c0165a04>] kthread+0x74/0x80
[ 77.109604] [<c0165990>] ? kthread+0x0/0x80
[ 77.109612] [<c010363e>] kernel_thread_helper+0x6/0x10
[ 77.109618] ---[ end trace d5137aed5eacbbff ]---

I have not changed anything, the issue is present on the live CDs and with all the distribs I have tested.

I hope it can help. It might be related to xserver-xorg-video-intel ? I cannot really tell.

Thanks a lot for looking at this issue.

Eric
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: eric 1373 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf7eb8000 irq 43'
   Mixer name : 'Realtek ALC269'
   Components : 'HDA:10ec0269,1043831a,00100004'
   Controls : 10
   Simple ctrls : 6
DistroRelease: Ubuntu 10.10
HibernationDevice: RESUME=UUID=397977df-1320-4854-b4eb-31a3befed4ce
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MachineType: ASUSTeK Computer INC. 1000H
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-genUser Name root=UUID=b4fc103f-fcf7-4816-a08c-b55b8d945222 ro quiet splash
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-22.35-genUser Name 2.6.35.4
Regression: Yes
RelatedPackageVersions: linux-firmware 1.38
Reproducible: Yes
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
StagingDrivers: rt2860sta
Tags: maverick kernel-graphics regression-release needs-upstream-testing staging
Title: [STAGING]
Uname: Linux 2.6.35-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 10/21/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2204
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 1000H
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: x.xx
dmi.chassis.asset.tag: 0x00000000
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTek Computer INC.
dmi.chassis.version: x.x
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2204:bd10/21/2009:svnASUSTeKComputerINC.:pn1000H:pvrx.x:rvnASUSTeKComputerINC.:rn1000H:rvrx.xx:cvnASUSTekComputerINC.:ct10:cvrx.x:
dmi.product.name: 1000H
dmi.product.version: x.x
dmi.sys.vendor: ASUSTeK Computer INC.

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello Eric
can you add
/var/log/syslog
/var/log/ker.log
/var/log/Xorg.0.log
/var/log/Xorg.1.log
fabio

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Eric Boissard (eric-boissard) wrote :

Hello fabio,

I have done a clean install of Maverick on my eee 1000H with all the latest updates. The problem is still there.
Some of the files you are asking are missing on my computer:

(/var/log/ker.log and /var/log/Xorg.1.log)

Anyway I'm sending you the files I have. I hope it will help.

Thanks

Revision history for this message
Eric Boissard (eric-boissard) wrote :
Revision history for this message
Eric Boissard (eric-boissard) wrote :
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

hello
can you please run in a terminal
apport-collect -p linux 665117
Thanks
Fabio

Changed in ubuntu:
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Eric Boissard (eric-boissard) wrote :

I think you meant /var/log/kern.log and not /var/log/ker.log so here's the file.

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

hello
can you please run in a terminal
apport-collect -p linux 665117
Thanks
Fabio

Revision history for this message
Eric Boissard (eric-boissard) wrote :

Hi Fabio,

I managed to anthorise apport-collect on launchpad. However I have this error now when I run apport-collect -p linux 665117

Traceback (most recent call last):
  File "/usr/share/apport/apport-gtk", line 368, in <module>
    app.run_argv()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 560, in run_argv
    return self.run_update_report()
  File "/usr/lib/python2.6/dist-packages/apport/ui.py", line 422, in run_update_report
    if not self.crashdb.can_update(self.options.update_report):
  File "/usr/lib/python2.6/dist-packages/apport/crashdb_impl/launchpad.py", line 451, in can_update
    if bug.duplicate_of:
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 643, in __getattr__
    return super(Entry, self).__getattr__(name)
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 305, in __getattr__
    return self.lp_get_parameter(attr)
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 196, in lp_get_parameter
    self._ensure_representation()
  File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 332, in _ensure_representation
    representation = simplejson.loads(representation)
  File "/usr/lib/pymodules/python2.6/simplejson/__init__.py", line 384, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 402, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/pymodules/python2.6/simplejson/decoder.py", line 418, in raw_decode
    obj, end = self.scan_once(s, idx)
simplejson.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 8678 (char 8678)

tags: added: apport-collected
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello Enric
can you try again to launch the apportt comand and authorize.
If everythings gone well you can see some files attached to this report
Thanks
Fabio

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Try reinstalling apport apport-gtk from synaptic

Revision history for this message
Eric Boissard (eric-boissard) wrote : AcpiTables.txt

apport information

description: updated
Revision history for this message
Eric Boissard (eric-boissard) wrote : AlsaDevices.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : BootDmesg.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : IwConfig.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : Lspci.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : Lsusb.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : PciMultimedia.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : ProcModules.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : UdevDb.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : UdevLog.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote : WifiSyslog.txt

apport information

Revision history for this message
Eric Boissard (eric-boissard) wrote :

After reinstalling apport-gtk it worked.

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello Eric
Thanks for support
Fabio

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Eric Boissard (eric-boissard) wrote :

Just to add something I have just noticed, I simply need to keep a finger on the touchpad or simply keep pressing the left button to get glxgears running smooth at roughly 60fps. No need actually to move the mouse cursor.

Revision history for this message
Eric Boissard (eric-boissard) wrote :

I'm still trying 'things' to know a bit more about this bug. I tried today to use the latest intel drivers through that ppa:
ppa:glasen/intel-driver and it does not improve things.

Revision history for this message
Eric Boissard (eric-boissard) wrote :

I just found this interesting link:
https://bugs.freedesktop.org/show_bug.cgi?id=30364

Revision history for this message
Eric Boissard (eric-boissard) wrote :

Another update, after searching and reading a few things related to that issue, I tried to add 'nohz=off' as a parameter in grub. It fixes the issue and glxgears is totally smooth and sync at 60hz.
Now, I suppose it is really a workaround and does not actually fix the bug. However I would be glad to know the consequences. I suppose it will increase the power consumption and decrease the battery length. Am I right ?

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Eric,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 665117

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Eric Boissard (eric-boissard) wrote :

I have tested it on my current Maverick version (I have installed all the updates), using the latest kernel:
 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 10:18:49 UTC 2010 i686 GNU/Linux

and the latest intel drivers from this ppa:glasen/intel-driver

I have exactly the same issues (glxgears is really jerky until I move the mouse, or simply run glxgears in fullscreen window. Basically, giving more work to the CPU seems to fix the issue). However if I add 'nohz=off' to grub parameters, glxgears is smooth again.

See this thread https://bugs.freedesktop.org/show_bug.cgi?id=30364, this is exactly the issue I am having.

I am thinking about trying natty today on a USB stick and see if I have the same issue.

Eric

Revision history for this message
Eric Boissard (eric-boissard) wrote :

I have just tested the daily build of Natty on a USB stick and I have exactly the same issue. Is there an easy way to try lucid intel i915 driver with Maverick ?

Thanks

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 10.10 (maverick) reached end-of-life on April 10, 2012.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in and change the bug status to Confirmed.

Changed in linux (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.