Summary: | [radv] The Talos Principle fails to launch with "Fatal error: Cannot set display mode." | ||
---|---|---|---|
Product: | Mesa | Reporter: | Kai <kai> |
Component: | Drivers/Vulkan/radeon | Assignee: | mesa-dev |
Status: | RESOLVED INVALID | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | germano.massullo, vedran |
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 77449 | ||
Attachments: |
Error log of "The Talos Principle" when launched with Vulkan
output of vulkaninfo |
Description
Kai
2016-10-14 16:49:42 UTC
Created attachment 127306 [details]
output of vulkaninfo
Dave Airlie pointed out to me on IRC, that I need DRI3 and this looks like missing DRI3 support. He was right. amdgpu defaults to DRI2 and I hadn't set the "DRI" option to "3". With that set, Talos start, though it seems to hang my system, but that is a different bug and I need to check if that still occurs with current HEAD of Mesa. Hi Kai, feel free to send a patch which makes the "vulkan: No DRI3 support" message less likely to miss ;-) The problem was not so much me not seeing that message, the problem was more that I didn't connect "no DRI3 support" equals "this game won't start and segfault. Combine that with the warning "WARNING: radv is not a conformant vulkan implementation, testing use only." right above that message and I really didn't think too much of it. Not sure if a patch could fix that. ;-) (In reply to Kai from comment #4) > The problem was not so much me not seeing that message, the problem was more > that I didn't connect "no DRI3 support" equals "this game won't start and > segfault. Combine that with the warning "WARNING: radv is not a conformant > vulkan implementation, testing use only." right above that message and I > really didn't think too much of it. Not sure if a patch could fix that. ;-) If the crash is in Mesa just track it down and add the appropriate "smoketest" handling ? Alternatively one should contact the Talo developers to fix their app ? Either way expanding "no DRI3 support" so something like the below might be a good idea ? No DRI3 support - ensure that your system is correctly setup. Note: buggy applications can crash at this point - report those to the vendor. small patch on mesa-dev with Emil's suggestion. I'm not sure expanding this message is a good idea, in fact, I'm looking for a way to turn it off: When I enumerate physical devices on Ubuntu 16.04, Vulkan shows I have 2 GPU's available: Intel HD, and NVidia GTX. (Sometimes the order is reversed.) Now I'm trying to determine which one the desktop is currently running on, by calling vkGetPhysicalDeviceSurfaceSupportKHR on each GPU's queue-families. If the desktop is running on Intel, the query returns true for Intel, but when running on NVidia, it returns true for Nvidia and false for Intel, but also prints: "no DRI3 support" I DO have DRI3 enabled for Intel, but this setting is irrelevant and ignored when running on NVidia, so the error message is not really applicable. Is there some way to turn off this error message, or a better way to determine the currently active GPU, without triggering this error? The "No DRI3 support" is only relevant when the desktop is running on Intel, but also gets displayed whenever NVidia is used, regardless of whether DRI3 was enabled or not. Maybe this message should be muted if more than one GPU is detected? As for the "buggy applications can crash" part, it implies that MY Vulkan app is buggy, which is completely unacceptable!! This has already lead to people incorrectly filing bugs against other Vulkan app developers. ( see: https://github.com/SaschaWillems/Vulkan/issues/226 ) (In reply to Rene Lindsay from comment #8) > The "No DRI3 support" is only relevant when the desktop is running on Intel, [...] That's actually not true, even ignoring that DRI3 works fine with open source drivers on non-Intel GPUs. The nvidia Xorg driver could support DRI3 (and the Present extension), and then the Vulkan drivers for non-nVidia GPUs could at least theoretically work with it. Anyway, this report is about the Talos principle failing to start with the radv driver because DRI3 is disabled, which is a configuration error, so resolving as invalid again. Rene, please file your own report (or just post to the mesa-dev mailing list) about the error messages. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.