Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issues with Xorg radeon driver on Mac Mini
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
spdmnd
n00b
n00b


Joined: 26 May 2004
Posts: 21

PostPosted: Tue Apr 08, 2008 6:09 pm    Post subject: Issues with Xorg radeon driver on Mac Mini Reply with quote

Hey,

I just finished installing Gentoo on my PPC Mac Mini and aside from two issues with the Xorg radeon driver I have everything up and running.

1. The mouse cursor is displaced. It is shifted to the left site of the cursor box, part of the cursor's left site is cut off and displayed on the right site of the box. Also, I think it's reversed left to right, the pointer looks like a left handed curor.
I tried to make some frames to demo (xvidcap), oddly enough the cursor looks ok when playing those back.
The cursors pointers from xcursor-themes look fine, however they seem to rely (among other) on the default cursor's hand images, which still is renderd wrong.
Anyone know how to fix this?

EDIT: Ok, forcing SWCursor cursor seems to fix this (under Device: Option "SWCursor" "1").


2. The colors in 3d accelerated games look really wrong when using 24 bpp, the desktop is ok though. In 16 bpp everything seems fine. Screenshot from X-Moto:
http://img85.imageshack.us/my.php?image=snapshot1qw8.jpg

My xorg.conf:
Code:

Section "ServerLayout"
        Identifier              "X.org Configured"
        Screen          0       "Screen0" 0 0
        InputDevice             "Mouse0" "CorePointer"
        InputDevice             "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        FontPath        "/usr/share/fonts/default/"
        FontPath        "/usr/share/fonts/default/ghostscript"
        FontPath        "/usr/share/fonts/misc/"
        FontPath        "/usr/share/fonts/util/"
        FontPath        "/usr/share/fonts/75dpi/"
        FontPath        "/usr/share/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/fonts/100dpi/"
        FontPath        "/usr/share/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/fonts/TTF/"
        FontPath        "/usr/share/fonts/OTF"
        FontPath        "/usr/share/fonts/Type1/"
        FontPath        "/usr/share/fonts/arphicfonts"
        FontPath        "/usr/share/fonts/ttf-bitstream-vera"
        FontPath        "/usr/share/fonts/baekmuk-fonts"
        FontPath        "/usr/share/fonts/kochi-substitute"
        FontPath        "/usr/share/fonts/encodings/"
        FontPath        "/usr/share/fonts/cyrillic/"
        RgbPath         "/usr/share/X11/rgb"
        ModulePath      "/usr/lib/xorg/modules"
EndSection

Section "Module"
        Load            "xtrap"
        Load            "extmod"
        Load            "dbe"
        Load            "record"
        Load            "dri"
        Load            "glx"
        Load            "freetype"
        Load            "type1"
EndSection

Section "ServerFlags"
        Option          "AllowMouseOpenFail"    "true"
EndSection

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "kbd"
#       Option          "XkbModel"      "pc105"
#       Option          "XkbLayout"     "us"
#       Option          "XkbOptions"    "compose:rwin"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Protocol"      "auto"
        Option          "Device"        "/dev/input/mice"
        Option          "ZAxisMapping"  "4 5 6 7"
EndSection

Section "Monitor"
        Identifier      "Monitor0"
        ModelName       "Apple Studio  Display"
        Option          "DPMS"
#       HorizSync       30-70
#       VertRefresh     50-160
EndSection

Section "Device"
        Identifier      "Card0"
        VendorName      "ATI Technologies Inc"
        BoardName       "RV280 [Radeon 9200]"
        Driver          "radeon"
#       Driver          "fbdev"
        BusID           "PCI:0:16:0"
        Option          "AccelMethod"           "XAA"
        Option          "EnablePageFlip"        "1"
        Option          "AGPMode"               "4"
        Option          "ColorTiling"           "1"
EndSection

Section "Screen"
        Identifier      "Screen0"
        Device          "Card0"
        Monitor         "Monitor0"
        DefaultDepth    24
        SubSection "Display"
                Depth           16
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768""
        EndSubSection
EndSection

Section "DRI"
        Group "video"
        Mode 0666
EndSection

Section "Extensions"
        Option  "Composite"     "Enable"
EndSection


I already tried disabling composite and the various options under Device, no effect.
Any help is greatly apprecited.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Apr 12, 2008 5:00 pm    Post subject: Reply with quote

That looks more like an endianness bug in the application than a driver issue. Do other games display this behaviour?
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
spdmnd
n00b
n00b


Joined: 26 May 2004
Posts: 21

PostPosted: Sat Apr 12, 2008 5:48 pm    Post subject: Reply with quote

I don't have that many games, but among those installed most do display this behaviour:
- PlanetPenguin Racer (changing bpp ingame has no effect)
- SuperTux (in OpenGL Mode)
- ioquake3 (works fine with 16-bit texture quality and 32-bit color depth settings)
- X-Moto (changing bpp ingame has no effect)

Foobillard is the only one working without issues, can't find an indication of the bpp it's using though.
Back to top
View user's profile Send private message
mattst88
Developer
Developer


Joined: 28 Oct 2004
Posts: 383

PostPosted: Sat Apr 12, 2008 6:05 pm    Post subject: Reply with quote

Install xf86-video-ati-6.8.0-r1. It should fix the mouse bug. I know for a fact it's fixed in git.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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