x86 nvidia GPU resolution not taking..



  • hi all-
    I'm running an older Nvidia GT620 GPU on an i3 system. I'm running the latest version of Recalbox, but the setup with the older Nvidia drivers (v390).

    I've edited /recalbox/share/system/.xinitrc and set "xrandr -s 1920x1200", but it starts at 1280x1024

    as seen in the Xorg.conf log file-
    40.217] (II) NVIDIA(0): Setting mode "DVI-I-1: 1280x1024 @1280x1024 +0+0 {ViewPortIn=1280x1024, ViewPortOut=1280x1024+0+0}"

    but in the .xinitrc file, I have the "xrandr -s 1920x1200" specified. When I set this to other lower resolutions, the lower resolutions work fine.

    HOWEVER, "xrandr -s 1920x1200" from the command line ONLY works if I set a lower resolution in the .xinitrc file first. If I specify 1920x1200 in the .xinitrc file, THEN attempt to set the resolution from the command line, it fails with
    "Size 1920x1200 not found in available modes"
    Yes, my setup does support 1920x1200- when I specify it manually from the command line (after starting X with a lower resolution)
    export DISPLAY=:0
    xrandr -s 1920x1200
    it sets the resolution correctly (but emulationstation isn't displayed correctly).
    Even when I can't set it, the resolution is listed as available with "xrandr -display :0.0 -q"

    Any ideas?
    This setup worked fine with older revisions of recalbox.



  • I think I have a workaround-
    the .xinitrc has a line

    batocera-resolution minTomaxResolution

    that REDUCES the 1920x1200 resolution set previously in the script to 1280X1024, and stops me from setting it manually.
    I commented this out and it sets the resolution correctly at startup.


  • Staff
    Developer
    Global moderator
    Team

    @philsocal so you may ask to batocera forum. Here is Recalbox.



Want to support us ?

261
Online

80.3k
Users

21.5k
Topics

157.2k
Posts