• Debian 12: need nvidia-settings to join 2 2560x1440 into a 2880x2560

    From Roger Price@21:1/5 to All on Mon Oct 7 23:10:01 2024
    In Debian 11 I have two 2560x1440 displays side by side in portrait mode. With the package nvidia-settings I created an xorg.conf which set these two displays to work as a single 2880x2560 display, Very nice. I would now like to do the same thing in Debian 12, but with Debian 12 I cannot find the package nvidia-settings. The page https://packages.debian.org/bookworm/nvidia-settings talks about the package but doesn't mention a repository that I can access with synaptic.

    Is there some way of getting to this package?

    Roger

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles Curley@21:1/5 to Roger Price on Tue Oct 8 04:00:01 2024
    On Mon, 7 Oct 2024 22:52:51 +0200 (CEST)
    Roger Price <roger@rogerprice.org> wrote:

    In Debian 11 I have two 2560x1440 displays side by side in portrait
    mode. With the package nvidia-settings I created an xorg.conf which
    set these two displays to work as a single 2880x2560 display, Very
    nice. I would now like to do the same thing in Debian 12, but with
    Debian 12 I cannot find the package nvidia-settings. The page https://packages.debian.org/bookworm/nvidia-settings talks about the
    package but doesn't mention a repository that I can access with
    synaptic.

    Is there some way of getting to this package?

    If you have XFCE, the Display application should do it for you.
    Applications -> Settings -> Display. I expect other desktops have
    something comparable.

    arandr will do the same, and export a script you can use as part of
    your session setup.

    --
    Does anybody read signatures any more?

    https://charlescurley.com
    https://charlescurley.com/blog/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Roger Price@21:1/5 to Xiyue Deng on Tue Oct 8 14:00:01 2024
    This message is in MIME format. The first part should be readable text,
    while the remaining parts are likely unreadable without MIME-aware tools.

    On Mon, 7 Oct 2024, Xiyue Deng wrote:

    Roger Price <roger@rogerprice.org> writes:
    Is there some way of getting to this package?

    Looks like nvidia-settings comes from "contrib". Have you enabled the contrib repository in your apt settings? Something like below:
    | deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware

    I added "contrib non-free" to the deb and deb-src entries in /etc/apt/sources.list and ran apt update. I rebooted the machine, but before trying synaptic, I was presented with a window offering to configure and rotate the two screens. After nearly an hour of clicking, rotating, reconnecting the screens, renumbering them, I got nowhere. At one time I found myself with 180° rotation which is unusable, so I tried synaptic.

    Synaptic now finds nvidia-settings, but wants 72 other packages to be loaded, including gcc which I took as a health and safety warning.

    I took the risk, clicked on "apply", watched the packages load but during the installation got the message "Free nouveau kernel module conflicts with non free
    nvidia module. Reboot". I saw several messages of the form:
    /usr/sbin/dkms line 2497 : echo: broken pipe

    which I assume I can live with. Finally the nvidia-settings installation process
    stopped with
    update-initramfs: Generating /boot/initrd.img-6.1.0-26-amd64

    After a reboot, I found (panel)->Applications->Settings->NVIDIA X Server Settings. I learned that "right" means anticlockwise which only the newer iiyama XUB2793QSU mounting can do. The older iiyama display only turns "left", clockwise. This makes it possible to place the two fine bezels, normally on top, between the displays. The confusion of "left" and "right" was part of my problem with the built-in configurator.

    The key line in /etc/X11/xorg.conf now shows:

    Option "metamodes" "DP-4: nvidia-auto-select +0+0 {rotation=left},
    DP-6: nvidia-auto-select +1440+0 {rotation=right}"

    I now have my 2880x2560. Thanks to all those who responded. Roger

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stefan Monnier@21:1/5 to All on Tue Oct 8 15:10:02 2024
    I took the risk, clicked on "apply", watched the packages load but during
    the installation got the message "Free nouveau kernel module conflicts with non free nvidia module. Reboot". I saw several messages of the form:

    Hmm... maybe I'm wrong but this gives me the impression you were not
    using nvidia's proprietary drivers, which which case you don't/didn't
    need `nvidia-settings` because `xrandr` (and the various front-ends for
    it) should have worked fine.

    Am I missing something?


    Stefan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to Roger Price on Tue Oct 8 14:20:01 2024
    On Tue, Oct 08, 2024 at 01:41:20PM +0200, Roger Price wrote:

    [...]

    Synaptic now finds nvidia-settings, but wants 72 other packages to be
    loaded, including gcc which I took as a health and safety warning.

    This is DKMS [1]: NVIDIA's kernel module isn't GPL compatible (but the
    GPL allows you, the end user, to compile whatever you like). So DKMS
    goes and compiles the kernel module in your box at package install for
    you. That's what gcc is for.

    Somewhere between magic and alien tech, if you ask me :-D

    Cheers

    [1] https://wiki.debian.org/KernelDKMS
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZwUh+AAKCRAFyCz1etHa Rp6oAJ9sbuxqbg89drcOLb6TKkv1tBt8kACfQwa56F+w3yptkJ4nIM8jsHgWc3A=
    =6rgF
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Tue Oct 8 15:30:02 2024
    This is a multi-part message in MIME format.

    Instead of using nvidia-settings, you could also create a /etc/X11/xorg.conf and edit the settings you need.

    Yes, xorg.conf ois no more needed, as the driver itself checks the settings, but in some cases xorg.conf might help.

    I allow myself to attache mine here from the old days, it is for nvidia and it might be helpfull. It is small, so it does not stress the servers too much.

    Best

    Hans


    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    EndSection

    Section "Files"
    EndSection

    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection

    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection

    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Unknown"
    Option "DPMS"
    EndSection

    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Roger Price@21:1/5 to Stefan Monnier on Tue Oct 8 16:40:02 2024
    On Tue, 8 Oct 2024, Stefan Monnier wrote:

    Hmm... maybe I'm wrong but this gives me the impression you were not
    using nvidia's proprietary drivers, which which case you don't/didn't
    need `nvidia-settings` because `xrandr` (and the various front-ends for
    it) should have worked fine.

    Here is what inxi says:
    rprice@maria ~ inxi -Gxx --edid
    Graphics:
    Device-1: NVIDIA GP106GL [Quadro P2000] vendor: Dell driver: nvidia
    v: 535.183.01 non-free: 530.xx+ status: current (as of 2023-03) arch: Pascal
    code: GP10x process: TSMC 16nm built: 2016-21 bus-ID: 0000:65:00.0
    chip-ID: 10de:1c30 class-ID: 0300
    Display: x11 server: X.Org v: 1.20.11 compositor: xfwm v: 4.18.0 driver:
    X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv
    gpu: nvidia display-ID: localhost:10.0 screens: 1
    Screen-1: 0 s-res: 2880x2560 s-dpi: 96 s-size: 762x677mm (30.00x26.65")
    s-diag: 1019mm (40.13")
    Monitor-1: DP-0 pos: primary,left res: 1440x2560 hz: 60 dpi: 109
    size: 336x597mm (13.23x23.5") diag: 685mm (26.97") modes: N/A
    Monitor-2: DP-4 pos: right res: 1440x2560 hz: 60 dpi: 109
    size: 336x597mm (13.23x23.5") diag: 685mm (26.97") modes: N/A
    API: OpenGL v: 4.6.0 NVIDIA 535.183.01 renderer: Quadro P2000/PCIe/SSE2
    direct-render: Yes

    It looks to me as if the nvidia driver is loaded. Roger

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Tue Oct 8 16:20:01 2024
    This is a multi-part message in MIME format.

    Sorry, just dicovered, it is not the full xorg.conf.

    This is the correct one, and below you can see, where the resolution can be forced.

    Using xorg.conf is nice, when you need special settings.

    Hope this helps (and sorry again, to attach a file, but I suppose, this makes it for the op easier).

    Best

    Hans


    # XF86Config-4 (XFree86 X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the XF86Config-4 manual page.
    # (Type "man XF86Config-4" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xfree86 package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xfree86
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following commands as root:
    #
    # cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
    # md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
    # dpkg-reconfigure xserver-xfree86

    Section "Files"
    FontPath "unix/:7100" # local font server
    # if the local font server has problems, we can fall back on these
    FontPath "/usr/share/fonts/X11/misc"
    FontPath "/usr/share/fonts/X11/cyrillic"
    FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath "/usr/share/fonts/X11/Type1"
    FontPath "/usr/share/fonts/X11/CID"
    FontPath "/usr/share/fonts/X11/100dpi"
    FontPath "/usr/share/fonts/X11/75dpi"
    EndSection

    Section "Module"
    Load "bitmap"
    Load "dbe"
    Load "ddc"
    Load "dri"
    Load "drm"
    Load "extmod"
    Load "freetype"
    Load "glx"
    Load "int10"
    Load "record"
    Load "vbe"
    Load "synaptics"
    SubSection "extmod"
    Option "omit xfree86-dga"
    EndSubSection
    EndSection

    Section "InputDevice"
    Driver "synaptics"
    Identifier "Mouse[1]"
    Option "Device" "/dev/psaux"
    Option "Protocol" "auto-dev"
    Option "LeftEdge" "1700"
    Option "RightEdge" "5300"
    Option "TopEdge" "1700"
    Option "BottomEdge" "4200"
    Option "FingerLow" "25"
    Option "FingerHigh" "30"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "220"
    Option "VertScrollDelta" "100"
    Option "MinSpeed" "0.06"
    Option "MaxSpeed" "0.12"
    Option "AccelFactor" "0.0010"
    Option "SHMConfig" "on"
    Option "Repeater" "/dev/ps2mouse"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "keyboard"
    Option "CoreKeyboard"
    Option "XkbRules" "xfree86"
    Option "XkbModel" "armada"
    Option "XkbLayout" "de"
    Option "XkbOptions" "nodeadkeys"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    # Option "CorePointer"
    Option "Device" "/dev/psaux"
    Option "Protocol" "ImPS/2"
    Option "Emulate3Buttons" "true"
    Option "ZAxisMapping" "4 5"
    EndSection

    Section "InputDevice"
    Identifier "Generic Mouse"
    Driver "mouse"
    Option "SendCoreEvents" "true"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "Emulate3Buttons" "true"
    Option "ZAxisMapping" "4 5"
    EndSection


    Section "Device"
    Identifier "ATI X700"
    Driver "fglrx"
    BusID "PCI:1:0:0"
    Option "UseInternalAGPGART" "yes"
    Option "AGPMode" "8"
    # Option "KernelModuleParm" "agpclock=0"
    # Option "VideoOverlay" "on"
    # Option "OpenGLOverlay" "on"
    Option "no_accel" "no"
    Option "no_dri" "no"
    # Option "Stereo" "off"
    # Option "FSAAenable" "0"
    # Option "UseFastTLS" "0"
    # VideoRam 256000
    EndSection

    Section "ServerFlags"
    Option "AIGLX" "off"
    EndSection

    Section "Monitor"
    Identifier "My Monitor"
    HorizSync 31.5 - 82.0
    VertRefresh 50-100
    Option "DPMS" "true"
    # ModeLine "1280x800" 83.9 1280 1312 1624 1656 800 816 824 841


    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "ATI X700"
    Monitor "My Monitor"
    DefaultDepth 24

    SubSection "Display"
    Depth 1
    Modes "1280x800" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
    Depth 4
    Modes "1280x800" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubSection
    SubSection "Display"
    Depth 8
    Modes "1280x800" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubSection
    SubSection "Display"
    Depth 15
    Modes "1280x800" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubSection
    SubSection "Display"
    Depth 16
    Modes "1280x800" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "1280x800" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubSection
    EndSection

    Section "ServerLayout"
    Identifier "Default Layout"
    Screen "Default Screen"
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    InputDevice "Generic Mouse"
    InputDevice "Mouse[1]" "CorePointer"
    EndSection

    Section "DRI"
    # Group "video"
    Mode 0666
    EndSection

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)