[Bug 1583888] Re: Laptop crashes when trying to run discrete AMD GPUs commands with Xenial

2016-06-06 Thread Christopher M. Penalver
Pierre Equoy:
1) Regarding your logs.zip and tgz file, it's much more helpful to only attach 
what is relevant uncompressed/untarred, versus copying everything in various 
folders (much of which isn't relevant).
2) Regarding including a .crash file. It's always best not to manually attach 
this to a report, as it could contain sensitive information one may rather not 
reveal. Hence, I'll be deleting the file momentarily as I've extracted the bits 
regarding the kernel call trace.
3) Regarding the .crash file, given this is an xorg crash, you would want to 
file a new report against it. Have you done this already?
4) Regarding the kernel call trace, could you please test the latest mainline 
kernel (4.7-rc2) and advise to the results?

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

** Attachment removed: "logs-after-session-restart.tgz"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+attachment/4668463/+files/logs-after-session-restart.tgz

** Attachment removed: "ProcEnviron.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+attachment/4668451/+files/ProcEnviron.txt

** Attachment removed: "JournalErrors.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+attachment/4668450/+files/JournalErrors.txt

** Attachment removed: "logs.zip"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+attachment/471/+files/logs.zip

** Description changed:

  I'm trying to get my laptop with an AMD integrated GPU and AMD discrete
  GPU to work with the open source drivers on Xenial.
  
- In order to use the discrete GPU, in Xenial you can prefix any command
- with `DRI_PRIME=1`. However, this will crash the OS.
+ In order to use the discrete GPU, in Xenial you can prefix any command with 
`DRI_PRIME=1`. However, this will cause a kernel call trace:
+ 
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+attachment/4678542/+files/kern.log
  
  I tried installing a backported kernel from
  http://people.canonical.com/~amilone/amdgpu-4.5/ and even though the
  computer does not crash anymore, it still won't show anything (but the
  process launched will take 100% of the CPU and cannot be stopped nor
  killed, it looks...).
  
  I tried with the following commands:
  glxinfo
  glxgears
  DRI_PRIME=1 glxinfo
  DRI_PRIME=1 glxgears
  
  Once, I managed to get some output from the `glxinfo` command, with and 
without `DRI_PRIME=1` prefix:
  $ glxinfo | grep -i "opengl"
  OpenGL vendor string: X.Org
  OpenGL renderer string: Gallium 0.4 on AMD KAVERI (DRM 2.43.0, LLVM 3.8.0)
  OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.0
  OpenGL core profile shading language version string: 4.10
  OpenGL core profile context flags: (none)
  OpenGL core profile profile mask: core profile
  OpenGL core profile extensions:
  OpenGL version string: 3.0 Mesa 11.2.0
  OpenGL shading language version string: 1.30
  OpenGL context flags: (none)
  OpenGL extensions:
  OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
  OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
  OpenGL ES profile extensions:
  
  $ DRI_PRIME=1 glxinfo | grep -i "opengl"
  OpenGL vendor string: X.Org
  OpenGL renderer string: Gallium 0.4 on AMD ICELAND (DRM 3.1.0, LLVM 3.8.0)
  OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.0
  OpenGL core profile shading language version string: 4.10
  OpenGL core profile context flags: (none)
  OpenGL core profile profile mask: core profile
  OpenGL core profile extensions:
  OpenGL version string: 3.0 Mesa 11.2.0
  OpenGL shading language version string: 1.30
  OpenGL context flags: (none)
  OpenGL extensions:
  OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
  OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
  OpenGL ES profile extensions:
  
  So it looks like the discrete GPU is used, but so far I couldn't really
  use it to run anything 3D-demanding.
  
  Attached is a Zip with a lot of logs, hope this will help!
  
  ---
  ApportVersion: 2.20.1-0ubuntu2.1
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  u  1514 F pulseaudio
   /dev/snd/controlC0:  u  1514 F pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=c7cb27f3-e158-413f-bc47-98e4dffdbba4
  InstallationDate: Installed on 2016-06-06 (0 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  MachineType: Dell Inc. Inspiron 5445
  Package: linux (not installed)
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-22-generic.efi.signed 
root=UUID=e5369e55-3dcd-4731-83da-faa4c5f0f8eb ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-22-generic N/A
   linux-backports-modules-4.4.0-22-generic  N/A
   

[Bug 1583888] Re: Laptop crashes when trying to run discrete AMD GPUs commands with Xenial

2016-06-06 Thread Christopher M. Penalver
** Description changed:

- I'm trying to get an A+A (AMD integrated GPU and AMD deiscrete GPU)
- device [1] to work with the open source drivers on Xenial.
+ I'm trying to get my laptop with an AMD integrated GPU and AMD discrete
+ GPU to work with the open source drivers on Xenial.
  
- lspci reports the following regarding the GPUs:
+ In order to use the discrete GPU, in Xenial you can prefix any command
+ with `DRI_PRIME=1`. However, this will crash the OS.
  
- 00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Kaveri [Radeon R5 Graphics] [1002:1318] (prog-if 00 [VGA controller])
-   Subsystem: Dell Kaveri [Radeon R5 Graphics] [1028:067f]
-   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
-   Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
-   Capabilities: [50] Power Management version 3
-   Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
-   Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
-   Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
-   DevCap: MaxPayload 256 bytes, PhantFunc 0
-   ExtTag+ RBE+
-   DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
-   RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
-   MaxPayload 128 bytes, MaxReadReq 512 bytes
-   DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
-   DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, 
OBFF Not Supported
-   DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 
OBFF Disabled
-   Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
-   Address: fee0800c  Data: 41a3
-   Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=010 
-   Capabilities: [270 v1] #19
-   Capabilities: [2b0 v1] Address Translation Service (ATS)
-   ATSCap: Invalidate Queue Depth: 00
-   ATSCtl: Enable+, Smallest Translation Unit: 00
-   Capabilities: [2c0 v1] #13
-   Capabilities: [2d0 v1] #1b
-   Kernel driver in use: radeon
-   Kernel modules: radeon
- 
- 01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] 
Topaz XT [Radeon R7 M260/M265] [1002:6900] (rev ff) (prog-if ff)
-   !!! Unknown header type 7f
-   Kernel driver in use: amdgpu
-   Kernel modules: amdgpu
- 
- 
- In order to use the discrete GPU, in Xenial you can prefix any command with 
`DRI_PRIME=1`. However, with this device, doing this crashes the device.
- 
- I tried installing a backported kernel that Alberto provided [2] and
- even though the computer does not crash anymore, it still won't show
- anything (but the process launched will take 100% of the CPU and cannot
- be stopped nor killed, it looks...).
+ I tried installing a backported kernel from
+ http://people.canonical.com/~amilone/amdgpu-4.5/ and even though the
+ computer does not crash anymore, it still won't show anything (but the
+ process launched will take 100% of the CPU and cannot be stopped nor
+ killed, it looks...).
  
  I tried with the following commands:
- 
  glxinfo
  glxgears
  DRI_PRIME=1 glxinfo
  DRI_PRIME=1 glxgears
  
- Once, I managed to get some output from the `glxinfo` command, with and
- without `DRI_PRIME=1` prefix:
- 
+ Once, I managed to get some output from the `glxinfo` command, with and 
without `DRI_PRIME=1` prefix:
  $ glxinfo | grep -i "opengl"
  OpenGL vendor string: X.Org
  OpenGL renderer string: Gallium 0.4 on AMD KAVERI (DRM 2.43.0, LLVM 3.8.0)
  OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.0
  OpenGL core profile shading language version string: 4.10
  OpenGL core profile context flags: (none)
  OpenGL core profile profile mask: core profile
  OpenGL core profile extensions:
  OpenGL version string: 3.0 Mesa 11.2.0
  OpenGL shading language version string: 1.30
  OpenGL context flags: (none)
  OpenGL extensions:
  OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
  OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
  OpenGL ES profile extensions:
  
  $ DRI_PRIME=1 glxinfo | grep -i "opengl"
  OpenGL vendor string: X.Org
  OpenGL renderer string: Gallium 0.4 on AMD ICELAND (DRM 3.1.0, LLVM 3.8.0)
  OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.0
  OpenGL core profile shading language version string: 4.10
  OpenGL core profile context flags: (none)
  OpenGL core profile profile mask: core profile
  OpenGL core profile extensions:
  OpenGL version string: 3.0 Mesa 11.2.0
  OpenGL shading language version string: 1.30
  OpenGL context flags: (none)
  OpenGL extensions:
  OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
  OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
  OpenGL 

[Bug 1583888] Re: Laptop crashes when trying to run discrete AMD GPUs commands with Xenial

2016-06-06 Thread Christopher M. Penalver
** Tags added: latest-bios-a01

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

Title:
  Laptop crashes when trying to run discrete AMD GPUs commands with
  Xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+subscriptions

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


[Bug 1583888] Re: Laptop crashes when trying to run discrete AMD GPUs commands with Xenial

2016-06-05 Thread Pierre Equoy
apport information

** Description changed:

  I'm trying to get an A+A (AMD integrated GPU and AMD deiscrete GPU)
  device [1] to work with the open source drivers on Xenial.
  
  lspci reports the following regarding the GPUs:
  
  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Kaveri [Radeon R5 Graphics] [1002:1318] (prog-if 00 [VGA controller])
Subsystem: Dell Kaveri [Radeon R5 Graphics] [1028:067f]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, 
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 
OBFF Disabled
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: fee0800c  Data: 41a3
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=010 
Capabilities: [270 v1] #19
Capabilities: [2b0 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable+, Smallest Translation Unit: 00
Capabilities: [2c0 v1] #13
Capabilities: [2d0 v1] #1b
Kernel driver in use: radeon
Kernel modules: radeon
  
  01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] 
Topaz XT [Radeon R7 M260/M265] [1002:6900] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: amdgpu
Kernel modules: amdgpu
  
  
  In order to use the discrete GPU, in Xenial you can prefix any command with 
`DRI_PRIME=1`. However, with this device, doing this crashes the device.
  
  I tried installing a backported kernel that Alberto provided [2] and
  even though the computer does not crash anymore, it still won't show
  anything (but the process launched will take 100% of the CPU and cannot
  be stopped nor killed, it looks...).
  
  I tried with the following commands:
  
  glxinfo
  glxgears
  DRI_PRIME=1 glxinfo
  DRI_PRIME=1 glxgears
  
  Once, I managed to get some output from the `glxinfo` command, with and
  without `DRI_PRIME=1` prefix:
  
  $ glxinfo | grep -i "opengl"
  OpenGL vendor string: X.Org
  OpenGL renderer string: Gallium 0.4 on AMD KAVERI (DRM 2.43.0, LLVM 3.8.0)
  OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.0
  OpenGL core profile shading language version string: 4.10
  OpenGL core profile context flags: (none)
  OpenGL core profile profile mask: core profile
  OpenGL core profile extensions:
  OpenGL version string: 3.0 Mesa 11.2.0
  OpenGL shading language version string: 1.30
  OpenGL context flags: (none)
  OpenGL extensions:
  OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
  OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
  OpenGL ES profile extensions:
  
  $ DRI_PRIME=1 glxinfo | grep -i "opengl"
  OpenGL vendor string: X.Org
  OpenGL renderer string: Gallium 0.4 on AMD ICELAND (DRM 3.1.0, LLVM 3.8.0)
  OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.0
  OpenGL core profile shading language version string: 4.10
  OpenGL core profile context flags: (none)
  OpenGL core profile profile mask: core profile
  OpenGL core profile extensions:
  OpenGL version string: 3.0 Mesa 11.2.0
  OpenGL shading language version string: 1.30
  OpenGL context flags: (none)
  OpenGL extensions:
  OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
  OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
  OpenGL ES profile extensions:
  
  
  
  So it looks like the discrete GPU is used, but so far I couldn't really
  use it to run anything 3D-demanding.
  
  Attached is a Zip with a lot of logs, hope this will help!
  
  [1] https://certification.canonical.com/hardware/201405-15050/
  [2] http://people.canonical.com/~amilone/amdgpu-4.5/
  --- 
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 16.04
  InstallationDate: Installed on 2016-05-18 (4 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
  Package: linux (not installed)
  

[Bug 1583888] Re: Laptop crashes when trying to run discrete AMD GPUs commands with Xenial

2016-06-05 Thread Christopher M. Penalver
Perre Equoy, while booted into the default Ubuntu kernel (not upstream), please 
execute the following command only once, as it will automatically gather 
debugging information, in a terminal:
apport-collect 1583888

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

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

Title:
  Laptop crashes when trying to run discrete AMD GPUs commands with
  Xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+subscriptions

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


[Bug 1583888] Re: Laptop crashes when trying to run discrete AMD GPUs commands with Xenial

2016-05-22 Thread Pierre Equoy
Tested with upstream Kernel from the URL proposed in comment 4.

When launching:

DRI_PRIME=1 glxgears

the screen turns black and the Unity session restarts.

Please see attached logs (even though I couldn't find any error in
it...).

Let me know if there are other logs I count provide to help.

** Attachment added: "logs-after-session-restart.tgz"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+attachment/4668463/+files/logs-after-session-restart.tgz

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

Title:
  Laptop crashes when trying to run discrete AMD GPUs commands with
  Xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+subscriptions

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


[Bug 1583888] Re: Laptop crashes when trying to run discrete AMD GPUs commands with Xenial

2016-05-22 Thread Pierre Equoy
** Tags added: kernel-bug-exists-upstream

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

** Changed in: linux (Ubuntu Xenial)
   Status: Incomplete => Confirmed

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

Title:
  Laptop crashes when trying to run discrete AMD GPUs commands with
  Xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+subscriptions

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


[Bug 1583888] Re: Laptop crashes when trying to run discrete AMD GPUs commands with Xenial

2016-05-22 Thread Pierre Equoy
apport information

** Tags added: apport-collected

** Description changed:

  I'm trying to get an A+A (AMD integrated GPU and AMD deiscrete GPU)
  device [1] to work with the open source drivers on Xenial.
  
  lspci reports the following regarding the GPUs:
  
  00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Kaveri [Radeon R5 Graphics] [1002:1318] (prog-if 00 [VGA controller])
Subsystem: Dell Kaveri [Radeon R5 Graphics] [1028:067f]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- 
Capabilities: [50] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0
ExtTag+ RBE+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- 
Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- 
TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, 
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, 
OBFF Disabled
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: fee0800c  Data: 41a3
Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 
Len=010 
Capabilities: [270 v1] #19
Capabilities: [2b0 v1] Address Translation Service (ATS)
ATSCap: Invalidate Queue Depth: 00
ATSCtl: Enable+, Smallest Translation Unit: 00
Capabilities: [2c0 v1] #13
Capabilities: [2d0 v1] #1b
Kernel driver in use: radeon
Kernel modules: radeon
  
  01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] 
