Hello community, I’m so happy to begin to work in Unreal Engine, but I have a problem.
The issue
When I run UnrealEditor
, the project browser, it appears full screen and the window appears black and blocked only in my maximum screen resolution at 5120x1440 @ 120hz, but if I set my display a little lower and re-run UnrealEditor
, for example, 3840x1080 @ 120hz the Project Explorer open and appears correctly.
Back window startup screenshot
But the problem is that the application keeps the metrics resolution, so if after run app and switch to maximum resolution and I move the window to the edge of my screen the menus do not open in the right place. See the following screenshot please.
Menus not at the good place
After many search in you forum, in SDL forum and KDE forum. The solution is unfortunaly no found.
Build
For compilation, I followed the build process, so git clone https://github.com/EpicGames/UnrealEngine -b release
> I run Setup.sh
> GenerateProjectFiles.sh
and finally make
.
My setup
- MB - Asus TUF-Gaming X570-PRO WIFI 2
- CPU - AMD Ryzen 9 5959X
- RAM - 128 GB
- DISK - 1TB nvme
- GPU - NVIDIA GeForce RTX3080 10GB - proprietary driver 515.43.04
- OS - Archlinux - Kernel 5.17.9-arch1-1
- Graphic Platform - X11
- Desktop Manager - KDE 5.24.5 - KDE Framework 5.94.0
- QT Version 5.15.4
- Display Device - Samsung LC49RG90 49" ultra wide
Attempts to resolve
- I’m trying to disallow app block compositor in KDE DM, but the problem persist.
Logs analyzes
In Log file, I’m viewing that the screen detection by SDL2 not returns the same value for the name in 5120x1440 @ 120hz resolution, I have :
[2022.05.20-15.30.44:746][ 0]LogInit: Using SDL video driver 'x11'
[2022.05.20-15.30.44:746][ 0]LogInit: Display metrics:
[2022.05.20-15.30.44:746][ 0]LogInit: PrimaryDisplayWidth: 5120
[2022.05.20-15.30.44:746][ 0]LogInit: PrimaryDisplayHeight: 1440
[2022.05.20-15.30.44:746][ 0]LogInit: PrimaryDisplayWorkAreaRect:
[2022.05.20-15.30.44:746][ 0]LogInit: Left=0, Top=0, Right=5120, Bottom=1396
[2022.05.20-15.30.44:746][ 0]LogInit: VirtualDisplayRect:
[2022.05.20-15.30.44:746][ 0]LogInit: Left=0, Top=0, Right=5120, Bottom=1396
[2022.05.20-15.30.44:746][ 0]LogInit: TitleSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
[2022.05.20-15.30.44:746][ 0]LogInit: ActionSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
[2022.05.20-15.30.44:746][ 0]LogInit: Number of monitors: 1
[2022.05.20-15.30.44:746][ 0]LogInit: Monitor 0
[2022.05.20-15.30.44:746][ 0]LogInit: Name: C49RG9x
[2022.05.20-15.30.44:746][ 0]LogInit: ID: display0
[2022.05.20-15.30.44:746][ 0]LogInit: NativeWidth: 5120
[2022.05.20-15.30.44:746][ 0]LogInit: NativeHeight: 1440
[2022.05.20-15.30.44:746][ 0]LogInit: bIsPrimary: true
And in 3840x1080 @ 120hz resolution, I have :
[2022.05.20-15.38.43:333][ 0]LogInit: Initializing SDL.
[2022.05.20-15.38.43:522][ 0]LogInit: Initialized SDL 2.0.20 revision: (compiled against 2.0.20)
[2022.05.20-15.38.43:522][ 0]LogInit: Using SDL video driver 'x11'
[2022.05.20-15.38.43:523][ 0]LogInit: Display metrics:
[2022.05.20-15.38.43:523][ 0]LogInit: PrimaryDisplayWidth: 3840
[2022.05.20-15.38.43:523][ 0]LogInit: PrimaryDisplayHeight: 1080
[2022.05.20-15.38.43:523][ 0]LogInit: PrimaryDisplayWorkAreaRect:
[2022.05.20-15.38.43:523][ 0]LogInit: Left=0, Top=0, Right=3840, Bottom=1036
[2022.05.20-15.38.43:523][ 0]LogInit: VirtualDisplayRect:
[2022.05.20-15.38.43:523][ 0]LogInit: Left=0, Top=0, Right=3840, Bottom=1036
[2022.05.20-15.38.43:523][ 0]LogInit: TitleSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
[2022.05.20-15.38.43:523][ 0]LogInit: ActionSafePaddingSize: X=0.000 Y=0.000 Z=0.000 W=0.000
[2022.05.20-15.38.43:523][ 0]LogInit: Number of monitors: 1
[2022.05.20-15.38.43:523][ 0]LogInit: Monitor 0
[2022.05.20-15.38.43:523][ 0]LogInit: Name: C49RG9x 49"
[2022.05.20-15.38.43:523][ 0]LogInit: ID: display0
[2022.05.20-15.38.43:523][ 0]LogInit: NativeWidth: 3840
[2022.05.20-15.38.43:523][ 0]LogInit: NativeHeight: 1080
[2022.05.20-15.38.43:523][ 0]LogInit: bIsPrimary: true
The screen name value in first log is
C49RG9x
but in second log isC49RG9x 49"
.
My knowledge about SDL2 dev is too low, so I don’t know if that maybe have a matter ?
Attachements
- Unreal-log-5120x1440-120hz.log (135.4 KB)
- Unreal-log-3840x1080-120hz.log (140.4 KB)
Finally
I hope to find some help here to close my problem. Because, this little problem is very bad in my workflow. So far I haven’t opened an issue in the bug tracker. Maybe I should ?
Thank you for my futures helpers !