Unix Technical Forum

Slack 10 and Xinerama

This is a discussion on Slack 10 and Xinerama within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> On Wed, 01 Sep 2004 01:21:28 +0000, Rich Grise wrote: > Here's my xorg.conf. I have an nvidia and ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-19-2008, 03:11 PM
zinc
 
Posts: n/a
Default Re: Slack 10 and Xinerama

On Wed, 01 Sep 2004 01:21:28 +0000, Rich Grise wrote:

> Here's my xorg.conf. I have an nvidia and a matrox, but it's fairly
> well-defined what section is which.
>
> This got made by something like Xorg -configure. It's all in the docs.
> But since you seem to be trying, and it was so flippin easy for me,
> drum roll please ...
> ---
>
> Hope this Helps!
> Rich


Thats super Rich, thanx for sharing, i'll take a close look as it looks
like ive got some tweaking to do, will also try the xorg -configure.

Failing that i might buy a cheap pci Nvidia card and put in my old nvidia
agp and try that setup instead of the matrox, i can only get DRI on one
display right now :/

Thanx again

zinc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 02-19-2008, 03:11 PM
Patryk
 
Posts: n/a
Default Re: Slack 10 and Xinerama

zinc wrote:

> On Mon, 30 Aug 2004 19:24:17 +0200, patryk wrote:
>
>> I have matrox g450 and thre is matrox powerdesk to confugure it in linux
>> it's a nice program but the instalation is a liitle bit compilcated
>>
>> Patryk

>
> Hi Patryk,
>
> I have a g450 and have xinerama working fairly nice, however i had trouble
> with power desk under Slack and also the install scripts for the matrox
> drivers, both bombed. Did you have these troubles?

I didn't use the scripts because the are for Xfree 4.3,
I use matrox drivers 3.0 from www.matrox.com
Unzip the drivers and copy the modules from XFree4.3 directory
to /usr/X11/lib/modules/drivers
copying just mga_hal should be enough, you need it to run powerdesk

The same is with powerdesk,, there are problems with compiling it so
download rpm and unpack it (mc has this feture), then simply run powerdesk
If it crashes you propably dont't have mga_hal loaded

> Also, i would really appreciate seeing your xorg.conf especially if youve
> had any success in using the dual setup without xinerama where only the
> mouse travels between displays??

no i only used Xinerma,
what do you exactly mean without xinerama


This is my xorg.conf its generated by powerdesk
but i don't use it now beacuse dualhead disabled DRI

Section "ServerLayout"
Identifier "Matrox PowerDesk configured."
Screen "Display 1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/TTF"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/X11R6/lib/X11/fonts"
FontPath "/usr/share/fonts/default"
EndSection

Section "Module"
Load "dbe"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "speedo"
Load "freetype"
Load "glx"
Load "dri"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "pl"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier "Display 1"
HorizSync 31.5 - 82.0
VertRefresh 50.0 - 100.0
EndSection

Section "Monitor"
Identifier "Display 2"
HorizSync 31.5 - 82.0
VertRefresh 50.0 - 100.0
EndSection

Section "Device"
Identifier "MATROX CARD 1"
Driver "mga"
ChipSet "mgag400"
ChipRev 0x80
VendorName "Unknown"
BoardName "Unknown"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "MATROX CARD 2"
Driver "mga"
ChipSet "mgag400"
VideoRam 32768
ChipRev 0x80
BusID "PCI:1:0:0"
Screen 1
EndSection

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

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


--
Patryk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 02-19-2008, 03:11 PM
zinc
 
Posts: n/a
Default Re: Slack 10 and Xinerama

On Wed, 01 Sep 2004 23:02:09 +0200, Patryk wrote:

> I didn't use the scripts because the are for Xfree 4.3,
> I use matrox drivers 3.0 from www.matrox.com
> Unzip the drivers and copy the modules from XFree4.3 directory
> to /usr/X11/lib/modules/drivers
> copying just mga_hal should be enough, you need it to run powerdesk
>
> The same is with powerdesk,, there are problems with compiling it so
> download rpm and unpack it (mc has this feture), then simply run powerdesk
> If it crashes you propably dont't have mga_hal loaded


Okay, thanx for the run thru. I'll try that out very soon

> no i only used Xinerma,
> what do you exactly mean without xinerama


Theres two dualhead configurations you can have, with xinerama enabled it
allows you to drag windows (progs) between the two displays, with it
disabled you can still have dualhead but only the mouse can traverse the
two desktops.
In this config you simply start whatever program on whichever display you
like , but you can't drag them between displays.

Ive tried a few configs to get this to work but ony end up with the funky
X mouse pointer on the second display. Mandrake can make this config out
of the box and it works nicely, if i try to reuse the generated xorg.conf
from mandrake it doesnt play nice with slack; although i'm now starting to
suspect my WM (openbox) is the cause of the problem.

Do you have to compile openbox with xinermama support , i didn't note any
switches in the readme and documentation on their website for dualhead
config is little to none :/

> This is my xorg.conf its generated by powerdesk
> but i don't use it now beacuse dualhead disabled DRI


Yup same problem here, but i heard DRi can work in the non-xinerama mode
as describe above..
I can deal with not dragging progs between displays, i rarely do it
anyway, i have my desktops nicely laid out with specific progs starting on
each display so would only need the mouse to move between them to
carry out my work and if DRI is enabled on both displays it would be a
bonus.
It also puts pay to the annoying problem of firefox dialogues
popping up between the displays rather than in the center of display :0 or
whatever

Thanx for your config i will take a good look and
see if i can improve my setup.

Your help has been appreciated - Thankyou

zinc

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-19-2008, 03:11 PM
Patryk
 
Posts: n/a
Default Re: Slack 10 and Xinerama

zinc wrote:

> On Wed, 01 Sep 2004 23:02:09 +0200, Patryk wrote:


> Ive tried a few configs to get this to work but ony end up with the funky
> X mouse pointer on the second display. Mandrake can make this config out
> of the box and it works nicely, if i try to reuse the generated xorg.conf
> from mandrake it doesnt play nice with slack; although i'm now starting to
> suspect my WM (openbox) is the cause of the problem.

In Mandrake, do you also use openbox there?
I think WM is the problem, some don't manage with 2 displays.

> Do you have to compile openbox with xinermama support , i didn't note any
> switches in the readme and documentation on their website for dualhead
> config is little to none :/

The WM must support Xinerama or 2 screens.
I use KDE it has nice Xinerama support.
I like transparent menus and consoles too much ;-) and i have atlhlon 2500.

> It also puts pay to the annoying problem of firefox dialogues
> popping up between the displays rather than in the center of display :0 or
> whatever

I think it's related to WM rather than Xorg, you have to work on your WM
config.

Did you try TV out ? I can only make it to work on console framebuffer.

--
Patryk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 02-19-2008, 03:12 PM
Rich Grise
 
Posts: n/a
Default Re: Slack 10 and Xinerama

zinc wrote:

> I can deal with not dragging progs between displays, i rarely do it
> anyway, i have my desktops nicely laid out with specific progs starting on
> each display so would only need the mouse to move between them to
> carry out my work and if DRI is enabled on both displays it would be a
> bonus.
> It also puts pay to the annoying problem of firefox dialogues
> popping up between the displays rather than in the center of display :0 or
> whatever
>

FWIW, I've done this with fvwm2, but I prefer with xinerama, so I've gone
with it, and I've finally got KDE almost the way I like it. :-)

Cheers!
Rich

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com