From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-102303-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1N1KTJ-00028J-6L
	for garchives@archives.gentoo.org; Fri, 23 Oct 2009 13:46:25 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1BCBEE0946;
	Fri, 23 Oct 2009 13:46:24 +0000 (UTC)
Received: from mail-yx0-f174.google.com (mail-yx0-f174.google.com [209.85.210.174])
	by pigeon.gentoo.org (Postfix) with ESMTP id EA1D1E0946
	for <gentoo-user@lists.gentoo.org>; Fri, 23 Oct 2009 13:46:23 +0000 (UTC)
Received: by yxe4 with SMTP id 4so7241081yxe.32
        for <gentoo-user@lists.gentoo.org>; Fri, 23 Oct 2009 06:46:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=RS+sjLOOlIgyotoOdqRyPp5Ek60UWDoMjI0CEKM7WsM=;
        b=fVA41RFd1nRJySgp3htBQMrmyDjbMhi80/KjH2Wus44io2XYLLk8F6bul4ns9UuIBY
         5FFPUfrLR62cO/d0+Tqs03NYK7HYHHkSZ0JgbdvUQBSMa7JMD+jMacAV0/GLMb62iOMS
         WBeMLAJAwtiCJsXTZjiVIy/WHHgBXUJrk2Da4=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=YMJyr+oUiAlgBL2qVZydwM6pcFa/gd4/zvkl6JqfUuacsFozvsaMsOZ1Un5huIvX3/
         XeJLEkgAE6EFAP3TPL76Z0AGHkGySnoMXt/nIHN3sFrvaQTmNNQqEP7xZke56qyXUnIn
         nyQVSIkMrzaf9x3Yyblwrpx9Nx4hWB9LHcugY=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.150.26.5 with SMTP id 5mr18230429ybz.228.1256305583585; Fri, 
	23 Oct 2009 06:46:23 -0700 (PDT)
In-Reply-To: <200910231415.25058.wonko@wonkology.org>
References: <200910231415.25058.wonko@wonkology.org>
Date: Fri, 23 Oct 2009 06:46:23 -0700
Message-ID: <5bdc1c8b0910230646q6055adabj24c7635a40f1b7bc@mail.gmail.com>
Subject: Re: [gentoo-user] ATI X trouble, again
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 2afd2017-a316-4c2c-ad38-fdf2e5d08418
X-Archives-Hash: 04f187e91746199180ee66247e948dd9

On Fri, Oct 23, 2009 at 5:15 AM, Alex Schuster <wonko@wonkology.org> wrote:
> Hi there!
>
> Now all this X stuff is becoming really annoying. I struggled for days to
> get it to work again after the upgrade to 1.6. I have a Radeon HD3200 and
> tried using fglrx, radeon, radeonhd, vesa, or no xorg.conf at all. I got =
a
> blank screen only and no apparent errors in the Xorg log. So it seems X w=
as
> running fine, apart from having a blank screen.
>
> I had similar problems when I started with this machine half a year ago.
> With every update of kernel, X or ati-drivers, I fear that my X will not
> work when I reboot. And half of the times this is true. For some three ye=
ars
> before I had an old NVidia card, and experienced the same. But then I cou=
ld
> just change driver from nvidia to nv and got X running, just without
> acceleration. What is quite annoying with my ATI card is that often I can=
not
> go back to text mode then I try something new in my xorg.conf, and have t=
o
> reboot. I know about Alt-SysRq-R, this works sometimes (but only once, no=
t
> if I start X again), and sometimes it does not.
>
> The good news is, that with 2.6.31-tuxonice and ati-drivers-9.9-r2 sudden=
ly
> all is working perfectly. For this time, let's see what the next update w=
ill
> do.
>
> But there is this machine of a friend which I just updated. She did not d=
o
> this for about a year, mostly because she also had lots of troubles in
> configuring her X. She needs a working TV-out, which complicates things e=
ven
> more. And so she did not dare to change her working setup, I can understa=
nd
> this.
>
> Now I upgraded the machine, which was some trouble, too, many blockers an=
d
> such. That's done, all is perfectly fine I think. But I did that from
> remote, now I tried to start X. Guess what happened. No apparent errors w=
ith
> radeon, radeonhd or without xorg.conf, but the screen just goes blank, th=
e
> TFT enters suspend mode. With vesa, X hangs so I cannot go back into text
> mode and have to reboot.
> I replaced her TFT with a CRT monitor. Same result, whether I configure t=
his
> monitor or not, when I start X it complains about bad frequencies.
>
> I did not try ati-drivers. Her card is a RV505 (Radeon X1550 Series) whic=
h
> is no longer supported by current ati-drivers. Older drivers might still
> work for a while, but only with kernels < 2.6.29. And I suspect the probl=
em
> is not the driver itself, because radeon does not work, too, and I also h=
ad
> similar problems of a blank screen with an ATI card and different drivers=
.
>
> Today is her birthday, I intended to present her the updated PC with
> accelerated X and KDE4, but now she cannot use it at all.
>
> Any idea what do to now? Apart from buying a new graphics adapter, which
> might work, or might not work. Or trying more monitors. The xorg.conf and
> some log files are here, in case someone wants to have a look:
> http://wonkology.org/~wonko/tmp/tanja/
>
> Thanks,
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Wonko
>
>

Hi Wonko,
   I have a couple of old Asus Pundit-R machines that I use for MythTV
frontends which had the same sort of problems - a specific ATI VGA
9100 IGP design built into the chipset and I needed TVout to drive the
TVs. I was stuck with very old kernels and an old ATI fglrx driver
made even more difficult as the Gentoo maintainers dropped everything
I was using from portage and I had to build my own overlays. It was a
mess.

   I did recently manage to get things running with new software and
