-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black screen upon using any builds other than release 1.6.0 #251
Comments
This is probably related to the raytracing support in the driver(s).
Something Q2RTX does the driver(s) don't like. Could be either one's
"fault" (ie, maybe Q2RTX does something that's not correctly supported, or
something that is technically incorrect but it gets away with it on NV
drivers).
Since 1.6.0 apparently works fine you could try bisecting to the first
"broken" commit. This can give some insight into the issue.
More generally, you could research to what extent RADV supports Q2RTX (eg
by searching in mailing lists).
Perhaps also try a newer version, I think RT support is still actively
worked on.
…On Wed, 21 Dec 2022, 18:33 Connor-GH, ***@***.***> wrote:
After launching the game and turning on RTX, I am met with a black screen
everywhere besides the HUD. The opengl renderer works perfectly find,
however. Building Q2RTX myself, as well as using github artifacts, produces
this behavior:
[image: 2022-12-21-1120AM]
<https://user-images.githubusercontent.com/72793802/208967275-abdd0845-3010-4833-8f82-04550973942a.png>
opengl runs fine, as seen here:
[image: 2022-12-21-1122AM]
<https://user-images.githubusercontent.com/72793802/208967346-05f6c879-be61-4541-adec-63f02f43f2f2.png>
hardware:
ryzen 7 5700G (APU disabled)
radeon rx 6600 (RADV and AMDGPU)
software:
OS: Gentoo Linux 5.15.80 kernel
Display server: wayland (running sway, which is wlroots)
CC: gcc-11
CXX: g++-11
to clarify: this behavior is not caused by an XWayland or Wayland bug, as
the 1.6.0 release works fine. SDL_VIDEODRIVER=wayland starts the game,
but doesn't create a window, anyways.
—
Reply to this email directly, view it on GitHub
<#251>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7NIAUS4B55JHFC4KREJHTWOM5QJANCNFSM6AAAAAATF3WZQU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Actually, please also include the installed driver/Mesa versions in the
report, it's relevant information.
…On Wed, 21 Dec 2022, 18:33 Connor-GH, ***@***.***> wrote:
After launching the game and turning on RTX, I am met with a black screen
everywhere besides the HUD. The opengl renderer works perfectly find,
however. Building Q2RTX myself, as well as using github artifacts, produces
this behavior:
[image: 2022-12-21-1120AM]
<https://user-images.githubusercontent.com/72793802/208967275-abdd0845-3010-4833-8f82-04550973942a.png>
opengl runs fine, as seen here:
[image: 2022-12-21-1122AM]
<https://user-images.githubusercontent.com/72793802/208967346-05f6c879-be61-4541-adec-63f02f43f2f2.png>
hardware:
ryzen 7 5700G (APU disabled)
radeon rx 6600 (RADV and AMDGPU)
software:
OS: Gentoo Linux 5.15.80 kernel
Display server: wayland (running sway, which is wlroots)
CC: gcc-11
CXX: g++-11
to clarify: this behavior is not caused by an XWayland or Wayland bug, as
the 1.6.0 release works fine. SDL_VIDEODRIVER=wayland starts the game,
but doesn't create a window, anyways.
—
Reply to this email directly, view it on GitHub
<#251>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA7NIAUS4B55JHFC4KREJHTWOM5QJANCNFSM6AAAAAATF3WZQU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Mesa 22.2.3 (Newest). Q2RTX tag v1.6.0 builds fine (after a minor patch to extern/zlib/{example,minizip).c and extern/SDL/src/video/wayland/SDL_waylandy.h, which i can add in my open PR if wanted; It helps with some linking and compile errors on Gentoo to make it build.) anyways:
|
Interestingly,
Moving This line to the bottom of the UBO_CVAR_DO list solves this issue (Line 126). Although, we should figure out why this was the problem. |
Now it seems after I clone the master branch at its current commit and apply my patches, I get the black screen effect again. there was another change to global_ubo in this time though, which could be something to look into. |
Hm, can you try removing/renaming |
At no point was EDIT: Moving |
FWIW, I was thinking about the (FYI, the used archives are listed upon start up, or with the |
Ah, right.
(this build I am using is the same as the master, except that it has the pseudo-XDG patch and the few patches to make the game compile; none of these changes would affect shader performance.) |
Hm, the names shouldn't matter here, this is all compiled into "offsets into buffers". Seems to be quite the odd issue. |
The change from |
Hm. The name shouldn't matter... |
After launching the game and turning on RTX, I am met with a black screen everywhere besides the HUD. The opengl renderer works perfectly find, however. Building Q2RTX myself, as well as using github artifacts, produces this behavior:
![2022-12-21-1120AM](https://user-images.githubusercontent.com/72793802/208967275-abdd0845-3010-4833-8f82-04550973942a.png)
opengl runs fine, as seen here:
![2022-12-21-1122AM](https://user-images.githubusercontent.com/72793802/208967346-05f6c879-be61-4541-adec-63f02f43f2f2.png)
hardware:
ryzen 7 5700G (APU disabled)
radeon rx 6600 (RADV and AMDGPU)
software:
OS: Gentoo Linux 5.15.80 kernel
Display server: wayland (running sway, which is wlroots)
CC: gcc-11
CXX: g++-11
to clarify: this behavior is not caused by an XWayland or Wayland bug, as the 1.6.0 release works fine.
SDL_VIDEODRIVER=wayland
starts the game, but doesn't create a window, anyways.The text was updated successfully, but these errors were encountered: