Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XGL on a powerbook
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
ibbumpin
n00b
n00b


Joined: 05 Mar 2005
Posts: 22
Location: Chicago

PostPosted: Fri Apr 07, 2006 12:25 am    Post subject: Re Well, Reply with quote

Ahh sorry I tried it with the 'ati' and 'radeon' drivers in my xorg.conf file and both now work for me. I have ATI framebuffer support compiled into the kernel as well. I'm on gentoo-sources kernel 2.6.15-r. I will upgrade to 2.6.16 for the wireless soon. Well good luck I'll post more info about my config when I get back home.


Matt
_________________
"I don't wanna large farva! I want a God damn liter'a'cola!" - R. Farva
Back to top
View user's profile Send private message
sarumont
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 94
Location: /dev/urandom

PostPosted: Fri Apr 07, 2006 2:29 pm    Post subject: Reply with quote

Here is my output:

http://www.sigil.org/~sarumont/xglerrors

Looks like it is having issues with DRM (go figure). I will try taking it out of my kernel and post back in a few....


OT: ibbumpin: you using softmac or the dscape for your wireless? I can bring the card up with dscape, but iwconfig will not do jack to it (as far as setting essid, key, etc.). Will probably try updating shortly and, if all else fails, softmac.
_________________
~Sarumont
"Time is an illusion. Lunchtime doubly so."
Back to top
View user's profile Send private message
sarumont
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 94
Location: /dev/urandom

PostPosted: Fri Apr 07, 2006 2:49 pm    Post subject: Reply with quote

After removing DRI from the kernel, here we are:

http://www.sigil.org/~sarumont/morexglsuck

It still looks like it is having issues with finding 'radeon', but straight up X has no problems. I start fine and can run glxinfo/glxgears with no problems. glxgears *does*, however, seem to be slower than it was when I was using the kernel's radeon driver.

I'll dig a bit deeper sometime later...have to work for now. :wink:
_________________
~Sarumont
"Time is an illusion. Lunchtime doubly so."
Back to top
View user's profile Send private message
ibbumpin
n00b
n00b


Joined: 05 Mar 2005
Posts: 22
Location: Chicago

PostPosted: Sat Apr 08, 2006 2:31 am    Post subject: I broked it again Reply with quote

Some how I broke my DRI because now when I run glxinfo i get the error:

Code:

R300 DRI dirver expected DRM version 1.24.x but got version 1.20.0


I'm not sure how the versions got messed up. Has anyone run into this recently. I found a few threads on this but all the attempts to update the DRI driver has failed. I reemerged libdrm and and mesa but I still get nothing but the same error. This is frustrating :?

Well atleast I had DRI for a day :)

Any thoughts?
_________________
"I don't wanna large farva! I want a God damn liter'a'cola!" - R. Farva
Back to top
View user's profile Send private message
Valkura
Apprentice
Apprentice


Joined: 27 Feb 2006
Posts: 242
Location: Ramsey, MN

PostPosted: Sat Apr 08, 2006 3:04 am    Post subject: Reply with quote

No idea what is up with your DRI.... mine is still sitting XGL-less.... :( Gotta go look at those Ubuntu forums!
_________________
last.fm
SFH, because it's awesome
Back to top
View user's profile Send private message
ibbumpin
n00b
n00b


Joined: 05 Mar 2005
Posts: 22
Location: Chicago

PostPosted: Sat Apr 08, 2006 8:23 pm    Post subject: I'm stuck... Reply with quote

I really can't figure out how to get the DRM version to match. I can't find what file(s) I need to replace. I have removedand reemerged libdrm, x11-drm, xorg-server, mesa. I'm not sure why the mismatch occurs. Must be a bug in the current portage tree. I think this is the only problem I am having as I get not other "out of the ordinary" warnings.

When I was messing with it I did start getting X11 warnings that DRI couldn't load be cause the driver was old...reemergeing xrg-server fixed this issue though.

I guess I'll check the ubuntu forums now :(

Anyone got any ideas?

Matt
_________________
"I don't wanna large farva! I want a God damn liter'a'cola!" - R. Farva
Back to top
View user's profile Send private message
ibbumpin
n00b
n00b


Joined: 05 Mar 2005
Posts: 22
Location: Chicago

PostPosted: Sat Apr 08, 2006 9:16 pm    Post subject: w00t Reply with quote

Okay... after the Ubuntu forums were of no help (no surprise) I did the following...

I went into /etc/portage/package.unmask and removed 'x11-libs/libdrm', and 'media-libs/mesa'.

This made me down grade to mesa=6.4.2-r3 and I still have libdrm-2.1_apha20060313

I then did
Code:
rmmod radeon drm
to unload the modules and ran 'startx'.

Now I have Direct Rendering enabled again!! When I run Xgl it doesn't crash anymore but It doesn't work yet...I don't think I have it configured so that is a different story :)

I hope my struggles have helped someone...let me know if you want me to post more info.

Matt
_________________
"I don't wanna large farva! I want a God damn liter'a'cola!" - R. Farva
Back to top
View user's profile Send private message
Valkura
Apprentice
Apprentice


Joined: 27 Feb 2006
Posts: 242
Location: Ramsey, MN

PostPosted: Sat Apr 08, 2006 9:37 pm    Post subject: Re: w00t Reply with quote

ibbumpin wrote:
Okay... after the Ubuntu forums were of no help (no surprise)

Yeah, I looked, found nothing! Weird (I know something was there once).

Quote:

I did the following...

I went into /etc/portage/package.unmask and removed 'x11-libs/libdrm', and 'media-libs/mesa'.

This made me down grade to mesa=6.4.2-r3 and I still have libdrm-2.1_apha20060313

I then did
Code:
rmmod radeon drm
to unload the modules and ran 'startx'.

Now I have Direct Rendering enabled again!! When I run Xgl it doesn't crash anymore but It doesn't work yet...I don't think I have it configured so that is a different story :)

I hope my struggles have helped someone...let me know if you want me to post more info.

Matt


I am now trying that....mine is emerging mesa 6.4.2-r2...hmm.

EDIT: Nope, still doesn't work. I get the errors:
Code:
(something along the lines of FBDEV: FBIOBLANK: invalid argument)

and
Code:
no visual format found


Argh!
_________________
last.fm
SFH, because it's awesome
Back to top
View user's profile Send private message
ibbumpin
n00b
n00b


Joined: 05 Mar 2005
Posts: 22
Location: Chicago

PostPosted: Sat Apr 08, 2006 9:57 pm    Post subject: hmmm... Reply with quote

Have you tried the 'radeon' or 'ati' drivers?'

Instead of
Code:
Option UseFBDev "true"
I have the line

Code:
Option  "MergedFB" "true"


I had troubles with FBDev.
_________________
"I don't wanna large farva! I want a God damn liter'a'cola!" - R. Farva
Back to top
View user's profile Send private message
Valkura
Apprentice
Apprentice


Joined: 27 Feb 2006
Posts: 242
Location: Ramsey, MN

PostPosted: Sun Apr 09, 2006 12:58 am    Post subject: Re: hmmm... Reply with quote

ibbumpin wrote:
Have you tried the 'radeon' or 'ati' drivers?'

Instead of
Code:
Option UseFBDev "true"
I have the line

Code:
Option  "MergedFB" "true"


I had troubles with FBDev.


Which section? I don't have a UseFBDev option :( FBDev is the only driver that gives me the resolution of my screen in normal X - radeon gives me 640x480 for some reason :?:
_________________
last.fm
SFH, because it's awesome
Back to top
View user's profile Send private message
ibbumpin
n00b
n00b


Joined: 05 Mar 2005
Posts: 22
Location: Chicago

PostPosted: Sun Apr 09, 2006 1:01 am    Post subject: Re: Which section Reply with quote

Sorry I put those options in the video card device section...

I will post my xorg.conf soon...
_________________
"I don't wanna large farva! I want a God damn liter'a'cola!" - R. Farva
Back to top
View user's profile Send private message
Valkura
Apprentice
Apprentice


Joined: 27 Feb 2006
Posts: 242
Location: Ramsey, MN

PostPosted: Sun Apr 09, 2006 4:05 am    Post subject: Re: Which section Reply with quote

ibbumpin wrote:
Sorry I put those options in the video card device section...

I will post my xorg.conf soon...


Cool thanks! I will go see if it works.
_________________
last.fm
SFH, because it's awesome
Back to top
View user's profile Send private message
ibbumpin
n00b
n00b


Joined: 05 Mar 2005
Posts: 22
Location: Chicago

PostPosted: Sun Apr 09, 2006 5:59 am    Post subject: Here is my xorg.conf file Reply with quote

Though it's not all clean a pretty :wink: here is my xorg.conf file...

Code:

Section "ServerLayout"
   Identifier     "DRI"
   Screen      0  "ScreenDRI" 0 0
   InputDevice    "Mouse0" "CorePointer"
    InputDevice   "Touchpad" "AlwaysCore"
   InputDevice    "Powerbook Keyboard" "CoreKeyboard"
EndSection

Section "ServerLayout"
   Identifier     "noDRI"
   Screen      0  "Screen0" 0 0
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Powerbook Keyboard" "CoreKeyboard"
EndSection

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

Section "Files"
   FontPath     "/usr/share/fonts/misc/"
   FontPath     "/usr/share/fonts/urw-fonts/"
   FontPath     "/usr/share/fonts/TTF/"
   #FontPath     "/usr/share/fonts/Speedo/"
   FontPath     "/usr/share/fonts/Type1/"
   #FontPath     "/usr/share/fonts/CID/"
   FontPath     "/usr/share/fonts/75dpi/"
   FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
   #Load  "bitmap"
   #Load    "ati"
   #Load   "radeon"
   Load    "synaptics"
   Load     "dbe"
   Load     "drm"
   Load     "dri"
   Load     "extmod"
   Load     "freetype"
   #Load  "GLcore"
   Load     "glx"
   Load     "int10"
   Load     "record"
   #Load  "speedo"
   Load     "type1"
   Load     "xtrap"
EndSection


Section "Extensions"
   Option "Composite"   "true"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
EndSection

Section "InputDevice"
   Identifier  "Powerbook Keyboard"
   Driver      "kbd"
   Option      "XkbModel"    "pc105"
   #Option      "XkbLayout"   "gb_g4_alubook_dvorak+compose(rwin)"
EndSection

Section "InputDevice"
   Identifier   "Touchpad"
   Driver "synaptics"
   Option "SendCoreEvents" "true"
   Option "Device" "/dev/input/mice"
   Option "Protocol" "auto-dev"
   Option "LeftEdge" "60"
   Option "RightEdge" "850"
   Option "TopEdge" "60"
   Option "BottomEdge" "511"
   Option "MinSpeed" "0.4"
   Option "MaxSpeed" "1"
   Option "MaxTapMove" "10"
   Option "MaxTapTime" "100"
   Option "AccelFactor" "0.07"
   Option "SHMConfig" "on"
   Option "RTCornerButton" "3"
   Option "LTCornerButton" "2"
   Option "HorizScrollDelta" "0"
   Option "VertScrollDelta" "30"
   Option "CircularScrolling" "1"
   Option "CircScrollDelta" "0.1"
   Option "CircScrollTrigger" "5"
EndSection

Section "InputDevice"
   Identifier   "Mouse"
   Driver      "mouse"
   Option      "SendCoreEvents"   "true"
   Option      "Protocol" "ExplorerPS/2"
   Option      "Device" "/dev/input/mice"
   Option      "ZAxisMapping"    "4 5"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "IMPS/2"
   Option      "ZAxisMapping"  "4 5"
   Option       "Device" "/dev/input/mice"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
EndSection

Section "Monitor"
   Identifier   "Powerbook LCD"
   VendorName   "Apple"
   ModelName    ""
   UseModes     "Modes0"
   HorizSync    30-70
   VertRefresh  50-160
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "ati"
   BusID       "PCI:0:16:0"
EndSection

Section "Device"
   Identifier  "CardDRI"
   VendorName  "ATI Technologies Inc"
   BoardName   "RV350 [Mobility Radeon 9600 M10]"
   Driver      "radeon"
   BusID       "PCI:0:16:0"
   Option     "AGPMode"            "4"   # <i>
   #Option     "UseFBDev"           "On"    # [<bool>]
   
   Option      "RenderAccel"   "true"
   Option      "CRT2Position"    "Clone"
   Option      "AGPFastWrite"   "true"
        Option      "EnablePageFlip"   "true"
   Option      "backingstore"
        Option      "MergedFB"       "true"
   Option      "UseFWPLL"      "true"
        Option     "MetaModes"      "1280x854 1152x864 1024x786 800x600"
   Option      "CloneMode"      "1024x768"
         
   #Option     "DMAForXV"           "true"    # [<bool>]
   #Option     "XaaNoScanlineImageWriteRect"
   #Option     "XaaNoScanlineCPUToScreenColorExpandFill"
   Option     "AccelMethod"        "exa"
EndSection

Section "Screen"
   Identifier "ScreenDRI"
   Device     "CardDRI"
   #Device     "Card0"
   Monitor    "Powerbook LCD"
   DefaultDepth   24
   SubSection "Display"
      Viewport   0 0
      Depth     1
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Powerbook LCD"
   DefaultDepth   24
   SubSection "Display"
      Viewport   0 0
      Depth     1
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     4
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     8
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     15
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes   "1280x854" "800x600" "1024x768"
   EndSubSection
EndSection

Section "Modes"
   Identifier      "Modes0"
   # mode generated by Xeasyconf
   Modeline "1280x854" 79.815 1280 1296 1408 1536  854 855 858 866  -HSync -VSync
EndSection

Section "DRI"
   Mode  0666
EndSection


It works with the DVI output mirroring when X is running. You may also want to try messing with the resolutions in the 'Screen' section. I added the resolutions there and they work for me.

Our systems may be a little different I imagine but I hope this or some of it helps you out. I am on a Powerbook G4 15" 1.67Ghz 512MB Radeon 9700 64MB

Both the 'ati' and 'radeon' drivers give me nearly identical results (I say nearly because I haven't stress tested either but they look the same and provide the same features "at a glance" )

After starting X my 'lsmod' gives me:
Code:

Module                  Size  Used by
radeon                121704  1
drm                    86556  2 radeon
uhci_hcd               44272  0
snd_powermac           49280  0
snd_pcm               103044  1 snd_powermac
snd_timer              27460  1 snd_pcm
snd                    67604  3 snd_powermac,snd_pcm,snd_timer
snd_page_alloc         11720  1 snd_pcm
bcm43xx               121452  0
ieee80211softmac       28288  1 bcm43xx
ieee80211              37032  2 bcm43xx,ieee80211softmac
ieee80211_crypt         7040  1 ieee80211


Good luck man!

Matt
_________________
"I don't wanna large farva! I want a God damn liter'a'cola!" - R. Farva
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
Goto page Previous  1, 2
Page 2 of 2

 
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