LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   AMD Radeon Sapphire 6950 Second monitor won't work on Archlinux (https://www.linuxquestions.org/questions/linux-newbie-8/amd-radeon-sapphire-6950-second-monitor-wont-work-on-archlinux-4175451017/)

Dornith 02-20-2013 06:18 PM

AMD Radeon Sapphire 6950 Second monitor won't work on Archlinux
 
I just installed archlinux and I'm trying to get the GUI to work, but I keep running into the problem that the second monitor won't work. In console, it doesn't show anything or just flashes uncontrollably when I open nano. When I try xrandr it just prints:
Code:

Can't open display
Right now I'm using the open source drivers because the other one kept giving me errors say it couldn't find the linux headers even though I installed them.

I got xrandr working (I didn't realize it had to be in Xorg) and configured my monitors but still I can't do anything with my second one.

adamk75 02-21-2013 04:20 AM

If you configured both your monitors, what do you mean you can't do anything with the second monitor? How exactly did you confirm them and in what way is it not working how you expect?

Adam

Dornith 02-21-2013 08:21 AM

Quote:

Originally Posted by adamk75 (Post 4896553)
If you configured both your monitors, what do you mean you can't do anything with the second monitor? How exactly did you confirm them and in what way is it not working how you expect?

Adam

It won't show anything on the display. After doing a little bit of testing in i3, I found that the second workspace is somewhere not on my first monitor (AKA it's trying to put something out on the second) but it's still blank.
I configured it to run this command when X11 starts:
Code:

xrandr --output DVI-0 --mode 1920x1080 --pos 1290x0 --output DVI-1 --mode 1290x1024 --left-of DVI-0
And I know it works because now the resolution on the monitor that is working is correct.

adamk75 02-21-2013 09:02 AM

Code:

xrandr --output DVI-0 --mode 1920x1080 --pos 1290x0 --output DVI-1 --mode 1290x1024 --left-of DVI-0
Does it work any better if you don't use the --pos option? Have you tried with another window manager, just to see if it's something specific to i3?

Adam

Dornith 02-21-2013 11:25 AM

Quote:

Originally Posted by adamk75 (Post 4896716)

Does it work any better if you don't use the --pos option? Have you tried with another window manager, just to see if it's something specific to i3?

Adam

No, and yes. removing --pos does nothing and I tried twm before. I only mentioned i3 specifically because the different workspaces showed definitively that it wasn't just ignoring the second monitor.

Also, I tried to run "sudo X -configure" and got a few errors:
Code:

[  2231.164]
X.Org X Server 1.13.2
Release Date: 2013-01-24
[  2231.167] X Protocol Version 11, Revision 0
[  2231.167] Build Operating System: Linux 3.7.4-1-ARCH x86_64
[  2231.168] Current Operating System: Linux imperator 3.7.9-1-ARCH #1 SMP PREEMPT Mon Feb 18 02:13:30 EET 2013 x86_64
[  2231.168] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=34b52fc1-5a07-480d-8870-36de8ccd0a7e ro quiet
[  2231.169] Build Date: 25 January 2013  09:33:50AM
[  2231.170] 
[  2231.170] Current version of pixman: 0.28.2
[  2231.172]        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  2231.172] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2231.174] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb 21 02:52:45 2013
[  2231.174] (II) Loader magic: 0x7fcc40
[  2231.174] (II) Module ABI versions:
[  2231.174]        X.Org ANSI C Emulation: 0.4
[  2231.174]        X.Org Video Driver: 13.1
[  2231.174]        X.Org XInput driver : 18.0
[  2231.174]        X.Org Server Extension : 7.0
[  2231.175] (II) config/udev: Adding drm device (/dev/dri/card0)
[  2231.175] (--) PCI:*(0:1:0:0) 1002:6719:174b:186b rev 0, Mem @ 0xe0000000/268435456, 0xf7e20000/131072, I/O @ 0x0000e000/256, BIOS @ 0x????????/131072
[  2231.176] List of video drivers:
[  2231.177]        radeon
[  2231.178]        ati
[  2231.178] (II) LoadModule: "radeon"
[  2231.178] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
[  2231.178] (II) Module radeon: vendor="X.Org Foundation"
[  2231.178]        compiled for 1.13.2, module version = 7.1.0
[  2231.178]        Module class: X.Org Video Driver
[  2231.178]        ABI class: X.Org Video Driver, version 13.1
[  2231.178] (II) LoadModule: "ati"
[  2231.178] (II) Loading /usr/lib/xorg/modules/drivers/ati_drv.so
[  2231.190] (II) Module ati: vendor="X.Org Foundation"
[  2231.190]        compiled for 1.13.2, module version = 7.1.0
[  2231.190]        Module class: X.Org Video Driver
[  2231.190]        ABI class: X.Org Video Driver, version 13.1
[  2231.190] (II) RADEON: Driver for ATI Radeon chipsets:
        ...
        AMD Radeon HD 6900 Series, AMD Radeon HD 6900 Series, CAYMAN, CAYMAN,
        ...
[  2231.238] (++) Using config file: "/root/xorg.conf.new"
[  2231.240] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2231.240] (==) ServerLayout "X.org Configured"
[  2231.240] (**) |-->Screen "Screen0" (0)
[  2231.240] (**) |  |-->Monitor "Monitor0"
[  2231.240] (**) |  |-->Device "Card0"
[  2231.240] (**) |-->Input Device "Mouse0"
[  2231.240] (**) |-->Input Device "Keyboard0"
[  2231.240] (==) Automatically adding devices
[  2231.240] (==) Automatically enabling devices
[  2231.240] (==) Automatically adding GPU devices
[  2231.240] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  2231.240]        Entry deleted from font path.
[  2231.240] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  2231.240]        Entry deleted from font path.
[  2231.240] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  2231.240]        Entry deleted from font path.
[  2231.240] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  2231.240]        Entry deleted from font path.
[  2231.240]        (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  2231.240] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  2231.240]        Entry deleted from font path.
[  2231.240]        (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  2231.240] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[  2231.240]        Entry deleted from font path.
[  2231.241] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  2231.241]        Entry deleted from font path.
[  2231.241] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  2231.241]        Entry deleted from font path.
[  2231.241] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  2231.241]        Entry deleted from font path.
[  2231.241]        (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  2231.241] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  2231.241]        Entry deleted from font path.
[  2231.241]        (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  2231.241] (**) FontPath set to:
        /usr/share/fonts/misc/,
        /usr/share/fonts/misc/
[  2231.241] (**) ModulePath set to "/usr/lib/xorg/modules"
[  2231.241] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  2231.241] (WW) Disabling Mouse0
[  2231.241] (WW) Disabling Keyboard0
[  2231.242] (II) [KMS] Kernel modesetting enabled.
[  2231.242] (EE)
[  2231.244] (EE) Backtrace:
[  2231.262] (EE) 0: X (xorg_backtrace+0x36) [0x58a416]
[  2231.263] (EE) 1: X (0x400000+0x18e269) [0x58e269]
[  2231.264] (EE) 2: /usr/lib/libpthread.so.0 (0x7fcd0637b000+0xf1e0) [0x7fcd0638a1e0]
[  2231.264] (EE) 3: /usr/lib/xorg/modules/drivers/radeon_drv.so (0x7fcd03e95000+0x41cf4) [0x7fcd03ed6cf4]
[  2231.265] (EE) 4: X (DoConfigure+0xdec) [0x46b14c]
[  2231.265] (EE) 5: X (0x400000+0x7a718) [0x47a718]
[  2231.266] (EE) 6: X (0x400000+0x26776) [0x426776]
[  2231.267] (EE) 7: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7fcd05207a15]
[  2231.267] (EE) 8: X (0x400000+0x26c9d) [0x426c9d]
[  2231.268] (EE)
[  2231.269] (EE) Segmentation fault at address 0x18
[  2231.270]
Fatal server error:
[  2231.271] Caught signal 11 (Segmentation fault). Server aborting
[  2231.272]
[  2231.272] (EE)
Please consult the The X.Org Foundation support
        at http://wiki.x.org
 for help.
[  2231.274] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2231.275] (EE)

I opened up /root/xorg.conf.new and it showed:
Code:

Section "ServerLayout"
        Identifier    "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath  "/usr/lib/xorg/modules"
        FontPath    "/usr/share/fonts/misc/"
        FontPath    "/usr/share/fonts/TTF/"
        FontPath    "/usr/share/fonts/OTF/"
        FontPath    "/usr/share/fonts/Type1/"
        FontPath    "/usr/share/fonts/100dpi/"
        FontPath    "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier  "Monitor0"
        VendorName  "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option    "NoAccel"                    # [<bool>]
        #Option    "SWcursor"                  # [<bool>]
        #Option    "EnablePageFlip"            # [<bool>]
        #Option    "ColorTiling"                # [<bool>]
        #Option    "ColorTiling2D"              # [<bool>]
        #Option    "RenderAccel"                # [<bool>]
        #Option    "SubPixelOrder"              # [<str>]
        #Option    "AccelMethod"                # <str>
        #Option    "EXAVSync"                  # [<bool>]
        #Option    "EXAPixmaps"                # [<bool>]
        #Option    "ZaphodHeads"                # <str>
        #Option    "EnablePageFlip"            # [<bool>]
        #Option    "SwapbuffersWait"            # [<bool>]
        Identifier  "Card0"
        Driver      "radeon"
        BusID      "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device    "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport  0 0
                Depth    1
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    4
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    8
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    15
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    16
        EndSubSection
        SubSection "Display"
                Viewport  0 0
                Depth    24
        EndSubSection
EndSection


Dornith 02-21-2013 12:44 PM

Actually, now that I think about it, it was stupid of me to keep looking at Xorg when the problem also exists in console.

Edit:
DEAR GOD I FEEL STUPID.
I've been hacking at this monitor problem for about 3 days now, and it was a loose cable!

I still have the much smaller problem of my screen's off by about 150px, and wrapping around, but it is working now.

Edit2: That problem seems to have fixed itself.

adamk75 02-21-2013 06:36 PM

Glad you got it working :-)

Adam


All times are GMT -5. The time now is 09:46 AM.