You said that you have a M4 Pro MacBook Pro.
The Technical Specifications for MacBook Pros with M4 Pro chips read, in part:
----------
Simultaneously supports full native resolution on the built-in display at 1 billion colors and:
- Up to two external displays with up to 6K resolution at 60Hz over Thunderbolt, or one external display with up to 6K resolution at 60Hz over Thunderbolt and one external display with up to 4K resolution at 144Hz over HDMI
- One external display supported at 8K resolution at 60Hz or one external display at 4K resolution at 240Hz over HDMI
----------
Use an external display with your MacBook Pro - Apple Support describes the same capabilities.
The Apple Pro Display XDR – a 6K monitor – has a resolution of 6016 x 3384 pixels. Your Odyssey G5NC monitor, with its resolution of 7680x2160 pixels, has the horizontal resolution of an 8K monitor, even though it only has the vertical resolution of a UHD 4K monitor. (In effect, it is like two UHD 4K monitors joined side to side.)
So you may already be up at the point where you cannot make a USB-C (DP) or Thunderbolt connection, and must make a HDMI connection, and must limit yourself to a single external monitor.
Then you want to use a Retina scaling mode with greater than 3840x1080 pixels, on top of that. In Retina scaling modes, the internal drawing canvas has twice the number of pixels in each direction as the nominal "UI looks like" a.k.a. Displays Settings "resolution".
You would be asking the M4 Pro chip to work with an internal canvas with a horizontal resolution greater than 8K. Apple does not completely document how the resolution limits in Technical Specifications apply to Retina scaling modes. But it could be that the chip simply can't support an internal drawing canvas that has the same horizontal resolution as two 5K displays set side by side.