[Ubuntu-x-swat] [Bug 1616364] Re: DRI_PRIME GPU offloading not working on AMD APU + AMD GPU laptop with ubuntu 16.04

2016-09-09 Thread Alessandro Viprati
This is the .crash file I found today after DRI_PRIME=1 glxgears -info

** Attachment added: "_usr_lib_xorg_Xorg.0.crash"
   
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/1616364/+attachment/4737540/+files/_usr_lib_xorg_Xorg.0.crash

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-ati in Ubuntu.
https://bugs.launchpad.net/bugs/1616364

Title:
  DRI_PRIME GPU offloading not working on AMD APU + AMD GPU laptop with
  ubuntu 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/1616364/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1616364] [NEW] DRI_PRIME GPU offloading not working on AMD APU + AMD GPU laptop with ubuntu 16.04

2016-08-24 Thread Alessandro Viprati
Public bug reported:

Distributor ID: Ubuntu
Description:Ubuntu 16.04.1 LTS
Release:16.04
Codename:   xenial
Kernel: 4.4
Fresh install of Ubuntu 16.04.1 Point Release

##Hardware: 
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Mullins [Radeon R3 Graphics] (rev 45) → AMD APU A4-7210 with R3 integrated 
graphics "MULLINS"
01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT 
[Radeon HD 8670A/8670M/8690M / R5 M330] (rev ff) → AMD R5 M330 dedicated GPU 
"HAINAN"

##What works:
As system boots, only R3 integrated graphics is used by Ubuntu (as it should, 
all ok):
 *  glxinfo | grep render
OpenGL renderer string: Gallium 0.4 on AMD MULLINS (DRM 2.43.0, LLVM 3.8.0)
 * lspci | grep VGA
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Mullins [Radeon R3 Graphics] (rev 45)
 * sudo lshw -c display
  *-display   
   description: VGA compatible controller
   product: Mullins [Radeon R3 Graphics]
   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
   physical id: 1
   bus info: pci@:00:01.0
   version: 45
   width: 64 bits
   clock: 33MHz
   capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
   configuration: driver=radeon latency=0
   resources: irq:39 memory:e000-efff memory:f000-f07f 
ioport:3000(size=256) memory:f110-f113 memory:f0d0-f0d1

##What doesn't work
With DRI_PRIME=1, I should be able to launch applications with the dedicated 
GPU (R5 M330). However, every time I try, the OS hangs and returns to the 
lightdm login screen.

This is what I did:
1. xrandr --listproviders 
 Providers: number : 3
 Provider 0: id: 0x73 cap: 0x9, Source Output, Sink Offload crtcs: 2 outputs: 2 
associated 
 providers: 2 name:MULLINS @ pci::00:01.0
 Provider 1: id: 0x3f cap: 0x6, Sink Output, Source Offload crtcs: 0 outputs: 0 
associated 
 providers: 2 name:HAINAN @ pci::01:00.0
 Provider 2: id: 0x3f cap: 0x6, Sink Output, Source Offload crtcs: 0 outputs: 0 
associated 
 providers: 2 name:HAINAN @ pci::01:00.0
2. xrandr --setprovideroffloadsink  0x3f 0x73
3. sudo apt install mesa-utils
4. DRI_PRIME=1 glxgears 
5. then, the system hangs with a black screen and returns to the login screen

I've tried with DRI_PRIME=1 supertuxkart/redeclipse/other 3D
applications, but the result is always the same.

I've also tried to install a different DE with different compositing
window managers: XFCE+xfwm and XFCE+compton. However, if I try to use
DRI_PRIME=1 the result is always the same.

No problems when using DRI_PRIME=0 (mullins integrated graphics),
therefore the initial configuration should be ok.

It seems not related to compiz, but to something regarding the graphics
stack (radeon? mesa?)

As of now, I can't use my dedicated GPU.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xserver-xorg-video-radeon 1:7.7.0-1
ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15
Uname: Linux 4.4.0-34-generic x86_64
.tmp.unity_support_test.0:
 
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Wed Aug 24 09:42:56 2016
DistUpgraded: Fresh install
DistroCodename: xenial
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] 
[1002:9850] (rev 45) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Mullins [Radeon R3 Graphics] [17aa:3803]
InstallationDate: Installed on 2016-08-16 (7 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
MachineType: LENOVO 80NA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-34-generic.efi.signed 
root=UUID=c90f65d5-a1c1-4d83-93ff-397b3b670708 ro quiet splash vt.handoff=7
SourcePackage: xserver-xorg-video-ati
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/07/2015
dmi.bios.vendor: Lenovo
dmi.bios.version: BECN51WW
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Lenovo Yoga 500-14ACL
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40700 WIN
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Lenovo Yoga 500-14ACL
dmi.modalias: 
dmi:bvnLenovo:bvrBECN51WW:bd08/07/2015:svnLENOVO:pn80NA:pvrLenovoYoga500-14ACL:rvnLENOVO:rnLenovoYoga500-14ACL:rvrSDK0J40700WIN:cvnLENOVO:ct10:cvrLenovoYoga500-14ACL:
dmi.product.name: 80NA
dmi.product.version: Lenovo Yoga 500-14ACL
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.12.2+16.04.20160714-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1ubuntu0.16.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2.1
version.libgl1-mesa-dri-experimental: 

[Ubuntu-x-swat] [Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2016-08-23 Thread Alessandro Viprati
Tell me if you need any info or log file, this is a really critical bug
and, for now, I can't use my dedicated GPU on Ubuntu.

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

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1430888/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1430888] Re: DRI_PRIME with radeon/intel windows do not draw

2016-08-23 Thread Alessandro Viprati
Similar problem in Ubuntu 16.04.1 (Unity), with AMD APU (AMD A4-7210 APU
with AMD Radeon R3 Graphics "MULLINS") + AMD GPU (AMD Radeon R5 M330) on
a Lenovo Yoga 500-14ACL.

Everytime I launch a 3D game application with DRI_PRIME=1, the system
hangs and returns to the lightdm login screen.

I also tried to use a xubuntu session (installing xubuntu-core package)
with xfwm or compton, but the problem persists.

** Tags added: xenial

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

Title:
  DRI_PRIME with radeon/intel windows do not draw

To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-server/+bug/1430888/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1426489] Re: fglrx-core 2:14.501-0ubuntu1: fglrx-core kernel module failed to build [error: implicit declaration of function ‘__get_cpu_var’ ]

2015-04-30 Thread Alessandro Viprati
@ROCHE read this comment: 
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1276379/comments/41
(and sorry for my poor english, I can't edit that comment and correct my 
errors).

However, it's the same for 15.04: you cannot install fglrx drivers because AMD 
dropped support for the Radeon HD 2xxx, 3xxx and 4xxx cards.
If you want to use proprietary drivers, they work only on Ubuntu 12.04.1 
(kernel linux 3.2), but with an old version (Catalyst 13.1).

If you want to use Ubuntu 14.04 LTS or 15.04, you have to use the open Radeon 
drivers (preinstalled in Ubuntu).
Hope to help.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1426489

Title:
  fglrx-core 2:14.501-0ubuntu1: fglrx-core kernel module failed to build
  [error: implicit declaration of function ‘__get_cpu_var’ ]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1426489/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1276379] Re: fglrx-installer 2:13.101-0ubuntu0.0.1 fails with some legacy devices (Radeon HD 2000 3000 4000)

2015-03-28 Thread Alessandro Viprati
As described from many users before, the first Catalyst driver available
inside the Ubuntu restricted repository was this one [1]. This driver
supports all Ati Radeon HD graphic cards (I don't know if it supports
most recent HD 7xxx or 8xxx series, but this isn't the problem). Users
were able to install fglrx driver for HD 2xxx, 3 and 4xxx graphic
cards without problems.

Since Point Releases [2] were released, new kernel and Xorg stacks were used. 
The old fglrx driver can't support new kernel and xorg, so upgrade the fglrx 
driver to a newer version is a *must*. 
Canonical can't just push new HWE stacks without providing support for new 
graphic cards through fglrx drivers.

Due to this, updated fglrx drivers published inside the Ubuntu repos broke the 
systems with old HD 2xxx, 3xxx and 4xxx cards.
AMD dropped the Radeon HD 2xxx, 3 and 4xxx support.

For Ati Radeon HD 2xxx, 3xxx and 4xx users, you have different
solutions:

 - install Ubuntu 12.04.5 LTS or Ubuntu 14.04 LTS with new open source
Radeon [3] drivers (pre-installed in Ubuntu), which have a better power
management support, better heat control and general better stability and
functionalities. Don't install fglrx drivers if you use these
distributions.

 - install Ubuntu 12.04.1 LTS, install updates and don't install a new
HWE stack. Then install fglrx 13.1 from AMD website [4]. This is the
last fglrx version which supports Radeon HD 2xxx, 3xxx and 4xxx graphic
cards and can be used only with the Ubuntu 12.04 original stack.

 - install Ubuntu 12.04.1 LTS and install old fglrx drivers inside the
repository *fglrx=2:8.960-0ubuntu1*. Remember to not update this driver
through system updates.

 - a combination of the solutions presented before (HWE stack downgrade
and blablabla - non the best solution ever - )

Consider that recent open Radeon drivers works really better that 2
years ago, so try them.

= Related to this bug =

Ubuntu 12.04: consider to make available the fglrx 13.1 driver inside
12.04 repos, only installable on Ubuntu 12.04.1 original kernel and xorg
stack. Alternatively, prevent the update from 8.960 version to actual
13.350 fglrx driver (or future versions) for HD 2xxx, 3xxx and 4xxx
users.

Ubuntu 14.04: this bug can't be solved, AMD dropped support for these
graphics cards and the old driver can't work with new kernels and xorg
stacks. Use open Radeon driver and don't try to install fglrx drivers.

[1] http://packages.ubuntu.com/precise/fglrx
[2] https://wiki.ubuntu.com/Kernel/LTSEnablementStack
[3] https://help.ubuntu.com/community/RadeonDriver
[4] 
http://support.amd.com/it-it/download/desktop/legacy?product=Legacy2os=Linux%20x86_64

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to fglrx-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1276379

Title:
  fglrx-installer 2:13.101-0ubuntu0.0.1 fails with some legacy devices
  (Radeon HD 2000 3000 4000)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/1276379/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp