Kirjoittaja Aihe: Xorgin conffausta, ATI ja Nvidia samassa koneessa  (Luettu 2404 kertaa)

tpls

  • Käyttäjä
  • Viestejä: 12
    • Profiili
Nojoh, elikkä tilanne on se et koneessa on tällä hetkellä Atin emolle integroitu HD4200 ja sitten vanha GF6600. Käytössä on kaksi vga-näyttöä sekä hdmi telkkuun. Atissa on tuo vga sekä telkkari hdmi:llä, geforcessa vain on kiinni tuo toinen vga. Win7:n puolella homma pelittää hyvin, kuvan saa kaikkeen kolmeen näyttöön yhtäaikaa joten raudassa ei ole vikaa. Miten siis pitäisi linuxin puolella menetellä?

xorg.conf on tuossa alla. näköjää atin ccc mankeloi ensin oman versionsa johon sitten ite koitin lisätä tuon nvidian vesa-ajureilla. Voiko vesa ajureita muuten käyttää ihan tässä testailuvaiheesa, tarkoitus olisi että kuhan tässä aluksi saisi edes kuvan näyttöön?

Kone kyllä lähtee käyntiin hyvin noilla asetuksilla, mutta toinen näyttö (acer) pysyy edelleen pimeänä. Pitäisikö esim serverlayouttia rukata jotenkin? Itteä kans kummastuttaa noitten eri screenien nimeäminen ja numerointi, niissä taitoni ja osaamiseni alkaa loppua kesken. Kiitos avusta jo etukäteen!

Koodia: [Valitse]
Section "ServerLayout"
Identifier     "amdcccle Layout"
Screen      0  "amdcccle-Screen[1]-0" 0 0
Screen     1  "acer-screen" LeftOf "amdcccle-Screen[1]-0"
EndSection

Section "Files"
EndSection

Section "Module"
Load  "glx"
EndSection

Section "Monitor"
Identifier   "0-DFP2"
Option     "VendorName" "ATI Proprietary Driver"
Option     "ModelName" "Generic Autodetecting Monitor"
Option     "DPMS" "true"
Option     "TargetRefresh" "60"
Option     "Position" "0 0"
Option     "Rotate" "normal"
Option     "Disable" "false"
Option     "PreferredMode" "1280x1024"
EndSection

Section "Monitor"
Identifier   "0-CRT1"
Option     "VendorName" "ATI Proprietary Driver"
Option     "ModelName" "Generic Autodetecting Monitor"
Option     "DPMS" "true"
Option     "PreferredMode" "1280x1024"
Option     "TargetRefresh" "60"
Option     "Position" "0 0"
Option     "Rotate" "normal"
Option     "Disable" "false"
EndSection

Section "Monitor"
Identifier   "acer"
EndSection

Section "Device"
Identifier  "Default Device"
Driver      "fglrx"
EndSection

Section "Device"
Identifier  "amdcccle-Device[1]-0"
Driver      "fglrx"
Option     "Monitor-DFP2" "0-DFP2"
Option     "Monitor-CRT1" "0-CRT1"
BusID       "PCI:1:5:0"
EndSection

Section "Device"
Identifier  "amdcccle-Device[1]-1"
Driver      "fglrx"
Option     "Monitor-DFP2" "0-DFP2"
BusID       "PCI:1:5:0"
Screen      1
EndSection

Section "Device"
Identifier  "gf6600"
Driver      "vesa"
BusID       "PCI:2:0:0"
Screen      2
EndSection

Section "Screen"
Identifier "Default Screen"
DefaultDepth     24
EndSection

Section "Screen"
Identifier "amdcccle-Screen[1]-0"
Device     "amdcccle-Device[1]-0"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "amdcccle-Screen[1]-1"
Device     "amdcccle-Device[1]-1"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "acer-screen"
Device     "gf6600"
Monitor    "acer"
DefaultDepth     24
SubSection "Display"
Modes "1280x1024"
EndSubSection
EndSection

tuke81

  • Käyttäjä
  • Viestejä: 1667
    • Profiili
Vs: Xorgin conffausta, ATI ja Nvidia samassa koneessa
« Vastaus #1 : 21.05.10 - klo:19.56 »
Jaa'a en ole kyllä moisia yrittänyt, enkä ole ihan varma osaako xorg kahta eri näytönohjain ajuria ladatakkaan. Noilla tiedoilla ei paljoa vielä eteenpäin pääse, laitas lisää tietoa:
lspci
xrandr -q
cat /var/log/Xorg.0.log (tämä vaikka pastebin.org:iin)
Miksi tehdä jotain helposti, kun sen voi tehdä vaikeastikin...

tpls

  • Käyttäjä
  • Viestejä: 12
    • Profiili
Vs: Xorgin conffausta, ATI ja Nvidia samassa koneessa
« Vastaus #2 : 21.05.10 - klo:20.04 »
lspci:

Koodia: [Valitse]
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
00:01.0 PCI bridge: ASUSTeK Computer Inc. RS880 PCI to PCI bridge (int gfx)
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [IDE mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS880 [Radeon HD 4200]
01:05.1 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200]
02:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
04:08.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)

xrandr -q:

Koodia: [Valitse]
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1920 x 1920
DFP2 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x1024      60.0*+
   1360x768       60.0 +
   1280x768       59.9 +
   1920x1080      60.0 
   1776x1000      30.0     25.0 
   1680x1050      60.0 
   1400x1050      60.0 
   1440x900       59.9 
   1280x960       60.0 
   1366x768       59.9 
   1280x800       60.0 
   1152x864       60.0 
   1280x720       60.0     50.0 
   1024x768       60.0 
   1152x648       60.0     50.0 
   800x600        60.3 
   720x576        50.0 
   720x480        60.0 
   640x480        60.0 
CRT1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1280x1024      60.0*+   75.0 
   1280x720       60.0 +
   1280x960       75.0     60.0 
   1280x800       75.0     60.0 
   1152x864       75.0     60.0 
   1280x768       74.9     59.9 
   1024x768       75.0     70.1     60.0 
   800x600        72.2     75.0     70.0     60.3     56.2 
   720x480        60.0 
   640x480        75.0     72.8     60.0

xorgin logi:

http://pastebin.org/262126

tuke81

  • Käyttäjä
  • Viestejä: 1667
    • Profiili
Vs: Xorgin conffausta, ATI ja Nvidia samassa koneessa
« Vastaus #3 : 21.05.10 - klo:20.45 »
hmm logeissa ei ladata vesa ajurilla mitään, joten ei toimi ainakaan tuolla konfilla.

Lainaus
Koodia: [Valitse]
Section "Device"
Identifier  "gf6600"
Driver      "vesa"
BusID       "PCI:2:0:0"
Screen      2
EndSection

Lainaus
Screen number
This option is mandatory for cards where a single PCI entity can drive more than one display (i.e., multiple CRTCs sharing a single graphics accelerator and video memory). One Device section is required for each head, and this parameter determines which head each of the Device sections applies to. The legal values of number range from 0 to one less than the total number of heads per entity. Most drivers require that the primary screen (0) be present.

Ei taida olla ihan noin montaa ulostuloa nvidiassa(3), koitas muuttaa noita(kommentoi ensin kokonaan pois molemmat). Pitäis hieman ite tutkiskella tuota, olisi kyllä itelläkin eri näyttiksiä, joilla voisi kokeilla saada toimimaan. Mutta ei oikein ole aikaa kokeilla...
Miksi tehdä jotain helposti, kun sen voi tehdä vaikeastikin...

tpls

  • Käyttäjä
  • Viestejä: 12
    • Profiili
Vs: Xorgin conffausta, ATI ja Nvidia samassa koneessa
« Vastaus #4 : 22.05.10 - klo:12.43 »
No, vaihoin tuon Screen 2 -> Screen 1 mutta ei sillä ollut mitään vaikutusta. Mistä se sitten kiikastaa ettei tuo vesa lataudu?

tpls

  • Käyttäjä
  • Viestejä: 12
    • Profiili
Vs: Xorgin conffausta, ATI ja Nvidia samassa koneessa
« Vastaus #5 : 23.05.10 - klo:21.15 »
Muutin tuota xorg.confia siten että poistin kaikki kohdat sieltä jotka viittasivat tuohon ati:n hdmi-ulostuloon. Jos nyt näin aluksi kokeilisi saada kuvan molempiin näyttöihin, telkkua en välttämättä linuxin puolella tarvitse.

http://www.semiantics.com/?p=212

ilmeisesti kuitenkin temppu on mahdollinen, ainakin tuon sivun mukaan

Koodia: [Valitse]
Section "ServerLayout"
    Identifier     "screenlayout"
    Screen      0  "acer-screen" 0 0
    Screen        1  "samsung-screen" LeftOf "acer-screen"
    InputDevice "Keyboard0" "CoreKeyboard”
    InputDevice "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option    "Device" "/dev/input/mice"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier "Keyboard0"
    Driver         "kbd"
    Option        "XkbRules"    "evdev"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "fi"
EndSection

Section "Monitor"
    Identifier   "acer"
EndSection

Section "Monitor"
    Identifier   "samsung"
EndSection

Section "Device"
    Identifier  "hd4200"
    Driver      "fglrx"
    BusID       "PCI:1:5:0"
    Screen      0
EndSection

Section "Device"
    Identifier  "gf6600"
    Driver      "vesa"
    BusID       "PCI:2:0:0"
EndSection

Section "Screen"
    Identifier "acer-screen"
    Device     "hd4200"
    Monitor    "acer"
    DefaultDepth     24
    SubSection "Display"
        Modes "1280x1024"
    EndSubSection
EndSection

Section "Screen"
    Identifier "samsung-screen"
    Device     "gf6600"
    Monitor    "samsung"
    DefaultDepth     24
    SubSection "Display"
        Modes "1280x1024"
    EndSubSection
EndSection
tämä kuitenkin tuottaa seuraavaa;
Koodia: [Valitse]
cat /var/log/Xorg.0.log |grep EE
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) VESA: Kernel modesetting driver in use, refusing to load

sitten kun yrittää vaihtaa geforcen kohalta vesa -> nv niin x heittää jottain ihmeen segmentation faulttia eikä käynnisty ollenkaan.

http://pastebin.org/271571

mikä neuvoksi? sitä ihmettelen että miksi ei edes tuo geneerinen vesa-ajuri suostu näyttämään mitään kuvaa ruudulla.