[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xorg (fglrx, radeon, radeonhd, vesa) not working after upgrade



On Fri, May 1, 2009 at 04:18, Stefan Bellon <sbellon@sbellon.de> wrote:
> thveillon.debian wrote:
>> I don't know if I am the only one, but the attachment you sent in the
>> first message has been messed up, to the point that it's impossible to
>> understand anything:
>
> Ah, didn't know that. I'll put the files inline then (line breaks may
> be wrong then, but hey ...).
>
>
>
>
> xorg.conf:
>
>
> # xorg.conf (Xorg X Window System server configuration file)
> #
> # This file was generated by dexconf, the Debian X Configuration tool,
> # using values from the debconf database.
> #
> # Edit this file with caution, and see the xorg.conf manual page.
> # (Type "man xorg.conf" at the shell prompt.)
> #
> # This file is automatically updated on xserver-xorg package upgrades
> # *only* if it has not been modified since the last upgrade of the
> # xserver-xorg package.
> #
> # If you have edited this file but would like it to be automatically
> # updated again, run the following commands as root:
> #
> #   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
> #   md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum
> #   dpkg-reconfigure xserver-xorg
>
> Section "ServerLayout"
>        Identifier     "Default Layout"
>        Screen         "Generic Screen" 0 0
>        InputDevice    "Generic Keyboard"
>        InputDevice    "Generic Mouse"
> EndSection
>
> Section "Files"
>
>        # local font server
>        # if the local font server has problems, we can fall back on these
>        FontPath     "unix/:7100"
>        FontPath     "/usr/share/fonts/X11/misc/"
>        FontPath     "/usr/share/fonts/X11/TTF/"
>        FontPath     "/usr/share/fonts/X11/OTF"
>        FontPath     "/usr/share/fonts/X11/Type1/"
>        FontPath     "/usr/share/fonts/X11/CID/"
>        FontPath     "/usr/share/fonts/X11/100dpi/"
>        FontPath     "/usr/share/fonts/X11/75dpi/"
> EndSection
>
> Section "Module"
>        Load  "i2c"
>        Load  "bitmap"
>        Load  "dbe"
>        Load  "ddc"
>        Load  "dri"
>        Load  "evdev"
>        Load  "extmod"
>        Load  "freetype"
>        Load  "glx"
>        Load  "int10"
>        Load  "record"
>        Load  "type1"
>        Load  "vbe"
> EndSection
>
> Section "InputDevice"
>        Identifier  "Generic Keyboard"
>        Driver      "kbd"
>        Option      "CoreKeyboard"
>        Option      "XkbRules" "xorg"
>        Option      "XkbModel" "pc105"
>        Option      "XkbLayout" "de"
>        Option      "XkbVariant" "nodeadkeys"
> EndSection
>
> Section "InputDevice"
>        Identifier  "Generic Mouse"
>        Driver      "mouse"
>        Option      "CorePointer"
>        Option      "Device" "/dev/input/mice"
>        Option      "Protocol" "ImPS/2"
>        Option      "EmulateWheel" "on"
>        Option      "EmulateWheelButton" "2"
>        Option      "EmulateWheelTimeout" "300"
>        Option      "EmulateWheelInertia" "25"
>        Option      "Emulate3Buttons" "on"
>        Option      "XAxisMapping" "6 7"
>        Option      "YAxisMapping" "4 5"
>        Option      "ZAxisMapping" "4 5"
> EndSection
>
> Section "Monitor"
>        Identifier   "LCD"
>        DisplaySize  286        214
>        HorizSync    30.0 - 67.0
>        VertRefresh  50.0 - 75.0
>        Option      "DPMS"
> EndSection
>
> Section "Device"
>        Identifier  "ATI Technologies, Inc. ATI Default Card"
>        Driver      "fglrx"
>        Option      "ForceMonitors" "LVDS,CRT1"
>        Option      "EnableMonitor" "crt1,lvds"
>        Option      "VideoOverlay" "True"
>        Option      "OpenGLOverlay" "False"
>        BusID       "PCI:1:0:0"
> EndSection
>
> Section "Screen"
>        Identifier "Generic Screen"
>        Device     "ATI Technologies, Inc. ATI Default Card"
>        Monitor    "LCD"
>        DefaultDepth     24
>        SubSection "Display"
>                Viewport   0 0
>                Depth     1
>                Modes    "1400x1050" "1024x768"
>        EndSubSection
>        SubSection "Display"
>                Viewport   0 0
>                Depth     4
>                Modes    "1400x1050" "1024x768"
>        EndSubSection
>        SubSection "Display"
>                Viewport   0 0
>                Depth     8
>                Modes    "1400x1050" "1024x768"
>        EndSubSection
>        SubSection "Display"
>                Viewport   0 0
>                Depth     15
>                Modes    "1400x1050" "1024x768"
>        EndSubSection
>        SubSection "Display"
>                Viewport   0 0
>                Depth     16
>                Modes    "1400x1050" "1024x768"
>        EndSubSection
>        SubSection "Display"
>                Viewport   0 0
>                Depth     24
>                Modes    "1400x1050" "1024x768"
>                #Modes    "1024x768"
>        EndSubSection
> EndSection
>
> Section "DRI"
>        Mode         0666
> EndSection
>
> Section "Extensions"
>        Option      "Composite" "true"
> EndSection
>

I would start by cleaning up your xorg.conf. First, remove the Files section,
it is not needed. You can also completely remove the Modules section.

I think you could also delete the sections "DRI" and "Extensions", but
I am not positive on that. You could try commenting them out instead.

Then I would make a separate Device section for each driver and keep
the currently unneeded one commented out.

# Section "Device"
#       Identifier  "ATI Technologies, Inc. ATI Default Card"
#        Driver      "fglrx"
#       Option      "ForceMonitors" "LVDS,CRT1"
#        Option      "EnableMonitor" "crt1,lvds"
#        Option      "VideoOverlay" "True"
#        Option      "OpenGLOverlay" "False"
#        BusID       "PCI:1:0:0"
# EndSection

# (I presume those options are needed for fglrx?)

 Section "Device"
        Identifier  "ATI Technologies, Inc. ATI Default Card"
        Driver      "radeon"
        BusID       "PCI:1:0:0"
        Option      "AccelMethod"    "exa"
 EndSection

Also, in section "ServerLayout" put:
Option "AutoAddDevices"    "False
Option "AllowEmptyInput"    "False"

...presuming you don't want to use the new hal-based
input system.

And if you want to be able to continue to use ctrl-alt-bs
to kill the X server, you can put this in:

Section "ServerFlags"
        Option          "DontZap"           "off"
EndSection

Just for fun, you might try purging and reinstalling
the drivers,  then see what kind of results you get
with this setup.


Cheers,
Kelly Clowers


Reply to: