[ydl-gen] YDL 6.2, pared down gnome, and an iBook G4 1.33ghz

2009-09-18 Thread Jason Ritzke
Okay, so I moved from xfce back to gnome and switched out some unessential
services (unessential for the ibook  I mean). However, I still can't get DRI
or advanced synaptics features, and suspend is still glitchy. Also I'm
getting a brief kernel error about an invalid rom option for the radeon
setting in yaboot.conf.

I know that synaptics advanced features and dri work on this machine, as
well as better suspend/restore. I've gotten all three working in debian and
the latter two working in fedora 10. I think that having the right options
set in my xorg.conf might help. Mr. Centino, if you aren't having these
problems (ESPECIALLY the DRI issue) could you please e-mail me a copy of
your xorg.conf so I could take a look at it and see what you've done
differently. It doesn't seem like hal would be taking over there.

If anybody else can give me some config info and point me in the right
direction, that'd be great. I've had this machine working well in other
distros, and if we can pool together I'm sure we can get YDL level
performance and the features we want.

The only things I can contribute is that I know the synaptics driver
interfaces through a module called appletouch. I don't know why dri isn't
working, but glxgears gives me awful slow speed and glxinfo gives me a dri
not working message. I have NO idea what's wrong with the suspend/restore. I
think the radeon error may simply have to do with a misnamed pci ID, but
since YDL doesn't have lspci, I don't know what to grep it out of.

-- 
Jason Ritzke
Chief Technical Expert: Lighthouse Solutions
Computer and Technical Services:
Kinder. Cheaper. Easier.
Home : (323) 638-4702
Work : (323) 638-4702
Cell : (323) 638-4702
121 Market Street
Annapolis, Maryland 21401
jason.rit...@lighthousesolutions.info
___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  ' site:us.fixstars.com'

Re: [ydl-gen] YDL 6.2, pared down gnome, and an iBook G4 1.33ghz

2009-09-18 Thread Derick Centeno
Hi Jason:

The xorg.conf file you are interested in is generated either
according to settings chosen within anaconda prior to YDL booting for
the first time or as YDL boots for the first time and allows one to
set up the user/root accounts as well as the monitor settings.  I
don't recall which. Of course, xorg.conf is also modified when you
change the monitor settings.

My xorg.conf follows here:

=
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
Option  "OffTime" "10"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "/usr/share/X11/fonts/misc:unscaled"
FontPath "/usr/share/X11/fonts/Type1/"
FontPath "/usr/share/X11/fonts/Speedo/"
FontPath "/usr/share/X11/fonts/75dpi:unscaled"
FontPath "/usr/share/X11/fonts/100dpi:unscaled"
FontPath "/usr/share/X11/fonts/korean:unscaled"
FontPath "/usr/share/X11/fonts/cyrillic:unscaled"
FontPath "/usr/share/fonts/ISO8859-2/misc:unscaled"
FontPath "/usr/share/fonts/ISO8859-2/75dpi:unscaled"
FontPath "/usr/share/fonts/ISO8859-2/100dpi:unscaled"
FontPath "/usr/share/fonts/ISO8859-9/misc:unscaled"
FontPath "/usr/share/fonts/ISO8859-9/75dpi:unscaled"
FontPath "/usr/share/fonts/ISO8859-9/100dpi:unscaled"
FontPath "/usr/share/fonts/KOI8-R/misc:unscaled"
FontPath "/usr/share/fonts/KOI8-R/75dpi:unscaled"
EndSection

Section "Module"
Load  "dbe"
Load  "extmod"
Load  "fbdevhw"
Load  "freetype"
Load  "type1"
#Load   "dri"
EndSection

Section "InputDevice"

# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.
Identifier  "Keyboard0"
Driver  "kbd"
Option  "XkbModel" "pc105"
Option  "XkbLayout" "us"
EndSection

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

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
 ### Comment all HorizSync and VertSync values to use DDC:
