Page 1 of 1

Glxgears works but not compiz/3D??

Posted: Sat Feb 11, 2017 1:27 pm
by JohnFante
I am running the latest 4.10rc7 kernel by toslm on a 16.04 install. X5000, 4gb of ram and a R9 270x gpu.

It may be me but I have a strange problem with 3D. Glxgears runs:

Code: Select all

722 frames in 5.0 seconds = 143.572 FPS
806 frames in 5.0 seconds = 161.012 FPS
780 frames in 5.0 seconds = 155.971 FPS
808 frames in 5.0 seconds = 161.413 FPS
811 frames in 5.0 seconds = 162.092 FPS
811 frames in 5.0 seconds = 162.006 FPS
791 frames in 5.0 seconds = 158.177 FPS
771 frames in 5.0 seconds = 154.171 FPS
473 frames in 5.0 seconds = 93.951 FP
The FPS are rather low so is it really accelerated?

But I can not get 3d games like Chromium or compiz to work accelerated. Chromium starts but is extremely slow and when I try to start compiz with fusion-icon I get:

Code: Select all

benny@ubuntu-mate:~$ fusion-icon
 * Detected Session: mate
 * Searching for installed applications...
Segmenterror (smed core)
Is my R9 270x still not supported proberly in the new 4.10 kernel?

I get this when i lspci.

Code: Select all

benny@ubuntu-mate:~$ lspci -v
0000:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0421 (rev 20) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 482
	Memory at <ignored> (32-bit, non-prefetchable)
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00000000-0000ffff
	Memory behind bridge: e0000000-ffffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

0000:01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao XT / Trinidad XT [Radeon R7 370 / R9 270X/370X] (prog-if 00 [VGA controller])
	Subsystem: PC Partner Limited / Sapphire Technology Curacao XT [Radeon R7 370 / R9 270X/370 OEM]
	Flags: bus master, fast devsel, latency 0, IRQ 41
	Memory at c00000000 (64-bit, prefetchable) [size=256M]
	Memory at c10000000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at 1000 [size=256]
	Expansion ROM at c10060000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: amdgpu

0000:01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
	Subsystem: PC Partner Limited / Sapphire Technology Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
	Flags: bus master, fast devsel, latency 0, IRQ 42
	Memory at c10040000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel

1000:00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0421 (rev 20) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 481
	Memory at <ignored> (32-bit, non-prefetchable)
	Bus: primary=00, secondary=01, subordinate=09, sec-latency=0
	I/O behind bridge: 00000000-0000ffff
	Memory behind bridge: e0000000-ffffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

1000:01:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] Device 8092 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=01, secondary=02, subordinate=09, sec-latency=0
	I/O behind bridge: 00001000-00002fff
	Memory behind bridge: e0000000-e00fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

1000:02:01.0 PCI bridge: Integrated Device Technology, Inc. [IDT] Device 8092 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 21
	Bus: primary=02, secondary=03, subordinate=04, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Memory behind bridge: e0000000-e00fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

1000:02:02.0 PCI bridge: Integrated Device Technology, Inc. [IDT] Device 8092 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 22
	Bus: primary=02, secondary=05, subordinate=05, sec-latency=0
	Capabilities: <access denied>
	Kernel driver in use: pcieport

1000:02:03.0 PCI bridge: Integrated Device Technology, Inc. [IDT] Device 8092 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 23
	Bus: primary=02, secondary=06, subordinate=07, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Capabilities: <access denied>
	Kernel driver in use: pcieport

1000:02:08.0 PCI bridge: Integrated Device Technology, Inc. [IDT] Device 8092 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 26
	Bus: primary=02, secondary=08, subordinate=08, sec-latency=0
	Capabilities: <access denied>
	Kernel driver in use: pcieport

1000:02:10.0 PCI bridge: Integrated Device Technology, Inc. [IDT] Device 8092 (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 27
	Bus: primary=02, secondary=09, subordinate=09, sec-latency=0
	Capabilities: <access denied>
	Kernel driver in use: pcieport

1000:03:00.0 PCI bridge: Pericom Semiconductor PI7C9X111SL PCIe-to-PCI Reversible Bridge (rev 02) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Bus: primary=03, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Memory behind bridge: e0000000-e00fffff
	Capabilities: <access denied>

1000:04:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
	Subsystem: Netgear GA311
	Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
	I/O ports at 1000 [size=256]
	Memory at c20000000 (32-bit, non-prefetchable) [size=256]
	[virtual] Expansion ROM at c20020000 [disabled] [size=128K]
	Kernel driver in use: r8169

1000:04:05.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)
	Subsystem: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller
	Flags: bus master, 66MHz, medium devsel, latency 128, IRQ 19
	I/O ports at 1100 [size=8]
	I/O ports at 1108 [size=4]
	I/O ports at 1110 [size=8]
	I/O ports at 1118 [size=4]
	I/O ports at 1120 [size=16]
	Memory at c20000400 (32-bit, non-prefetchable) [size=1K]
	[virtual] Expansion ROM at c20080000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: sata_sil

1000:06:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 01) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 20
	Bus: primary=06, secondary=07, subordinate=07, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Capabilities: <access denied>

1000:07:00.0 Multimedia audio controller: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller (rev 01)
	Subsystem: VIA Technologies Inc. VT1720/24 [Envy24PT/HT] PCI Multi-Channel Audio Controller
	Flags: bus master, medium devsel, latency 128, IRQ 20
	I/O ports at 2000 [size=32]
	I/O ports at 2080 [size=128]
	Capabilities: <access denied>
	Kernel driver in use: snd_ice1724

Re: Glxgears works but not compiz/3D??

Posted: Sat Feb 11, 2017 4:06 pm
by xeno74
Hi JohnFante,

Linux PPC doesn't support hardware 3D acceleration for your R9 270x GPU. Hardware 3D acceleration works with RadeonHD 4xxx, 5xxx, and 6xxx gfx cards. Alex works with another developer on Mesa for Radeon 7xxx graphics cards and newer.

Cheers,
Christian

Re: Glxgears works but not compiz/3D??

Posted: Wed Feb 22, 2017 4:30 pm
by tlosmx
Here is the thread for the RadeonSi https://bugs.freedesktop.org/show_bug.cgi?id=99859
Michael Danze form Amd ask me to made some actions but im not able to debug the xorg.
There are the instruction How to do it . in case guys please reply there your issue and in case what he need for fix the error.