Code Monkey home page Code Monkey logo

Comments (9)

dukeeeey avatar dukeeeey commented on September 22, 2024

What gpu / driver version do you have. Does it spit out any shader errors

from supermodel.

belegdol avatar belegdol commented on September 22, 2024

There are no errors in the console with the parameters listed above, is there a verbose mode I can enable?
This is with a GeForce RTX 2070 and 545.29.06 driver, on Fedora 39.

from supermodel.

belegdol avatar belegdol commented on September 22, 2024

This is likely a bug in nvidia driver as the problem does not happen on AMD. Native wayland window does not work due to glew limitations.

from supermodel.

SeongGino avatar SeongGino commented on September 22, 2024

Just tested this on Kwin-wayland; while indeed the native SDL Wayland driver makes Supermodel crash, it seems to render just fine here in the games I tried (including swtrilgy).

NVIDIA 545.29.06, Arch Linux, 3060ti.

Though fullscreen 3D elements will only render properly when Supermodel is set rendering at the display's native resolution--exactly like #53, as there's no mode change under Wayland like what would normally happen on X11 (a difference I prefer but having 3D geometry stretched weirdly isn't ideal).

from supermodel.

belegdol avatar belegdol commented on September 22, 2024

Just tested this on Kwin-wayland; while indeed the native SDL Wayland driver makes Supermodel crash, it seems to render just fine here in the games I tried (including swtrilgy).

I am not sure I understand: does it crash, or does it render fine? Or do you mean that SDL_VIDEODRIVER=wayland crashes but SDL_VIDEODRIVER=x11 renders fine?

NVIDIA 545.29.06, Arch Linux, 3060ti.

Though fullscreen 3D elements will only render properly when Supermodel is set rendering at the display's native resolution--exactly like #53, as there's no mode change under Wayland like what would normally happen on X11 (a difference I prefer but having 3D geometry stretched weirdly isn't ideal).

I will test this, but given that my monitor runs at 3440x1400, the stretch would be quite extreme.

from supermodel.

SeongGino avatar SeongGino commented on September 22, 2024

I am not sure I understand: does it crash, or does it render fine? Or do you mean that SDL_VIDEODRIVER=wayland crashes but SDL_VIDEODRIVER=x11 renders fine?

SDL_VIDEODRIVER=x11 is the SDL2 default, and that renders fine; forcing SDL_VIDEODRIVER=wayland crashes.

I will test this, but given that my monitor runs at 3440x1400, the stretch would be quite extreme.

Well, there wouldn't be any stretching at all if you have these set in Config/Supermodel.ini:

WideScreen = false
Stretch = false
WideBackground = false

Not sure if these behave any different on wider aspect ratios, but works fine here in 16:9 land at least.

from supermodel.

belegdol avatar belegdol commented on September 22, 2024

I just tried SDL_VIDEODRIVER=x11 ./bin/supermodel -quad-rendering -force-feedback -fullscreen -res=3440,1440 swtrilgy.zip but there is no difference. Upon closer inspection, the 3D elements are sometimes flashing rendered but then the majority of the time the window (or full screen) is black and nothing is shown at all. Here is how it looks:
Bildschirmaufzeichnung vom 2024-01-17, 22-01-37.webm

from supermodel.

SeongGino avatar SeongGino commented on September 22, 2024

I just tried SDL_VIDEODRIVER=x11 ./bin/supermodel -quad-rendering -force-feedback -fullscreen -res=3440,1440 swtrilgy.zip but there is no difference. Upon closer inspection, the 3D elements are sometimes flashing rendered but then the majority of the time the window (or full screen) is black and nothing is shown at all. Here is how it looks: Bildschirmaufzeichnung vom 2024-01-17, 22-01-37.webm

Does it not work if you run it windowed with a 4:3 or 16:9 resolution?

from supermodel.

belegdol avatar belegdol commented on September 22, 2024

It does not work in either case. Neither -res=1488,1152 nor -fullscreen -res=3440,1440 result in proper rendering. I am also on 545.29.06 driver, but on gnome.

from supermodel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.