Skip to content

Fatal Error with NVIDIA GPU #3

@XBravRevolutionz

Description

@XBravRevolutionz

On launching of branch f174f2e on Windows 11 with an NVIDIA GPU, the following is witnessed:

`IRIS: Irresponsible Rust Irix Simulator
Connecting to monitor socket...
Monitor listening on 127.0.0.1:8888
###### ######
########## ##########
############# #############
################# #################
############ ###### ###### ############
########### ###### ###### ###########
########## ###### ###### ##########
########### ###### ###### . ###########

##########--##### #####--+#########

####### #########+++## ##+++######### #######
########## #########+-.-+#######+- ##########
############-. ..-+#############+-.. .-############
##############+-.##+-+#######+-+##.-+##############

#########+-+##--+#+--##+-+#########
..-+#######-.. ... ..-#######+-..
#####+++#######--#--#######+++#####

###############-.-######-#-######-.-###############
############# #+-####-#-####-+# #############
########## #####-####- -####-##### ##########
####### ########-####- -####-######## #######

##########+-####- -####-+##########

 ###########   +####+ -####-.  ###########

########## ###### ###### ##########
########### ###### ###### ###########
############ ###### ###### ############
################# #################
############# #############
########## ##########
###### ######

IRIS Monitor

thread 'REX3-Refresh' (44356) panicked at src\ui.rs:185:72:
called Option::unwrap() on a None value
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
error: process didn't exit successfully: target\release\iris.exe (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN)`

Reverting to 26fc0ea causes the app to run, but displays a white screen.

As discussed, creating an invalid call in ui.rs to gl.shader_source() allows successful fallback to software rendering mode:

gl.shader_source(fs, " #version 130 in vec2 v_tex_coord; out vec4 color; uniform sampler2D tex; uniform ivec2 viewport_info[2]; void main() { int tex_h = viewport_info[0].y; int win_y_base = viewport_info[1].y; int y = (tex_h - 1) - (int(gl_FragCoord.y) - win_y_base); color = texelFetch(tex, ivec2(int(gl_FragCoord.x), y), 0); }KERBLAH ");

OS: Windows 11 64 Bit
GPU: NVIDIA RTX 3080

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions