xf86-video-ati possibly broken on MacMini's

View: New views
4 Messages — Rating Filter:   Alert me  

xf86-video-ati possibly broken on MacMini's

by Harley Laue :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The current xf86-video-ati package 6.7.195 doesn't want to work on my MacMini, it errors with:
(WW) ****INVALID IO ALLOCATION**** b: 0xf0000400 e: 0xf00004ff correcting
(EE) end of block range 0xefffffff < begin 0xf0000000
(II) Module "ddc" already built-in
(II) Module "i2c" already built-in
finished output detect: 0
finished output detect: 1
finished output detect: 2
finished all detect
before xf86InitialConfiguration
(EE) RADEON(0): No valid modes.
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
Rebuilding xf86-video-ati version 6.6.3 seems to fix it though it still has the following:
(WW) ****INVALID IO ALLOCATION**** b: 0xf0000400 e: 0xf00004ff correcting
(EE) end of block range 0xefffffff < begin 0xf0000000
(**) RADEON(0): RADEONPreInit
(II) Module "ddc" already built-in
(II) Module "i2c" already built-in
(II) Module "ramdac" already built-in
(**) RADEON(0): RADEONScreenInit 98000000 0

But at least this one works. Any suggestions on what the problem might be? I'll go ahead and attach the full error from the current driver and also my xorg.conf.


xauth:  creating new authority file /home/harley/.serverauth.3035

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.22-ARCH ppc
Current Operating System: Linux archmaclan 2.6.22-ARCH #1 Thu Sep 27 12:55:13 UTC 2007 ppc
Build Date: 22 October 2007  01:47:54AM
 
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov  6 10:03:41 2007
(==) Using config file: "/etc/X11/xorg.conf"

(WW) ****INVALID IO ALLOCATION**** b: 0xf0000400 e: 0xf00004ff correcting
(EE) end of block range 0xefffffff < begin 0xf0000000
(II) Module "ddc" already built-in
(II) Module "i2c" already built-in
finished output detect: 0
finished output detect: 1
finished output detect: 2
finished all detect
before xf86InitialConfiguration
(EE) RADEON(0): No valid modes.
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
giving up.
xinit:  Connection reset by peer (errno 104):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

Section "Module"
        Load "dbe"
        SubSection "extmod"
                Option "omit xfree86-dga"
        EndSubSection
        Load "freetype"
        Load "glx"
# Load "type1"
# Load "xtt"
# Load "dri"
EndSection

Section "Files"
        FontPath "/usr/share/fonts/misc"
        FontPath "/usr/share/fonts/100dpi:unscaled"
        FontPath "/usr/share/fonts/75dpi:unscaled"
# RgbPath "/usr/share/X11/rgb"
# FontPath "/usr/share/fonts/TTF"
# FontPath "/usr/share/fonts/Type1"
# FontPath "/usr/lib/X11/fonts/local/"
# FontPath "/usr/lib/X11/fonts/misc/"
# FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
# FontPath "/usr/lib/X11/fonts/Speedo/"
# FontPath "/usr/lib/X11/fonts/Type1/"
# FontPath "/usr/lib/X11/fonts/TrueType/"
# FontPath "/usr/lib/X11/fonts/freefont/"
# FontPath "/usr/lib/X11/fonts/75dpi/"
# FontPath "/usr/lib/X11/fonts/100dpi/"
# ModulePath "/usr/lib/modules"
EndSection

Section "ServerFlags"
# Option "NoTrapSignals"
# Option "DontVTSwitch"
# Option "DontZap"
# Option "Dont Zoom"
# Option "DisableVidModeExtension"
# Option "AllowNonLocalXvidtune"
# Option "DisableModInDev"
# Option "AllowNonLocalModInDev"
EndSection

Section "InputDevice"
        Identifier "Keyboard1"
        Driver "kbd"
        Option "AutoRepeat" "500 30"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc101"
        Option "XkbLayout" "us"
        Option "XkbVariant" "dvorak"
# Option "Protocol" "Xqueue"
EndSection

Section "InputDevice"
        Identifier "Mouse1"
        Driver "mouse"
        Option "Protocol" "IMPS/2"
        Option "Device" "/dev/psaux"
        Option "ZAxisMapping" "4 5 6 7"
        Option "Emulate3Buttons"
# Option "Protocol" "Xqueue"
# Option "Resolution" "256"
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Option "Emulate3Timeout" "50"
# Option "ChordMiddle"
EndSection

Section "Monitor"
        Identifier "Samsung"
        HorizSync 31.5 - 64.3
        VertRefresh 50-100
EndSection

Section "Device"
        Identifier "Ati"
        Driver "radeon"
        BoardName "ATI Radeon 9200 (RV280) (rev 01)"
        #VideoRam 32768
EndSection

Section "Device"
        Identifier "FrameBuffer"
        Driver "fbdev"
        #VideoRam 32768
EndSection

Section "Screen"
        Identifier "Screen 1"
        Device "Ati"
# Device "FrameBuffer"
        Monitor "Samsung"
        DefaultDepth 24

        Subsection "Display"
                Depth 8
                Modes "1280x1024" "1024x768" "800x600" "640x480"
                ViewPort 0 0
        EndSubsection
        Subsection "Display"
                Depth 16
                Modes "1280x1024" "1024x768" "800x600" "640x480"
                ViewPort 0 0
        EndSubsection
        Subsection "Display"
                Depth 24
                Modes "1280x1024" "1024x768"
                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


_______________________________________________
arch-ports mailing list
arch-ports@...
http://archlinux.org/mailman/listinfo/arch-ports

Re: xf86-video-ati possibly broken on MacMini's

by sacarde :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


http://www.archlinuxppc.org/news/8/

_______________________________________________
arch-ports mailing list
arch-ports@...
http://archlinux.org/mailman/listinfo/arch-ports

Re: xf86-video-ati possibly broken on MacMini's

by Harley Laue :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That really should be included in the package's install IMO. Included is a patch to include that message.

On Wed, 2007-11-07 at 09:22 +0100, sacarde wrote:
http://www.archlinuxppc.org/news/8/

_______________________________________________
arch-ports mailing list
arch-ports@...
http://archlinux.org/mailman/listinfo/arch-ports

[xf86-video-ati.diff]

Common subdirectories: xf86-video-ati/CVS and xf86-video-ati.patched/CVS
diff -uN xf86-video-ati/PKGBUILD xf86-video-ati.patched/PKGBUILD
--- xf86-video-ati/PKGBUILD 2007-11-07 04:17:17.000000000 -0600
+++ xf86-video-ati.patched/PKGBUILD 2007-11-07 04:12:30.000000000 -0600
@@ -12,6 +12,7 @@
 makedepends=('pkgconfig' 'xorg-server>=1.4' 'imake' 'mesa>=7.0.1' 'xorg-headers')
 groups=('xorg-video-drivers')
 options=('!libtool')
+install=${pkgname}.install
 source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
         http://downloads.sourceforge.net/mesa3d/MesaLib-${_mesaver}.tar.bz2)
 
diff -uN xf86-video-ati/xf86-video-ati.install xf86-video-ati.patched/xf86-video-ati.install
--- xf86-video-ati/xf86-video-ati.install 1969-12-31 18:00:00.000000000 -0600
+++ xf86-video-ati.patched/xf86-video-ati.install 2007-11-07 04:18:27.000000000 -0600
@@ -0,0 +1,33 @@
+post_install() {
+  cat << 'EoM'
+==> xf86-video-ati now has an additional switch for its driver section in
+==> xorg.conf:
+==>
+==> Option "MacModel" "iBook"
+==> or
+==> Option "MacModel" "mini"
+==>
+==> If you have either a MacMini or an iBook, you should make use of this option
+==> as it may fix issues with thedriver chosing its default video output.
+EoM
+}
+
+post_upgrade() {
+  cat << 'EoM'
+==> xf86-video-ati now has an additional switch for its driver section in
+==> xorg.conf:
+==>
+==> Option "MacModel" "iBook"
+==> or
+==> Option "MacModel" "mini"
+==>
+==> If you have either a MacMini or an iBook, you should make use of this option
+==> as it may fix issues with thedriver chosing its default video output.
+EoM
+}
+
+op=$1
+shift
+[ "$(type -t "$op")" = "function" ] && $op "$@"
+
+# vim:set ts=2 sw=2 et:


_______________________________________________
arch-ports mailing list
arch-ports@...
http://archlinux.org/mailman/listinfo/arch-ports

Re: xf86-video-ati possibly broken on MacMini's

by Armin Luntzer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

install scriptlet added, thanks for the suggestion.

 -Armin

Am Mittwoch, den 07.11.2007, 05:06 -0600 schrieb Harley Laue:
> That really should be included in the package's install IMO. Included
> is a patch to include that message.



_______________________________________________
arch-ports mailing list
arch-ports@...
http://archlinux.org/mailman/listinfo/arch-ports