LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 04-29-2015, 09:58 PM   #1
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
Question How do I set up Xrandr with the open-source Radeon driver?


I just recently used apt-get dist-upgrade to upgrade my x86_64 Debian install to jessie (8.0). So far, I have not been able to get my Xorg.conf configured to span my desktop across both of my monitors.

I have an ATi Radeon HD7770 with a pair of Samsung 1680x1050 monitors. One monitor is using the DVI port and should be the left-hand monitor (starting point 1680x1050+0+0) and the other monitor is using the HDMI port and should be the right-hand monitor (1680x1050+1680+0). Despite my best efforts so far, when X is started up it duplicates the left-hand monitor onto the right-hand monitor, and I have to use this command to fix it:

Code:
xrandr --screen 0 --output HDMI-0 --right-of DVI-0
Here is my current xorg.conf:

Code:
Section "ServerLayout"
        Identifier     "Custom Configured"
        Screen      0  "LeftScreen" 0 0
        Option      "Xinerama" "off"
        Option      "AIGLX" "on"
EndSection

Section "ServerFlags"
        Option      "Xinerama" "disabled"
EndSection

Section "Module"
EndSection

Section "Monitor"
        Identifier  "DVI-0"
        Option      "VendorName" "Samsung"
        Option      "ModelName" "SyncMaster 2200WM"
        Option      "DPMS" "true"
        Option      "PreferredMode" "1680x1050"
        Option      "TargetRefresh" "60"
        Option      "Rotate" "normal"
        Option      "Disable" "false"
EndSection

#Section "Monitor"
#       Identifier  "HDMI-0"
#       Option      "VendorName" "Samsung"
#       Option      "ModelName" "SyncMaster 2200WM"
#       Option      "DPMS" "true"
#       Option      "PreferredMode" "1680x1050"
#       Option      "TargetRefresh" "60"
#       Option      "Rotate" "normal"
#       Option      "Disable" "false"
#EndSection

Section "Device"
        Identifier  "HD7770-1"
        Driver      "radeon"
        VendorName  "ATi Technologies Inc"
        BoardName   "Radeon HD 7770"
        BusID       "PCI:5:0:0"
        Screen      0
EndSection
Section "Device"
        Identifier  "HD7770-2"
        Driver      "radeon"
        VendorName  "ATi Technologies Inc"
        BoardName   "Radeon HD 7770"
        BusID       "PCI:5:0:1
        Screen      1   
        Option      "ZaphodHeads" "HDMI-0"
EndSection

Section "Screen"
        Identifier "LeftScreen"
        Device     "HD7770-1"
        Monitor    "DVI-0"
        DefaultDepth     24
        SubSection "Display"
                ViewPort  0 0
                Virtual   3360 1050
                Depth     24
        EndSubSection
EndSection
#Section "Screen"
#       Identifier "RightScreen"
#       Device     "HD7770-2"
#       Monitor    "HDMI-0"
#       DefaultDepth     24
#       SubSection "Display"
#               Virtual   1680 1050
#               Depth     24
#       EndSubSection
I can supply lspci, Xorg.0.log and dmesg snippets if needed.
 
Old 04-30-2015, 03:37 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,256

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Have you tried just giving it the one 'Virtual' instruction? You have two above

Code:
Virtual 3360 1050
 
Old 04-30-2015, 03:55 AM   #3
zangxuma
LQ Newbie
 
Registered: Apr 2015
Posts: 1

Rep: Reputation: Disabled
thank you i think so
 
Old 05-05-2015, 08:28 PM   #4
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Original Poster
Rep: Reputation: 30
Exclamation

Quote:
Originally Posted by business_kid View Post
Have you tried just giving it the one 'Virtual' instruction? You have two above

Code:
Virtual 3360 1050
Yes, I tried that. It ended up breaking things worse - I ended up with a blank left monitor and a messed up right monitor with corrupted fonts.

The only way to fix it was to go back to the config file produced by X -configure, which still causes my desktop to start up duplicated across both monitors.
 
  


Reply

Tags
radeon, radeonsi, xorg, xrandr



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
Install fglrx driver instead the open source radeon in debian 7? floppy_stuttgart Linux - Newbie 1 03-28-2015 01:47 PM
open source radeon driver has higher precision image quality over closed source fglrx? Holering Linux - Hardware 1 09-02-2013 02:34 PM
LXer: AMD's Open-Source Radeon Driver After Four Years LXer Syndicated Linux News 1 08-17-2011 07:48 PM
radeon open source driver update vmelkon Ubuntu 0 06-18-2009 09:47 AM
Has anyone got Beryl working with open source driver for Radeon X600 and Radeon 9550 Bjwebb Linux - Software 0 04-17-2007 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:34 AM.

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