the Open Source radeon driver. Maybe some of this will help you and
your friend. Feel free to contact me off-list if you need to.

   A couple of things to note:

1) I've never done any hal specific modifications on any of my machines.
2) You must choose an 800x600 default resolution for the Open Source
TVout logic to work as that's the only one they implemented.
3) If it matters my TVout is S-video

Hope this helps,
Mark

myth12 ~ # uname -a
Linux myth12 2.6.29-gentoo-r5 #6 PREEMPT Mon Jul 20 13:11:33 PDT 2009
i686 Intel(R) Celeron(R) CPU 2.26GHz GenuineIntel GNU/Linux
myth12 ~ #

myth12 ~ # emerge -pv xorg-server xf86-video-ati xf86-input-evdev

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild   R   ] x11-base/xorg-server-1.6.3.901-r2  USE=3D"hal ipv6 nptl
sdl xorg -debug -dmx -kdrive -minimal -tslib" 0 kB
[ebuild   R   ] x11-drivers/xf86-video-ati-6.12.4  USE=3D"-debug" 0 kB
[ebuild   R   ] x11-drivers/xf86-input-evdev-2.2.5  USE=3D"-debug" 0 kB

Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
myth12 ~ #

myth12 ~ # lspci
00:00.0 Host bridge: ATI Technologies Inc Radeon 9100 IGP Host Bridge (rev =
02)
00:01.0 PCI bridge: ATI Technologies Inc Radeon 9100 IGP AGP Bridge
00:13.0 USB Controller: ATI Technologies Inc OHCI USB Controller #1 (rev 01=
)
00:13.1 USB Controller: ATI Technologies Inc OHCI USB Controller #2 (rev 01=
)
00:13.2 USB Controller: ATI Technologies Inc EHCI USB Controller (rev 01)
00:14.0 SMBus: ATI Technologies Inc SMBus (rev 1a)
00:14.1 IDE interface: ATI Technologies Inc Dual Channel Bus Master
PCI IDE Controller
00:14.3 ISA bridge: ATI Technologies Inc Device 434c
00:14.4 PCI bridge: ATI Technologies Inc IXP200 3COM 3C920B Ethernet Contro=
ller
00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97
Audio Controller (rev 01)
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon 9100 IGP
02:08.0 Ethernet controller: 3Com Corporation 3Com 3C920B-EMB-WNM
Integrated Fast Ethernet Controller (rev 40)
02:0a.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II
IEEE 1394 OHCI Link Layer Controller (rev 80)
02:0c.0 CardBus bridge: ENE Technology Inc CB-710/2/4 Cardbus
Controller (rev 02)
02:0c.1 FLASH memory: ENE Technology Inc CB710 Memory Card Reader Controlle=
r
myth12 ~ #

myth12 ~ # cat /etc/make.conf
# These settings were set by the catalyst build script that
automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS=3D"-O2 -march=3Di686 -fomit-frame-pointer -pipe"
CHOST=3D"i686-pc-linux-gnu"
CXXFLAGS=3D"${CFLAGS}"
MAKEOPTS=3D"-j2"
LIRC_DEVICES=3D"streamzap"
VIDEO_CARDS=3D"radeon mesa fbdev vesa"
INPUT_DEVICES=3D"evdev"
PORTAGE_NICENESS=3D19
EMERGE_DEFAULT_OPTS=3D"--with-bdeps y"
USE=3D"-X -jack -arts -apm -esd -cups -samba -i8x0 caps nptl nptlonly
audiofile ppds usb alsa cdr dvd dvdr dvdread mmx sse sse2 tcltk
sndfile flac lirc mjpeg threads "
GENTOO_MIRRORS=3D"http://gentoo.osuosl.org/ "
SYNC=3D"rsync://rsync.gentoo.org/gentoo-portage"
myth12 ~ #


myth12 ~ # cat /etc/X11/xorg.conf
Section "Module"

    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

Section "Files"

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/75dpi/"
EndSection

Section "ServerFlags"

EndSection


Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"

    Option "AutoRepeat" "500 30"

    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us"

EndSection

Section "InputDevice"

    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "Auto" # Auto detect
    Option "Device"      "/dev/input/mice"
    Option "ZAxisMapping"   "4 5 6 7"

EndSection

Section "Monitor"

    Identifier  "My Monitor"
    Option      "PreferredMode" "800x600"
    HorizSync   31.5 - 57.0
    VertRefresh 50-90

EndSection


Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection


Section "Device"
    Identifier  "** ATI Radeon (generic)               [radeon]"
    Driver      "radeon"
    Option      "ForceTVOut" "on"
    Option      "TVDACLoadDetect" "TRUE"
    Option      "TVStandard" "ntsc"
    Option      "monitor-S-video" "TV-monitor"
EndSection


Section "Screen"
    Identifier  "Screen 1"
    Device      "** ATI Radeon (generic)               [radeon]"
    Monitor     "My Monitor"
    DefaultDepth        24

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "800x600"
        ViewPort    0 0
    EndSubsection
EndSection


Section "ServerLayout"

    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection

myth12 ~ #


myth12 ~ # rc-update show
           alsasound |      default
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
                dbus |      default
                hald |      default
            hostname | boot
             keymaps | boot
               lircd |      default
               local |      default nonetwork
          localmount | boot
             modules | boot
            net.eth0 |      default
              net.lo | boot
            netmount |      default
                ntpd |      default
           rmnologin | boot
                sshd |      default
           syslog-ng |      default
             urandom | boot
          vixie-cron |      default
myth12 ~ #