OpenGL problem with ATI Radeon (ATI Radeon X600 card) dual monitors

I have dell optiplex gx620 computer with ATI Radeon x600 graphics card and two HP LP2065 monitors connected through a dual-dvi port. I have set up two monitors DVI-1 right of DVI-0. I cannot use OpenGL rendering if i choose to use dual head (one right of other) but can use it if both heads are displaying same (unify view in KDE)… I use Xrender to enable basic compositing, which works with dual head (one right of other) setup.

While I use xrender it displays fine but cannot use opengl.
http://picpaste.com/IMG_20111014_155959-A1r5OfBs.jpg
PicPaste - IMG_20111014_155959-A1r5OfBs.jpg
while I use opengl it looks like this
http://picpaste.com/IMG_20111014_160031-wblRdQKc.jpg
PicPaste - IMG_20111014_160031-wblRdQKc.jpg

here is my hwinfo:

hwinfo - Pastebin.com

here is my glxinfo:
glxinfo - Pastebin.com

I am using xorg-x11-driver-video-radeonhd-1.3.0_20100512_80ba041-37.5.x86_64

I am not using xorg.conf file but have edited conf files in xorg.conf.d as per my needs.
(i had to force some refresh rates because the display in secondary monitor was moving right and left all the time)
( I had to enable " Option Swmouse on " because my mouse would sometimes turn as a garbage block (which appeared like the image with opengl enabled above) on my secondary monitor (only in secondary monitor, it would appear as a 1 sqaure inch block). )

BTW my resolution is 1600x1200 on each monitor.

50-device.conf


Section "Device"
    Identifier  "ATI Radeon X600"
    VendorName  "ATI"
    Driver      "radeon"
  
    Option      "SWCursor"              "on"

    Option      "BusType"               "PCIE"
    Option      "AccelMethod"           "EXA"
    Option      "EnablePageFlip"        "on"
    Option      "ColorTiling"           "on"
    

    
  ## Required magic for radeon/radeonhd drivers; output name
  ## (here: "DVI-0") can be figured out via 'xrandr -q'
    Option      "monitor-DVI-0"         "DVI-0"
    Option      "monitor-DVI-1"         "DVI-1"

EndSection

Section "DRI"
    Group       "video"
    Mode        0660
EndSection


50-monitor.conf

Section "Monitor"
  Identifier "DVI-0"

  ## If your monitor doesn't support DDC you may override the
  ## defaults here
  #HorizSync 60-94
  #VertRefresh 48-85
  


  ## Add your mode lines here, use e.g the cvt tool  

  #everything below here is added by shekhar
  #Modeline "1600x1200_85.00"  235.00  1600 1728 1896 2192  1200 1203 1207 1262 -hsync +vsync
  #Modeline "1600x1200_75.00"  204.75  1600 1720 1888 2176  1200 1203 1207 1255 -hsync +vsync
  #Modeline "1600x1200_60.00"  161.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync
  #Modeline "1600x1200_61.00"  164.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync
  #Modeline "1600x1200_65.00"  175.00  1600 1712 1880 2160  1200 1203 1207 1248 -hsync +vsync
  #Modeline "1600x1200_70.00"  190.50  1600 1720 1888 2176  1200 1203 1207 1252 -hsync +vsync

  # modelines using gtf
  Modeline "1600x1200_60.00"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync
  Modeline "1600x1200_75.00"  205.99  1600 1720 1896 2192  1200 1201 1204 1253  -HSync +Vsync
  
  Option "Primary" "true"

EndSection



# this whole section also added by shekhar
Section "Monitor"
  Identifier "DVI-1"

  ## If your monitor doesn't support DDC you may override the
  ## defaults here

  HorizSync 94
  #VertRefresh 48-85

  ## Add your mode lines here, use e.g the cvt tool
  #Modeline "1600x1200_85.00"  235.00  1600 1728 1896 2192  1200 1203 1207 1262 -hsync +vsync
  #Modeline "1600x1200_75.00"  204.75  1600 1720 1888 2176  1200 1203 1207 1255 -hsync +vsync
  #Modeline "1600x1200_60.00"  161.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync
  #Modeline "1600x1200_61.00"  164.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync
  #Modeline "1600x1200_65.00"  175.00  1600 1712 1880 2160  1200 1203 1207 1248 -hsync +vsync
  #Modeline "1600x1200_70.00"  190.50  1600 1720 1888 2176  1200 1203 1207 1252 -hsync +vsync

  # modelines using gtf
  Modeline "1600x1200_60.00"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync
  Modeline "1600x1200_75.00"  205.99  1600 1720 1896 2192  1200 1201 1204 1253  -HSync +Vsync
  
  Option "RightOf" "DVI-0"
  
  #Option "PreferredMode" "1600x1200_75.00"

EndSection


50-screen.conf

(its all commented)

# Having multiple "Screen" sections is known to be problematic. Make
# sure you don't have in use another one laying around e.g. in another
# xorg.conf.d file or even a generic xorg.conf file. More details can
# be found in https://bugs.freedesktop.org/show_bug.cgi?id=32430.
#
#Section "Screen"
#  Identifier "Default Screen"
#
#  Device "Default Device"
#
#  ## Doesn't help for radeon/radeonhd drivers; use magic in
#  ## 50-device.conf instead
#  Monitor "Default Monitor"
#
#EndSection


here is my xrandr -q

Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 4096 x 4096
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 306mm
   1600x1200      60.0*+
   1600x1200_75.00   75.0  
   1600x1200_60.00   60.0  
   1280x1024      85.0     75.0     60.0  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       85.0     75.1     60.0  
   832x624        74.6  
   800x600        85.1     60.3  
   640x480        85.0     75.0     60.0  
   720x400        70.1  
DVI-1 connected 1600x1200+1600+0 (normal left inverted right x axis y axis) 408mm x 306mm
   1600x1200_75.00   75.0* 


How can i get rid of that problem? I want to be able to use opengl to render the effects.

Your 50-screen.conf file does nothing!

Have you tried to setup the monitors up via,
–System Settings
-----Hardware
--------Display and Monitor
(Your dual monitors should be configurable from there!)

Which version of KDE are you using?
Which version of openSUSE are you using?

For comparison my working files are as follows,
(note I’m using two monitors side by side,
vga is 1680x1050 and dvi is 1920x1080
so virtual size is 3600x1080)

50-device.conf

Section "Device"
    Identifier  "aticonfig-Device[1]-0"
    Driver      "radeon"
    Option        "Monitor-VGA-0" "VGA-0"
    Option        "Monitor-DVI-0" "DVI-0"
    BusID       "PCI:1:5:0"            #This info is found from cmd "lspci |grep VGA" (without quotes)
                        #(admin rights necessary to get this)
EndSection

50-monitor.conf

Section "Monitor"
    Identifier   "DVI-0"
    Option        "VendorName" "ATI openSource Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
    Option        "PreferredMode" "1920x1080"
    Option        "TargetRefresh" "60"
    Option        "Position" "0 1050"
    Option        "Rotate" "normal"
    Option        "Disable" "false"
EndSection

Section "Monitor"
    Identifier   "VGA-0"
    Option        "VendorName" "ATI openSource Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
    Option        "PreferredMode" "1680x1050"
    Option        "TargetRefresh" "60"
    Option        "Position" "120 0"
    Option        "Rotate" "normal"
    Option        "Disable" "false"
EndSection

50-screen.conf

Section "ServerLayout"
    Identifier     "aticonfig Layout"
    Screen      0  "aticonfig-Screen[1]-0" 0 0
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[1]-0"
    Device     "aticonfig-Device[1]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Virtual   3600 1080
        Depth     24
    EndSubSection
EndSection

I tried changing my xorg conf files to match like yours but still same problem.

50-device.conf

Section "Device"
    Identifier  "ATI Radeon X600"
    VendorName  "ATI"
    Driver      "radeon"
    BusID       "PCI:1:0:0"
  
    Option      "SWCursor"              "on"

    Option      "BusType"               "PCIE"
    Option      "AccelMethod"           "EXA"
    Option      "EnablePageFlip"        "on"
    Option      "ColorTiling"           "on"
    

    
  ## Required magic for radeon/radeonhd drivers; output name
  ## (here: "DVI-0") can be figured out via 'xrandr -q'
    Option      "monitor-DVI-0"         "DVI-0"
    Option      "monitor-DVI-1"         "DVI-1"

EndSection

Section "DRI"
    Group       "video"
    Mode        0660
EndSection


50-monitor.conf

Section "Monitor"
  Identifier "DVI-0"

  ## If your monitor doesn't support DDC you may override the
  ## defaults here
  #HorizSync 60-94
  #VertRefresh 48-85
  


  ## Add your mode lines here, use e.g the cvt tool  

  #everything below here is added by shekhar
  #Modeline "1600x1200_85.00"  235.00  1600 1728 1896 2192  1200 1203 1207 1262 -hsync +vsync
  #Modeline "1600x1200_75.00"  204.75  1600 1720 1888 2176  1200 1203 1207 1255 -hsync +vsync
  #Modeline "1600x1200_60.00"  161.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync
  #Modeline "1600x1200_61.00"  164.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync
  #Modeline "1600x1200_65.00"  175.00  1600 1712 1880 2160  1200 1203 1207 1248 -hsync +vsync
  #Modeline "1600x1200_70.00"  190.50  1600 1720 1888 2176  1200 1203 1207 1252 -hsync +vsync

  # modelines using gtf
  Modeline "1600x1200_60.00"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync
  Modeline "1600x1200_75.00"  205.99  1600 1720 1896 2192  1200 1201 1204 1253  -HSync +Vsync
  
  Option "Primary" "true"

EndSection



# this whole section also added by shekhar
Section "Monitor"
  Identifier "DVI-1"

  ## If your monitor doesn't support DDC you may override the
  ## defaults here

  HorizSync 94
  #VertRefresh 48-85

  ## Add your mode lines here, use e.g the cvt tool
  #Modeline "1600x1200_85.00"  235.00  1600 1728 1896 2192  1200 1203 1207 1262 -hsync +vsync
  #Modeline "1600x1200_75.00"  204.75  1600 1720 1888 2176  1200 1203 1207 1255 -hsync +vsync
  #Modeline "1600x1200_60.00"  161.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync
  #Modeline "1600x1200_61.00"  164.00  1600 1712 1880 2160  1200 1203 1207 1245 -hsync +vsync
  #Modeline "1600x1200_65.00"  175.00  1600 1712 1880 2160  1200 1203 1207 1248 -hsync +vsync
  #Modeline "1600x1200_70.00"  190.50  1600 1720 1888 2176  1200 1203 1207 1252 -hsync +vsync

  # modelines using gtf
  Modeline "1600x1200_60.00"  160.96  1600 1704 1880 2160  1200 1201 1204 1242  -HSync +Vsync
  Modeline "1600x1200_75.00"  205.99  1600 1720 1896 2192  1200 1201 1204 1253  -HSync +Vsync
  
  Option "RightOf" "DVI-0"
  
  #Option "PreferredMode" "1600x1200_75.00"

EndSection


and shiny new 50-screen.conf


Section "ServerLayout"
    Identifier          "DualHead Layout"
    Screen      0       "DualHead-Screen-0" 0 0
EndSection

Section "Screen"
    Identifier  "DualHead-Screen-0"
    Device      "ATI Radeon X600"
    
    DefaultDepth        24
    SubSection  "Display"
        Viewport        0 0
        Virtual         3200 2400
        Depth           24
    EndSubSection
EndSection

Section "ServerFlags"
    Option      "DefaultServerLayout"   "DualHead Layout"
EndSection

I cannot use catalyst, as my card (ATI RADEON X600) is not supported. I want to use composite and opengl stuffs, but it is not working good. What else can i do?

Repeated questions,

Have you tried to setup the monitors up via,
--System Settings
-----Hardware
--------Display and Monitor
(Your dual monitors should be configurable from there!)

Which version of KDE are you using?
Which version of openSUSE are you using?

Another question,
I’ve tried specifiying the Option “AccelMethod” without success.
Have you tried commenting out this and other options in the 50-device.conf file?

PS. My questions have nothing to do with catalyst!

Just noticed the statement, “I am using xorg-x11-driver-video-radeonhd-1.3.0_20100512_80ba041-37.5.x86_64”.
This driver does not support your hardware.

The driver for your card is in xorg-x11-driver-video and the latest version available? is 7.6-53.58.1.
This should be loaded by default anyway.

For hardware compatability etc. try cmds ‘info radeon’ and ‘info radeonhd’.

Kde- 4.7.2 release 9
opensuse 11.4 64-bit
Linux optiplex.nepnux.dyndns.org 3.0.6-2-desktop #1 SMP PREEMPT Mon Oct 10 10:23:07 UTC 2011 (f1106c1) x86_64 x86_64 x86_64 GNU/Linux

(just upgraded the kernel yesterday )

my xorg.0.log
http://pastebin.com/8kpuGeK4

output of rpm -qa | grep xorg


xorg-x11-libXdmcp-7.6-21.1.x86_64
xorg-x11-libxcb-32bit-7.6_1.7-22.1.x86_64
xorg-x11-libX11-32bit-7.6-76.5.x86_64
xorg-x11-libXext-devel-7.6_1.2.0-14.2.x86_64
xorg-x11-libXprintUtil-32bit-7.6-10.1.x86_64
xorg-x11-driver-video-radeonhd-1.3.0_20100512_80ba041-37.5.x86_64
xorg-x11-driver-input-7.6-133.1.x86_64
xorg-x11-fonts-core-7.6-77.1.noarch
xorg-x11-libXfixes-32bit-7.6_5.0-14.1.x86_64
xorg-x11-libXt-devel-7.6_1.0.9-38.1.x86_64
xorg-x11-libICE-32bit-7.6-23.1.x86_64
xorg-x11-libfontenc-devel-7.6-16.1.x86_64
xorg-x11-libXext-7.6_1.2.0-14.2.x86_64
xorg-x11-libXmu-32bit-7.6-21.1.x86_64
xorg-x11-libs-32bit-7.6-71.1.x86_64
xorg-x11-libXt-7.6_1.0.9-38.1.x86_64
xorg-x11-libXau-7.6_1.0.6-16.1.x86_64
xorg-x11-libxcb-7.6_1.7-22.1.x86_64
xorg-x11-libXfixes-7.6_5.0-14.1.x86_64
xorg-x11-libXp-32bit-7.6-10.1.x86_64
xorg-x11-driver-video-intel-legacy-2.9.1-8.1.x86_64
xorg-x11-xauth-7.6-201.1.x86_64
xorg-x11-server-7.6_1.10.4-166.17.x86_64
xorg-x11-xtrans-devel-7.6-16.1.x86_64
xorg-x11-libXmu-devel-7.6-21.1.x86_64
xorg-x11-libXdmcp-devel-7.6-21.1.x86_64
xorg-x11-libICE-devel-7.6-23.1.x86_64
xorg-x11-libXp-7.6-10.1.x86_64
xorg-x11-libXpm-devel-7.6-16.1.x86_64
xorg-x11-driver-video-7.6-245.1.x86_64
xorg-x11-libXau-32bit-7.6_1.0.6-16.1.x86_64
xorg-x11-fonts-devel-7.6-22.1.x86_64
xorg-x11-libXrender-32bit-7.6_0.9.6-16.1.x86_64
xorg-x11-libxkbfile-32bit-7.6-16.1.x86_64
xorg-x11-libXv-7.6-16.1.x86_64
xorg-x11-libxkbfile-devel-7.6-16.1.x86_64
xorg-x11-libXprintUtil-7.6-10.1.x86_64
xorg-x11-driver-video-nouveau-0.0.16_20110720_b806e3f-25.2.x86_64
xorg-x11-libICE-7.6-23.1.x86_64
xorg-x11-libX11-devel-7.6-76.5.x86_64
xorg-x11-libXmu-7.6-21.1.x86_64
xorg-x11-libXp-devel-7.6-10.1.x86_64
xorg-x11-devel-7.6-71.1.x86_64
xorg-x11-libX11-ccache-7.6-16.75.noarch
xorg-x11-Xvnc-7.6_1.10.4-166.17.x86_64
xorg-x11-libX11-7.6-76.5.x86_64
xorg-x11-fonts-7.6-77.1.noarch
xorg-x11-libXpm-32bit-7.6-16.1.x86_64
xorg-x11-libXrender-devel-7.6_0.9.6-16.1.x86_64
xorg-x11-libfontenc-7.6-16.1.x86_64
xorg-x11-libSM-7.6-21.1.x86_64
xorg-x11-libXext-32bit-7.6_1.2.0-14.2.x86_64
xorg-x11-libs-7.6-71.1.x86_64
xorg-x11-libXt-32bit-7.6_1.0.9-38.1.x86_64
xorg-x11-proto-devel-7.6-112.1.x86_64
xorg-x11-libXau-devel-7.6_1.0.6-16.1.x86_64
xorg-x11-libxcb-devel-7.6_1.7-22.1.x86_64
xorg-x11-libxkbfile-7.6-16.1.x86_64
xorg-x11-libXv-devel-7.6-16.1.x86_64
xorg-x11-libSM-devel-7.6-21.1.x86_64
xorg-x11-libXpm-7.6-16.1.x86_64
xorg-x11-libfontenc-32bit-7.6-16.1.x86_64
xorg-x11-libSM-32bit-7.6-21.1.x86_64
xorg-x11-libXrender-7.6_0.9.6-16.1.x86_64
xorg-x11-libXfixes-devel-7.6_5.0-14.1.x86_64
xorg-x11-libXprintUtil-devel-7.6-10.1.x86_64
xorg-x11-util-devel-7.6-35.1.x86_64
xorg-x11-7.6-201.1.x86_64


Have you tried commenting out this and other options in the 50-device.conf file?

I added all those “Options” in 50-device.conf to see if it works after adding them, they did not help at all. I needed the SWcursor option because sometimes the mouse would turn into a square inch block in second monitor and could not revert it back without logging out.
Right now, the mouse appears garbage over some of the items like over the teamviewer window and over some other things, but it turns back as an arrow as soon as i move it to other place.

I am now thinking radeon driver does not provide opengl compositing?

Hi,

Your list of xorg-x11 files are not from openSUSE11.4!

I’m using openSUSE11.4 + Tumbleweed and your files versions are light years ahead of anything I have.

Only one further comment I can make,
I have one additional file installed … xorg-x11-libXv-32bit-7.6-6.1.x86_64

Those are from opensuse 11.4 Update repo.

@kellambert do you have working opengl (for kde effects at least) with dual head monitor with radeon card (older not HD)?

I am so surprised that there is no support for older cards from ATI, and I dont think the open source drivers support opengl 3d and I think that’s what the problem in my computer. :frowning:

I have no access to any machine, at the moment, using the radeon or radeonhd driver.
All are using proprietry drivers on openSUSE11.4+Tumbleweed.
So I cannot answer your question wrt opengl and old graphics cards.

History from April-2011
On a PC with an unsupport card (radeon driver), RV530/RV560 Radeon X1650 Pro, there were some problems.
But not dual monitor related, with a single monitor the results were the same.
After a kernel update GoogleEarth would not run, with some checking even glxgears would not run.
A bug report was raised, see Bug 686023 - radeon [X1650] Broken Mesa rendering for R500 GPUs.

Feedback was, this had now been fixed but possibly only for openSUSE12.1.