Topaz XT [Radeon R7 M260/M265] [1002:6900] (rev ff) (prog-if ff)
!!! Unknown header type 7f
Kernel driver in use: amdgpu
Kernel modules: amdgpu
  
  
  In order to use the discrete GPU, in Xenial you can prefix any command with 
`DRI_PRIME=1`. However, with this device, doing this crashes the device.
  
  I tried installing a backported kernel that Alberto provided [2] and
  even though the computer does not crash anymore, it still won't show
  anything (but the process launched will take 100% of the CPU and cannot
  be stopped nor killed, it looks...).
  
  I tried with the following commands:
  
  glxinfo
  glxgears
  DRI_PRIME=1 glxinfo
  DRI_PRIME=1 glxgears
  
  Once, I managed to get some output from the `glxinfo` command, with and
  without `DRI_PRIME=1` prefix:
  
  $ glxinfo | grep -i "opengl"
  OpenGL vendor string: X.Org
  OpenGL renderer string: Gallium 0.4 on AMD KAVERI (DRM 2.43.0, LLVM 3.8.0)
  OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.0
  OpenGL core profile shading language version string: 4.10
  OpenGL core profile context flags: (none)
  OpenGL core profile profile mask: core profile
  OpenGL core profile extensions:
  OpenGL version string: 3.0 Mesa 11.2.0
  OpenGL shading language version string: 1.30
  OpenGL context flags: (none)
  OpenGL extensions:
  OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
  OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
  OpenGL ES profile extensions:
  
  $ DRI_PRIME=1 glxinfo | grep -i "opengl"
  OpenGL vendor string: X.Org
  OpenGL renderer string: Gallium 0.4 on AMD ICELAND (DRM 3.1.0, LLVM 3.8.0)
  OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.0
  OpenGL core profile shading language version string: 4.10
  OpenGL core profile context flags: (none)
  OpenGL core profile profile mask: core profile
  OpenGL core profile extensions:
  OpenGL version string: 3.0 Mesa 11.2.0
  OpenGL shading language version string: 1.30
  OpenGL context flags: (none)
  OpenGL extensions:
  OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0
  OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
  OpenGL ES profile extensions:
  
  
  
  So it looks like the discrete GPU is used, but so far I couldn't really
  use it to run anything 3D-demanding.
  
  Attached is a Zip with a lot of logs, hope this will help!
  
  [1] https://certification.canonical.com/hardware/201405-15050/
  [2] http://people.canonical.com/~amilone/amdgpu-4.5/
+ --- 
+ ApportVersion: 2.20.1-0ubuntu2
+ Architecture: amd64
+ CurrentDesktop: Unity
+ DistroRelease: Ubuntu 16.04
+ InstallationDate: Installed on 2016-05-18 (4 days ago)
+ InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
+ 

[Bug 1583888] Re: Laptop crashes when trying to run discrete AMD GPUs commands with Xenial

2016-05-20 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v4.6 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed".


Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.6-yakkety


** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Xenial)
   Status: New => Incomplete

** Changed in: linux (Ubuntu Xenial)
   Importance: Undecided => Medium

** Tags added: kernel-da-key xenial

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

Title:
  Laptop crashes when trying to run discrete AMD GPUs commands with
  Xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+subscriptions

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


[Bug 1583888] Re: Laptop crashes when trying to run discrete AMD GPUs commands with Xenial

2016-05-20 Thread Alberto Milone
** Changed in: linux (Ubuntu)
   Status: Incomplete => New

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

Title:
  Laptop crashes when trying to run discrete AMD GPUs commands with
  Xenial

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1583888/+subscriptions

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