On 7/18/19 2:18 AM, Basile
Starynkevitch wrote:
Bonsoir,
(ce message est volontairement en HTML)
Je suis sous Debian/Sid sur mon PC rimski, avec une
carte mère haut de gamme et processeur AMD 2970WX, chipset X399
et 64Go de RAM et une capacité disque (aussi bien SSD que
rotatifs) à faire des envieux -des téraoctets! Il a plusieurs
PCs à la maison, mais ils sont tous sous Linux.
Ma tendre épouse m'a offert récemment -pour mes 60 ans- un Samsung
S34J550WQU qui fonctionne isolément sans souci avec une
Gigabyte Geforce GTX Nvidia 1050TI installé dans son PC à elle,
sous Ubuntu 18.04, hermes (et à peu près aussi bien
avec le pilote nouveau qu'avec le pilote propriétaire
Nvidia; les différences étaient des problèmes de
performance ou de lignes parasites à l'écran, sans importance
ici). Ce Samsung S34J550WQU (très lourd à transporter!) a
remplacé moralement mon précédent écran LG
Flatron E2250V.
J'ai finalement échangé une des deux cartes graphiques de rimski
avec celle dans le PC de mon épouse. J'ai donc maintenant les deux
cartes graphiques suivantes
% lspci|grep VGA
0b:00.0 VGA compatible controller: Advanced Micro
Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] (rev ef)
42:00.0 VGA compatible controller: NVIDIA Corporation
GP107 [GeForce GTX 1050 Ti] (rev a1)
et ça fonctionne avec le xorg.conf ci-dessous.
# fichier xorg.conf.rimski
Section "ServerLayout"
Identifier "X.org Multihead Basile patched"
Screen 0 "BasileBigScreen" 0 0
Screen 1 "BasileSmallScreen" LeftOf
"BasileBigScreen"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
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/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
# Load "vnc"
Load "radeon"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "BasileBigMonitor"
VendorName "Samsung"
ModelName "S34J550"
EndSection
Section "Monitor"
Identifier "BasileSmallMonitor"
VendorName "LG"
ModelName "Flatron E2250V"
EndSection
Section "Device"
Identifier "BasileAMD570Card"
Driver "amdgpu"
## the BusID should be in decimal format ! Was 0b in
hexa
BusID "PCI:11:0:0"
EndSection
Section "Device"
Identifier "BasileGT1050_NvidiaCard"
Driver "nouveau"
## the BusID should be in decimal format ! Was 42 in
hexa
BusID "PCI:66:0:0"
EndSection
Section "Screen"
Identifier "BasileBigScreen"
Device "BasileAMD570Card"
Monitor "BasileBigMonitor"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "BasileSmallScreen"
Device "BasileGT1050_NvidiaCard"
Monitor "BasileSmallMonitor"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
J'ai mis plusieurs jours à comprendre que le BusID des
cartes est en décimal dans ce fichier xorg.conf
alors que lspci le donne en hexa.
Librement
--
Basile STARYNKEVITCH == http://starynkevitch.net/Basile
opinions are mine only - les opinions sont seulement miennes
Bourg La Reine, France; <basile@starynkevitch.net>
(mobile phone: cf my web page / voir ma page web...)