Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 28/02/2021, à 13:41

Txum

Difficulté à configurer le multi-écran PC+TV avec Nvidia

Bonjour,

Je rencontre une difficulté que je ne parviens pas à résoudre seul concernant le multi-écran depuis mon passage à Ubuntu 20.04 à sa sortie il y a un peu moins d'un an.
Auparavant j'étais sur Ubuntu Mate 18.04 et j'avais d'autres soucis mais pas à ce point.

Voilà comment je souhaiterais utiliser mon matériel :
- Mon PC principal avec écran Acer 24'' en 1920x1080 à DROITE en tant qu'écran principal avec le dock et la barre d'outils
- Ma TV Samsung 40'' de résolution 1920x1080 à GAUCHE de l'écran principal en écran secondaire (où je peux faire glisser une fenêtre de la droite de l'écran du PC vers la gauche sur la TV).
- J'aimerais pouvoir utiliser soit l'écran du PC, soit les deux, soit la TV uniquement alternativement en fonction de mes besoins.

Petite subtilité : la dalle de la TV est recouverte par les bords de l'écran. Pour que l'écran soit à la bonne dimension, j'utilise Nvidia-settings avec les réglages suivants :
ViewPortIn : 1920x1080
ViewPortOut : 1850x1035+32+24
Panning : 1920x1080

Mes problèmes sont :
1) Le réglage de ViewPortIn et Panning de la TV saute à chaque fois que la TV est désactivée pour utiliser l'écran du PC seul. Je dois lancer nvidia-settings à chaque fois pour le remettre.
2) L'outil "Ecrans" de Ubuntu me propose systématiquement l'écran du PC comme écran de GAUCHE quand je veux activer la TV. Je dois refaire la manip à chaque fois, ce qui n'est pas difficile mais relativement agaçant.

J'aimerais donc pouvoir inscrire ces réglages dans le marbre.
Je pense qu'il y a un conflit entre les paramètres d'écran de Ubuntu et Nvidia Settings mais je ne sais pas comment le contourner.

J'ai étudié la doc mais je suis un peu perdu. Je n'ai pas peur d'utiliser la ligne de commande ni d'éditer des fichier de config, mais je me perds complètement dans Xorg.conf, cela dépasse mes compétences.

Toute aide est la bienvenue.
Merci d'avance wink

Voici mon fichier Xorg.conf :

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 440.82

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

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "SAMSUNG"
    HorizSync       15.0 - 81.0
    VertRefresh     24.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 1660 SUPER"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-6"
    Option         "metamodes" "HDMI-0: nvidia-auto-select +0+0 {viewportin=1920x1080, viewportout=1850x1035+32+24, ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-5: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

et Xorg.0.log :

[     5.407] (--) Log file renamed from "/var/log/Xorg.pid-1202.log" to "/var/log/Xorg.0.log"
[     5.410] 
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[     5.410] Build Operating System: Linux 4.15.0-130-generic x86_64 Ubuntu
[     5.410] Current Operating System: Linux christophe-desktop 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64
[     5.410] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.4.0-66-generic root=UUID=7844f591-3cc8-4342-998e-728c543edf5a ro quiet splash vt.handoff=7
[     5.410] Build Date: 17 January 2021  09:13:31AM
[     5.410] xorg-server 2:1.20.9-2ubuntu1.2~20.04.1 (For technical support please see http://www.ubuntu.com/support) 
[     5.410] Current version of pixman: 0.38.4
[     5.410] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     5.410] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     5.410] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Feb 28 12:34:01 2021
[     5.410] (==) Using config file: "/etc/X11/xorg.conf"
[     5.410] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     5.424] (==) ServerLayout "Layout0"
[     5.424] (**) |-->Screen "Screen0" (0)
[     5.424] (**) |   |-->Monitor "Monitor0"
[     5.427] (**) |   |-->Device "Device0"
[     5.427] (**) |-->Input Device "Keyboard0"
[     5.427] (**) |-->Input Device "Mouse0"
[     5.427] (**) Option "Xinerama" "0"
[     5.427] (==) Automatically adding devices
[     5.427] (==) Automatically enabling devices
[     5.427] (==) Automatically adding GPU devices
[     5.427] (==) Automatically binding GPU devices
[     5.427] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     5.439] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     5.439] 	Entry deleted from font path.
[     5.439] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[     5.439] 	Entry deleted from font path.
[     5.439] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[     5.439] 	Entry deleted from font path.
[     5.441] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[     5.441] 	Entry deleted from font path.
[     5.441] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[     5.441] 	Entry deleted from font path.
[     5.441] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[     5.441] (==) ModulePath set to "/usr/lib/xorg/modules"
[     5.441] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     5.442] (WW) Disabling Keyboard0
[     5.442] (WW) Disabling Mouse0
[     5.442] (II) Loader magic: 0x564d18c69020
[     5.442] (II) Module ABI versions:
[     5.442] 	X.Org ANSI C Emulation: 0.4
[     5.442] 	X.Org Video Driver: 24.1
[     5.442] 	X.Org XInput driver : 24.1
[     5.442] 	X.Org Server Extension : 10.0
[     5.444] (++) using VT number 1

[     5.448] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[     5.448] (II) xfree86: Adding drm device (/dev/dri/card0)
[     5.449] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0
[     5.450] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/x86_64-linux-gnu/nvidia/xorg,/usr/lib/xorg/modules"
[     5.451] (--) PCI:*(1@0:0:0) 10de:21c4:1462:c758 rev 161, Mem @ 0xf2000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[     5.451] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[     5.451] (II) LoadModule: "dbe"
[     5.451] (II) Module "dbe" already built-in
[     5.451] (II) LoadModule: "extmod"
[     5.451] (II) Module "extmod" already built-in
[     5.451] (II) LoadModule: "glx"
[     5.456] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     5.488] (II) Module glx: vendor="X.Org Foundation"
[     5.488] 	compiled for 1.20.9, module version = 1.0.0
[     5.488] 	ABI class: X.Org Server Extension, version 10.0
[     5.488] (II) LoadModule: "nvidia"
[     5.488] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/nvidia_drv.so
[     5.508] (II) Module nvidia: vendor="NVIDIA Corporation"
[     5.508] 	compiled for 1.6.99.901, module version = 1.0.0
[     5.508] 	Module class: X.Org Video Driver
[     5.510] (II) NVIDIA dlloader X Driver  460.39  Thu Jan 21 21:54:11 UTC 2021
[     5.510] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     5.511] (II) systemd-logind: releasing fd for 226:0
[     5.514] (II) Loading sub module "fb"
[     5.514] (II) LoadModule: "fb"
[     5.515] (II) Loading /usr/lib/xorg/modules/libfb.so
[     5.520] (II) Module fb: vendor="X.Org Foundation"
[     5.520] 	compiled for 1.20.9, module version = 1.0.0
[     5.520] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     5.520] (II) Loading sub module "wfb"
[     5.520] (II) LoadModule: "wfb"
[     5.520] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     5.527] (II) Module wfb: vendor="X.Org Foundation"
[     5.527] 	compiled for 1.20.9, module version = 1.0.0
[     5.527] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     5.527] (II) Loading sub module "ramdac"
[     5.527] (II) LoadModule: "ramdac"
[     5.527] (II) Module "ramdac" already built-in
[     5.533] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[     5.533] (==) NVIDIA(0): RGB weight 888
[     5.533] (==) NVIDIA(0): Default visual is TrueColor
[     5.533] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     5.534] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[     5.534] (**) NVIDIA(0): Option "Stereo" "0"
[     5.534] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-6"
[     5.534] (**) NVIDIA(0): Option "SLI" "Off"
[     5.534] (**) NVIDIA(0): Option "MultiGPU" "Off"
[     5.534] (**) NVIDIA(0): Option "BaseMosaic" "off"
[     5.534] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[     5.534] (**) NVIDIA(0): Stereo disabled by request
[     5.534] (**) NVIDIA(0): NVIDIA SLI disabled.
[     5.534] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[     5.535] (**) NVIDIA(0): Option "MetaModes" "HDMI-0: nvidia-auto-select +0+0 {viewportin=1920x1080, viewportout=1850x1035+32+24, ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-5: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
[     5.535] (**) NVIDIA(0): Enabling 2D acceleration
[     5.535] (II) Loading sub module "glxserver_nvidia"
[     5.535] (II) LoadModule: "glxserver_nvidia"
[     5.535] (II) Loading /usr/lib/x86_64-linux-gnu/nvidia/xorg/libglxserver_nvidia.so
[     5.819] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[     5.819] 	compiled for 1.6.99.901, module version = 1.0.0
[     5.819] 	Module class: X.Org Server Extension
[     5.819] (II) NVIDIA GLX Module  460.39  Thu Jan 21 21:51:40 UTC 2021
[     5.830] (II) NVIDIA: The X server supports PRIME Render Offload.
[     6.742] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[     6.742] (--) NVIDIA(0):     DFP-0
[     6.742] (--) NVIDIA(0):     DFP-1
[     6.742] (--) NVIDIA(0):     DFP-2
[     6.742] (--) NVIDIA(0):     DFP-3
[     6.742] (--) NVIDIA(0):     DFP-4
[     6.742] (--) NVIDIA(0):     DFP-5
[     6.742] (--) NVIDIA(0):     DFP-6 (boot)
[     6.743] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1660 SUPER (TU116-B) at PCI:1:0:0
[     6.743] (II) NVIDIA(0):     (GPU-0)
[     6.743] (--) NVIDIA(0): Memory: 6291456 kBytes
[     6.743] (--) NVIDIA(0): VideoBIOS: 90.16.48.00.a3
[     6.743] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     6.743] (--) NVIDIA(GPU-0): DFP-0: disconnected
[     6.743] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[     6.743] (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[     6.743] (--) NVIDIA(GPU-0): 
[     6.743] (--) NVIDIA(GPU-0): DFP-1: disconnected
[     6.743] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[     6.743] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[     6.743] (--) NVIDIA(GPU-0): 
[     6.743] (--) NVIDIA(GPU-0): DFP-2: disconnected
[     6.743] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[     6.743] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[     6.743] (--) NVIDIA(GPU-0): 
[     6.743] (--) NVIDIA(GPU-0): DFP-3: disconnected
[     6.743] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[     6.743] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[     6.743] (--) NVIDIA(GPU-0): 
[     6.773] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): connected
[     6.773] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): Internal TMDS
[     6.773] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): 600.0 MHz maximum pixel clock
[     6.773] (--) NVIDIA(GPU-0): 
[     6.773] (--) NVIDIA(GPU-0): DFP-5: disconnected
[     6.773] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[     6.773] (--) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock
[     6.773] (--) NVIDIA(GPU-0): 
[     6.837] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): connected
[     6.837] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): Internal TMDS
[     6.837] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): 300.0 MHz maximum pixel clock
[     6.837] (--) NVIDIA(GPU-0): 
[     6.938] (II) NVIDIA(0): Validated MetaModes:
[     6.938] (II) NVIDIA(0):    
[     6.938] (II) NVIDIA(0):     "HDMI-0:nvidia-auto-select+0+0{viewportin=1920x1080,viewportout=1850x1035+32+24,ForceCompositionPipeline=On,ForceFullCompositionPipeline=On},DP-5:nvidia-auto-select+1920+0{ForceCompositionPipeline=On,ForceFullCompositionPipeline=On}"
[     6.938] (II) NVIDIA(0): Virtual screen size determined to be 3840 x 1080
[     6.989] (--) NVIDIA(0): DPI set to (54, 54); computed from "UseEdidDpi" X config
[     6.989] (--) NVIDIA(0):     option
[     6.990] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[     6.990] (II) NVIDIA:     access.
[     7.017] (II) NVIDIA(0): Setting mode "HDMI-0:nvidia-auto-select+0+0{viewportin=1920x1080,viewportout=1850x1035+32+24,ForceCompositionPipeline=On,ForceFullCompositionPipeline=On},DP-5:nvidia-auto-select+1920+0{ForceCompositionPipeline=On,ForceFullCompositionPipeline=On}"
[     7.263] (==) NVIDIA(0): Disabling shared memory pixmaps
[     7.263] (==) NVIDIA(0): Backing store enabled
[     7.263] (==) NVIDIA(0): Silken mouse enabled
[     7.264] (**) NVIDIA(0): DPMS enabled
[     7.265] (II) Loading sub module "dri2"
[     7.265] (II) LoadModule: "dri2"
[     7.265] (II) Module "dri2" already built-in
[     7.266] (II) NVIDIA(0): [DRI2] Setup complete
[     7.266] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[     7.266] (II) Initializing extension Generic Event Extension
[     7.266] (II) Initializing extension SHAPE
[     7.266] (II) Initializing extension MIT-SHM
[     7.266] (II) Initializing extension XInputExtension
[     7.267] (II) Initializing extension XTEST
[     7.267] (II) Initializing extension BIG-REQUESTS
[     7.267] (II) Initializing extension SYNC
[     7.268] (II) Initializing extension XKEYBOARD
[     7.268] (II) Initializing extension XC-MISC
[     7.268] (II) Initializing extension SECURITY
[     7.268] (II) Initializing extension XFIXES
[     7.268] (II) Initializing extension RENDER
[     7.268] (II) Initializing extension RANDR
[     7.268] (II) Initializing extension COMPOSITE
[     7.268] (II) Initializing extension DAMAGE
[     7.269] (II) Initializing extension MIT-SCREEN-SAVER
[     7.269] (II) Initializing extension DOUBLE-BUFFER
[     7.269] (II) Initializing extension RECORD
[     7.269] (II) Initializing extension DPMS
[     7.269] (II) Initializing extension Present
[     7.269] (II) Initializing extension DRI3
[     7.269] (II) Initializing extension X-Resource
[     7.269] (II) Initializing extension XVideo
[     7.269] (II) Initializing extension XVideo-MotionCompensation
[     7.269] (II) Initializing extension SELinux
[     7.269] (II) SELinux: Disabled on system
[     7.269] (II) Initializing extension GLX
[     7.270] (II) Initializing extension GLX
[     7.270] (II) Indirect GLX disabled.
[     7.270] (II) GLX: Another vendor is already registered for screen 0
[     7.270] (II) Initializing extension XFree86-VidModeExtension
[     7.270] (II) Initializing extension XFree86-DGA
[     7.270] (II) Initializing extension XFree86-DRI
[     7.270] (II) Initializing extension DRI2
[     7.270] (II) Initializing extension NV-GLX
[     7.270] (II) Initializing extension NV-CONTROL
[     7.270] (II) Initializing extension XINERAMA
[     7.357] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[     7.357] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     7.357] (II) LoadModule: "libinput"
[     7.357] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[     7.364] (II) Module libinput: vendor="X.Org Foundation"
[     7.364] 	compiled for 1.20.4, module version = 0.29.0
[     7.364] 	Module class: X.Org XInput Driver
[     7.364] 	ABI class: X.Org XInput driver, version 24.1
[     7.364] (II) Using input driver 'libinput' for 'Power Button'
[     7.365] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 41 paused 0
[     7.365] (**) Power Button: always reports core events
[     7.365] (**) Option "Device" "/dev/input/event1"
[     7.365] (**) Option "_source" "server/udev"
[     7.374] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     7.374] (II) event1  - Power Button: device is a keyboard
[     7.374] (II) event1  - Power Button: device removed
[     7.374] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[     7.374] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     7.374] (**) Option "xkb_model" "pc105"
[     7.374] (**) Option "xkb_layout" "fr"
[     7.374] (**) Option "xkb_variant" "latin9"
[     7.400] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     7.400] (II) event1  - Power Button: device is a keyboard
[     7.401] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[     7.401] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     7.401] (II) Using input driver 'libinput' for 'Power Button'
[     7.401] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 44 paused 0
[     7.402] (**) Power Button: always reports core events
[     7.402] (**) Option "Device" "/dev/input/event0"
[     7.402] (**) Option "_source" "server/udev"
[     7.402] (II) event0  - Power Button: is tagged by udev as: Keyboard
[     7.402] (II) event0  - Power Button: device is a keyboard
[     7.402] (II) event0  - Power Button: device removed
[     7.402] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[     7.402] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[     7.402] (**) Option "xkb_model" "pc105"
[     7.403] (**) Option "xkb_layout" "fr"
[     7.403] (**) Option "xkb_variant" "latin9"
[     7.403] (II) event0  - Power Button: is tagged by udev as: Keyboard
[     7.403] (II) event0  - Power Button: device is a keyboard
[     7.404] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event11)
[     7.404] (II) No input driver specified, ignoring this device.
[     7.404] (II) This device may have been added with another device file.
[     7.404] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event12)
[     7.404] (II) No input driver specified, ignoring this device.
[     7.404] (II) This device may have been added with another device file.
[     7.404] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event13)
[     7.404] (II) No input driver specified, ignoring this device.
[     7.404] (II) This device may have been added with another device file.
[     7.405] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event14)
[     7.405] (II) No input driver specified, ignoring this device.
[     7.405] (II) This device may have been added with another device file.
[     7.405] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=10 (/dev/input/event15)
[     7.405] (II) No input driver specified, ignoring this device.
[     7.405] (II) This device may have been added with another device file.
[     7.405] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=11 (/dev/input/event16)
[     7.405] (II) No input driver specified, ignoring this device.
[     7.405] (II) This device may have been added with another device file.
[     7.406] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=12 (/dev/input/event17)
[     7.406] (II) No input driver specified, ignoring this device.
[     7.406] (II) This device may have been added with another device file.
[     7.406] (II) config/udev: Adding input device Logitech Wireless Keyboard PID:4023 (/dev/input/event2)
[     7.406] (**) Logitech Wireless Keyboard PID:4023: Applying InputClass "libinput keyboard catchall"
[     7.406] (II) Using input driver 'libinput' for 'Logitech Wireless Keyboard PID:4023'
[     7.407] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 45 paused 0
[     7.407] (**) Logitech Wireless Keyboard PID:4023: always reports core events
[     7.407] (**) Option "Device" "/dev/input/event2"
[     7.407] (**) Option "_source" "server/udev"
[     7.408] (II) event2  - Logitech Wireless Keyboard PID:4023: is tagged by udev as: Keyboard
[     7.409] (II) event2  - Logitech Wireless Keyboard PID:4023: device is a keyboard
[     7.409] (II) event2  - Logitech Wireless Keyboard PID:4023: device removed
[     7.409] (II) libinput: Logitech Wireless Keyboard PID:4023: needs a virtual subdevice
[     7.409] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input19/event2"
[     7.409] (II) XINPUT: Adding extended input device "Logitech Wireless Keyboard PID:4023" (type: MOUSE, id 8)
[     7.409] (**) Option "AccelerationScheme" "none"
[     7.409] (**) Logitech Wireless Keyboard PID:4023: (accel) selected scheme none/0
[     7.409] (**) Logitech Wireless Keyboard PID:4023: (accel) acceleration factor: 2.000
[     7.409] (**) Logitech Wireless Keyboard PID:4023: (accel) acceleration threshold: 4
[     7.410] (II) event2  - Logitech Wireless Keyboard PID:4023: is tagged by udev as: Keyboard
[     7.410] (II) event2  - Logitech Wireless Keyboard PID:4023: device is a keyboard
[     7.411] (II) config/udev: Adding input device Logitech Wireless Mouse PID:4038 (/dev/input/event3)
[     7.411] (**) Logitech Wireless Mouse PID:4038: Applying InputClass "libinput pointer catchall"
[     7.411] (II) Using input driver 'libinput' for 'Logitech Wireless Mouse PID:4038'
[     7.412] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 46 paused 0
[     7.412] (**) Logitech Wireless Mouse PID:4038: always reports core events
[     7.412] (**) Option "Device" "/dev/input/event3"
[     7.412] (**) Option "_source" "server/udev"
[     7.414] (II) event3  - Logitech Wireless Mouse PID:4038: is tagged by udev as: Mouse
[     7.414] (II) event3  - Logitech Wireless Mouse PID:4038: device is a pointer
[     7.414] (II) event3  - Logitech Wireless Mouse PID:4038: device removed
[     7.415] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.1/0003:046D:C534.0002/0003:046D:4038.0004/input/input20/event3"
[     7.415] (II) XINPUT: Adding extended input device "Logitech Wireless Mouse PID:4038" (type: MOUSE, id 9)
[     7.415] (**) Option "AccelerationScheme" "none"
[     7.415] (**) Logitech Wireless Mouse PID:4038: (accel) selected scheme none/0
[     7.415] (**) Logitech Wireless Mouse PID:4038: (accel) acceleration factor: 2.000
[     7.415] (**) Logitech Wireless Mouse PID:4038: (accel) acceleration threshold: 4
[     7.416] (II) event3  - Logitech Wireless Mouse PID:4038: is tagged by udev as: Mouse
[     7.417] (II) event3  - Logitech Wireless Mouse PID:4038: device is a pointer
[     7.418] (II) config/udev: Adding input device Logitech Wireless Mouse PID:4038 (/dev/input/mouse0)
[     7.418] (II) No input driver specified, ignoring this device.
[     7.418] (II) This device may have been added with another device file.
[     7.418] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event4)
[     7.418] (II) No input driver specified, ignoring this device.
[     7.418] (II) This device may have been added with another device file.
[     7.418] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event5)
[     7.418] (II) No input driver specified, ignoring this device.
[     7.418] (II) This device may have been added with another device file.
[     7.419] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event6)
[     7.419] (II) No input driver specified, ignoring this device.
[     7.419] (II) This device may have been added with another device file.
[     7.419] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event7)
[     7.419] (II) No input driver specified, ignoring this device.
[     7.419] (II) This device may have been added with another device file.
[     7.420] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event8)
[     7.420] (II) No input driver specified, ignoring this device.
[     7.420] (II) This device may have been added with another device file.
[     7.420] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event9)
[     7.420] (II) No input driver specified, ignoring this device.
[     7.420] (II) This device may have been added with another device file.
[     7.420] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event10)
[     7.420] (II) No input driver specified, ignoring this device.
[     7.420] (II) This device may have been added with another device file.
[     7.427] (**) Logitech Wireless Keyboard PID:4023: Applying InputClass "libinput keyboard catchall"
[     7.427] (II) Using input driver 'libinput' for 'Logitech Wireless Keyboard PID:4023'
[     7.427] (II) systemd-logind: returning pre-existing fd for /dev/input/event2 13:66
[     7.427] (**) Logitech Wireless Keyboard PID:4023: always reports core events
[     7.427] (**) Option "Device" "/dev/input/event2"
[     7.427] (**) Option "_source" "_driver/libinput"
[     7.427] (II) libinput: Logitech Wireless Keyboard PID:4023: is a virtual subdevice
[     7.427] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-6/3-6:1.1/0003:046D:C534.0002/0003:046D:4023.0003/input/input19/event2"
[     7.427] (II) XINPUT: Adding extended input device "Logitech Wireless Keyboard PID:4023" (type: KEYBOARD, id 10)
[     7.427] (**) Option "xkb_model" "pc105"
[     7.427] (**) Option "xkb_layout" "fr"
[     7.427] (**) Option "xkb_variant" "latin9"
[     7.493] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): connected
[     7.493] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): Internal TMDS
[     7.493] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): 300.0 MHz maximum pixel clock
[     7.493] (--) NVIDIA(GPU-0): 
[     7.557] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): connected
[     7.557] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): Internal TMDS
[     7.557] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): 300.0 MHz maximum pixel clock
[     7.557] (--) NVIDIA(GPU-0): 
[     8.038] (--) NVIDIA(GPU-0): DFP-0: disconnected
[     8.038] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[     8.038] (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[     8.038] (--) NVIDIA(GPU-0): 
[     8.038] (--) NVIDIA(GPU-0): DFP-1: disconnected
[     8.038] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[     8.038] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[     8.038] (--) NVIDIA(GPU-0): 
[     8.038] (--) NVIDIA(GPU-0): DFP-2: disconnected
[     8.038] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[     8.038] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[     8.038] (--) NVIDIA(GPU-0): 
[     8.038] (--) NVIDIA(GPU-0): DFP-3: disconnected
[     8.038] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[     8.038] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[     8.038] (--) NVIDIA(GPU-0): 
[     8.068] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): connected
[     8.068] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): Internal TMDS
[     8.068] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): 600.0 MHz maximum pixel clock
[     8.068] (--) NVIDIA(GPU-0): 
[     8.068] (--) NVIDIA(GPU-0): DFP-5: disconnected
[     8.068] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[     8.068] (--) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock
[     8.068] (--) NVIDIA(GPU-0): 
[     8.131] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): connected
[     8.131] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): Internal TMDS
[     8.131] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): 300.0 MHz maximum pixel clock
[     8.131] (--) NVIDIA(GPU-0): 
[     8.194] (WW) NVIDIA(0): custom viewPortOut, 1850 x 1035 +32 +24, does not fit within
[     8.194] (WW) NVIDIA(0):     rasterSize, 1850x1035; ignoring custom viewPortOut
[     8.196] (II) NVIDIA(0): Setting mode "HDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1850x1035+32+24, ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-5: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
[     8.373] (II) NVIDIA(0): Setting mode "HDMI-0: nvidia-auto-select @1850x1035 +1920+0 {ViewPortIn=1850x1035, ViewPortOut=1850x1035+32+24, ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-5: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0, ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
[    10.399] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    10.399] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    10.399] (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[    10.399] (--) NVIDIA(GPU-0): 
[    10.399] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    10.399] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    10.399] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    10.399] (--) NVIDIA(GPU-0): 
[    10.400] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    10.400] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[    10.400] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[    10.400] (--) NVIDIA(GPU-0): 
[    10.400] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    10.400] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    10.400] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    10.400] (--) NVIDIA(GPU-0): 
[    10.429] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): connected
[    10.429] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): Internal TMDS
[    10.429] (--) NVIDIA(GPU-0): SAMSUNG (DFP-4): 600.0 MHz maximum pixel clock
[    10.429] (--) NVIDIA(GPU-0): 
[    10.429] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    10.429] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[    10.429] (--) NVIDIA(GPU-0): DFP-5: 2660.0 MHz maximum pixel clock
[    10.429] (--) NVIDIA(GPU-0): 
[    10.493] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): connected
[    10.493] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): Internal TMDS
[    10.493] (--) NVIDIA(GPU-0): Acer R241Y (DFP-6): 300.0 MHz maximum pixel clock
[    10.493] (--) NVIDIA(GPU-0): 
[    20.866] (**) Option "fd" "41"
[    20.866] (II) event1  - Power Button: device removed
[    20.866] (**) Option "fd" "44"
[    20.866] (II) event0  - Power Button: device removed
[    20.866] (**) Option "fd" "45"
[    20.867] (**) Option "fd" "46"
[    20.867] (II) event3  - Logitech Wireless Mouse PID:4038: device removed
[    20.867] (**) Option "fd" "45"
[    20.867] (II) event2  - Logitech Wireless Keyboard PID:4023: device removed
[    21.173] (II) systemd-logind: got pause for 13:67
[    21.173] (II) systemd-logind: got pause for 13:65
[    21.173] (II) systemd-logind: got pause for 13:66
[    21.173] (II) systemd-logind: got pause for 13:64

PC Mini ITX - AMD Ryzen 7 3700X - Nvidia GTX1660 Super (pilote propriétaire) - 32Go RAM - Ubuntu 20.04 Gnome
Netbook Asus eeepc 1225b - AMD C50 Dual Core - 4 Go RAM - Ubuntu Mate 18.04

Hors ligne

#2 Le 01/03/2021, à 07:31

xubu1957

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

Bonjour,

Montre :

lspci -vnn | grep -A12 '\''[030[02]\]' | grep -Ei "vga|3d|display|kernel"
ubuntu-drivers devices
uname -a

et :

dpkg -l | grep nvidia
dpkg -l | grep -v ^ii
xrandr

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#3 Le 01/03/2021, à 19:35

Txum

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

Merci de ton aide wink

lspci -vnn | grep -A12 '\''[030[02]\]' | grep -Ei "vga|3d|display|kernel" :

christophe@christophe-desktop:~$ lspci -vnn | grep -A12 '\''[030[02]\]' | grep -Ei "vga|3d|display|kernel"
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU116 [GeForce GTX 1660 SUPER] [10de:21c4] (rev a1) (prog-if 00 [VGA controller])
	Kernel driver in use: nvidia
	Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
christophe@christophe-desktop:~$ 

ubuntu-drivers devices :

christophe@christophe-desktop:~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd000021C4sv00001462sd0000C758bc03sc00i00
vendor   : NVIDIA Corporation
model    : TU116 [GeForce GTX 1660 SUPER]
driver   : nvidia-driver-460 - distro non-free recommended
driver   : nvidia-driver-450 - distro non-free
driver   : nvidia-driver-460-server - distro non-free
driver   : nvidia-driver-450-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

christophe@christophe-desktop:~$ 

uname -a :

christophe@christophe-desktop:~$ uname -a
Linux christophe-desktop 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
christophe@christophe-desktop:~$ 

dpkg -l | grep nvidia :

christophe@christophe-desktop:~$ dpkg -l | grep nvidia
ii  libnvidia-cfg1-460:amd64                      460.39-0ubuntu0.20.04.1              amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-460                          460.39-0ubuntu0.20.04.1              all          Shared files used by the NVIDIA libraries
rc  libnvidia-compute-435:amd64                   435.21-0ubuntu7                      amd64        NVIDIA libcompute package
rc  libnvidia-compute-450:amd64                   450.102.04-0ubuntu0.20.04.1          amd64        NVIDIA libcompute package
ii  libnvidia-compute-460:amd64                   460.39-0ubuntu0.20.04.1              amd64        NVIDIA libcompute package
ii  libnvidia-compute-460:i386                    460.39-0ubuntu0.20.04.1              i386         NVIDIA libcompute package
ii  libnvidia-decode-460:amd64                    460.39-0ubuntu0.20.04.1              amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-460:i386                     460.39-0ubuntu0.20.04.1              i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-460:amd64                    460.39-0ubuntu0.20.04.1              amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-460:i386                     460.39-0ubuntu0.20.04.1              i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-460:amd64                     460.39-0ubuntu0.20.04.1              amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-460:amd64                      460.39-0ubuntu0.20.04.1              amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-460:i386                       460.39-0ubuntu0.20.04.1              i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-460:amd64                        460.39-0ubuntu0.20.04.1              amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-460:i386                         460.39-0ubuntu0.20.04.1              i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-460:amd64                      460.39-0ubuntu0.20.04.1              amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-460:i386                       460.39-0ubuntu0.20.04.1              i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
rc  nvidia-compute-utils-450                      450.102.04-0ubuntu0.20.04.1          amd64        NVIDIA compute utilities
ii  nvidia-compute-utils-460                      460.39-0ubuntu0.20.04.1              amd64        NVIDIA compute utilities
rc  nvidia-dkms-450                               450.102.04-0ubuntu0.20.04.1          amd64        NVIDIA DKMS package
ii  nvidia-dkms-460                               460.39-0ubuntu0.20.04.1              amd64        NVIDIA DKMS package
ii  nvidia-driver-460                             460.39-0ubuntu0.20.04.1              amd64        NVIDIA driver metapackage
rc  nvidia-kernel-common-450                      450.102.04-0ubuntu0.20.04.1          amd64        Shared files used with the kernel module
ii  nvidia-kernel-common-460                      460.39-0ubuntu0.20.04.1              amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-460                      460.39-0ubuntu0.20.04.1              amd64        NVIDIA kernel source package
ii  nvidia-prime                                  0.8.15.3~0.20.04.1                   all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                               440.82-0ubuntu0.20.04.1              amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-460                              460.39-0ubuntu0.20.04.1              amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                       0.18build1                           all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-460                 460.39-0ubuntu0.20.04.1              amd64        NVIDIA binary Xorg driver
christophe@christophe-desktop:~$ 

