You are not logged in.
I'm using the xf86-video-ati drivers.
I have two graphics cards. A) ATI AMD Radeon HD 7850 B) the onboard Intel HD Graphics 4000
I'm connecting through dvi cables. One to the radeon and one to the onboard card.
Things are working in terminal but not in X.
This setup works in other OSes, but I can't get it to work well in Linux, other than in Mint for some reason.
lspci | grep 'pci'
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850]
xrandr:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
1920x1080 60.00*+
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 59.90
1280x960 60.00
1280x800 59.91
1152x864 75.00
1280x720 59.97
1024x768 75.08 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 66.67 60.00
720x400 70.08-----
I can't get the second monitor to show up the the list of displays either. How come it is only showing the one DVI on xrandr?
Again I'm sorry if this question has been asked before, but I couldn't find it or specifically relating to my problem.. Any help would be appreciated. Thanks
Last edited by JohanSig (2014-06-02 01:33:58)
Offline
Offline
I think it may have more to do with xrandr than my xorg.conf
I tried making my xorg.conf load the intel driver on one screen, and the radeon driver on the other. It works in xfce4, but crashes in any other DE. Actually, I'm not sure if this is how it's supposed to work anyway, because I can't move applications and windows from one screen to the other. I think each screen is running it's own instance of the DE or something.
I booted into mint to see how it was doing the dual screen, and it looks like that it's using xrandr to create a virtual screen
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x87 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 4 associated providers: 1 name:radeon
Provider 1: id: 0x4b cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 8 associated providers: 1 name:IntelScreen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected primary 1920x1080[b]+1920+0[/b] (normal left inverted right x axis y axis) 509mm x 286mm
1920x1080 60.0*+
1680x1050 59.9
...
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
1920x1080 (0x4c) 148.5MHz
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.5KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.0Hz
1680x1050 (0x88) 119.0MHz
h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.7KHz
v: height 1050 start 1053 end 1059 total 1080 clock 59.9Hz
1280x1024 (0x89) 135.0MHz
h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 80.0KHz
v: height 1024 start 1025 end 1028 total 1066 clock 75.0Hz
The mint install doesn't even have an xorg.conf, it just sets it up through xrandr, I think.
Notice how it is listing 1920x1080+1920+0 instead of just 1920x1080+0+0 like on my Arch installation?
How do I replicate that in Arch?
I tried finding more information about doing it with xrandr but I can't figure it out. Also the Mint livecd has a "VIRTUAL1" device in xrandr which it must have created, though it says it's disconnected.
So I'm kind of thinking that the answer to my problem isn't creating an xorg.conf with the intel/radeon drivers on each screen (because that is making separate screens, not a shared one), but to use xrandr to stretch the display out across both 1920x1080 screens.
Last edited by JohanSig (2014-06-01 05:43:30)
Offline
Did you even try using the DISPLAY variable? From the looks of it, you have two screens in one virtual on mint.
Notice how it is listing 1920x1080+1920+0 instead of just 1920x1080+0+0 like on my Arch installation?
How do I replicate that in Arch?
Move the screen 1920 pixels to the right using "--pos" switch? Or better yet use "--right-of" switch.
Reading chapter "II.5. Placing outputs in a virtual screen" and this should prove useful.
Offline
Did you even try using the DISPLAY variable? From the looks of it, you have two screens in one virtual on mint.
JohanSig wrote:Notice how it is listing 1920x1080+1920+0 instead of just 1920x1080+0+0 like on my Arch installation?
How do I replicate that in Arch?Move the screen 1920 pixels to the right using "--pos" switch? Or better yet use "--right-of" switch.
Reading chapter "II.5. Placing outputs in a virtual screen" and this should prove useful.
Sorry if I'm not picking up on something obvious, or am being an idiot.
But yes I tried the "env DISPLAY=:0.1 xrandr --props" examples from the pages you linked to. The problem is I have no 0.1 display so it spits out an error, only 0.0, and using the line on 0.0 didn't appear to do anything.
I'm still uncertain how to use the xrandr commandr as you suggest, because I only have "DVI-0" showing up, which I assume is just the DVI connected to the radeon card, but I'm wanting the monitor connected to the onboard intel graphics to work too. How do I use -right-of when I only have DVI-0 available and not a DVI-1 as well? How would I use a right-of when I have no other outputs available other than the main DVI-0 ?
Also I added the "Virtual 3840 1080" line to my xorg screen config, and it didn't seem to have changed anything.
My "Screen 0" is showing a maximum of 16384 x 16384, so I assume that means it would let me use the larger virtual area. I just don't understand how to pull it off when I only have DVI-0 listed as shown in my first post.
Also, Xorg -configure gives a segmentation fault.
Last edited by JohanSig (2014-06-01 23:04:08)
Offline
The second link provides a link to another thread, read its last post. Writing a similar xorg.conf is what I would try. I assumed wrongly that you have two screens, that would have provided DISPLAY=:0.1 for the second screen. When then used with the variable it shows only connected devices to the second screen. here is an example:
$ env DISPLAY=:0.0 xrandr --props | egrep '^CRT|^TV'
CRT1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 340mm x 270mm
CRT2 disconnected (normal left inverted right x axis y axis)
TV disconnected (normal left inverted right x axis y axis)
$ env DISPLAY=:0.1 xrandr --props | egrep '^CRT|^TV'
CRT1 disconnected (normal left inverted right x axis y axis)
CRT2 disconnected (normal left inverted right x axis y axis)
TV connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mmIt is highly inefficient to communicate, if you do not write what exactly you did try and what you did not try. Writing the same over and over again is somewhat frustrating.
The segmentation fault is troublesome. Is the xorg group up to date?
yaourt -Qg xorgWhat drivers does linux mint use for your setup?
Last edited by emeres (2014-06-01 23:31:23)
Offline
Right well this is what I've tried:
My Xorg.conf is thus:
Section "ServerLayout"
Identifier "Main Layout"
Screen 0 "Screen0" 1920 0
Screen 1 "Screen1" LeftOf "Screen0"
EndSection
Section "Device"
Identifier "Radeon 7850"
Driver "radeon"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Intel HD 4000"
Driver "intel"
BusID "PCI:0:2:0"
Option "AccelMethod" "uxa"
EndSection
Section "Monitor"
Identifier "Hannsg"
Option "PreferredMode" "1920x1080"
Option "Position" "0 0"
EndSection
Section "Monitor"
Identifier "Asus"
Option "PreferredMode" "1920x1080"
Option "Position" "1920 0"
Option "Primary" "True"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Radeon 7850"
Monitor "Asus"
SubSection "Display"
# Virtual 3600 1080 ..... disabled for now
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Intel HD 4000"
Monitor "Hannsg"
EndSectionI had to make it myself, and I just made some modifications using the other xorg conf link you gave me, because xorg -configure seg faults.. yes it is up to date I believe.
yaourt -Qg xorg
extra/xf86-input-evdev 2.9.0-1 (xorg-drivers xorg)
extra/xf86-video-ati 1:7.3.0-1 (xorg-drivers xorg)
extra/xf86-video-intel 2.99.911-2 (xorg-drivers xorg)
extra/xorg-bdftopcf 1.0.4-1 (xorg xorg-apps)
extra/xorg-font-util 1.3.0-1 (xorg-fonts xorg)
extra/xorg-fonts-encodings 1.0.4-3 (xorg-fonts xorg)
extra/xorg-iceauth 1.0.6-1 (xorg-apps xorg)
extra/xorg-luit 1.1.1-2 (xorg xorg-apps)
extra/xorg-mkfontdir 1.0.7-1 (xorg xorg-apps)
extra/xorg-mkfontscale 1.1.1-1 (xorg-apps xorg)
extra/xorg-server 1.15.1-1 (xorg)
extra/xorg-sessreg 1.0.8-1 (xorg-apps xorg)
extra/xorg-setxkbmap 1.3.0-1 (xorg-apps xorg)
extra/xorg-smproxy 1.0.5-1 (xorg-apps xorg)
extra/xorg-x11perf 1.5.4-1 (xorg-apps xorg)
extra/xorg-xauth 1.0.9-1 (xorg-apps xorg)
extra/xorg-xbacklight 1.2.1-1 (xorg-apps xorg)
extra/xorg-xcmsdb 1.0.4-1 (xorg-apps xorg)
extra/xorg-xcursorgen 1.0.5-2 (xorg-apps xorg)
extra/xorg-xdpyinfo 1.3.1-1 (xorg-apps xorg)
extra/xorg-xdriinfo 1.0.4-3 (xorg-apps xorg)
extra/xorg-xev 1.2.1-1 (xorg-apps xorg)
extra/xorg-xgamma 1.0.5-1 (xorg-apps xorg)
extra/xorg-xhost 1.0.6-1 (xorg-apps xorg)
extra/xorg-xinput 1.6.1-1 (xorg-apps xorg)
extra/xorg-xkbcomp 1.2.4-1 (xorg-apps xorg)
extra/xorg-xkbevd 1.1.3-1 (xorg-apps xorg)
extra/xorg-xkbutils 1.0.4-1 (xorg-apps xorg)
extra/xorg-xkill 1.0.4-1 (xorg-apps xorg)
extra/xorg-xlsatoms 1.1.1-1 (xorg-apps xorg)
extra/xorg-xlsclients 1.1.3-1 (xorg-apps xorg)
extra/xorg-xmodmap 1.0.8-1 (xorg-apps xorg)
extra/xorg-xpr 1.0.4-1 (xorg-apps xorg)
extra/xorg-xprop 1.2.2-1 (xorg-apps xorg)
extra/xorg-xrandr 1.4.2-1 (xorg-apps xorg)
extra/xorg-xrdb 1.1.0-1 (xorg-apps xorg)
extra/xorg-xrefresh 1.0.5-1 (xorg-apps xorg)
extra/xorg-xset 1.2.3-1 (xorg-apps xorg)
extra/xorg-xsetroot 1.1.1-1 (xorg-apps xorg)
extra/xorg-xvinfo 1.1.2-1 (xorg-apps xorg)
extra/xorg-xwd 1.0.6-1 (xorg-apps xorg)
extra/xorg-xwininfo 1.1.3-1 (xorg-apps xorg)
extra/xorg-xwud 1.0.4-1 (xorg-apps xorg)The above config works, only on xfce4. With gnome/awesome/cinnamon the second screen will be entirely black and show the default X-win cursor (the black X) and I can't interact with anything.
With xfce4 it is working, but the screens aren't connected, theyre independent from eachother, meaning: the desktop icons appear twice on both screens, and you can't move windows between screens, Or atleast, they're only cycling to different virtual workspaces on that screen..
--
Ah! okay! I understand now why the DISPLAY env lines weren't working earlier. I must have had the screen disabled earlier while testing and didn't realize that it needed to be on for that line to work.. It is working now, and I understand what it's doing..
So now I have 0.1 showing HDMI2 connected, and 0.0 showing the DVI-0.
#env DISPLAY=:0.0 xrandr --props
DVI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
.....
#env DISPLAY=:0.1 xrandr --props
....
Screen 1: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
1920x1080 60.00*+
1600x1200 60.00
...I'm not sure why this is being listed as HDMI2, when it is a DVI cable, but I won't argue with it.
So yes, right now both screens are working, I'm just confused why they seem independent from eachother, and why it's only working with xfce.
Mint is using the same drivers I believe: xf86-video-ati and xf86-video-intel.
Last edited by JohanSig (2014-06-02 00:52:25)
Offline
You probably need the Xinerama option, it should work with the radeon driver (never tested it). I do not use a DE, so I have little experience with that case. It seems pretty obvious however, that the DE cannot/does not know it should use both screens. You might need to tweak its settings. Try Xinerama first.
HDMI implements the EIA/CEA-861 standards, which define video formats and waveforms, transport of compressed, uncompressed, and LPCM audio, auxiliary data, and implementations of the VESA EDID.[2][3] CEA-861 signals carried by HDMI are electrically compatible with the CEA-861 signals used by the digital visual interface (DVI). No signal conversion is necessary, nor is there a loss of video quality when a DVI-to-HDMI adapter is used.[4] The CEC (Consumer Electronics Control) capability allows HDMI devices to control each other when necessary and allows the user to operate multiple devices with one remote control handset.
Last edited by emeres (2014-06-02 01:01:41)
Offline
Thank for your help. Using Xinerama seems to have worked, well for xfce anyway.
Last edited by JohanSig (2014-06-02 01:14:03)
Offline
Glad I could help. If the issue is solved, please mark the thread as such (edit the first post and prepend [SOLVED] to the topic).
Offline