Bug 66799 - 1920x1080 height too large for virtual size (dual radeon)
Summary: 1920x1080 height too large for virtual size (dual radeon)
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-10 21:46 UTC by Duane Voth
Modified: 2019-11-19 07:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (43.60 KB, text/plain)
2013-07-10 21:46 UTC, Duane Voth
no flags Details

Description Duane Voth 2013-07-10 21:46:23 UTC
Created attachment 82302 [details]
Xorg.0.log

Xorg exhibits several problems possibly because of Dual 4550 Radeon cards.
1) 66796 - radeon dual card configure segmentation fault
2) (this bug) - 1920x1080 height too large for virtual size (dual radeon)
3) (after #2 is fixed)  xrandr -q lists only one screen for 2 cards, 2 monitors


Much time spent looking for cause why second monitor of a dual radeon (2 cards, 1 monitor each) remained blank when Xorg reported both cards and monitors detected.  Monitor on card1 is 1680x1050, monitor on card two is 1920x1080.  With no xorg.conf (default config) the 1680x1050 monitor would light up and the 1920x1080 would stay blank.  Note the *informatory* message "[585135.723] (II) RADEON(G0): Not using mode "1920x1080" (height too large for virtual size)" in the Xorg.0.log file (in my opinion, if a significant bit of hardware is disabled due to a resource problem, it should be a warning).


A workaround for this problem appears to be to create an xorg.conf file that defines the virtual display size as large or larger than the physical screen size.

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Virtual 1920 1088
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Virtual 1920 1088
        EndSubSection
EndSection
Comment 1 Alex Deucher 2013-07-10 22:01:42 UTC
Just remove the Virtual line from your config.  If you want to configure multiple cards, you need a zaphod config.  e.g., something like:

Section "ServerLayout"
    Identifier  "Layout0"
    Option      "Xinerama" "on"
    # You would need one screen for each monitor
    Screen   0  "Screen0"
    Screen   1  "Screen1"  RightOf "Screen0"
EndSection

Section "Device"
    Identifier  "Device0"
    Driver      "radeon"
    # Actual PCI location of first card/gpu
    BusID       "PCI:2:0:0"
    Option      "ZaphodHeads" "DVI-0"
    Screen      0
EndSection
Section "Device"
    Identifier  "Device1"
    Driver      "radeon"
    # Actual PCI location of second card/gpu
    BusID       "PCI:1:0:0"
    Option      "ZaphodHeads" "DVI-1"
    Screen      0
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "Device0"
EndSection
Section "Screen"
    Identifier  "Screen1"
    Device      "Device1"
EndSection
Comment 2 Duane Voth 2013-07-10 22:02:59 UTC
The other possibly related bug reports are:
https://bugs.freedesktop.org/show_bug.cgi?id=66796
https://bugs.freedesktop.org/show_bug.cgi?id=66801
Comment 3 James Cloos 2013-07-11 00:15:44 UTC
>                Virtual 1920 1088

Did you really mean 1088?  Or 1080?  (Eighty-eight vs eighty.)
Comment 4 Duane Voth 2013-07-18 19:10:01 UTC
As it is a virtual screen size, does it matter?  Yes the physical display only uses 1080, I actually used 1088 in the workaround, which worked.  Sorry about entering 3 bugs for one - I didn't know how y'all prefer to deal with that.
Comment 5 Duane Voth 2013-07-18 20:27:43 UTC
Yes, with Alex's suggestion I don't need the virtual display subsections.  So Zaphod in this case means dual cards instead of a card with dual monitors?  Is this always the case for Zaphod?

So in this case Xorg doesn't auto-config both cards properly (Zaphod options are required but not recognized as needed when no xorg.conf exists).
Comment 6 Alex Deucher 2013-07-18 20:47:58 UTC
(In reply to comment #5)
> Yes, with Alex's suggestion I don't need the virtual display subsections. 
> So Zaphod in this case means dual cards instead of a card with dual
> monitors?  Is this always the case for Zaphod?

It depends what you are trying to accomplish.  You need to use zaphod to properly handle multiple cards.  You can use zaphod for handling multiple monitors on the same card, but it's not required.  Generally for multiple monitors on the same card, you'd use xrandr.  zaphod lets you treat each display as a separate X screen, while xrandr treats all displays as a single X screen.
Comment 7 Martin Peres 2019-11-19 07:41:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/issues/72.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.