Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-12-2002, 12:36 PM
|
#1
|
LQ Newbie
Registered: Nov 2002
Posts: 18
Rep:
|
Poor video performance after dual monitor setup?
Hi, Im a bit of a Linux newbie, just got up and running with Red Hat 8.0.
I've been a dual screen user in Windows for quite some time, using a 17 " @ 1280 x 1024 and a 14" @ 1024 x 768, running on a dual head 64 meg Radeon VE graphics card...
Prior to me setting up Xinerama so I can have my dual monitors in Linux, I had adequate video performance, which I checked by running tux racer - it was running in all its 3d glory with a decent framerate. However, now I've got my dual setup all running, performance has dropped drastically - If I run Tux Racer now, I only get like 1 or 2 fps, as if 3d acceleration isnt working now? Anyone got any experience with this before or a suggestion for a fix? Any help would be great, so thanks in advance.
Regards
Wilb.
|
|
|
11-12-2002, 12:37 PM
|
#2
|
LQ Newbie
Registered: Nov 2002
Posts: 18
Original Poster
Rep:
|
*oops* double post.
Last edited by Wilb; 11-12-2002 at 12:40 PM.
|
|
|
11-12-2002, 12:39 PM
|
#3
|
LQ Newbie
Registered: Nov 2002
Posts: 18
Original Poster
Rep:
|
Gah, triple post!
Last edited by Wilb; 11-12-2002 at 01:33 PM.
|
|
|
11-12-2002, 12:44 PM
|
#4
|
Member
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453
Rep:
|
For some, maybe all, ATI video cards OpenGL does not work when you are using Xinerama. That is probably what you are experiencing.
|
|
|
11-12-2002, 01:07 PM
|
#5
|
LQ Newbie
Registered: Nov 2002
Posts: 18
Original Poster
Rep:
|
Just thought I'd include my XF86Config in case it helps...
# File generated by anaconda.
Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
EndSection
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
Section "InputDevice"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "gb" #Option "XkbVariant" ""
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "C
|
|
|
11-12-2002, 01:34 PM
|
#6
|
LQ Newbie
Registered: Nov 2002
Posts: 18
Original Poster
Rep:
|
And if OpenGL dont work with Xinerama enabled, that probably explains it then. Bit if a shame really - oh well
Cheers for the quick response!
|
|
|
11-12-2002, 02:56 PM
|
#7
|
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
|
Well can't you just take Xinerama off and run dualscreen anyway. Your mouse will be able to page over from screen to screen but you will not be able to drag windows over from screen to screen.
-NSKL
|
|
|
11-12-2002, 03:47 PM
|
#8
|
LQ Newbie
Registered: Nov 2002
Posts: 18
Original Poster
Rep:
|
Hmm, using Dual Screen without Xinerama is confusing me... Just edited out the Xinerama comment in my XF86Config and restarted, and I get Gnome on my primary display, but my secondary display is just a black screen with an X pointer on it when I take my mouse accross... Is it possible to have 2 screens worth of Gnome in a similar vein to how Ive got it now using Xinerama / How I had it in XP without actually using Xinerama? I just assumed I needed Xinerama to have dual screens ya see... I can live with not being able to drag between screens - how would I actually go about getting windows from one screen to another without dragging though? A bit confused thats all, any help appreciated 
|
|
|
11-13-2002, 09:54 AM
|
#9
|
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
|
To get GNOME on both screens without Xinerama you have to start it for the second screen (I hope you have a fast comp to run two GNOME sessions!) I dont remember the exact command for starting gnome on the second screen, check man startx
HTH
-NSKL
|
|
|
11-13-2002, 10:02 AM
|
#10
|
LQ Newbie
Registered: Nov 2002
Posts: 18
Original Poster
Rep:
|
OK, I think thats helpful... Am at work at the minute so cant check it, but Im assuming Im having 2 seperate GNOME processes running, which I imagine will be resource hungry... Running an Athlon 1.1 Ghz with 256 meg so it should work OK, but it seems its not be the ideal solution... Suppose its either this or Xinerama though, and Ill have to decide whats best for me... Shame I cant just assign one of my 4 virtual desktops to the second screen, but hey ho...
Thanks,
Wilb
|
|
|
11-13-2002, 06:10 PM
|
#11
|
LQ Guru
Registered: Aug 2001
Location: London, UK
Distribution: Slackware
Posts: 5,700
Rep:
|
Yeah, xinerama disables DRI, which is what makes any flavor of OpenGL possible. Apparently there are a bunch of dual head freaks out there running xinerama under old 3.3.x based XFrees that don't have this problem. Its in the works to go away sometime, not soon.
Cheers,
Finegan
|
|
|
11-13-2002, 06:25 PM
|
#12
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
Quote:
Originally posted by Wilb
Just thought I'd include my XF86Config in case it helps...
# File generated by anaconda.
Section "ServerLayout"
Identifier "Anaconda Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
EndSection
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
Section "InputDevice"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "gb" #Option "XkbVariant" ""
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "C
|
Where is screen0 and Screen1 defined here?
Shouldn't there be a:
Section "Screen"
Identifier "Screen0"
Device ATI Radeon
Monitor "Monitor0"
DefaultDepth 24
EndSection
Maybe you just didn't post it.
Bert
|
|
|
11-14-2002, 02:08 AM
|
#13
|
LQ Newbie
Registered: Nov 2002
Posts: 18
Original Poster
Rep:
|
Ooops yeah, it seems the post got cut off half way through... Ive got my Screen definitions, Ill post my config again later when I get into RedHat...
|
|
|
11-14-2002, 09:29 AM
|
#14
|
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
|
Also search the forum because i know Acid_kewpie posted a copy of his XF86Config file together with commands on how to start the second screen without using xinerama, i'm sure he will be able to easily fix all your problems. As for me, i have dualhead with OpenGL working, but i use Nvidia's TwinView drivers, and they enable this..
So you might consider getting a nvidia dualhead card, ther are not very exopensive and work great.
HTH
-NSKL
|
|
|
11-14-2002, 09:37 AM
|
#15
|
LQ Newbie
Registered: Nov 2002
Posts: 18
Original Poster
Rep:
|
Aye, Ive already had a search of the forum, and cried a few times after seeing peeps with NVidia and TwinView installed and running perfectly... Didnt really see anything about starting the 2nd screen without using Xinerama, but Ill have a search again.
Thanks muchly 
|
|
|
All times are GMT -5. The time now is 03:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|