OpenGL crashes KWin with 64-bit 3.13.0-21 kernel

Bug #1301570 reported by Paul Loughman
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
High
Unassigned

Bug Description

"A solution offered that works" -- see comment #47 below

On my 64-bit installation, setting OpenGL 1.2, 2.0, or 3.1 when using kernel 3.13.0-21 causes KWin to crash. I'm forced to use XRender instead.

This is also occurs using kernel 3.13.0-20.

OpenGL 1.2 and 2.0 works fine and does not crash KWin when using kernel 3.13.0-19.

On my 32-bit installation, OpenGL 1.2 and 2.0 works fine with KWin when using any of these three kernels.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-21-generic 3.13.0-21.43
ProcVersionSignature: Ubuntu 3.13.0-21.43-generic 3.13.8
Uname: Linux 3.13.0-21-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: paul 2206 F.... pulseaudio
CurrentDesktop: KDE
Date: Wed Apr 2 11:36:45 2014
HibernationDevice: RESUME=UUID=b3485e1b-d5a3-411b-8dba-ecd0ae263823
MachineType: Hewlett-Packard HP Pavilion g7 Notebook PC
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-21-generic root=UUID=8bebb423-ff90-4290-8ed7-18bc8fc5ed8a ro noapic quiet splash enable_mtrr_cleanup raid=noautodetect vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-21-generic N/A
 linux-backports-modules-3.13.0-21-generic N/A
 linux-firmware 1.127
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/11/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.04
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 166A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 08.10
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.04:bd02/11/2011:svnHewlett-Packard:pnHPPaviliong7NotebookPC:pvr059A100000204610000020100:rvnHewlett-Packard:rn166A:rvr08.10:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP Pavilion g7 Notebook PC
dmi.product.version: 059A100000204610000020100
dmi.sys.vendor: Hewlett-Packard
---
ApportVersion: 2.14.1-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: paul 2108 F.... pulseaudio
CurrentDesktop: KDE
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=b3485e1b-d5a3-411b-8dba-ecd0ae263823
MachineType: Hewlett-Packard HP Pavilion g7 Notebook PC
NonfreeKernelModules: wl
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-19-generic root=UUID=8bebb423-ff90-4290-8ed7-18bc8fc5ed8a ro noapic quiet splash enable_mtrr_cleanup raid=noautodetect vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-19-generic N/A
 linux-backports-modules-3.13.0-19-generic N/A
 linux-firmware 1.127
Tags: trusty
Uname: Linux 3.13.0-19-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip floppy lpadmin mail plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 02/11/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.04
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 166A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 08.10
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.04:bd02/11/2011:svnHewlett-Packard:pnHPPaviliong7NotebookPC:pvr059A100000204610000020100:rvnHewlett-Packard:rn166A:rvr08.10:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP Pavilion g7 Notebook PC
dmi.product.version: 059A100000204610000020100
dmi.sys.vendor: Hewlett-Packard
---
ApportVersion: 2.14.1-0ubuntu1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: paul 2108 F.... pulseaudio
CurrentDesktop: KDE
DistroRelease: Ubuntu 14.04
HibernationDevice: RESUME=UUID=b3485e1b-d5a3-411b-8dba-ecd0ae263823
MachineType: Hewlett-Packard HP Pavilion g7 Notebook PC
NonfreeKernelModules: wl
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-19-generic root=UUID=8bebb423-ff90-4290-8ed7-18bc8fc5ed8a ro noapic quiet splash enable_mtrr_cleanup raid=noautodetect vt.handoff=7
ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-19-generic N/A
 linux-backports-modules-3.13.0-19-generic N/A
 linux-firmware 1.127
Tags: trusty
Uname: Linux 3.13.0-19-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip floppy lpadmin mail plugdev sambashare sudo vboxusers
_MarkForUpload: True
dmi.bios.date: 02/11/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.04
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 166A
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 08.10
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.04:bd02/11/2011:svnHewlett-Packard:pnHPPaviliong7NotebookPC:pvr059A100000204610000020100:rvnHewlett-Packard:rn166A:rvr08.10:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: HP Pavilion g7 Notebook PC
dmi.product.version: 059A100000204610000020100
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Paul Loughman (snowhog) wrote :
Revision history for this message
Paul Loughman (snowhog) wrote :

The attached files generated while running the 3.13.0-21 kernel, using XRender. If needed, I'll change from XRender to OpenGL, generating the KWin crash, and run ubuntu-bug linux.

Revision history for this message
Paul Loughman (snowhog) wrote :

Hmm. Guess that isn't possible. Once the crash occurs, the system reverts back to XRender.

Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: OpenGL crashes KWin with 3.13.0-21 kernel

Do you recall the last kernel version that did not exhibit this bug? We can perform a kernel bisect if we can identify the last good kernel and the first bad kernel.

Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Incomplete
tags: added: performing-bisect
Revision history for this message
Paul Loughman (snowhog) wrote : Re: [Bug 1301570] Re: OpenGL crashes KWin with 3.13.0-21 kernel

On Wednesday, April 02, 2014 08:22:28 PM you wrote:
> Do you recall the last kernel version that did not exhibit this bug? We
> can perform a kernel bisect if we can identify the last good kernel and
> the first bad kernel.
>
> ** Changed in: linux (Ubuntu)
> Importance: Undecided => High
>
> ** Changed in: linux (Ubuntu)
> Status: Confirmed => Incomplete
>
> ** Tags added: performing-bisect

That is included in my comments in the bug. But, that last 64-bit kernel that
works with OpenGL is 3.13.0-19.

Paul O. Loughman
aka "Snowhog"

Proudly using Kubuntu Linux since March 23, 2007

Administrator, Kubuntu Forums . Net
Visit or join us at www.kubuntuforums.net

Get Protected, Stay Protected...
With ZB Block, GNU/GPL Freeware Anti-Spam/Anti-Hack protection for your php
based website. Get it at http://www.spambotsecurity.com/zbblock.php

National Rifle Association Life Member - "/From my cold, dead hands!/"

Paul Loughman (snowhog)
description: updated
Paul Loughman (snowhog)
summary: - OpenGL crashes KWin with 3.13.0-21 kernel
+ OpenGL crashes KWin with 64-bit 3.13.0-21 kernel
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I'd like to perform a bisect to figure out what commit caused this regression. We need to identify the earliest kernel where the issue started happening as well as the latest kernel that did not have this issue.

Can you test the following kernels and report back?

v3.13.6: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.6-trusty/
v3.13.7: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.7-trusty/

Thanks in advance!

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

Also happens on version 22:
Linux ubuntu 3.13.0-22-generic #44-Ubuntu SMP Wed Apr 2 20:05:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

@Joseph Salisbury: How would you like us to do the bisect?

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

Both the kernels fail for me, @Joseph.

Revision history for this message
Gary Young (garyyoung3) wrote :

v3.13.7 was no improvement.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can you test some earlier kernels as well? We are looking for the last good kernel:

v3.13.4: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.4-trusty/
v3.13.5: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.5-trusty/

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

Joseph, 3.13.4 and 3.13.5 mainline both fail for me. I'll try .3 and .2 now.

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

I tried all kernels from 3.13.0 to 3.13.7. Either I am doing something wrong, or there is a problem in the interaction between some graphics driver and the kernel.

Revision history for this message
Paul Loughman (snowhog) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Paul Loughman (snowhog) wrote : BootDmesg.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : CRDA.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : IwConfig.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : Lspci.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : Lsusb.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : ProcEnviron.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : ProcModules.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : PulseList.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : RfKill.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : UdevDb.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : UdevLog.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : WifiSyslog.txt

apport information

description: updated
Revision history for this message
Paul Loughman (snowhog) wrote : AlsaInfo.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : BootDmesg.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : CRDA.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : IwConfig.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : Lspci.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : Lsusb.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : ProcEnviron.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : ProcModules.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : PulseList.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : RfKill.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : UdevDb.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : UdevLog.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote : WifiSyslog.txt

apport information

Revision history for this message
Paul Loughman (snowhog) wrote :

Well, better more than less?! Looks like I updated this report twice today. The additions are while I am running on the 3.13.0-19-generic kernel with OpenGL 2.0 selected (and working properly).

Revision history for this message
Paul Loughman (snowhog) wrote :

The 'solution' offered in Bug #1299499 worked, permitting my use of OpenGL 2.0 or 1.2 again, although 3.0 still crashes KWin.

I don't know if the precurser cause of my reported bug was mesa and libxkbcommon0 incompatibility with kernel's above 3.13.0-19, but adding the PPA and updating / dist-upgrading solved my problem on my 64-bit install.

description: updated
Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

None of the latest kernel or libgl updates have fixed the issue.

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

Actually scratch that: it works perfectly for me, I had to remove the ~/.kde/share/config/kwinrc.

Revision history for this message
Paul Loughman (snowhog) wrote :

As of today, April 8, 2014, having dist-upgraded, I am able to use OpenGL 2.0 without crashing KWin on kernel 3.13.0-23. The following packages were updated on my 64-bit OS:

The following packages will be upgraded:
  akonadi-backend-mysql akonadi-server baloo cups-browsed cups-filters cups-filters-core-drivers flashplugin-installer fonts-opensymbol foomatic-db-compressed-ppds freespacenotifier
  gcc-4.9-base gcc-4.9-base:i386 gdebi-core gdebi-kde kde-runtime kde-runtime-data kde-style-oxygen kde-window-manager kde-window-manager-common kde-workspace kde-workspace-bin
  kde-workspace-data kde-workspace-kgreet-plugins kdebase-runtime kdm khelpcenter4 kinfocenter klipper kmenuedit krb5-locales ksysguard ksysguardd kubuntu-docs kubuntu-driver-manager
  lib32gcc1 libakonadiprotocolinternals1 libbaloocore4 libbaloofiles4 libbaloopim4 libbalooxapian4 libcupsfilters1 libcupsfilters1:i386 libdb5.3 libdb5.3:i386 libegl1-mesa
  libegl1-mesa-drivers libfontembed1 libgbm1 libgcc1 libgcc1:i386 libgl1-mesa-dri libgl1-mesa-dri:i386 libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa libglapi-mesa:i386 libgles2-mesa
  libglibmm-2.4-1c2a libgssapi-krb5-2 libgssapi-krb5-2:i386 libgtk-3-0 libgtk-3-bin libgtk-3-common libk5crypto3 libk5crypto3:i386 libkdecorations4abi1 libkephal4abi1 libkrb5-3
  libkrb5-3:i386 libkrb5support0 libkrb5support0:i386 libkscreensaver5 libksgrd4 libksignalplotter4 libkwineffects1abi4 libkwinglesutils1 libkwinglutils1abi3 libkworkspace4abi2
  liblightdm-gobject-1-0 liblightdm-qt-3-0 libopenvg1-mesa libplasma-geolocation-interface4 libplasmaclock4abi4 libplasmagenericshell4 libprocesscore4abi1 libprocessui4a
  libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-emailmerge libreoffice-impress libreoffice-kde libreoffice-math
  libreoffice-pdfimport libreoffice-style-oxygen libreoffice-writer libsnmp-base libsnmp30 libtaskmanager4abi5 libwayland-egl1-mesa libweather-ion6 libxatracker2 lightdm openprinting-ppds
  plasma-dataengines-workspace plasma-desktop plasma-netbook plasma-scriptengine-javascript plasma-scriptengine-python plasma-scriptengine-ruby plasma-scriptengine-webkit
  plasma-scriptengines plasma-widgets-workspace python3-distupgrade python3-uno systemsettings ubuntu-release-upgrader-core ubuntu-release-upgrader-qt uno-libs3 ure usbutils
123 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

Correct, if you see the bug you posted, updating "mesa" source package fixed the issue. I had to delete kwinrc for it to pick up on the change though.

Revision history for this message
penalvch (penalvch) wrote :

Paul L., this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1301570/comments/50 regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

tags: added: needs-full-computer-model
Changed in linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.