Identifier   "Monitor0"
ModelName"LCD Panel 1280x800"
 ### Comment all HorizSync and VertSync values to use DDC:
HorizSync31.5 - 50.0
VertRefresh  56.0 - 65.0
Option  "DPMS"
EndSection

Section "Device"

#Option "ShadowFB"  "true"
#Option "fbdev" "/dev/fb0"
#BusID  "0:0:0"
Identifier  "Card0"
Driver  "radeon"
Option  "UseFBDev" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes"1280x854"
EndSubSection
SubSection "Display"
Depth 16
Modes"1280x854"
EndSubSection
SubSection "Display"
Depth 24
EndSubSection
SubSection "Display"
Depth 15
Modes"1280x854"
EndSubSection
EndSection

Section "DRI"
Group0
Mode 0666
EndSection

=

All the best...

On Fri, 18 Sep 2009 16:19:13 -0400
Jason Ritzke  wrote:

> Okay, so I moved from xfce back to gnome and switched out some
> unessential services (unessential for the ibook  I mean). However,
> I still can't get DRI or advanced synaptics features, and suspend
> is still glitchy. Also I'm getting a brief kernel error about an
> invalid rom option for the radeon setting in yaboot.conf.
> 
> I know that synaptics advanced features and dri work on this
> machine, as well as better suspend/restore. I've gotten all three
> working in debian and the latter two working in fedora 10. I think
> that having the right options set in my xorg.conf might help. Mr.
> Centino, if you aren't having these problems (ESPECIALLY the DRI
> issue) could you please e-mail me a copy of you

Re: [ydl-gen] YDL 6.2, pared down gnome, and an iBook G4 1.33ghz

2009-09-19 Thread Stephen Harker
On Fri, Sep 18, 2009 at 04:19:13PM -0400, Jason Ritzke wrote:
> Okay, so I moved from xfce back to gnome and switched out some unessential
> services (unessential for the ibook  I mean). However, I still can't get DRI
> or advanced synaptics features, and suspend is still glitchy. Also I'm
> getting a brief kernel error about an invalid rom option for the radeon
> setting in yaboot.conf.

The message you talk about is related to the dri problem as best I
understand.  I also get the message:

radeonfb :00:10.0: Invalid ROM contents

I have not tried much with xorg.conf to see if I can fix the problem.
At the moment the Xorg.0.log has (amongst other things):

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci::00:10.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci::00:10.0

later:

(II) RADEON(0): Direct rendering enabled
(II) RADEON(0): Render acceleration enabled for R300/R400/R500 type cards.
(II) RADEON(0): Setting EXA maxPitchBytes
(II) RADEON(0): num pipes is 1
(II) EXA(0): Offscreen pixmap area of 10584064 bytes
(II) EXA(0): Driver registered support for the following operations:
(II) Solid

later:

(II) AIGLX: Screen 0 is not DRI2 capable
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci::00:10.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci::00:10.0
(EE) AIGLX error: dlopen of /usr/lib/dri/r300_dri.so failed (/usr/lib/dri/r300_d
ri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering


I have compiled my own kernels, usually a solution, but the problem
persists.  I even tried kernels which had given me working
acceleration under YDL 6.1.  For me, glxinfo starts with:

name of display: :0.0
display: :0  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbo
se)

A google search on the radeofb message gives a number of hits:

One of these (for Ubuntu) is
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/354677

one option reported (I have not tried it) is:

>--
Comparing the logs seemed to point at the difference lying in 5.04
falling back on pci for the dri, so I added:
 Option "BusType" "PCI"
to my xorg.conf.

With this option added, 3D-acceleration (including compiz which I'm
using at the moment) seems to work just fine, and glxgears (the
beloved benchmarking tool ;) ) reports fps about 10 times higher than
before.
>--


-- 
Stephen Harker   s.har...@adfa.edu.au
PEMS
u...@adfa
___
yellowdog-general mailing list - yellowdog-general@lists.fixstars.com
Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  ' site:us.fixstars.com'