Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Xgl] xorg.conf messed up - xgl won't work
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Tue Jul 25, 2006 12:18 am    Post subject: [Xgl] xorg.conf messed up - xgl won't work Reply with quote

Hi!
I have a laptop with ATi Mobility Radeon card. I installed it using ati how-to and everything worked fine until I updated ATi drivers - they totally messed up my xorg.conf. At first, I didn't even want to start Gnome but after putting a couple of #'s, it got back to life. However, I still have a feeling that it shouldn't look like that:
Code:

Section "ServerLayout"

        Identifier     "Server Layout"
   Screen         "Screen0" 0 0
#   Screen         "aticonfig-Screen[1]" RightOf "Screen0"
   InputDevice    "Touchpad" "CorePointer"
   InputDevice    "Logitech" "SendCoreEvents"
   InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
   FontPath     "/usr/X11R6/lib/X11/fonts/local/"
   FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
   Load  "dbe"     # Double buffer extension
   SubSection "extmod"
      Option       "omit xfree86-dga"   # don't initialise the DGA extension
   EndSubSection
   Load  "type1"
   Load  "freetype"
# This loads the GLX module
   Load  "glx"   # libglx.a
   Load  "dri"   # libdri.a
EndSection

Section "InputDevice"
   Identifier  "Keyboard1"
   Driver      "kbd"
   Option       "XkbLayout" "us,lt"
   Option       "XkbOptions" "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
   Identifier  "Logitech"
   Driver      "mouse"
   Option       "Protocol" "ExplorerPS/2"
   Option       "Buttons" "10"
   Option       "ZAxisMapping" "4 5"
   Option       "Resolution" "800"
   Option       "Device" "/dev/input/mice"
   Option       "Dev Name" "Logitech USB Receiver"
   Option       "Dev Phys" "usb-0000:00:1d.0-2/input0"
   Option       "SendCoreEvents" "true"
EndSection

Section "InputDevice"
   Identifier  "Touchpad"
   Driver      "synaptics"
   Option       "Device" "/dev/psaux"
   Option       "Protocol" "auto-dev"
   Option       "LeftEdge" "1700"
   Option       "RightEdge" "5300"
   Option       "TopEdge" "1700"
   Option       "BottomEdge" "4200"
   Option       "FingerLow" "25"
   Option       "FingerHigh" "30"
   Option       "MaxTapTime" "180"
   Option       "MaxTapMove" "220"
   Option       "VertScrollDelta" "100"
   Option       "MinSpeed" "0.09"
   Option       "MaxSpeed" "0.18"
   Option       "AccelFactor" "0.0015"
   Option       "SHMConfig" "on"
#  Option   "Repeater"   "/dev/ps2mouse"
EndSection

Section "Monitor"
   Identifier   "WXGA"
   HorizSync    31.5 - 50.0
   VertRefresh  40.0 - 90.0
   Option       "DPMS"
EndSection

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

Section "Device"
#    BusID       "PCI:0:10:0"
#    VideoRam    256
#    Clocks      25.2 28.3
   Identifier  "Standard VGA"
   Driver      "vga"
   VendorName  "Unknown"
   BoardName   "Unknown"
EndSection

Section "Device"

# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
# vendor=1002, device=3150
   Identifier  "ATI"
   Driver      "fglrx"
   Option       "no_accel" "no"
   Option       "no_dri" "no"
   Option "ForceMonitors"   "notv"
# === misc DRI settings ===
   Option       "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
   Option       "DesktopSetup" "(null)"
   Option       "ScreenOverlap" "0"
# === TV-out Management ===
   Option       "TVFormat" "NTSC-M"
   Option       "TVStandard" "VIDEO"
   Option       "TVHSizeAdj" "0"
   Option       "TVVSizeAdj" "0"
   Option       "TVHPosAdj" "0"
   Option       "TVVPosAdj" "0"
   Option       "TVHStartAdj" "0"
   Option       "TVColorAdj" "0"
   Option       "GammaCorrectionI" "0x00000000"
   Option       "GammaCorrectionII" "0x00000000"
# === OpenGL specific profiles/settings ===
   Option       "Capabilities" "0x00000000"
   Option       "CapabilitiesEx" "0x00000000"
# === Video Overlay for the Xv extension ===
   Option       "VideoOverlay" "on"
# === OpenGL Overlay ===
   Option       "OpenGLOverlay" "off"