dpkg -l | grep -v ^ii

christophe@christophe-desktop:~$ dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                           Version                              Architecture Description
+++-=============================================-====================================-============-======================================================================================================
rc  fancontrol                                    1:3.6.0-2ubuntu1                     all          utility to control the fan speed
rc  libnvidia-compute-435:amd64                   435.21-0ubuntu7                      amd64        NVIDIA libcompute package
rc  libnvidia-compute-450:amd64                   450.102.04-0ubuntu0.20.04.1          amd64        NVIDIA libcompute package
rc  linux-image-5.4.0-26-generic                  5.4.0-26.30                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-28-generic                  5.4.0-28.32                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-29-generic                  5.4.0-29.33                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-31-generic                  5.4.0-31.35                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-33-generic                  5.4.0-33.37                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-37-generic                  5.4.0-37.41                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-39-generic                  5.4.0-39.43                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-40-generic                  5.4.0-40.44                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-42-generic                  5.4.0-42.46                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-45-generic                  5.4.0-45.49                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-47-generic                  5.4.0-47.51                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-48-generic                  5.4.0-48.52                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-51-generic                  5.4.0-51.56                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-52-generic                  5.4.0-52.57                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-53-generic                  5.4.0-53.59                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-54-generic                  5.4.0-54.60                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-56-generic                  5.4.0-56.62                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-58-generic                  5.4.0-58.64                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-59-generic                  5.4.0-59.65                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-60-generic                  5.4.0-60.67                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-62-generic                  5.4.0-62.70                          amd64        Signed kernel image generic
rc  linux-image-5.4.0-64-generic                  5.4.0-64.72                          amd64        Signed kernel image generic
rc  linux-modules-5.4.0-1002-oem                  5.4.0-1002.4                         amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-26-generic                5.4.0-26.30                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-28-generic                5.4.0-28.32                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-29-generic                5.4.0-29.33                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-31-generic                5.4.0-31.35                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-33-generic                5.4.0-33.37                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-37-generic                5.4.0-37.41                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-39-generic                5.4.0-39.43                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-40-generic                5.4.0-40.44                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-42-generic                5.4.0-42.46                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-45-generic                5.4.0-45.49                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-47-generic                5.4.0-47.51                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-48-generic                5.4.0-48.52                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-51-generic                5.4.0-51.56                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-52-generic                5.4.0-52.57                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-53-generic                5.4.0-53.59                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-54-generic                5.4.0-54.60                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-56-generic                5.4.0-56.62                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-58-generic                5.4.0-58.64                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-59-generic                5.4.0-59.65                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-60-generic                5.4.0-60.67                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-62-generic                5.4.0-62.70                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-64-generic                5.4.0-64.72                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-21-generic          5.4.0-21.25                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-26-generic          5.4.0-26.30                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-28-generic          5.4.0-28.32                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-29-generic          5.4.0-29.33                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-31-generic          5.4.0-31.35                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-33-generic          5.4.0-33.37                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-37-generic          5.4.0-37.41                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-39-generic          5.4.0-39.43                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-40-generic          5.4.0-40.44                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-42-generic          5.4.0-42.46                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-45-generic          5.4.0-45.49                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-47-generic          5.4.0-47.51                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-48-generic          5.4.0-48.52                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-51-generic          5.4.0-51.56                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-52-generic          5.4.0-52.57                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-53-generic          5.4.0-53.59                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-54-generic          5.4.0-54.60                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-56-generic          5.4.0-56.62                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-58-generic          5.4.0-58.64                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-59-generic          5.4.0-59.65                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-60-generic          5.4.0-60.67                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-62-generic          5.4.0-62.70                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-64-generic          5.4.0-64.72                          amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  lm-sensors                                    1:3.6.0-2ubuntu1                     amd64        utilities to read temperature/voltage/fan sensors
rc  nvidia-compute-utils-450                      450.102.04-0ubuntu0.20.04.1          amd64        NVIDIA compute utilities
rc  nvidia-dkms-450                               450.102.04-0ubuntu0.20.04.1          amd64        NVIDIA DKMS package
rc  nvidia-kernel-common-450                      450.102.04-0ubuntu0.20.04.1          amd64        Shared files used with the kernel module
rc  ubuntu-system-service                         0.7                                  all          Dbus service to set various system-wide configurations
christophe@christophe-desktop:~$ 

xrandr :

christophe@christophe-desktop:~$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  59.94    50.00    29.97    25.00    23.98  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1366x768      59.79  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1440x900      59.89  
   1280x1024     60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      70.07    60.00  
   800x600       60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       59.94    59.93  
   624x464       59.95  
christophe@christophe-desktop:~$

PC Mini ITX - AMD Ryzen 7 3700X - Nvidia GTX1660 Super (pilote propriétaire) - 32Go RAM - Ubuntu 20.04 Gnome
Netbook Asus eeepc 1225b - AMD C50 Dual Core - 4 Go RAM - Ubuntu Mate 18.04

Hors ligne

#4 Le 01/03/2021, à 19:42

xubu1957

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

Pour nettoyer :

Le 11/02/2017, moko138 a écrit :

Pour supprimer tous ces fichiers de configuration devenus sans objets et marqués "rc", et uniquement ces fichiers, exécute :

dpkg -l | awk '/^rc/{print $2}' | xargs -r sudo dpkg -P

Si tu vois des idées dans le fil > Choix de l'écran principal Ubuntu 16.04.1 (Résolu; Correctif Firefox?)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#5 Le 01/03/2021, à 22:32

Txum

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

Merci.

Après le ménage :

dpdpkg -l | grep nvidiakg -l | grep nvidia :

christophe@christophe-desktop:~$ dpkg -l | grep nvidia
ii  libnvidia-cfg1-460:amd64                      460.39-0ubuntu0.20.04.1              amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-460                          460.39-0ubuntu0.20.04.1              all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-460:amd64                   460.39-0ubuntu0.20.04.1              amd64        NVIDIA libcompute package
ii  libnvidia-compute-460:i386                    460.39-0ubuntu0.20.04.1              i386         NVIDIA libcompute package
ii  libnvidia-decode-460:amd64                    460.39-0ubuntu0.20.04.1              amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-460:i386                     460.39-0ubuntu0.20.04.1              i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-460:amd64                    460.39-0ubuntu0.20.04.1              amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-460:i386                     460.39-0ubuntu0.20.04.1              i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-460:amd64                     460.39-0ubuntu0.20.04.1              amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-460:amd64                      460.39-0ubuntu0.20.04.1              amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-460:i386                       460.39-0ubuntu0.20.04.1              i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-460:amd64                        460.39-0ubuntu0.20.04.1              amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-460:i386                         460.39-0ubuntu0.20.04.1              i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-460:amd64                      460.39-0ubuntu0.20.04.1              amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-460:i386                       460.39-0ubuntu0.20.04.1              i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  nvidia-compute-utils-460                      460.39-0ubuntu0.20.04.1              amd64        NVIDIA compute utilities
ii  nvidia-dkms-460                               460.39-0ubuntu0.20.04.1              amd64        NVIDIA DKMS package
ii  nvidia-driver-460                             460.39-0ubuntu0.20.04.1              amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-460                      460.39-0ubuntu0.20.04.1              amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-460                      460.39-0ubuntu0.20.04.1              amd64        NVIDIA kernel source package
ii  nvidia-prime                                  0.8.15.3~0.20.04.1                   all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                               440.82-0ubuntu0.20.04.1              amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-460                              460.39-0ubuntu0.20.04.1              amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                       0.18build1                           all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-460                 460.39-0ubuntu0.20.04.1              amd64        NVIDIA binary Xorg driver
christophe@christophe-desktop:~$ 

dpk
dpkg -l | grep -v ^iig -l | grep -v ^ii :

christophe@christophe-desktop:~$ dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                           Version                              Architecture Description
+++-=============================================-====================================-============-======================================================================================================
christophe@christophe-desktop:~$ 

Dernière modification par Txum (Le 01/03/2021, à 22:34)


PC Mini ITX - AMD Ryzen 7 3700X - Nvidia GTX1660 Super (pilote propriétaire) - 32Go RAM - Ubuntu 20.04 Gnome
Netbook Asus eeepc 1225b - AMD C50 Dual Core - 4 Go RAM - Ubuntu Mate 18.04

Hors ligne

#6 Le 01/03/2021, à 22:41

Txum

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

En parcourant le fil que tu m'as donné, je suis tombé sur cette page qui semble intéressante :

https://askubuntu.com/questions/760942/ … r-on-16-04


PC Mini ITX - AMD Ryzen 7 3700X - Nvidia GTX1660 Super (pilote propriétaire) - 32Go RAM - Ubuntu 20.04 Gnome
Netbook Asus eeepc 1225b - AMD C50 Dual Core - 4 Go RAM - Ubuntu Mate 18.04

Hors ligne

#7 Le 03/03/2021, à 11:43

Txum

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

En utilisant arandr j'ai identifié ma TV (écran de gauche) en tant que HDMI-0 et mon écran PC (droite) en tant que DP-5

En fouillant je me suis rendu compte que mon fichier ~/.config/monitors.xml contenait beaucoup trop d'entrée (l'historique de tous les branchements sur ma carte graphique, y compris la précédente qui a été changée depuis).

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>HDMI-0</connector>
          <vendor>ACR</vendor>
          <product>R241Y</product>
          <serial>T6PEE0052411</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>DVI-I-1</connector>
          <vendor>ACR</vendor>
          <product>R241Y</product>
          <serial>T6PEE0052411</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
    <disabled>
      <monitorspec>
        <connector>HDMI-0</connector>
        <vendor>SAM</vendor>
        <product>SAMSUNG</product>
        <serial>0x00000001</serial>
      </monitorspec>
    </disabled>
  </configuration>
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>HDMI-0</connector>
          <vendor>ACR</vendor>
          <product>R241Y</product>
          <serial>T6PEE0052411</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
    <disabled>
      <monitorspec>
        <connector>DVI-I-1</connector>
        <vendor>SAM</vendor>
        <product>SAMSUNG</product>
        <serial>0x00000001</serial>
      </monitorspec>
    </disabled>
  </configuration>
  <configuration>
    <logicalmonitor>
      <x>1920</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>DP-5</connector>
          <vendor>ACR</vendor>
          <product>R241Y</product>
          <serial>T6PEE0052411</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <monitor>
        <monitorspec>
          <connector>HDMI-0</connector>
          <vendor>SAM</vendor>
          <product>SAMSUNG</product>
          <serial>0x00000001</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>


Je l'ai réinitialisé et voici ce que j'obtiens :

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>DP-5</connector>
          <vendor>ACR</vendor>
          <product>R241Y</product>
          <serial>T6PEE0052411</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
    <disabled>
      <monitorspec>
        <connector>HDMI-0</connector>
        <vendor>SAM</vendor>
        <product>SAMSUNG</product>
        <serial>0x00000001</serial>
      </monitorspec>
    </disabled>
  </configuration>
</monitors>

Il y a plusieurs choses qui me chiffonnent, surtout en comparant les deux fichiers.

- Sur l'ancien fichier, on trouve bien trace qu'à un moment donné l'écran ACR (moniteur ACER, l'actuel DP-5) est bien précisé comme étant positionné à droite =    <x>1920</x>
Cela n'apparaît pas sur le nouveau.

- Sur le nouveau fichier la balise    <primary>yes</primary> apparaît avant mention des deux moniteurs. J'ai l'impression qu'elle est mal placée.

Il y a sûrement quelque chose à creuser par là ?


PC Mini ITX - AMD Ryzen 7 3700X - Nvidia GTX1660 Super (pilote propriétaire) - 32Go RAM - Ubuntu 20.04 Gnome
Netbook Asus eeepc 1225b - AMD C50 Dual Core - 4 Go RAM - Ubuntu Mate 18.04

Hors ligne

#8 Le 03/03/2021, à 11:50

xubu1957

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

Bonjour,

Au cas où, tente cette commande, pour les permissions :

moko138 a écrit :

Merci de montrer :

echo -e "\n\tNombre d'éléments de /home/moi ne m'appartenant pas :"; find ~ \( ! -user $USER -o ! -group $USER \) | wc -l

:


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#9 Le 03/03/2021, à 11:53

Txum

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

En toute logique le fichier devrait ressembler à quelque chose comme ça ?

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>1920</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>DP-5</connector>
          <vendor>ACR</vendor>
          <product>R241Y</product>
          <serial>T6PEE0052411</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
      <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <primary>no</primary>
      <monitor>
      <monitorspec>
        <connector>HDMI-0</connector>
        <vendor>SAM</vendor>
        <product>SAMSUNG</product>
        <serial>0x00000001</serial>
      </monitorspec>
   <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>

PC Mini ITX - AMD Ryzen 7 3700X - Nvidia GTX1660 Super (pilote propriétaire) - 32Go RAM - Ubuntu 20.04 Gnome
Netbook Asus eeepc 1225b - AMD C50 Dual Core - 4 Go RAM - Ubuntu Mate 18.04

Hors ligne

#10 Le 03/03/2021, à 11:56

Txum

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

Voici :

christophe@christophe-desktop:~$ echo -e "\n\tNombre d'éléments de /home/moi ne m'appartenant pas :"; find ~ \( ! -user $USER -o ! -group $USER \) | wc -l

	Nombre d'éléments de /home/moi ne m'appartenant pas :
0
christophe@christophe-desktop:~$

PC Mini ITX - AMD Ryzen 7 3700X - Nvidia GTX1660 Super (pilote propriétaire) - 32Go RAM - Ubuntu 20.04 Gnome
Netbook Asus eeepc 1225b - AMD C50 Dual Core - 4 Go RAM - Ubuntu Mate 18.04

Hors ligne

#11 Le 03/03/2021, à 12:21

xubu1957

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

Pas de souci avec les permissions.

Je ne sais pas aider pour l'emplacement des écrans.

Rien ne peux servir dans > lehollandaisvolant.net/?d=2014/05/31/20/49/55-ubuntu-1404-partager-limage-et-le-son-sur-une-tele-en-hdmi ?


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#12 Le 03/03/2021, à 14:51

Txum

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

Pour l'emplacement des écrans, je pense que le lien dans le post #6 correspond à ce que je veux faire.
La question est maintenant d'y arriver, c'est une autre paire de manches... D'où mon interrogation concernant le fichier monitors.xml.

Ensuite l'autre problème à régler sera la question du "panning" sur l'écran TV, qui saute à chaque redémarrage où à chaque fois que l'écran s'éteint.
Je souhaiterais avoir :
ViewPortIn : 1920x1080
ViewPortOut : 1850x1035+32+24
Panning : 1920x1080

Et je me retrouve à chaque redémarrage avec :
ViewPortIn : 1850x1035
ViewPortOut : 1850x1035+32+24
Panning : 1850x1035

Ce qui empêche l'affichage de se faire correctement.

Xorg.conf m'indique :

 Option         "metamodes" "HDMI-0: nvidia-auto-select +0+0 {viewportin=1920x1080, viewportout=1850x1035+32+24, ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-5: nvidia-auto-select +1920+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"

D'une part il manque la notion de panning et je ne vois pas où ni comment le rajouter.
Et de manière générale le reste du fichier ne mentionne pas l'écran du PC en DP-5.


PC Mini ITX - AMD Ryzen 7 3700X - Nvidia GTX1660 Super (pilote propriétaire) - 32Go RAM - Ubuntu 20.04 Gnome
Netbook Asus eeepc 1225b - AMD C50 Dual Core - 4 Go RAM - Ubuntu Mate 18.04

Hors ligne

#13 Le 03/03/2021, à 17:08

Txum

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

Je progresse smile

Voilà où j'en suis :

En suivant les conseils de cette page https://askubuntu.com/questions/760942/ … r-on-16-04
J'ai ajouté la commande xrandr --output DP-5 --primary aux applications à lancer au démarrage.

J'ai ensuite réécrit le fichier ~/.config/monitors.xml de cette manière :

<monitors version="2">
  <configuration>
    <logicalmonitor>
      <x>1920</x>
      <y>0</y>
      <scale>1</scale>
      <primary>yes</primary>
      <monitor>
        <monitorspec>
          <connector>DP-5</connector>
          <vendor>ACR</vendor>
          <product>R241Y</product>
          <serial>T6PEE0052411</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
    <logicalmonitor>
      <x>0</x>
      <y>0</y>
      <scale>1</scale>
      <primary>no</primary>
      <monitor>
        <monitorspec>
          <connector>HDMI-0</connector>
          <vendor>SAM</vendor>
          <product>SAMSUNG</product>
          <serial>0x00000001</serial>
        </monitorspec>
        <mode>
          <width>1920</width>
          <height>1080</height>
          <rate>60</rate>
        </mode>
      </monitor>
    </logicalmonitor>
  </configuration>
</monitors>

Et cela me permet donc d'avoir pour de bon l'écran principal à droite et l'écran secondaire à gauche.
Ce qui me permet ENFIN que lorsque je lance un programme alors que les deux écrans sont allumés, il m'ouvre par défaut la fenêtre sur l'écran de DROITE ! (Comme ça je peux utiliser mon ordinateur pendant que ma fille regarde un DVD sur la télé, comme c'est le cas au moment où j'écris ces lignes).

Par acquis de conscience, j'ai copié ~/.config/monitors.xml dans /var/lib/gdm3/.config/ comme dit dans la doc ici : https://doc.ubuntu-fr.org/multi-ecran pour être sûr que cela soit pris en compte avant l'ouverture de session.

Pour l'instant cela semble fonctionner, même si lorsque j'utilise l'outil "paramètres>écrans", il a tendance à me réinverser l'ordre des écrans. Pour l'instant je peux vivre avec ça.

Il me reste encore à régler cette histoire de résolution et d'affichage de l'écran TV dans Xorg.conf.


PC Mini ITX - AMD Ryzen 7 3700X - Nvidia GTX1660 Super (pilote propriétaire) - 32Go RAM - Ubuntu 20.04 Gnome
Netbook Asus eeepc 1225b - AMD C50 Dual Core - 4 Go RAM - Ubuntu Mate 18.04

Hors ligne

#14 Le 03/03/2021, à 17:37

xubu1957

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

Regarde aussi > Résolutions d'écrans, avec des exemples dans le message #7.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#15 Le 05/03/2021, à 12:06

Txum

Re : Difficulté à configurer le multi-écran PC+TV avec Nvidia

Au reboot, le fichier monitors.xml s'est réécrit tout seul.
Cela ne semble pas gênant car il reconnait toujours mon écran de droite comme principal :

<primary>yes</primary>

J'ai trouvé l'extension gnome Display Switcher 2 qui me permet de faire exactement ce que je veux et qui, contrairement à l'appli "Paramètres>écrans" reconnaît d'office la bonne disposition d'écrans, à savoir TV à gauche et écran PC à droite smile

Cependant il reste encore un problème à résoudre : cela ne fonctionne que si la TV s'affiche dans sa résolution native, à savoir : 1920x1080.
Je vais tâcher de voir ce qui cloche, je pense que c'est plutôt dans xorg.conf qu'il faut chercher.


PC Mini ITX - AMD Ryzen 7 3700X - Nvidia GTX1660 Super (pilote propriétaire) - 32Go RAM - Ubuntu 20.04 Gnome
Netbook Asus eeepc 1225b - AMD C50 Dual Core - 4 Go RAM - Ubuntu Mate 18.04

Hors ligne