Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
One ATI Radeon, Dual Monitor? Help!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Durwood
n00b
n00b


Joined: 26 Aug 2002
Posts: 38

PostPosted: Sun Apr 13, 2003 6:47 pm    Post subject: Reply with quote

I've got the ATI 9000, but can't get Xinerama to work, second monitor OK until KDM starts, then dead.
main monitor BusID 1:0:0, XF86log say unknown device at 1:0:1.

Anyone with working 9000, please post XF86Config file ?
Back to top
View user's profile Send private message
chatgris
Guru
Guru


Joined: 14 Oct 2002
Posts: 383
Location: Canada

PostPosted: Mon Apr 14, 2003 8:10 am    Post subject: Reply with quote

Is it a dual head card? on my ATI 7500 this is how I've set up my device section.

Code:
Section "Device"
    Identifier  "ATI Radeon 7500 0"
    Driver      "radeon"
    BusID       "PCI:1:0:0"
    Screen 0
    #VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection


Section "Device"
    Identifier  "ATI Radeon 7500 1"
    Driver      "radeon"
    BusID       "PCI:1:0:0"
    Screen 1
    #VideoRam    65536
    # Insert Clocks lines here if appropriate
EndSection


Same bus ID.
_________________
Open your mind. Open your source.

Due credit for avatar from http://www.aikida.net
Back to top
View user's profile Send private message
Durwood
n00b
n00b


Joined: 26 Aug 2002
Posts: 38

PostPosted: Tue Apr 15, 2003 1:48 am    Post subject: Reply with quote

Just wondering if anyone has any luck with the 9000. VGA port works great, BusID 1:0:0. The DVI, with VGA adaptor works during boot, mirroring the VGA port, until KDM starts (then blank).
I've tried 1:0:0 and 1:0:1 in XF86Config, no go. Even tried the ati-drivers, no go.
XF86log reports 9000 on 1:0:0 and unknown video adaptor at 1:0:1 (the same card.
Anyone with luck ?
Back to top
View user's profile Send private message
Scott Price
n00b
n00b


Joined: 07 Feb 2003
Posts: 44
Location: Hopkins, MN

PostPosted: Fri Apr 18, 2003 2:49 pm    Post subject: Radeon 9000 Reply with quote

Mine worked fine in X 4.2.1, but doesn't work with X 4.3.0. xdm works fine, but after it starts X, if I move my cursor to the second monitor the first monitor gets shut off by DPMS, and will not come back on until I kill X and start again.

I just ignored that error on BusID 1:0:1. I couldn't figure out how to make that BusID work with anything. It works fine using Screen 0 and Screen 1 on BusID 1:0:0.

My configuration:

Athlon 1700+
Gentoo Unstable
Radeon 9000 Pro 64MB
Viewsonic G810 (1600x1200)
Viewsonic A90F (1600x1200)
WindowMaker

Scott =)

[EDIT] Try disabling the hardware cursor. I just did that and it works fine now.
Back to top
View user's profile Send private message
Durwood
n00b
n00b


Joined: 26 Aug 2002
Posts: 38

PostPosted: Sat Apr 19, 2003 12:16 am    Post subject: Reply with quote

Could you post your XF86Config ?
Back to top
View user's profile Send private message
Scott Price
n00b
n00b


Joined: 07 Feb 2003
Posts: 44
Location: Hopkins, MN

PostPosted: Mon Apr 21, 2003 8:48 pm    Post subject: Here it is... Reply with quote

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
Option "CloneDisplay" "off"
EndSection


Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/sharefont/"
FontPath "/usr/X11R6/lib/X11/fonts/truetype/"
FontPath "/usr/X11R6/lib/X11/fonts/lpf-var/"
FontPath "/usr/X11R6/lib/X11/fonts/lpf-fix/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/OTF/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
EndSection

Section "Module"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "speedo"
Load "type1"
Load "freetype"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
#DisplaySize 410 300 # mm
Identifier "Monitor0"
VendorName "VSC"
ModelName "G810-5"
Option "DPMS"
HorizSync 30-97
VertRefresh 50-180
EndSection

#Section "Monitor"
# Identifier "Monitor2"
# VendorName "VSC"
# ModelName "E771"
# HorizSync 30-70
# VertRefresh 50-120
#EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "VSC"
Option "DPMS"
ModelName "A90f"
HorizSync 30-80
VertRefresh 50-150
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "ForcePCIMode" # [<bool>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
Option "AGPMode" "4" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "PanelOff" # [<bool>]
#Option "DDCMode" # [<bool>]
Option "CloneDisplay" "0" # <i>
#Option "CloneMode" # [<str>]
#Option "CloneHSync" # [<str>]
#Option "CloneVRefresh" # [<str>]
#Option "UseFBDev" # [<bool>]
#Option "VideoKey" # <i>
Option "DPMS"
Identifier "Card0"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "Radeon R250 If [Radeon 9000]"
BusID "PCI:1:0:0"
Screen 0
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "ForcePCIMode" # [<bool>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
Option "AGPMode" "4" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "PanelOff" # [<bool>]
#Option "DDCMode" # [<bool>]
Option "CloneDisplay" "0" # <i>
#Option "CloneMode" # [<str>]
#Option "CloneHSync" # [<str>]
#Option "CloneVRefresh" # [<str>]
#Option "UseFBDev" # [<bool>]
#Option "VideoKey" # <i>
Option "DPMS"
Identifier "Card1"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "Radeon R250 If [Radeon 9000]"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "Dac6Bit" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "ForcePCIMode" # [<bool>]
#Option "CPPIOMode" # [<bool>]
#Option "CPusecTimeout" # <i>
Option "AGPMode" "4" # <i>
#Option "AGPFastWrite" # [<bool>]
#Option "AGPSize" # <i>
#Option "RingSize" # <i>
#Option "BufferSize" # <i>
#Option "EnableDepthMoves" # [<bool>]
#Option "EnablePageFlip" # [<bool>]
#Option "NoBackBuffer" # [<bool>]
#Option "PanelOff" # [<bool>]
#Option "DDCMode" # [<bool>]
#Option "CloneDisplay" # <i>
#Option "CloneMode" # [<str>]
#Option "CloneHSync" # [<str>]
#Option "CloneVRefresh" # [<str>]
#Option "UseFBDev" # [<bool>]
#Option "VideoKey" # <i>
Identifier "Card2"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "Radeon R250 [Radeon 9000] Secondary"
BusID "PCI:1:0:1"
# Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 1
EndSubSection
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 4
EndSubSection
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 8
EndSubSection
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 15
EndSubSection
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 16
EndSubSection
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device "Card1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 1
EndSubSection
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 4
EndSubSection
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 8
EndSubSection
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 15
EndSubSection
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 16
EndSubSection
SubSection "Display"
Modes "1600x1200" "1280x1024"
Depth 24
EndSubSection
EndSection


Section "DRI"
Mode 0666
EndSection
Back to top
View user's profile Send private message
Durwood
n00b
n00b


Joined: 26 Aug 2002
Posts: 38

PostPosted: Mon Apr 21, 2003 8:56 pm    Post subject: Reply with quote

Thanks.

Option clonedisplay off <-- I missed that, now works !!
Back to top
View user's profile Send private message
Ian
l33t
l33t


Joined: 28 Oct 2002
Posts: 834
Location: Somerville, MA

PostPosted: Tue Apr 29, 2003 10:00 pm    Post subject: Reply with quote

following the suggestions here, i manged to make Xinerama work, except for one thing. the kicker resides in the wrong monitor. i've also noticed that the monitor i want to be the primary one isn't, and the one that is the primary one, should be the secondary. i have no idea how to fix this, and i'm looking for help.

basically, i want monitor0 to be primary, and monitor1 to be secondary, but X isn't listening to me...
Back to top
View user's profile Send private message
Tze_Black_Wizard
n00b
n00b


Joined: 10 Jan 2003
Posts: 18

PostPosted: Sat May 17, 2003 12:49 am    Post subject: Is it possibe somehow to still have DRI enabled w/ dual-head Reply with quote

Hi, I have an ati mobility 7500 in my laptop and I got it working in dual-head with xinerama and it works great (much better than dual-head in windows I might add).

The problem is that with only one monitor, DRI is enabled and I get like 1200fps with glxgears, but in dual-head mode with xinerama, I get like 30fps and it only works on my first display (screen 0).

I was wondering if someone would know how to get DRI working when you use Xinerama or dual-head.

Tze_Black_Wizard
_________________
Tze_Black_Wizard
---------------------
If I could I'd install Gentoo Linux on my toaster!
Back to top
View user's profile Send private message
robsh
n00b
n00b


Joined: 14 May 2003
Posts: 19
Location: NYC

PostPosted: Tue May 27, 2003 3:12 am    Post subject: reference for non-xinerama dual head with radeon 7000/ve Reply with quote

for reference, here is my functioning config (non-xinerama, cuz i like it better that way):

relevant lspci output:

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]

XF86Config:

##### start #####

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "speedo"
Load "freetype"
Load "glx"
Load "dri"
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/TrueType/"
FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "ServerFlags"

EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "dell101"
Option "XkbLayout" "us"
EndSection

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

Section "Monitor"
Identifier "VS VA520"
HorizSync 31.0 - 60.0
VertRefresh 56.0-75.0
EndSection

Section "Monitor"
Identifier "NEC 1530V"
HorizSync 31.0 - 60.0
VertRefresh 56.0-75.0
EndSection

Section "Device"
Identifier "ATI Radeon 7000 VE0"
Driver "radeon"
Screen 0
BusID "PCI:1:0:0"
#VideoRam 32768
EndSection

Section "Device"
Identifier "ATI Radeon 7000 VE1"
Driver "radeon"
Screen 1
BusID "PCI:1:0:0"
#VideoRam 32768
EndSection

Section "Screen"
Identifier "Screen 0"
Device "ATI Radeon 7000 VE0"
Monitor "VS VA520"
Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
DefaultDepth 24
EndSection

Section "Screen"
Identifier "Screen 1"
Device "ATI Radeon 7000 VE1"
Monitor "NEC 1530V"
Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
DefaultDepth 24
EndSection

Section "ServerLayout"
Identifier "Dual Head Layout"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
Screen "Screen 0"
Screen "Screen 1" Rightof "Screen 0"
EndSection

Section "DRI"
Mode 0666
EndSection

##### end #####

notes:

i have 2 LCD monitors (1024x768) - a viewsonic va520 and an nec 1530v.
i have a scrolling usb optical mouse.
direct rendering is not working...not sure why yet.
Back to top
View user's profile Send private message
marvlush
n00b
n00b


Joined: 18 Apr 2003
Posts: 7

PostPosted: Tue May 27, 2003 4:27 am    Post subject: No Xinerama with DRI Reply with quote

Something to note for those of you trying to use Xinerama with the ATI drivers:

I have a Radeon 9500 PRO, and I am using ATI's drivers (ie: i emerged ati-drivers). I have dual heads working fine (w/o Xinerama) but when I try to enable Xinerama, no dice.

At first, like some of you it hought it was the "device not found at PCI etc, etc, etc" thingy in the Xfree86 log file, but then I realized that cant be the cause because i get the same error in the log file with Xinerama off (and X working perfectly). With Xinerama on, the screen goes blank and will not recover. WHY??? Inspection of the very last lines of the XFree86 log file tells us why:

Code:

(WW) fglrx(0): Direct rendering is not supported when Xinerama is enabled
(EE) fglrx(0): DRIScreenInit failed!
(WW) fglrx(0): DRI initialization failed!


so it seems ATI's drivers dont support DRI w/ Xinerama enabled. DOH!!!!
Just in case some of you were looking for the reason you cant get Xinerama on ATI drivers.

cheers.
m
Back to top
View user's profile Send private message
Tze_Black_Wizard
n00b
n00b


Joined: 10 Jan 2003
Posts: 18

PostPosted: Tue May 27, 2003 9:20 pm    Post subject: RE: dual-head / DRI Problem Reply with quote

Hey, thanks for the info!

Here's what I have found. If you disable Xinerama (this is the key) and then in order to get some sort of dual-head support use Openbox as a window manager in tandem with kde, it's supposed to work fine.

Here's how to do it. First "emerge openbox" (a no brainer). Find the script "startkde" (located in /usr/kde/3.1/bin) Then, near the bottom of the script is a call to "kwrapper ksmserver". Simply add "--windowmanager openbox" to the command, and KDE 3 will run Openbox instead of KWin. Openbox is supposed to have support for dual-head so that the windows get place properly. At least that's what I read. I have tried with only one screen and it works fine and kde is a bit more snappy too. This could be a good tweak for not so fast machine!

I guess I'll try to do dual-head now that I've done that mod and I will post my result. I am willing to sacrifice a bit of usability in order to get DRI working at all times, cause you need it for example in order to play DVD's with mplayer at a good frame rate.

I guess I could also try the ati-drivers. The ati-mobility 7500 as a similar chipset (r200) to the radeon 8500 which is supported by the ati-drivers, but I've read that is not recommended to use the ati-drivers with the radeon 7500 and that you should use the kernel drivers (that's what I'm doing now).

I hope I get it working one way or another, cause it's my last problem, other than that, everything is working, evening ACPI, believe it!

Tze_black_wizard
_________________
Tze_Black_Wizard
---------------------
If I could I'd install Gentoo Linux on my toaster!
Back to top
View user's profile Send private message
Tze_Black_Wizard
n00b
n00b


Joined: 10 Jan 2003
Posts: 18

PostPosted: Wed May 28, 2003 4:27 am    Post subject: Follow-up... (Correction to my previous post) Reply with quote

Just a little note for my openbox suggestion with kde.

If you use kde 3.1+, well, you just need to find at the end of the starkde scrip "KDEWM=" and after the =, you write "openbox" et voila! With kde 3.0x, well follow the instructions in my previous post.

I've timed a few app startup (with and without openbox) and it really is faster 50% to 150% faster in some cases. I which I had tried that before. Next thing: dual head, will it work with DRI... that's what you'll find out in my next post!

Tze_Black_Wizard
_________________
Tze_Black_Wizard
---------------------
If I could I'd install Gentoo Linux on my toaster!
Back to top
View user's profile Send private message
Tze_Black_Wizard
n00b
n00b


Joined: 10 Jan 2003
Posts: 18

PostPosted: Sun Jun 01, 2003 4:03 pm    Post subject: follow-up... Reply with quote

Hey, well, I guess I'm not lucky or something, but I didn't have any success with openbox for dual-head, it doesn't allow me to tweak X and get DRI working.

Anyways, in case someone has a better idea, here's what I'm trying to do in order to fool X and make it think there's only one screen when there is really 2.

For dual-head, if you use Xinerama, you will therefore end-up having 2 devices and 2 screens (even if you are using a dual-head card). When that happens, X disables DRI, cause it can handle it in dual-head (this is an under developpement feature). So if we can have only one screen that would dispaly at 2048x768 (or similar ratio) and than get the left screen to display half of it, starting at 0 0 (x,y) and the right one, the other half starting a 1024 0 (x,y) and then lock both monitors in that "viewing position", we would have only one big screen and DRI would work. The only disadvantage is that you don't have Xinerama and the window placement will suck! But you could always specify somewhere to position all new windows a certain position that would be in your left or right screen or set KDE to do manual window placement (that means the window appears next to your cursor and you place it just like in an X-session).

I have almost achieve to do what I'm explainning here, I use virtual display in order to get the 2048x768 resolution an I tried using "Relative to" and "Absolute" options in my server layout in order to achive locking the display at a certain position, but it doesn't work.

Any help would be greatly appreciated.
_________________
Tze_Black_Wizard
---------------------
If I could I'd install Gentoo Linux on my toaster!
Back to top
View user's profile Send private message
crowbert
Tux's lil' helper
Tux's lil' helper


Joined: 28 Apr 2003
Posts: 146

PostPosted: Mon Jun 02, 2003 11:47 am    Post subject: Reply with quote

I have a Radeon VE (a 7000 with dual-monitor support), and am running with:

x11-base/xfree-4.3.0-r2
x11-base/xfree-drm-4.3.0

I had it working fine with one monitor with DRI and everything. Now it works mostly fine with both monitors--I can drag windows between the monitors, and I now have a 44:15 ratio display (16:10 + 4:3, which makes finding nice background images a bit tricky).

What isn't working is DRI. Even with it enabled in the XF86Config file, it comes up with it disabled. Running glxgears gives the old non-accellerated frame rates on the first monitor (278), and dragging it over to the second monitor just gives me a black screen. If xscreensaver launches an OpenGL module, it crashes X, leaving me in a text mode.

I can live without accelleration, but I would like to have OpenGL work, even if slowly.

Oh, and I never figured out how to control which screen is first. I eventually had to swap the cables since I couldn't reverse it in the file. I suspect that it's ignoring my screen specifications in the device section and assigning things based on the order of appearance. It wasn't a big enough of a deal for me to trace it down.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum