LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-08-2010, 08:30 AM   #1
nickboarder27
Member
 
Registered: Feb 2007
Location: So. Cal.
Distribution: Slackware
Posts: 56

Rep: Reputation: 15
Question Cloned Display on Slack 13 with ATI Radeon 4890


Hello,

I'm trying to span my desktop across my 2 displays.

I tried to edit xorg.conf-vesa to no avail.

Here is xrandr:

bash-3.1$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 1920 x 1600
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.0*+
1680x1050 59.9
1280x1024 60.0
1440x900 59.9
1280x800 59.9
1152x864 75.0
1024x768 70.1 60.0
800x600 60.3 56.2
640x480 66.7 59.9
720x400 70.1
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.0*+
1680x1050 59.9
1280x1024 60.0
1440x900 59.9
1280x800 59.9
1152x864 75.0
1024x768 70.1 60.0
800x600 60.3 56.2
640x480 66.7 59.9
720x400 70.1

I have attached a portion of xorg.conf-vesa and xrandr --verbose.
Attached Files
File Type: txt xorg.conf-vesa_mon.txt (1.4 KB, 32 views)
File Type: txt xrandr --verbose.txt (7.1 KB, 10 views)
 
Old 05-08-2010, 09:11 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
1. For you change to be considered by the X server you should do this:
Code:
cp /etc/X11/xorg.conf-vesa /etc/X11/xorg.conf
By default the X server shipped with Slackware-13.0 do no need any xorg.conf file but settings in it will override what HAL reports.

2. I suggest you use the radeon X module for you card instead of vesa

Last edited by Didier Spaier; 05-08-2010 at 09:13 AM.
 
Old 05-08-2010, 11:04 AM   #3
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
Simply having this as your xorg.conf file should be enough:

Code:
Section "Monitor"
        Identifier "DVI-0"
EndSection

Section "Monitor"
        Identifier "HDMI-0"
        Option   "RightOf" "DVI-0"
EndSection

Section "Screen"
        Identifier "ati"
        Device     "ati"
        DefaultDepth    24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Virtual   3840 1080
        EndSubSection
EndSection
Assuming, of course, that the monitor on HDMI-0 is on the right of DVI-0.

Adam

EDIT: Also, you will want to use at least kernel 2.6.30.* (such as the one in /testing on the CD/DVD) in order to get 2D acceleration.

Last edited by adamk75; 05-08-2010 at 11:17 AM.
 
Old 05-08-2010, 04:21 PM   #4
nickboarder27
Member
 
Registered: Feb 2007
Location: So. Cal.
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
Thank you for the help.

-> Adam
I made the xorg.conf file and put it in the /etc/X11 folder. When kde comes up now only one display is on, the other is no signal. HDMI-0 in physically located to the left so I tried:
Option "RightOf" "HDMI-0" in the DVI-0 section.
I also did "LeftOf" in the HDMI section with identical results. (not shure if "LeftOf" is gibberish...)

Would the order of sections in the file make a difference???

-> Didier
Thanks for the tip about xorg.conf. Only sections present will be overridden, correct?
Not sure about the module for my video card... I'm checking on it now.

Once again
 
Old 05-08-2010, 04:24 PM   #5
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
LeftOf is valid, and the order of the sections is irrelevant. Which monitor is coming up? Can you enable the other one with xrandr after X is running. Something alone the lines of:

xrandr --output DVI-0 --right-of HDMI-0

Adam
 
Old 05-08-2010, 05:51 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Yes, only sections present in xorg.conf will override settings from HAL input.

To make sure which is your video card you type:
Quote:
lspci -k|grep -A3 VGA
To use the radeon X module you only have to replace Driver "vesa" with Driver "radeon" in xorg.conf.

You can do that with a text editor like nano or issue as root following command:
Code:
sed -i s/vesa/radeon/g /etc/X11/xorg.conf
If you don't get what you want, just reverse the change you just made:
Code:
sed -i s/radeon/vesa/g /etc/X11/xorg.conf

Last edited by Didier Spaier; 05-08-2010 at 05:53 PM.
 
Old 05-08-2010, 07:06 PM   #7
nickboarder27
Member
 
Registered: Feb 2007
Location: So. Cal.
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
Didier
If I was to write the section from scratch it would be:

Section "Device"
Ident.. "someName"
Driver "radeon"
...
EndSection

This would change the driver now in use because the only sections in xorg.conf are the ones given in this thread? Then if it didn't work I could simply comment them out, right? I'd like to learn a bit of the syntax. Teach a man to fish...

I downloaded the .run Catylist driver from AMD but the notes are talking about kernel headers and source. Sounds a bit over my head at this point.

Adam
I have kernel 2.6.29.6 (i think). I'm a bit skiddish about the kernel update, I've never done one.

DVI-0 (right) is the one working and the mouse stops at its right edge. However, the mouse does not stop at the left edge. The workspaces are split as well.

I tried few permutations of xrandr .. nada

