Raspad 3 screen resolution

The os (bookworm) sees the resolution of my Raspad 3 screen as 1024x768, which is a 4:3 aspect ratio, but the screen is wide so everything is stretched. I think the screen resolution should be 1280x800, right? I’ve tried to fix this by editing both cmdline.txt and ~/.config/wayfire.ini but neither has any effect on the display settings in X11 or Wayland—they only offer 1024x768 or lower resolutions. Do you have any advice for me?

Yes,the screen resolution should be 1280x800.
Please provide us with the problem video.
If the video file is too large, please upload the recorded video to OneDrive, and then share the video link with us, and give us access permission.

I have isolated the problem to the primary HDMI cable. If I use the shorter cable in its place, then the display reports correct resolutions. But then the RPi can’t be screwed down because the working cable is too short to reach the primary HDMI port on the RPi. Perhaps I can live with using the secondary HDMI port. In any case, I think this longer HDMI cable must be defective.

Here is the output of xrandr using the shorter cable to connect to the Raspad display.

guy@turnip:~ $ DISPLAY=:0 xrandr
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 7680 x 7680
HDMI-1 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 519mm x 324mm
   1280x800      59.91*+
   1920x1080     60.00    59.94  
   1920x1080i    60.00    59.94  
   1280x1024     60.02  
   1280x960      60.00  
   1152x864      75.00  
   1280x720      60.00    59.94  
   1024x768      85.00    75.03    70.07    60.00  
   800x600       85.06    72.19    75.00    60.32    56.25  
   720x576i      50.00  
   720x480       60.00    59.94  
   720x480i      60.00    59.94  
   640x480       85.01    75.00    72.81    60.00    59.94  
HDMI-2 disconnected (normal left inverted right x axis y axis)

Using the longer cable, I get this:

guy@turnip:~ $ DISPLAY=0 xrandr
Screen 0: minimum 320 x 200, current 640 x 480, maximum 7680 x 7680
HDMI-1 connected primary 640x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   640x480       59.94* 
HDMI-2 disconnected (normal left inverted right x axis y axis)

Please contact us at service@sunfounder.com to get a HDMI cable.