# === Center Mode (Laptops only) ===
   Option       "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
   Option       "PseudoColorVisuals" "off"
# === QBS Management ===
   Option       "Stereo" "off"
   Option       "StereoSyncEnable" "1"
# === FSAA Management ===
   Option       "FSAAEnable" "no"
   Option       "FSAAScale" "1"
   Option       "FSAADisableGamma" "no"
   Option       "FSAACustomizeMSPos" "no"
   Option       "FSAAMSPosX0" "0.000000"
   Option       "FSAAMSPosY0" "0.000000"
   Option       "FSAAMSPosX1" "0.000000"
   Option       "FSAAMSPosY1" "0.000000"
   Option       "FSAAMSPosX2" "0.000000"
   Option       "FSAAMSPosY2" "0.000000"
   Option       "FSAAMSPosX3" "0.000000"
   Option       "FSAAMSPosY3" "0.000000"
   Option       "FSAAMSPosX4" "0.000000"
   Option       "FSAAMSPosY4" "0.000000"
   Option       "FSAAMSPosX5" "0.000000"
   Option       "FSAAMSPosY5" "0.000000"
# === Misc Options ===
   Option       "UseFastTLS" "0"
   Option       "BlockSignalsOnLock" "on"
   Option       "UseInternalAGPGART" "yes"
   Option       "ForceGenericCPU" "no"
   BusID       "PCI:1:0:0"
EndSection

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

Section "Screen"
   Identifier "Screen0"
   Device     "ATI"
   Monitor    "WXGA"
   DefaultDepth     24
   SubSection "Display"
      Depth     8
      Modes    "1280x800"
   EndSubSection
   SubSection "Display"
      Depth     16
      Modes    "1280x800"
   EndSubSection
   SubSection "Display"
  # initial origin if mode is smaller than desktop
#        Modes "1024x786" "800x600"
      Viewport   0 0
      Depth     24
      Modes    "1280x800" "1024x768" "800x600"
   EndSubSection
   SubSection "Display"
      Depth     32
      Modes    "1280x800"
   EndSubSection
EndSection

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

Section "DRI"

# Access to OpenGL ICD is allowed for all users:
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
   Mode         0666
EndSection

The reason why I want to correct it is that Xgl doesn't want to run - I would really like to post the error log but I don't know where to find it. Thanks for any help!


Last edited by Wojtek_ on Wed Jul 26, 2006 6:34 am; edited 2 times in total
Back to top
View user's profile Send private message
shazam75
Guru
Guru


Joined: 18 Mar 2006
Posts: 563
Location: Brisbane, Australia

PostPosted: Tue Jul 25, 2006 1:27 am    Post subject: Reply with quote

I use nvidia and had to re-run a nvidia step in the handbook instructions - maybe consult the ati section of the handbook and re-run the script that updates your ati install.
Back to top
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Tue Jul 25, 2006 5:45 am    Post subject: Reply with quote

It didn't help - any more ideas?
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Tue Jul 25, 2006 6:18 am    Post subject: Reply with quote

Post the soft versions and the model of your card.
Back to top
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Tue Jul 25, 2006 6:34 am    Post subject: Reply with quote

I am using gentoo-sources-2.6.16-r9, gnome 2.14, ati-drivers-8.26.18-r1 and the card is an ATi Mobility Radeon X600.
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Tue Jul 25, 2006 6:46 am    Post subject: Reply with quote

Try using ati-drivers-8.25.18 and xgl-0.0.1_pre20060619-r3
Back to top
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Tue Jul 25, 2006 9:14 pm    Post subject: Reply with quote

Older drivers don't work. When I try to launch Xgl the system crashes in a funny way - the screen under Alt+Ctrl+F7 looks like a blue gnome wallpaper with gnome mouse pointer and nothing else on the screen, whereas when I switch to Alt+Ctrl+F8 I get a gray background with a cross mouse pointer (typical 'pure X' look). That's why I feel there's something wrong with my xorg.conf and screen/display configuration.
Back to top
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Wed Jul 26, 2006 6:34 am    Post subject: Reply with quote

[bump]
Back to top
View user's profile Send private message
Wojtek_
Guru
Guru


Joined: 28 May 2006
Posts: 397
Location: London

PostPosted: Fri Jul 28, 2006 4:49 pm    Post subject: Reply with quote

[bump]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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