Edit:
lspci gave the correct info for the card
kernel is indeed 2.6.29.6
my silly new xorg section didn't work. shocking...

Last edited by nickboarder27; 05-08-2010 at 07:20 PM. Reason: Additional Info
 
Old 05-08-2010, 07:22 PM   #8
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
You don't need to create an xorg.conf beyond what I posted above at the moment. Clearly you are already using the radeon driver because xrandr wouldn't show all three ports with the vesa driver.

I took a closer look at the verbose xrandr output and I think I see the problem. You may notice that both the HDMI-0 and DVI-0 ports are using CRTC 0, though both 0 and 1 are available to them.

Try this:

xrandr --output HDMI-0 --crtc 0 --auto --output DVI-0 --crtc 1 --auto --right-of HDMI-0

If that doesn't work, try:

xrandr --output HDMI-0 --crtc 1 --auto --output DVI-0 --crtc 0 --auto --right-of HDMI-0

Essentially we're trying to force the ports to separate CRTCs. I had to do this with previous versions of the radeon driver on one or two of my video cards.

Now, if you want to go with Catalyst, it's really not that complicated to install. You would (ideally) simply download the run file from AMD and then run it with the '--buildpkg Slackware/All' options, as I recall. Then you could use 'installpkg' to install the packages that were created. If you go down that road, and run into problems, I suggest starting a separate thread for them.

Adam
 
Old 05-09-2010, 05:53 PM   #9
nickboarder27
Member
 
Registered: Feb 2007
Location: So. Cal.
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
I've tried many different xrandr commands to no success.
Here is an interesting bit:
With no xorg.conf file (displays cloned)
If I do:
xrandr --output HDMI-0 --crtc 1 --auto
The HDMI(left) display shuts off [this display is actually identical to the DVI display run through a HDMI to DVI dongle (just in case that mattered)].
Conversely, with xrandr --output DVI-0 --crtc 1 --auto
The right display goes "no singnal"

With the xorg.conf file in place: -> left display is off but the mouse can travel and windows can be past the left edge of the right display
xrandr --output HDMI-0 --crtc 1 --auto
The displays clone...
xrandr --output DVI-0 --crtc 1 --auto
back to left display off
xrandr --output HDMI-0 --crtc 0 --auto
no effect
xrandr --output HDMI-0 --crtc 1 --auto
now right display on left off and mouse can travel past the left edge of left display

I notice a clones list in the xrandr --verbose each port clones the other 2 ports is there a command to disable or clear this list in the xorg.conf file?
 
Old 05-09-2010, 06:26 PM   #10
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
But did you actually try the two xrandr commands I gave you?

Adam
 
Old 05-09-2010, 07:24 PM   #11
nickboarder27
Member
 
Registered: Feb 2007
Location: So. Cal.
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
Indubitably, those were the first ones I tried. No effect...

I checked the xrandr useage and there is no cmd for undoing the clone, not sure if I missed something or if that option is not available.

I wouldn't mind if x was running on one display while the terminal stayed on the other. In fact this might just be optimal for the sake of code development. Normally the first thing I do when KDE starts is open a terminal...

Your assistance is appreciated.
 
Old 05-09-2010, 08:07 PM   #12
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 399Reputation: 399Reputation: 399Reputation: 399
There is no command undo a clone. You undo it by placing one monitor on the right of left of the other. You appear to have hit a bug with the radeon driver, so all I can really suggest is updating the driver and seeing if the problem has been fixed. If not, you'd have to open up a bug report.

Adam
 
Old 05-09-2010, 11:37 PM   #13
nickboarder27
Member
 
Registered: Feb 2007
Location: So. Cal.
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
Alright then.

I really appreciate the time you took to try and help.
 
Old 05-10-2010, 01:19 AM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
You could try first to upgrade your kernel, as there has been a been a lot of activity lately in the radeon area of Linus' kernel tree.

You can try 2.6.34-rc7 just released , or 2.6.33 if you prefer a stable kernel (I suppose you run Slackware 13.0), see http://kernel.org.
 
Old 05-10-2010, 02:01 AM   #15
nickboarder27
Member
 
Registered: Feb 2007
Location: So. Cal.
Distribution: Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
OK, I just fetched 2.6.33.

Down the rabbit hole I go.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Diamond 4890 ATI Radeon HD 1024MB/Phenom II x4 955 3.0 GHz Issue Darksyntax Linux - Hardware 2 10-22-2009 09:40 AM
LXer: AMD Radeon HD 4890 On Linux LXer Syndicated Linux News 0 04-02-2009 06:20 PM
LXer: AMD Radeon HD 4890 On Linux LXer Syndicated Linux News 0 04-02-2009 03:20 PM
Trouble with ATI Radeon Dual display C0n5truc7 Linux - Hardware 0 12-05-2004 04:54 PM
display problems with ATI - Radeon TDEE Linux - Hardware 2 08-08-2002 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration