On 4/13/05, Martijn Ras <[EMAIL PROTECTED]> wrote:
> I didn't get core files, i'll try and get as much information on the
> event tomorrow.
>
> Does this setup require changes to xdm and the .blackboxrc files or is a
> correct xorg.conf all that's needed?

I've used two dual setups: a Matrox Millenium G400 dual card, and two
seperate cards. I never used or wanted Xinerama as my monitors were
different sizes. As I recall, blackbox didn't need to be told anything
except that I specified the DISPLAY value when launching apps from
.xsession. Blackbox & bbkeys knew which monitor was active by the
mouse pointer. Each screen had its own bbpager. The one thing you
couldn't do was drag a window from one screen to the other.

Here's how I'd start troubleshooting:

1. Check your X error log just in case it shows something useful. I
went through a lot of stuff to get xine working with my Matrox card,
but the dual setup was never an issue.
2. Temporarily use a minimal .xinitrc (or .xsession, etc) that only
starts blackbox, then work up.

Here's a sample XF86Config from X Free 4.x, and a sample .xsession

--start of XF86Config--
Section "ServerLayout"
       Identifier     "Matrox PowerDesk configured."
       Screen         "Display 0"
       Screen         "Display 1" LeftOf "Display 0"
       InputDevice    "Keyboard"
       InputDevice    "Configured Mouse"
#       InputDevice    "USB Mouse"
EndSection

Section "Files"
       FontPath        "unix/:7110"
       FontPath        "/usr/lib/X11/fonts/misc"
       FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
       FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
       FontPath        "/usr/lib/X11/fonts/TrueType"
       FontPath        "/usr/lib/X11/fonts/Type1"
       ModulePath      "/usr/local/X11/matrox/"
       ModulePath      "/usr/X11R6/lib/modules/"
EndSection

Section "Module"
       Load  "ddc"
       Load  "GLcore"
       Load  "dbe"
       Load  "dri"
       Load  "extmod"
       Load  "glx"
       Load  "pex5"
       Load  "record"
       Load  "xie"
       Load  "bitmap"
       Load  "freetype"
       Load  "speedo"
       Load  "type1"
       Load  "vbe"
       Load  "int10"
EndSection

#Section "ServerFlags"
#       Option "Xinerama"
#EndSection

Section "InputDevice"
       Identifier  "Keyboard"
       Driver      "keyboard"
       Option      "CoreKeyboard"
       Option      "XkbRules" "xfree86"
       Option      "XkbModel" "pc104"
       Option      "XkbLayout" "us"
       Option      "XkbOptions" "altwin:meta_win"
EndSection

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

#Section "InputDevice"
#       Identifier  "USB Mouse"
#       Driver      "mouse"
##      Option      "CorePointer"
#       Option      "Device" "/dev/usbmouse"
#       Option      "Protocol" "auto"
#       Option      "ZAxisMapping" "4 5"
EndSection

#Section "InputDevice"
#       Identifier  "USB Mouse"
#       Driver      "mouse"
##      Option      "CorePointer"
#       Option      "Device" "/dev/usbmouse"
#       Option      "Protocol" "auto"
#       Option      "ZAxisMapping" "4 5"
#EndSection

Section "Monitor"
       Identifier   "Monitor 0"
       HorizSync    30.0 - 70.0
       VertRefresh  50.0 - 120.0
       Option       "DPMS"
EndSection

Section "Monitor"
       Identifier   "Monitor 1"
       HorizSync    30.0 - 64.0
       VertRefresh  50.0 - 100.0
EndSection

Section "Device"
       Identifier  "MATROX CARD 0"
       Driver      "mga"
       BusID       "PCI:1:0:0"
       Screen      0
#       Option      "UseFBDev"
EndSection

Section "Device"
       Identifier  "MATROX CARD 1"
       Driver      "mga"
       BusID       "PCI:1:0:0"
       Screen      1
#       Option      "UseFBDev"
EndSection

Section "Screen"
       Identifier "Display 0"
       Device     "MATROX CARD 0"
       Monitor    "Monitor 0"
       DefaultDepth     16
       SubSection "Display"
               Depth     1
               Modes    "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth     4
               Modes    "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth     8
               Modes    "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth     15
               Modes    "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth     16
               Modes    "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
       SubSection "Display"
               Depth     24
               Modes    "1152x864" "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

Section "Screen"
       Identifier "Display 1"
       Device     "MATROX CARD 1"
       Monitor    "Monitor 1"
       DefaultDepth     16
       SubSection "Display"
               Depth     16
               Modes    "1024x768" "640x480"
       EndSubSection
       SubSection "Display"
               Depth     8
               Modes    "1024x768" "640x480"
       EndSubSection
       SubSection "Display"
               Depth     24
               Modes    "1024x768" "640x480"
       EndSubSection
EndSection

Section "DRI"
       Mode         0666
EndSection
--end of XF86Config--

--start of ~/.xsession--
#/bin/sh
./.bbstartup &
/usr/bin/blackbox
--end of ~/.xsession--

--start of ~/.bbstartup-- (this stuff could have been in .xsession, I guess)
#/bin/sh

#/display :0.0 MicroScan
DISPLAY=:0.1; bbkeys -i & sleep 2
DISPLAY=:0.1; bbpager -s -w &  sleep 2

#/display :0.1 ArtMedia
DISPLAY=:0.0; bbkeys -i & sleep 2
DISPLAY=:0.0; bbpal -p rathead -w -s &  sleep 2
DISPLAY=:0.0; bbtime -w & sleep 2
DISPLAY=:0.0; bbpager -s -w &  sleep 2
DISPLAY=:0.0; bbpal -p debian -w -s &  sleep 2
DISPLAY=:0.1; wmmixer -w &  sleep 2
DISPLAY=:0.1; wmcdplay -w -s  & sleep 2
DISPLAY=:0.1; wmxmms & sleep 2
DISPLAY=:0.0; gkrellm -w & sleep 2
--end of ~/.bbstartup--

HTH, Paul
--
[EMAIL PROTECTED]

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html

Reply via email to