Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2007-11-10 14:08:09

  maciekt - Użytkownik

maciekt
Użytkownik
Zarejestrowany: 2007-11-09

Xinerama - problemy z drugim monitorem

Witam wszystkich.

Ostatnio chciałem się troszkę pobawić wyjściem VGA w moim laptopie (dane w podpisie).
Udało mi się uzyskać klonowanie (na podstawie znalezionych materiałów) i realizuję to w taki sposób:

Kod:

Section "Device"
    Identifier    "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
    Driver        "i810"
    BusID        "PCI:0:2:0"
    Option        "MonitorLayout"        "CRT,LFP"
    Option        "Clone"            "true"
EndSection

Chciałem jednak wykorzystać xineramę przede wszystkim dla tego, żeby na drugim ekranie uzyskać inną rozdzielczość. Korzystając z materiałów ze stron: [url]http://eko.one.pl/index.php?page=Xinerama[/url] [url]http://tldp.org/HOWTO/Xinerama-HOWTO/index.html[/url] i [url]http://wiki.linuxquestions.org/wiki/Using_multiple_monitors_with_XFree86[/url] udało mi się uzyskać taką konfigurację:
Fragmet mojego xorg.conf

Kod:

Section "Device"
    Identifier    "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
    Driver        "i810"
    BusID        "PCI:0:2:0"
    Screen        0
EndSection

Section "Device"
    Identifier    "Intel2 Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
    Driver        "i810"
    BusID        "PCI:0:2:1"
    Screen        1
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    Option        "DPMS"
EndSection

Section "Monitor"
    Identifier    "Wyjscie VGA"
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection "Display"
        Depth        1
        Modes        "1280x800"
    EndSubSection
    SubSection "Display"
        Depth        4
        Modes        "1280x800"
    EndSubSection
    SubSection "Display"
        Depth        8
        Modes        "1280x800"
    EndSubSection
    SubSection "Display"
        Depth        15
        Modes        "1280x800"
    EndSubSection
    SubSection "Display"
        Depth        16
        Modes        "1280x800"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1280x800"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Rzutnik"
    Device        "Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
    Monitor        "Wyjscie VGA"
    DefaultDepth    24
    SubSection "Display"
        Depth        24
        Modes        "1024x768"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        0    "Default Screen"
    Screen        1    "Rzutnik" LeftOf "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "Synaptics Touchpad"
EndSection

Problem w tym, że to nie działa, tzn x-server się odpala, ale nie pokazuje nic na wyjąciu vga.
Jak sobie z tym poradzić ew. jak uzyskać inną rodzielczość na wyjściu vga w inny sposób?


Home machine: Debian 4.0r1 (Etch), kernel: 2.6.18-5-686
Hardware: FSC Amilo Pro V3405; Interl Core 2 Duo 1,6 GHz; 1024 MB RAM;
VGA: Intel Mobile 945GM/GMS/940GML Express
WiFi: Intel PRO/Wireless 3945ABG

Offline

 

#2  2007-12-22 15:51:46

  ukasz - Użytkownik

ukasz
Użytkownik
Skąd: wroclaw
Zarejestrowany: 2006-06-21

Re: Xinerama - problemy z drugim monitorem

udalo mi sie zrobic zeby byla wieksza rozdzialka na 2 monitorze. ake chce zeby byl klonowany obraz.
ja mam cos takiego:

Kod:

# xorg.conf (xorg 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 xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "pl"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device"        "/dev/input/mice"
    Option        "Protocol"        "ImPS/2"
    Option        "Emulate3Buttons"    "true"
EndSection

Section "InputDevice"
    Identifier    "Synaptics Touchpad"
    Driver        "synaptics"
    Option        "SendCoreEvents"    "true"
    Option        "Device"        "/dev/psaux"
    Option        "Protocol"        "auto-dev"
    Option        "HorizScrollDelta"    "0"
EndSection

Section "Module"
    Load    "i2c"
    Load    "bitmap"
    Load    "ddc"
    Load    "freetype"
    Load    "int10"
    Load    "type1"
    Load    "vbe"
    Load    "dri"
    Load    "extmod"
    Load    "glx"
    Load    "GLcore"
EndSection

Section "Device"
    Identifier    "0 ATI Technologies Inc Radeon Mobility M6 LY"
    Driver        "radeon"
    BusID        "PCI:1:0:0"
    Option        "AGPMode" "4"
    Option        "AGPFastWrite" "on" #Faster than default (off)
    Option        "SWcursor" "off" #Faster than default (on)
    Option        "EnablePageFlip" "on" #Faster than default (off)
    Option        "DynamicClocks" "on"
    Option        "BIOSHotkeys"   "on"
    Option        "AGPSize" "32" # default: 8
    Option        "EnableDepthMoves" "true"
    Option         "MonitorLayout" "LVDS, CRT"
    Screen        0
    #Option "Clone" "true"
EndSection

Section "Device"
    Identifier    "1 ATI Technologies Inc Radeon Mobility M6 LY"
    Driver        "radeon"
    BusID        "PCI:1:0:0"
    Option        "AGPMode" "4"
    Option        "AGPFastWrite" "on" #Faster than default (off)
    Option        "SWcursor" "off" #Faster than default (on)
    Option        "EnablePageFlip" "on" #Faster than default (off)
    Option        "DynamicClocks" "on"
    Option        "BIOSHotkeys"   "on"
    Option        "AGPSize" "32" # default: 8
    Option        "EnableDepthMoves" "true"
    #Option         "MonitorLayout" "LVDS, CRT"
    Screen         1
EndSection

Section "Monitor"
    Identifier    "Main Monitor"
    Option        "DPMS"
    HorizSync    28-33 
    VertRefresh    43-72
EndSection

Section "Monitor"
    Identifier    "Second Monitor"
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier    "Main Screen"
    Device        "0 ATI Technologies Inc Radeon Mobility M6 LY"
    Monitor        "Main Monitor"
    DefaultDepth    24
    SubSection "Display"
        Modes        "1280x1024" "1024x768"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Second Screen"
    Device        "1 ATI Technologies Inc Radeon Mobility M6 LY"
    Monitor        "Second Monitor"
    DefaultDepth    24
    SubSection "Display"
        Modes        "1280x1024" "1024x768"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen           0   "Main Screen" 
        Screen           1   "Second Screen" LeftOf "Main Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "Synaptics Touchpad"
    Option "Xinerama" "off"
EndSection

mam przycisk w lapsie crt/lcd ktory dziala. ale niestety nie moge zrobic tak zebym mial ten sam obraz na obu ekranach  tym ze na lcdku biurkowym zeby byla wieksza rozdzialka nawet jak przelacze zeby tylko byl aktywny lcd biurkowy.

Ostatnio edytowany przez ukasz (2007-12-22 16:50:22)


[img]http://wiblo.pl/wilk/userbars/debian_user_black.png[/img]

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.007 seconds, 9 queries executed ]

Informacje debugowania

Time (s) Query
0.00010 SET CHARSET latin2
0.00004 SET NAMES latin2
0.00104 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.133.110.138' WHERE u.id=1
0.00068 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.133.110.138', 1720454610)
0.00038 SELECT * FROM punbb_online WHERE logged<1720454310
0.00045 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=9662 AND t.moved_to IS NULL
0.00006 SELECT search_for, replace_with FROM punbb_censoring
0.00156 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=9662 ORDER BY p.id LIMIT 0,25
0.00115 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=9662
Total query time: 0.00546 s