All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context)
@ 2018-01-04 12:14 bugzilla-daemon
  2018-01-04 12:16 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-01-04 12:14 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 2089 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104490

            Bug ID: 104490
           Summary: [radeonsi/290x] Dota2 fails to start (can't create
                    opengl context)
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: darkdefende@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

Created attachment 136546
  --> https://bugs.freedesktop.org/attachment.cgi?id=136546&action=edit
glxinfo

I've been trying to figure out the cause for this bug for quite some time now.
Here is the bug ticket on the dota2 github page:
https://github.com/ValveSoftware/Dota-2/issues/1368

Since about one week ago, I have been unable to start dota2 on my machine. This
happened after I updated my llvm and mesa git version.

If I downgrade to mesa 17.3.1 it works again (without reboot). But it seems to
be really hard to track down the commit that broke it as there seems to be some
kind of cached behaviour (not the mesa shader cache as I removed the directory
and rebooted several times).

For example I downgraded mesa to a commit from 2017-11-17 and it worked. The
next day I tried to figure out the commit that broke it. But I could then use
the git master version and it seemed to work fine again.

Then the next day I'm back to the same problem and I downgraded again and now
it won't start again even if I use mesa from 11-17 (and rebooted). But 17.3.1
still works if I downgrade to that... (no reboot)

I really do not know how to debug this further as I don't know when I'm on the
commit that broke it or not. However it seems to always break if I'm on a
commit that is newer than 1-2 weeks (after a reboot that is). However it will
not fix itself with reboots with commits older than that either...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3631 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context)
  2018-01-04 12:14 [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context) bugzilla-daemon
@ 2018-01-04 12:16 ` bugzilla-daemon
  2018-01-04 16:29 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-01-04 12:16 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 420 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104490

--- Comment #1 from Sebastian Parborg <darkdefende@gmail.com> ---
Forgot to mention:
As I stated in the github issue, only dota seems to have this problem. No other
program/game fails to create a opengl context for me. So I'm quite unsure why
it is just dota2 that has problem now.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1244 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context)
  2018-01-04 12:14 [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context) bugzilla-daemon
  2018-01-04 12:16 ` bugzilla-daemon
@ 2018-01-04 16:29 ` bugzilla-daemon
  2018-01-04 16:46 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-01-04 16:29 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 519 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104490

--- Comment #2 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Sebastian Parborg from comment #0)
> [...] there seems to be some kind of cached behaviour (not the mesa shader
> cache as I removed the directory [...]

Which directory exactly did you remove? Have you tried setting the environment
variable MESA_GLSL_CACHE_DISABLE=true to see if that avoids the problem?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1411 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context)
  2018-01-04 12:14 [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context) bugzilla-daemon
  2018-01-04 12:16 ` bugzilla-daemon
  2018-01-04 16:29 ` bugzilla-daemon
@ 2018-01-04 16:46 ` bugzilla-daemon
  2018-01-04 23:41 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-01-04 16:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 593 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104490

Mike Lothian <mike@fireburn.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@fireburn.co.uk

--- Comment #3 from Mike Lothian <mike@fireburn.co.uk> ---
I'm wondering if this has been the issue I've been seeing on Bioshock

Will let out an older Mesa when I get home and bisect if that's the case

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1973 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context)
  2018-01-04 12:14 [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context) bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-01-04 16:46 ` bugzilla-daemon
@ 2018-01-04 23:41 ` bugzilla-daemon
  2018-01-05  3:29 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-01-04 23:41 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 804 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104490

--- Comment #4 from Sebastian Parborg <darkdefende@gmail.com> ---
(In reply to Michel Dänzer from comment #2)
> (In reply to Sebastian Parborg from comment #0)
> > [...] there seems to be some kind of cached behaviour (not the mesa shader
> > cache as I removed the directory [...]
> 
> Which directory exactly did you remove? Have you tried setting the
> environment variable MESA_GLSL_CACHE_DISABLE=true to see if that avoids the
> problem?

I removed "~/.cache/mesa_shader_cache". I tried that environment variable now
and it doesn't seem to solve it either for me (with mesa from 2017-12-01)...

I really do not know how I should try to bisect this...

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1773 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context)
  2018-01-04 12:14 [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context) bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-01-04 23:41 ` bugzilla-daemon
@ 2018-01-05  3:29 ` bugzilla-daemon
  2018-01-05  7:52 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-01-05  3:29 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 693 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104490

--- Comment #5 from Sebastian Parborg <darkdefende@gmail.com> ---
I spoke too soon. It seems like I needed to go back a bit further. And with
MESA_GLSL_CACHE_DISABLE=true, it seems like I could pinpoint the commit.

This is the commit that breaks dota2 for me:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=0d044351b7043cd0bc94c1cb9b7a2213f8054414

I reverted that one and tried the master branch and now it works. I'm guessing
that there is some implementation bugs or something as that commit only seems
to switch on already implemented stuff.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1622 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context)
  2018-01-04 12:14 [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context) bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-01-05  3:29 ` bugzilla-daemon
@ 2018-01-05  7:52 ` bugzilla-daemon
  2018-01-05  8:11 ` bugzilla-daemon
  2018-01-05  9:05 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-01-05  7:52 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1030 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104490

--- Comment #6 from Mike Lothian <mike@fireburn.co.uk> ---
I think this also affects i965 too

6ce9006d76c050663af0be61cc88c3215d6f8cea is the first bad commit                
commit 6ce9006d76c050663af0be61cc88c3215d6f8cea                                 
Author: Neil Roberts <neil@linux.intel.com>                                     
Date:   Wed Oct 1 20:00:50 2014 +0100                                           

    i965: Enable flush control                                                  

    Reviewed-by: Adam Jackson <ajax@redhat.com>                                 
    Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>                       
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>                      
    Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>                        
    Signed-off-by: Neil Roberts <neil@linux.intel.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context)
  2018-01-04 12:14 [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context) bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-01-05  7:52 ` bugzilla-daemon
@ 2018-01-05  8:11 ` bugzilla-daemon
  2018-01-05  9:05 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-01-05  8:11 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 313 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104490

--- Comment #7 from Mike Lothian <mike@fireburn.co.uk> ---
I can confirm reverting both those commits, allows me to launch BioShock
Infinite on both radeonsi and i965 on master

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1130 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context)
  2018-01-04 12:14 [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context) bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-01-05  8:11 ` bugzilla-daemon
@ 2018-01-05  9:05 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-01-05  9:05 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 784 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=104490

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
                   |.org                        |org
                 CC|                            |ajax@nwnk.net
           Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.
                   |.org                        |org
          Component|Drivers/Gallium/radeonsi    |Mesa core

--- Comment #8 from Michel Dänzer <michel@daenzer.net> ---
Adam, any ideas?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2493 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-01-05  9:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-04 12:14 [Bug 104490] [radeonsi/290x] Dota2 fails to start (can't create opengl context) bugzilla-daemon
2018-01-04 12:16 ` bugzilla-daemon
2018-01-04 16:29 ` bugzilla-daemon
2018-01-04 16:46 ` bugzilla-daemon
2018-01-04 23:41 ` bugzilla-daemon
2018-01-05  3:29 ` bugzilla-daemon
2018-01-05  7:52 ` bugzilla-daemon
2018-01-05  8:11 ` bugzilla-daemon
2018-01-05  9:05 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.