kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #172270
[Bug 1570802] Re: ATI Radeon not working: from no rendering to system freeze
It happened on a fresh install, and the computer is brand new so I don't
have any clue about the past!
I've tested upstream kernel, and the bug seems to be fixed, but please
check that I'm right:
- I turn on Ubuntu, I run glxgear, I get a normal frame rate of 60fps (I
guess I'm using Intel graphics)
- xrandr --listproviders gives:
Providers: number : 2
Provider 0: id: 0x66 cap: 0x9, Source Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel
Provider 1: id: 0x3f cap: 0x0 crtcs: 0 outputs: 0 associated providers: 0 name:HAINAN @ pci:0000:01:00.0
Note that there were only 2 listed when I reported the bug
- DRI_PRIME=1 glxgears now works, gives extremely high frame rate
(6000), renders smoothly
- xrandr --setprovideroffloadsink 0x3f 0x66 doesn't work anymore, now gives error:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 34 (RRSetProviderOffloadSink)
Value in failed request: 0x3f
Serial number of failed request: 16
Current serial number in output stream: 17
So, even if I don't understand exactly how to switch rendering engine
systemwide, I think that using DRI_PRIME=1 actually turns the GPU on and
it is working fine now!
I'm tagging accordingly, but please tell me if I understand correctly.
** Tags added: kernel-fixed-upstream
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1570802
Title:
ATI Radeon not working: from no rendering to system freeze
Status in linux package in Ubuntu:
Incomplete
Bug description:
Release: Ubuntu 16.04 LTS (pre-release daily build)
Hardware: Dell Inspiron 15 5000 Series (Intel(R)) - 5559, hybrid
graphics: Intel integrated + AMD Radeon(TM) R5 M335 4GB DDR3 GPU.
I can't get the GPU to work properly. Examples: glxgears not showing
output or crashing, blender causing the system to freeze.
What I've tried:
1] with the default configuration (integrated Intel card activated by
default), glxgears works fine.
2] DRI_PRIME=1 glxgears: THe windows gets drawn, but no content is
rendered
3]
Output from xrandr --listproviders:
Providers: number : 3
Provider 0: id: 0x66 cap: 0x9, Source Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 2 name:Intel
Provider 1: id: 0x3f cap: 0x6, Sink Output, Source Offload crtcs: 0 outputs: 0 associated providers: 2 name:HAINAN @ pci:0000:01:00.0
Provider 2: id: 0x3f cap: 0x6, Sink Output, Source Offload crtcs: 0 outputs: 0 associated providers: 2 name:HAINAN @ pci:0000:01:00.0
So I change with:
xrandr --setprovideroffloadsink 0x3f 0x66
4] DRI_PRIME=1 glxgears now gives:
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x0000000000800000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x0000000000800000
radeonsi: Failed to create a context.
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x0000000000800000
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x0000000000800000
radeonsi: Failed to create a context.
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 30
Current serial number in output stream: 32
"Apport" for this bug was run after going back to "xrandr
--setprovideroffloadsink 0x66 0x3f".
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-18-generic 4.4.0-18.34 [modified: boot/vmlinuz-4.4.0-18-generic]
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: nicola 1402 F.... pulseaudio
CurrentDesktop: Unity
Date: Fri Apr 15 11:55:17 2016
HibernationDevice: RESUME=UUID=449a6774-7719-42e0-ad0d-0941778d2be5
InstallationDate: Installed on 2016-04-14 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160414)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 8087:07dc Intel Corp.
Bus 001 Device 007: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Inspiron 5559
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-18-generic.efi.signed root=UUID=1505ea58-b580-4f52-b408-26294cb50da1 ro quiet splash vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-4.4.0-18-generic N/A
linux-backports-modules-4.4.0-18-generic N/A
linux-firmware 1.157
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/16/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.6
dmi.board.name: 0664DJ
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.0.6:bd09/16/2015:svnDellInc.:pnInspiron5559:pvr:rvnDellInc.:rn0664DJ:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Inspiron 5559
dmi.sys.vendor: Dell Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1570802/+subscriptions
References