Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-23 Thread Marek Olšák
Those are just memory management stats. Linux 4.9 will contain optimizations that should prevent such fps drops. Marek On Sep 24, 2016 2:23 AM, "Romain Failliot" wrote: > So I've activated a bunch of stuff: GALLIUM_HUD="num-compilations, >

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-23 Thread Romain Failliot
So I've activated a bunch of stuff: GALLIUM_HUD="num-compilations,num-bytes-moved,num-evictions;fps,cpu;draw-calls,VRAM-usage" and had one small freeze of around 2s. Here is the screenshot (look at the fps drop and the concurrent num bytes moved and num evictions):

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-23 Thread Romain Failliot
Thanks Marek, I'll test that! In the meantime, firstly I fixed an important bug in Mesamatrix so now the matrix is more accurate, and I also just found the problem with Dota 2: it is not because of the new drivers but because of a change I did in the video options, I don't remember having done

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-21 Thread Marek Olšák
You can use the GALLIUM_HUD environment variable to find out the cause of those hiccups. Just set it before running steam. Type "GALLIUM_HUD=help glxgears" - that should print the available options. From the top of my head, the useful graphs are: - num-evictions (TTM overhead as the number of

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-19 Thread Romain Failliot
2016-09-19 18:40 GMT-04:00 Marek Olšák : > Do you mean the PC is frozen for 2 minutes or just occasional hiccups > for 2 minutes? Occasional hiccups for 2 minutes. The game works well, I wander around and, from time to time, it freezes for a random duration between 2 seconds and

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-19 Thread Marek Olšák
On Mon, Sep 19, 2016 at 7:51 PM, Romain Failliot wrote: > 2016-09-15 16:27 GMT-04:00 Marek Olšák : >> Update your gcc I guess? Sorry, I don't know much about LLVM build >> requirements. It works with gcc 5.4.0. > > I'm using a pretty recent gcc, and

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-19 Thread Romain Failliot
2016-09-15 16:27 GMT-04:00 Marek Olšák : > Update your gcc I guess? Sorry, I don't know much about LLVM build > requirements. It works with gcc 5.4.0. I'm using a pretty recent gcc, and the 64-bit compilation works like a charm, it's only the 32-bit compilation that has trouble.

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-15 Thread Marek Olšák
On Thu, Sep 15, 2016 at 5:04 AM, Romain Failliot wrote: > 2016-09-13 13:53 GMT-04:00 Marek Olšák : >> LLVM 32-bit: >> >> mkdir -p build32 >> cd build32 >> cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/llvm/i386-linux-gnu >>

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-15 Thread Marek Olšák
On Thu, Sep 15, 2016 at 3:44 AM, Michel Dänzer wrote: > On 14/09/16 07:41 PM, Marek Olšák wrote: >> On Wed, Sep 14, 2016 at 5:26 AM, Michel Dänzer wrote: >>> On 14/09/16 02:53 AM, Marek Olšák wrote: cmake .. -G Ninja

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-14 Thread Romain Failliot
2016-09-13 13:53 GMT-04:00 Marek Olšák : > LLVM 32-bit: > > mkdir -p build32 > cd build32 > cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/llvm/i386-linux-gnu > -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" -DLLVM_ENABLE_ASSERTIONS=ON > -DCMAKE_BUILD_TYPE=RelWithDebInfo >

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-14 Thread Michel Dänzer
On 14/09/16 07:41 PM, Marek Olšák wrote: > On Wed, Sep 14, 2016 at 5:26 AM, Michel Dänzer wrote: >> On 14/09/16 02:53 AM, Marek Olšák wrote: >>> >>> cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/llvm/x86_64-linux-gnu >>> -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU"

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-14 Thread Marek Olšák
On Wed, Sep 14, 2016 at 5:26 AM, Michel Dänzer wrote: > On 14/09/16 02:53 AM, Marek Olšák wrote: >> >> cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/llvm/x86_64-linux-gnu >> -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" -DLLVM_ENABLE_ASSERTIONS=O >>

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-14 Thread Evgenii Shatokhin
On 13.09.2016 21:27, Romain Failliot wrote: Thanks a lot! I'll try that tonight! I have a 64-bit distrib, I don't think so but do I need to compile the 32-bit version of llvm as well (is it because Steam is using 32-bit libraries?). Yes, you likely need both 64-bit and 32-bit LLVM and Mesa.

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-13 Thread Michel Dänzer
On 14/09/16 02:53 AM, Marek Olšák wrote: > > cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/llvm/x86_64-linux-gnu > -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" -DLLVM_ENABLE_ASSERTIONS=O > -DCMAKE_BUILD_TYPE=RelWithDebInfo > -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON \ >

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-13 Thread Romain Failliot
Thanks a lot! I'll try that tonight! I have a 64-bit distrib, I don't think so but do I need to compile the 32-bit version of llvm as well (is it because Steam is using 32-bit libraries?). 2016-09-13 13:53 GMT-04:00 Marek Olšák : > LLVM 64-bit: > > mkdir -p build > cd build >

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-13 Thread Kai Wasserbäch
Marek Olšák wrote on 13.09.2016 19:53: > LLVM 64-bit: > > mkdir -p build > cd build > cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/llvm/x86_64-linux-gnu > -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" -DLLVM_ENABLE_ASSERTIONS=O > -DCMAKE_BUILD_TYPE=RelWithDebInfo >

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-13 Thread Marek Olšák
LLVM 64-bit: mkdir -p build cd build cmake .. -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/llvm/x86_64-linux-gnu -DLLVM_TARGETS_TO_BUILD="X86;AMDGPU" -DLLVM_ENABLE_ASSERTIONS=O -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON \

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-13 Thread Romain Failliot
2016-09-13 12:41 GMT-04:00 Marek Olšák : > > BTW, If you update LLVM to a newer version, you also have to re-build > Mesa, because the LLVM version used by Mesa is determined while Mesa > is being built. > > Also, the chance to rage-quit while building LLVM+Mesa is pretty high >

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-13 Thread Marek Olšák
On Tue, Sep 13, 2016 at 2:12 PM, Romain Failliot wrote: > Thanks all for your answers! > > 2016-09-13 5:15 GMT-04:00 Marek Olšák : >> Yeah you need LLVM 3.9 not just for this game, but also for many other >> games to work correctly. It's due to the

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-13 Thread Vedran Miletić
On 09/13/2016 02:12 PM, Romain Failliot wrote: > Thanks all for your answers! > > 2016-09-13 5:15 GMT-04:00 Marek Olšák : >> Yeah you need LLVM 3.9 not just for this game, but also for many other >> games to work correctly. It's due to the fact that some games require >> GL 4.3,

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-13 Thread Romain Failliot
Thanks all for your answers! 2016-09-13 5:15 GMT-04:00 Marek Olšák : > Yeah you need LLVM 3.9 not just for this game, but also for many other > games to work correctly. It's due to the fact that some games require > GL 4.3, which is only supported with LLVM 3.9. Some games don't

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-13 Thread Marek Olšák
On Tue, Sep 13, 2016 at 4:26 AM, Romain Failliot wrote: > Hi! > > I've just bought myself an RX 480 (because of the open source drivers). > I have Fedora 24 with GNOME 3.20, linux 4.7.2, mesa 12.0.2, llvm 3.8.0. > > I tested Alien: Isolation (that I couldn't even

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-13 Thread Miklós Máté
On 09/13/2016 04:26 AM, Romain Failliot wrote: Hi! I've just bought myself an RX 480 (because of the open source drivers). I have Fedora 24 with GNOME 3.20, linux 4.7.2, mesa 12.0.2, llvm 3.8.0. I tested Alien: Isolation (that I couldn't even launch with my old HD 6870), but there is a

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-13 Thread Felix Schwarz
Am 13.09.2016 um 05:15 schrieb Edward O'Callaghan: > Perhaps someone else can chime in to confirm and/or you can file a bug > with Fedora for a version bump also. Fedora currently does not ship LLVM 3.9 (not even in rawhide) but there is a bug about the bump:

Re: [Mesa-dev] Problem with RX 480 on Alien: Isolation and Dota 2

2016-09-12 Thread Edward O'Callaghan
On 09/13/2016 12:26 PM, Romain Failliot wrote: > Hi! > > I've just bought myself an RX 480 (because of the open source drivers). > I have Fedora 24 with GNOME 3.20, linux 4.7.2, mesa 12.0.2, llvm 3.8.0. > > I tested Alien: Isolation (that I couldn't even launch with my old HD > 6870), but