Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] ATIHD4870 - fglrx, Xinerama, Xrandr reports errors
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Bruners
n00b
n00b


Joined: 18 Nov 2009
Posts: 15

PostPosted: Thu Dec 03, 2009 6:45 am    Post subject: [Solved] ATIHD4870 - fglrx, Xinerama, Xrandr reports errors Reply with quote

I'm currently running on ati-drivers 9.10 as the 9.11 drivers gives me garbage performance, my kernel is from vanilla-sources 2.6.31.3.
I have two monitors, one running at 1440x900 and one with 1680x1050 and have Xinerama enabled in my xorg.conf (se below).
My Xorg-server version is 1.6.5 and xmonad 0.9

Each time I start something that reads screen information or if I run xrandr I get the error below, everything else is working as intended.
Code:
Xlib:  extension "RANDR" missing on display ":0.0".
RandR extension missing

So I'm wondering how i can get Xrandr working if it is even possible to get with Xinerama.

lspci:
Code:
VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4870]


My xorg.conf
Code:
Section "ServerLayout"
   Identifier     "aticonfig Layout"
   Screen      0  "aticonfig-Screen[0]-0" 0 0
   Screen         "aticonfig-Screen[0]-1" LeftOf "aticonfig-Screen[0]-0"
EndSection

Section "Files"
   FontPath   "/usr/share/fonts/misc:unscaled"
   FontPath   "/usr/share/fonts/Type1"
   FontPath   "/usr/share/fonts/TTF"
   FontPath   "/usr/share/fonts/corefonts"
   FontPath   "/usr/share/fonts/freefont"
   FontPath   "/usr/share/fonts/sharefonts"
   FontPath   "/usr/share/fonts/inconsolata"
   FontPath   "/usr/share/fonts/terminus"
   FontPath   "/usr/share/fonts/ttf-bitstream-vera"
   FontPath   "/usr/share/fonts/unifont"
   FontPath   "/usr/share/fonts/75dpi:unscaled"
   FontPath   "/usr/share/fonts/100dpi:unscaled"
   FontPath   "/usr/share/fonts/artwiz"
EndSection

Section "Module"
   Disable "dri2"
EndSection

Section "ServerFlags"
   Option       "Xinerama" "on"
EndSection

Section "Monitor"
   Identifier   "aticonfig-Monitor[0]-0"
   Option       "VendorName" "ATI Proprietary Driver"
   Option       "ModelName" "Generic Autodetecting Monitor"
   Option       "DPMS" "true"
EndSection

Section "Monitor"
   Identifier   "aticonfig-Monitor[0]-1"
   Option       "VendorName" "ATI Proprietary Driver"
   Option       "ModelName" "Generic Autodetecting Monitor"
   Option       "DPMS" "true"
EndSection

Section "Device"
   Identifier  "aticonfig-Device[0]-0"
   Driver      "fglrx"
   Option   "OverlayOnCRTC2" "1"
   BusID       "PCI:1:0:0"
EndSection

Section "Device"
   Identifier  "aticonfig-Device[0]-1"
   Driver      "fglrx"
   BusID       "PCI:1:0:0"
   Screen      1
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[0]-0"
   Device     "aticonfig-Device[0]-0"
   Monitor    "aticonfig-Monitor[0]-0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1680x1050"
   EndSubSection
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[0]-1"
   Device     "aticonfig-Device[0]-1"
   Monitor    "aticonfig-Monitor[0]-1"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1440x900"
   EndSubSection
EndSection

Section "Extensions"
   Option       "Composite" "off"
EndSection


my xorg.log http://pastebin.ca/1699752


Last edited by Bruners on Tue Dec 08, 2009 8:20 am; edited 1 time in total
Back to top
View user's profile Send private message
Bruners
n00b
n00b


Joined: 18 Nov 2009
Posts: 15

PostPosted: Fri Dec 04, 2009 5:44 am    Post subject: Reply with quote

Shameless bump and some new confusing info

if i run sudo aticonfig --query-monitor i get

Code:
Error: option --query-monitor is not supported when RandR 1.2 is enabled!


but when i run xrandr i still get
Code:
Xlib:  extension "RANDR" missing on display ":0.0".
RandR extension missing
Back to top
View user's profile Send private message
Bruners
n00b
n00b


Joined: 18 Nov 2009
Posts: 15

PostPosted: Tue Dec 08, 2009 8:20 am    Post subject: Reply with quote

Got this solved now, or i got aticonfig working as intended by disabling Xrandr. It still leaves my question unanswered if this is the correct thing to do.

To disable Xrandr i have found two options the first using aticonfig to set this.
First i checked with the following
Code:
sudo aticonfig --get-pcs-key="DDX,EnableRandR12"

Which returned TRUE and set it to FALSE with:
Code:
sudo aticonfig --set-pcs-str="DDX,EnableRandR12,FALSE"

The command doesn't return what it actually set so it could be wise to check it again with the --get-pcs-str again.

It can also be done manually by editing the file /etc/ati/amdpcsdb putting the value EnableRandr12 to SFALSE.
Code:
[AMDPCSROOT/SYSTEM/DDX]
OGLFMTA2R10G10B10Enable=V1
DisableLoadBalancing=V1
DesktopSetup=Shorizontal,reverse
OverlayOnCRTC2=S1
EnableRandr12=STRUE


i also read that adding
Code:
Option      "EnableRandR12" "false"
under device was needed but it worked without that here.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum