All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 101262] Mesa reports no Video Memory
@ 2017-05-31 23:21 bugzilla-daemon
  2017-06-01 23:28 ` bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-05-31 23:21 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 101262
           Summary: Mesa reports no Video Memory
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: noonetinone@gmail.com
        QA Contact: dri-devel@lists.freedesktop.org

When trying to run Dying Light. It seg faults.
I compiled Mesa-git well past the patches written
by Brooks. Plus, I am using the overrides.
In common/Dying Light/DW/out/logs/ there are some
logs to examine.

I see this:

{21:54:20.616} INFO: [INFO] > [OpenGL] Video memory detected: 0 [MB]!
{21:54:20.620} INFO: [INFO] > Caught signal 11 (Segmentation fault).
{21:54:20.622} INFO: [INFO] > /lib64/libc.so.6(+0x336e0) [0x7f2472ceb6e0]
{21:54:20.622} INFO: [INFO] | /lib64/libpthread.so.0(pthread_join+0x1e)
[0x7f247a2d06de]
{21:54:20.622} INFO: [INFO] | /usr/lib64/dri/radeonsi_dri.so(+0x303b90)
[0x7f24674fbb90]
{21:54:20.622} INFO: [INFO] | /usr/lib64/dri/radeonsi_dri.so(+0x303be8)
[0x7f24674fbbe8]

I have 4 gig's on my card. All other native linux games run fine.

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

[-- Attachment #1.2: Type: text/html, Size: 2758 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 101262] Mesa reports no Video Memory
  2017-05-31 23:21 [Bug 101262] Mesa reports no Video Memory bugzilla-daemon
@ 2017-06-01 23:28 ` bugzilla-daemon
  2017-06-01 23:56 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-06-01 23:28 UTC (permalink / raw)
  To: dri-devel


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

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

Anthony Jagers <noonetinone@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

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

[-- Attachment #1.2: Type: text/html, Size: 1058 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 101262] Mesa reports no Video Memory
  2017-05-31 23:21 [Bug 101262] Mesa reports no Video Memory bugzilla-daemon
  2017-06-01 23:28 ` bugzilla-daemon
@ 2017-06-01 23:56 ` bugzilla-daemon
  2017-06-02  0:00 ` [Bug 101262] Need help in running Dying Light bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-06-01 23:56 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Anthony Jagers <noonetinone@gmail.com> ---
I have new information.

My current OS is Linux from Scratch. 
I tried Dying Light in Ubuntu and it
works. The log still show no video
memory. So, that is not the problem.

The only thing different in Ubuntu's 
logs is the reported pciids for the
video card. Right after the seg fault
in the logs my target OS give the line:

GPU's vendor id: 1 [0x0001]; GPU's device id: 2 [0x0002].
instead of [0x1002:0x67ef].

Those are incorrectly filled.   But nvidia
closed drivers reports the same thing. So
that isn't the problem.

______________________________________

At the steam console with mesa debugging
turned on I get some interesting lines.

Steam: An X Error occurred
X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  40 (X_TranslateCoords)
Resource id in failed request:  0x1000fce
Serial number of failed request:  25757
xerror_handler: X failed, continuing
.
.
.
Mesa: User error: GL_INVALID_OPERATION in unsupported function called
(unsupported extension or deprecated function?)
Mesa: 4 similar GL_INVALID_OPERATION errors
Mesa: User error: GL_INVALID_ENUM in glEnable(GL_TEXTURE_2D)
Mesa: User error: GL_INVALID_ENUM in glDisable(GL_TEXTURE_2D)

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

[-- Attachment #1.2: Type: text/html, Size: 2203 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 101262] Need help in running Dying Light
  2017-05-31 23:21 [Bug 101262] Mesa reports no Video Memory bugzilla-daemon
  2017-06-01 23:28 ` bugzilla-daemon
  2017-06-01 23:56 ` bugzilla-daemon
@ 2017-06-02  0:00 ` bugzilla-daemon
  2017-06-02  0:03 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-06-02  0:00 UTC (permalink / raw)
  To: dri-devel


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

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

Anthony Jagers <noonetinone@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Mesa reports no Video       |Need help in running Dying
                   |Memory                      |Light

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

[-- Attachment #1.2: Type: text/html, Size: 1112 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 101262] Need help in running Dying Light
  2017-05-31 23:21 [Bug 101262] Mesa reports no Video Memory bugzilla-daemon
                   ` (2 preceding siblings ...)
  2017-06-02  0:00 ` [Bug 101262] Need help in running Dying Light bugzilla-daemon
@ 2017-06-02  0:03 ` bugzilla-daemon
  2017-06-02 12:23 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-06-02  0:03 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Anthony Jagers <noonetinone@gmail.com> ---
My guess is I need help in tracing this.
How would you trace a steam game?

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

[-- Attachment #1.2: Type: text/html, Size: 1047 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 101262] Need help in running Dying Light
  2017-05-31 23:21 [Bug 101262] Mesa reports no Video Memory bugzilla-daemon
                   ` (3 preceding siblings ...)
  2017-06-02  0:03 ` bugzilla-daemon
@ 2017-06-02 12:23 ` bugzilla-daemon
  2017-06-05  0:57 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-06-02 12:23 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Emil Velikov <emil.l.velikov@gmail.com> ---
(In reply to Anthony Jagers from comment #2)
> My guess is I need help in tracing this.
> How would you trace a steam game?
See https://wiki.archlinux.org/index.php/Steam/Troubleshooting#Debugging_Steam

No idea which extension the game uses, so it may be that Mesa does not
implement it.


IIRC only GLX_MESA_query_renderer is done - see the output of glxinfo.
You'll get something like

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2)  (0x1616)
    Version: 17.0.7
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1

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

[-- Attachment #1.2: Type: text/html, Size: 1995 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 101262] Need help in running Dying Light
  2017-05-31 23:21 [Bug 101262] Mesa reports no Video Memory bugzilla-daemon
                   ` (4 preceding siblings ...)
  2017-06-02 12:23 ` bugzilla-daemon
@ 2017-06-05  0:57 ` bugzilla-daemon
  2017-06-05  0:58 ` bugzilla-daemon
  2018-05-21 17:25 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-06-05  0:57 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Anthony Jagers <noonetinone@gmail.com> ---
Whatever the problem is, it is clearly not a mesa bug.
It seems only lesser used distros  are having problems.
Gentoo and   LFS are the ones.

I'm closing this.

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

[-- Attachment #1.2: Type: text/html, Size: 1136 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 101262] Need help in running Dying Light
  2017-05-31 23:21 [Bug 101262] Mesa reports no Video Memory bugzilla-daemon
                   ` (5 preceding siblings ...)
  2017-06-05  0:57 ` bugzilla-daemon
@ 2017-06-05  0:58 ` bugzilla-daemon
  2018-05-21 17:25 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2017-06-05  0:58 UTC (permalink / raw)
  To: dri-devel


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

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

Anthony Jagers <noonetinone@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|medium                      |lowest
         Resolution|---                         |NOTOURBUG
           Severity|normal                      |trivial
             Status|NEEDINFO                    |RESOLVED

--- Comment #5 from Anthony Jagers <noonetinone@gmail.com> ---
Closed

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

[-- Attachment #1.2: Type: text/html, Size: 2328 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 101262] Need help in running Dying Light
  2017-05-31 23:21 [Bug 101262] Mesa reports no Video Memory bugzilla-daemon
                   ` (6 preceding siblings ...)
  2017-06-05  0:58 ` bugzilla-daemon
@ 2018-05-21 17:25 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2018-05-21 17:25 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Mariusz Ceier <mceier+freedesktop@gmail.com> ---
That bug is due to missing /usr/bin/lspci. Dying Light tries to execve
/usr/bin/lspci in a fork and when it fails it calls exit function instead of
_exit.

exit calls exit handler registered by mesa which causes the segmentation fault
and 'hangup' of Dying Light. I have reported this bug to the developers on 10th
May 2018.

Additional info that some people might find useful:

a) Dying Light requires haptic support in SDL, otherwise it shows uninformative
dialog and exits.

b) Dying Light requires OpenGL 4.4 (according to devs) and uses glew to detect
OpenGL version which parses GL version string.
Since mesa returns OpenGL version 3.0~3.1 for GL contexts created by glew,
override variables have to be used to run Dying Light, e.g.:

MESA_GL_VERSION_OVERRIDE=4.4  MESA_GLSL_VERSION_OVERRIDE=440 %command%

in launch options in steam.

Sorry for commenting inside "resolved" bug.

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

[-- Attachment #1.2: Type: text/html, Size: 1941 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-05-21 17:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-31 23:21 [Bug 101262] Mesa reports no Video Memory bugzilla-daemon
2017-06-01 23:28 ` bugzilla-daemon
2017-06-01 23:56 ` bugzilla-daemon
2017-06-02  0:00 ` [Bug 101262] Need help in running Dying Light bugzilla-daemon
2017-06-02  0:03 ` bugzilla-daemon
2017-06-02 12:23 ` bugzilla-daemon
2017-06-05  0:57 ` bugzilla-daemon
2017-06-05  0:58 ` bugzilla-daemon
2018-05-21 17:25 ` 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.