-
Notifications
You must be signed in to change notification settings - Fork 174
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
Display Scaling is COMPLETLY BROKEN. #3141
Comments
Hello, |
What GPU are you using? |
An Intel Graphics 620, Which works fine on windows and [some] linux distros. |
Arch Expert Indeed! Also, I need to reset the config, as i acidentally made the display unusable on my small display. Logs: |
RoR.log has a line that says: |
No, Not at all! I need HD res, aka 1920x1080.
I cant even fix scaling anymore, because I cant see with the weird res, probably that 2560x1600 you said. |
The authoritative renderer config is in 'config/ogre.cfg'. Just stop game, edit it, start game and you're going. This is what mine looks like:
@cooldudeseven7Dev You said that you selected "1920x1080" in settings and ended up using something else - can you test it again? If that's true we have a bug in the Settings UI. The selector works by listing "supported resolution modes" from the renderer, which in turn gets it from the driver. Apparently your driver lists everything that the GPU can handle, ignoring the fact there's no actual monitor which can handle it. |
Actually, I am connected to a mirrored monitor in HD, and it usually works. Anyways, let me edit it. I have
And my GPU can handle It. Actual view [when not viewing in overview] It might be because of my activity bar? but it should work... |
@cooldudeseven7Dev Yes, the Linux version doesn't take system UI into account: |
Interesting, But the same problem is also With Fullscreen! |
are you sure you tried both options? I mean fullscreen with UI-scaling on and off. |
To help diagnose RigsOfRods#3141, I added extra logging of renderer config and startup. Displaying the fatal error dialog will now be logged to RoR.log - see file ErrorUtils.cpp. New entries in RoR.log - see file AppContext.cpp, function `SetUpRendering()` ``` 00:56:19: [RoR|Startup|Rendering] Loading OGRE renderer plugins config 'C:\Users\Petr\builds\rigs-of-rods\bin\plugins_d.cfg'. (...) 00:56:19: [RoR|Startup|Rendering] WARNING - invalid 'ogre.cfg', selecting render plugin manually... 00:56:19: [RoR|Startup|Rendering] Auto-selected renderer plugin 'Direct3D9 Rendering Subsystem' 00:56:19: [RoR|Startup|Rendering] Starting renderer 'Direct3D9 Rendering Subsystem' (without auto-creating render window) (...) 00:56:19: [RoR|Startup|Rendering] Renderer options as reported by OGRE: Allow DirectX9Ex = No (Yes, No, ) Allow NVPerfHUD = No (Yes, No, ) Backbuffer Count = Auto (Auto, 1, 2, ) FSAA = 0 (0, 2, 4, 8, 8 [Quality], ) Fixed Pipeline Enabled = Yes (Yes, No, ) Floating-point mode = Fastest (Fastest, Consistent, ) Full Screen = No (No, Yes, ) Multi device memory hint = Use minimum system memory (Use minimum system memory, Auto hardware buffers management, ) Rendering Device = Monitor-1-NVIDIA GeForce RTX 4070 Ti (Monitor-1-NVIDIA GeForce RTX 4070 Ti, ) Resource Creation Policy = Create on all devices (Create on all devices, Create on active device, ) Use Multihead = Auto (Auto, Yes, No, ) VSync = Yes (No, Yes, ) VSync Interval = 1 (1, 2, 3, 4, ) Video Mode = 1920 x 1440 @ 32-bit colour (640 x 480 @ 32-bit colour, 720 x 480 @ 32-bit colour, 720 x 576 @ 32-bit colour, 800 x 600 @ 32-bit colour, 1024 x 768 @ 32-bit colour, 1152 x 864 @ 32-bit colour, 1176 x 664 @ 32-bit colour, 1280 x 720 @ 32-bit colour, 1280 x 768 @ 32-bit colour, 1280 x 800 @ 32-bit colour, 1280 x 960 @ 32-bit colour, 1280 x 1024 @ 32-bit colour, 1360 x 768 @ 32-bit colour, 1366 x 768 @ 32-bit colour, 1600 x 900 @ 32-bit colour, 1600 x 1024 @ 32-bit colour, 1600 x 1200 @ 32-bit colour, 1680 x 1050 @ 32-bit colour, 1920 x 1080 @ 32-bit colour, 1920 x 1200 @ 32-bit colour, 1920 x 1440 @ 32-bit colour, 2560 x 1440 @ 32-bit colour, 3440 x 1440 @ 32-bit colour, 1440 x 900 @ 32-bit colour, ) sRGB Gamma Conversion = No (No, Yes, ) 00:56:19: [RoR|Startup|Rendering] Creating render window with settings: FSAA = 0 border = fixed gamma = No monitorIndex = 0 vsync = Yes windowProc = 140722066888731 ```
To help diagnose RigsOfRods#3141, I added extra logging of renderer config and startup. Displaying the fatal error dialog will now be logged to RoR.log - see file ErrorUtils.cpp. New entries in RoR.log - see file AppContext.cpp, function `SetUpRendering()` ``` 00:56:19: [RoR|Startup|Rendering] Loading OGRE renderer plugins config 'C:\Users\Petr\builds\rigs-of-rods\bin\plugins_d.cfg'. (...) 00:56:19: [RoR|Startup|Rendering] WARNING - invalid 'ogre.cfg', selecting render plugin manually... 00:56:19: [RoR|Startup|Rendering] Auto-selected renderer plugin 'Direct3D9 Rendering Subsystem' 00:56:19: [RoR|Startup|Rendering] Starting renderer 'Direct3D9 Rendering Subsystem' (without auto-creating render window) (...) 00:56:19: [RoR|Startup|Rendering] Renderer options as reported by OGRE: Allow DirectX9Ex = No (Yes, No, ) Allow NVPerfHUD = No (Yes, No, ) Backbuffer Count = Auto (Auto, 1, 2, ) FSAA = 0 (0, 2, 4, 8, 8 [Quality], ) Fixed Pipeline Enabled = Yes (Yes, No, ) Floating-point mode = Fastest (Fastest, Consistent, ) Full Screen = No (No, Yes, ) Multi device memory hint = Use minimum system memory (Use minimum system memory, Auto hardware buffers management, ) Rendering Device = Monitor-1-NVIDIA GeForce RTX 4070 Ti (Monitor-1-NVIDIA GeForce RTX 4070 Ti, ) Resource Creation Policy = Create on all devices (Create on all devices, Create on active device, ) Use Multihead = Auto (Auto, Yes, No, ) VSync = Yes (No, Yes, ) VSync Interval = 1 (1, 2, 3, 4, ) Video Mode = 1920 x 1440 @ 32-bit colour (640 x 480 @ 32-bit colour, 720 x 480 @ 32-bit colour, 720 x 576 @ 32-bit colour, 800 x 600 @ 32-bit colour, 1024 x 768 @ 32-bit colour, 1152 x 864 @ 32-bit colour, 1176 x 664 @ 32-bit colour, 1280 x 720 @ 32-bit colour, 1280 x 768 @ 32-bit colour, 1280 x 800 @ 32-bit colour, 1280 x 960 @ 32-bit colour, 1280 x 1024 @ 32-bit colour, 1360 x 768 @ 32-bit colour, 1366 x 768 @ 32-bit colour, 1600 x 900 @ 32-bit colour, 1600 x 1024 @ 32-bit colour, 1600 x 1200 @ 32-bit colour, 1680 x 1050 @ 32-bit colour, 1920 x 1080 @ 32-bit colour, 1920 x 1200 @ 32-bit colour, 1920 x 1440 @ 32-bit colour, 2560 x 1440 @ 32-bit colour, 3440 x 1440 @ 32-bit colour, 1440 x 900 @ 32-bit colour, ) sRGB Gamma Conversion = No (No, Yes, ) 00:56:19: [RoR|Startup|Rendering] Creating render window with settings: FSAA = 0 border = fixed gamma = No monitorIndex = 0 vsync = Yes windowProc = 140722066888731 ```
Yeah. By the way, what is UI scaling?
[Strikethru = outdated content] |
Also, what do you mean by UI scaling? |
I can confirm that option exists (at least in KDE). If helpful, i found it in display configuration. |
I'd just like to say, Is anybody on this thread anymore??? |
What's your display resolution? If the two displays have a different resolution it might cause some issues. |
Mirrored Display, 1920x1080 (HD Res) |
And the other display? |
Both are not the same size. |
To help diagnose RigsOfRods#3141, I added extra logging of renderer config and startup. Displaying the fatal error dialog will now be logged to RoR.log - see file ErrorUtils.cpp. New entries in RoR.log - see file AppContext.cpp, function `SetUpRendering()` ``` 00:56:19: [RoR|Startup|Rendering] Loading OGRE renderer plugins config 'C:\Users\Petr\builds\rigs-of-rods\bin\plugins_d.cfg'. (...) 00:56:19: [RoR|Startup|Rendering] WARNING - invalid 'ogre.cfg', selecting render plugin manually... 00:56:19: [RoR|Startup|Rendering] Auto-selected renderer plugin 'Direct3D9 Rendering Subsystem' 00:56:19: [RoR|Startup|Rendering] Starting renderer 'Direct3D9 Rendering Subsystem' (without auto-creating render window) (...) 00:56:19: [RoR|Startup|Rendering] Renderer options as reported by OGRE: Allow DirectX9Ex = No (Yes, No, ) Allow NVPerfHUD = No (Yes, No, ) Backbuffer Count = Auto (Auto, 1, 2, ) FSAA = 0 (0, 2, 4, 8, 8 [Quality], ) Fixed Pipeline Enabled = Yes (Yes, No, ) Floating-point mode = Fastest (Fastest, Consistent, ) Full Screen = No (No, Yes, ) Multi device memory hint = Use minimum system memory (Use minimum system memory, Auto hardware buffers management, ) Rendering Device = Monitor-1-NVIDIA GeForce RTX 4070 Ti (Monitor-1-NVIDIA GeForce RTX 4070 Ti, ) Resource Creation Policy = Create on all devices (Create on all devices, Create on active device, ) Use Multihead = Auto (Auto, Yes, No, ) VSync = Yes (No, Yes, ) VSync Interval = 1 (1, 2, 3, 4, ) Video Mode = 1920 x 1440 @ 32-bit colour (640 x 480 @ 32-bit colour, 720 x 480 @ 32-bit colour, 720 x 576 @ 32-bit colour, 800 x 600 @ 32-bit colour, 1024 x 768 @ 32-bit colour, 1152 x 864 @ 32-bit colour, 1176 x 664 @ 32-bit colour, 1280 x 720 @ 32-bit colour, 1280 x 768 @ 32-bit colour, 1280 x 800 @ 32-bit colour, 1280 x 960 @ 32-bit colour, 1280 x 1024 @ 32-bit colour, 1360 x 768 @ 32-bit colour, 1366 x 768 @ 32-bit colour, 1600 x 900 @ 32-bit colour, 1600 x 1024 @ 32-bit colour, 1600 x 1200 @ 32-bit colour, 1680 x 1050 @ 32-bit colour, 1920 x 1080 @ 32-bit colour, 1920 x 1200 @ 32-bit colour, 1920 x 1440 @ 32-bit colour, 2560 x 1440 @ 32-bit colour, 3440 x 1440 @ 32-bit colour, 1440 x 900 @ 32-bit colour, ) sRGB Gamma Conversion = No (No, Yes, ) 00:56:19: [RoR|Startup|Rendering] Creating render window with settings: FSAA = 0 border = fixed gamma = No monitorIndex = 0 vsync = Yes windowProc = 140722066888731 ```
I finally fixed the typo which was breaking Linux build. |
Would you like me to clone your repo, and build it? I am not exactly sure how to do this, because its on a different branch. thank you, |
PR builds can be downloaded from Actions: https://github.com/ohlidalp/rigs-of-rods/actions/runs/8681313083 |
Alright. Heres the output. pastebin because long
Thank you by the way |
Hello again, apologies for the response lag, daily job kept me busy. Thanks for testing with the extended logging, unfortunately it didn't provide any new insight. No errors, all reports consistently say 1920x1080. Is it possible your monitor is distorting the image? I own an ultrawide 3440x1440 and when I launched with 1920x1080 fullscreen, I got a correctly sized image with black stripes on both sides (monitor "Aspect ratio" setting: "Auto resize"). The other settings I have are "21:9" (stretched to all available space) and "4:3" (slammed). If you have an option to try with a different monitor, it might be interesting to do that. Other than that I have no advice, just improvised suggestions:
|
Sorry for the late reply... I dont even use 120hz though.. I have a max 75hz display, and I am mirrored? I am connected to my laptop. glxgears works! I also have noticed something- I can run OpenBVE (a train sim, but im not sure if it uses open gl!) |
I take it that the problem only happens on the external monitor, not on the laptop screen. Either way, tell me which resolutions you tried on either one, please. Also try without the mirroring, just the external monitor or laptop screen.
OpenBVE githup page says: |
Hello, RoR community!
I have an unfortunate issue while using RoR.
When I set my display settings, to hd resolution (1920x1080), on arch linux,
WITH fullscreen (in the app)- I come into this
1: No fullscreen, even if enabled- i see the dock
2: The scaling is broken- Even without fulscreen!
Heres how it looks with fullscreen:
Overlapping corners, and gui [Cant get the whole screen]
Settings:
** My app is from itch.
This happens on stable and devel.
The text was updated successfully, but these errors were encountered: