Intel gen7 graphics OpenGL 3.0 support on 12.04

Bug #1037293 reported by Jordan Justen on 2012-08-15
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned
Precise
Medium
Joseph Salisbury

Bug Description

[Impact]
The Mesa project requires a kernel change to support OpenGL 3.0 on Intel's gen7 (Ivy Bridge) hardware. Without this, applications requiring GL 3.0 won't work properly for owners of this hardware.

[Test Case]
To reproduce the issue, run:
$ glxinfo| grep "OpenGL version"

This result is the failing case:
OpenGL version string: 2.1 Mesa 8.0.2

This result is the successful case:
OpenGL version string: 3.0 Mesa 8.0.2

[Fix]
To resolve the issue, the kernel commit
ae662d31264979e52581bd2573bf0b82812f52ab
"drm/i915: Add support for resetting the SO write pointers on gen7."
should be cherry-picked.
(This commit is available in the kernel mainline.)

I have tested this with
git://kernel.ubuntu.com/ubuntu/ubuntu-precise.git
The commit cherry picks cleanly, and resolves the issue.

[Regression Risk]
TBD

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: PCH [HDA Intel PCH], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jljusten 1727 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'PCH'/'HDA Intel PCH at 0xd0730000 irq 48'
   Mixer name : 'Intel PantherPoint HDMI'
   Components : 'HDA:111d76e0,103c18df,00100303 HDA:80862806,80860101,00100000'
   Controls : 31
   Simple ctrls : 12
DistroRelease: Ubuntu 12.04
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MachineType: Hewlett-Packard HP EliteBook 9470m
Package: linux (not installed)
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-29-generic root=UUID=46c2800d-27cf-4825-b4a1-7e52a40e63fa ro crashkernel=384M-2G:64M,2G-:128M quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-29-generic N/A
 linux-backports-modules-3.2.0-29-generic N/A
 linux-firmware 1.79
StagingDrivers: mei
Tags: precise staging
Uname: Linux 3.2.0-29-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 06/07/2012
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68IBD Ver. B.05
dmi.board.name: 18DF
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 62.0A
dmi.chassis.asset.tag: 72612S2012
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68IBDVer.B.05:bd06/07/2012:svnHewlett-Packard:pnHPEliteBook9470m:pvrA1009C12:rvnHewlett-Packard:rn18DF:rvrKBCVersion62.0A:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 9470m
dmi.product.version: A1009C12
dmi.sys.vendor: Hewlett-Packard

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1037293/+editstatus and add the package name in the text box next to the word Package.

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

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1037293

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete

apport information

tags: added: apport-collected staging
description: updated

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Joseph Salisbury (jsalisbury) wrote :

Do you happen to know if commit ae662d31264979e52581bd2573bf0b82812f52ab has been submitted upstream to linux-stable, or if it will be?

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Changed in linux (Ubuntu):
status: Confirmed → Triaged
Jordan Justen (jljusten) wrote :

> Do you happen to know if commit
> ae662d31264979e52581bd2573bf0b82812f52ab
> has been submitted upstream to linux-stable,
> or if it will be?

git tag --contains ae662d31
seems to indicate that it first appeared in
linux-stable as of v3.3-rc1.

Bryce Harrington (bryce) on 2012-08-16
description: updated
Changed in linux (Ubuntu Precise):
status: New → Triaged
importance: Undecided → Medium
tags: added: kernel-handoff-graphics
Joseph Salisbury (jsalisbury) wrote :

@Jordan

Would it be possible for you to test the latest Quantal[0] kernel? You can find test kernels for each arch as links under "Builds" on that page. I assume this bug should be fixed in Quantal, since commit ae662d31 is in v3.3-rc1

I'll perform a cherry-pick of that commit for Precise and post a test kernel shortly.

Thanks in advance!

[0] https://launchpad.net/ubuntu/+source/linux/3.5.0-11.11

Changed in linux (Ubuntu Precise):
status: Triaged → In Progress
Changed in linux (Ubuntu Quantal):
status: Triaged → Confirmed
Changed in linux (Ubuntu Precise):
assignee: nobody → Joseph Salisbury (jsalisbury)
Joseph Salisbury (jsalisbury) wrote :

I built a precise(12.04) test kernel with commit ae662d31264979e52581bd2573bf0b82812f52ab cherry-picked. The kernel can be downloaded from:

http://people.canonical.com/~jsalisbury/lp1037293/

Can you test that kernel and report back if it fixes this bug?

Changed in linux (Ubuntu Quantal):
status: Confirmed → Triaged
Jordan Justen (jljusten) wrote :

> http://people.canonical.com/~jsalisbury/lp1037293/
>
> Can you test that kernel and report back if it fixes this bug?

I tested the 64-bit kernel image, and it did fix the symptom.

Joseph Salisbury (jsalisbury) wrote :

@Jordan

Thanks for testing. That confirms commit ae662d31264979e52581bd2573bf0b82812f52ab will fix this bug.

Were you also able to test the Quantal kernel, just to confirm it's already fixed there?

Jordan Justen (jljusten) wrote :

> Were you also able to test the Quantal kernel,
> just to confirm it's already fixed there?

No, I don't have a Quantal install setup right now.

I did pull the Quantal kernel, and I confirmed the commit
is already in the master branch.

Joseph Salisbury (jsalisbury) wrote :

I submitted an Precise SRU request for commit ae662d31. I'll post an update shortly.

no longer affects: linux (Ubuntu Quantal)

It looks good on my current Quantal install.

  $ glxinfo | grep "OpenGL version"
  OpenGL version string: 3.0 Mesa 8.0.4

Thanks.

Tim Gardner (timg-tpi) on 2012-08-24
Changed in linux (Ubuntu):
status: Triaged → Fix Released
Changed in linux (Ubuntu Precise):
status: In Progress → Fix Committed
Joseph Salisbury (jsalisbury) wrote :

Hi Jordan and Edward,

Commit ae662d31 has been accepted into Precise for the next stable release update.

Luis Henriques (henrix) wrote :

This bug is awaiting verification that the kernel for Precise in -proposed solves the problem (3.2.0-31.50). Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-precise' to 'verification-done-precise'.

If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-precise
Jordan Justen (jljusten) wrote :

I tested 3.2.0-31.50 with both x86 and x86-64.

The issue was resolved in both cases.

tags: added: verification-done-precise
removed: verification-needed-precise
Launchpad Janitor (janitor) wrote :
Download full text (5.5 KiB)

This bug was fixed in the package linux - 3.2.0-31.50

---------------
linux (3.2.0-31.50) precise-proposed; urgency=low

  [Luis Henriques]

  * Release Tracking Bug
    - LP: #1047242

  [ Dave Airlie ]

  * SAUCE: drm/vmwgfx: add MODULE_DEVICE_TABLE so vmwgfx loads at boot
    - LP: #1039157

  [ Kamal Mostafa ]

  * SAUCE: input: Cypress PS/2 Trackpad move PSMOUSE_CYPRESS enum
    - LP: #1041594

linux (3.2.0-31.49) precise-proposed; urgency=low

  [Luis Henriques]

  * Release Tracking Bug
    - LP: #1046216

  [ Cypress Semiconductor Corporation ]

  * SAUCE: input: Cypress PS/2 Trackpad mouse driver
    - LP: #978807
  * SAUCE: input: Cypress PS/2 Trackpad link driver into psmouse-base
    - LP: #978807

  [ Ike Panhc ]

  * [Config] Enable CONFIG_DEVPTS_MULTIPLE_INSTANCES for highbank
    - LP: #1038259

  [ Kamal Mostafa ]

  * SAUCE: input: Cypress PS/2 Trackpad code style cleanup
    - LP: #978807
  * SAUCE: input: Cypress PS/2 Trackpad eliminate dead code
    - LP: #978807
  * SAUCE: input: Cypress PS/2 Trackpad fix no-config stubs
    - LP: #978807
  * SAUCE: input: Cypress PS/2 Trackpad set default debug_level=0
    - LP: #978807

  [ Stefan Bader ]

  * Revert "SAUCE: fix pv-ops for legacy Xen"
    - LP: #1044550
  * SAUCE: Force xsave off on older Xen hypervisors
    - LP: #1044550

  [ Tim Gardner ]

  * [Config] Add smsc{79}5xx to nic-usb-modules
    - LP: #1041397

  [ Upstream Kernel Changes ]

  * Revert "samsung-laptop: make the dmi check less strict"
    - LP: #1028151
  * rds: set correct msg_namelen
    - LP: #1031112
    - CVE-2012-3430
  * bnx2: Fix bug in bnx2_free_tx_skbs().
    - LP: #1039087
  * sch_sfb: Fix missing NULL check
    - LP: #1039087
  * sctp: Fix list corruption resulting from freeing an association on a
    list
    - LP: #1039087
  * caif: Fix access to freed pernet memory
    - LP: #1039087
  * cipso: don't follow a NULL pointer when setsockopt() is called
    - LP: #1039087
  * caif: fix NULL pointer check
    - LP: #1039087
  * wanmain: comparing array with NULL
    - LP: #1039087
  * tcp: Add TCP_USER_TIMEOUT negative value check
    - LP: #1039087
  * USB: kaweth.c: use GFP_ATOMIC under spin_lock
    - LP: #1039087
  * net: fix rtnetlink IFF_PROMISC and IFF_ALLMULTI handling
    - LP: #1039087
  * tcp: perform DMA to userspace only if there is a task waiting for it
    - LP: #1039087
  * net/tun: fix ioctl() based info leaks
    - LP: #1039087
  * e1000: add dropped DMA receive enable back in for WoL
    - LP: #1039087
  * rtlwifi: rtl8192cu: Change buffer allocation for synchronous reads
    - LP: #1039087
  * hfsplus: fix overflow in sector calculations in hfsplus_submit_bio
    - LP: #1039087
  * drm/i915: fixup seqno allocation logic for lazy_request
    - LP: #1039087
  * mac80211: cancel mesh path timer
    - LP: #1039087
  * ath9k: Add PID/VID support for AR1111
    - LP: #1039087
  * ARM: mxs: Remove MMAP_MIN_ADDR setting from mxs_defconfig
    - LP: #1039087
  * ALSA: hda - add dock support for Thinkpad T430s
    - LP: #1039087
  * cfg80211: process pending events when unregistering net device
    - LP: #1039087
  * rt61pci: fix NULL pointer dereference in config_lna_gain
    - LP: #...

Read more...

Changed in linux (Ubuntu Precise):
status: Fix Committed → Fix Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers