help with ydl?? ibook problem

Any problems with the Xserver, Configs or Sound.

help with ydl?? ibook problem

Postby thynis » 09 Aug 2004, 23:08

I've been trying to install ydl for about 6 hours now..... trying to install onto an iBook 1ghz 640mb ram ati radeon 9200.. I've got past the initial install but when it tries to start x server it gives me the following problem...

Data incomplete in file /etc/X11/XF86Config
Undefined Screen "Screen1" referenced by ServerLayout "XFree86 Co

(EE) Problem parsing the config
(EE) Error from xf86HandleConfigFile()

Fatal server error:
no screens found


could someone please shed some light on this... if you'd rather e-mail me then feel free to..... thynisaf@hotmail.com
thynis
 

changes.... in problem

Postby thynis » 09 Aug 2004, 23:13

ok i changed the screen to screen1 in the /etc/X11/XF86Config log....
it's now giving me the following error...

Fatal server error:
AddScreen/ScreenInit failed for driver 0



any clues?
thynis
 

Postby kamika » 09 Aug 2004, 23:19

common error i had often.
how was the X server configured?

give us the XF86Config.

greets kamika
User avatar
kamika
Site Admin
Site Admin
 
Posts: 234
Joined: 22 Jun 2004, 09:13
Location: Saarbruecken, Germany

Postby bfedrec » 09 Aug 2004, 23:33

The gyst of your original problem is that the default kernel doesn't have proper support for the Radeon Mobility graphics cards. I'm trying to get it to run on a 12" iBook G4/800, and had similar problems.

If you go in and remove the config file and then follow the instructions found elsewhere on the Yellow dog site for running XF86config -fbdev (I'm not sure I got that exactly right) THAT came up with X working... but only in 256 color mode that actually looked like 4 color mode.

There are yellow dog and ibook kernels at
http://www.ppckernel.org/tree.php?id=7

I think I'm using the YDL 2.6 kernel from there and got the graphics working at full color depth, but it lost my sound in the process (which was working ok when the color was all messed up).

One should be able to add the modules to the kernel to support both sound AND graphics from the ibook... but I've not yet done it (and I'm now holding off on tweaking until YDL 4.0 comes out for the general public)

CharlesP
User avatar
bfedrec
ydl newbie
ydl newbie
 
Posts: 4
Joined: 09 Aug 2004, 23:16

have gui up and running... but....

Postby thynis » 09 Aug 2004, 23:49

bfedrec I'll try looking that up...
I've now got the gui up and running, but it is really really ugly... ugly colors, hard to see, etc....
let me see what I can come up with though....
thynis
 

Postby kamika » 10 Aug 2004, 00:04

as far as i know a ydl4 install on a g4 sould be troubleless.

guess everyone is now just waitin and not putting to much effort in.

greets kamika
User avatar
kamika
Site Admin
Site Admin
 
Posts: 234
Joined: 22 Jun 2004, 09:13
Location: Saarbruecken, Germany

Postby bfedrec » 10 Aug 2004, 01:43

This came across the mailing list... concerning this problem... interesting way of handling it...

This time I have good news. Stewart's iBook G4 now has X working
using the Radeon driver and DRI (acceleration) at up to 24 bit
graphics. The breakthrough was not due to new compilation, but to my
noticing an old post I have in a file. This suggested (for a 7500
Mobility M7 as I have in my iBook G3) that booting with video=ofonly
in the yaboot.conf would result in the framebuffer device not been
found and that replacing it with video=radeonfb would work. Since the
error messages with Xorg X11 and XF86Config radeon drivers were that
the framebuffer device could not be found this seemed worth a try.

I edited the yaboot.conf to include a stanza:

Code: Select all
image=/boot/vmlinux-2.6.7
       label=2.6.7a
       root=/dev/hda12
       read-only
       initrd=/boot/initrd-2.6.7.img
       append="video=radeonfb"


The only difference between this and the normal stanza was the
replacement of "video=ofonly" with "video=radeonfb" and the change in
label. I ran ybin, then rebooted the machine and selected 2.6.7a.
Now using the fbdev driver gave good results. Changing to the radeon
driver with option "UseFBDev" "true" gave excellent results and DRI
could be enabled.

The accelerated X11 worked with either XFree86 4.4 and with Xorg's X11
(6.7.0-5). I append the XF86Config and xorg.conf used to this email.
I am sure both can be optimised as can the setup of the machine (we
don't need both installed). Using DRI glxgears in the default small
window gave around 1400 fps for 16 bit and around 750 fps for 24bit.

Here is the XF86Config from /etc/X11

Code: Select all
# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
       Identifier     "XFree86 Configured"
       Screen      0  "Screen0" 0 0
       InputDevice    "Mouse0" "CorePointer"
       InputDevice    "Keyboard0" "CoreKeyboard"
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.
       RgbPath      "/usr/X11R6/lib/X11/rgb"
       FontPath     "unix/:7100"
       FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
       FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
       FontPath     "/usr/X11R6/lib/X11/fonts/misc"
       FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
       FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
       FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
       FontPath     "/usr/share/fonts/default/Type1"
EndSection

Section "Module"
       Load  "dbe"
       Load  "extmod"
       Load  "fbdevhw"
       Load  "glx"
       Load  "record"
       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      "keyboard"
       Option      "XkbRules" "xfree86"
       Option      "XkbModel" "macintosh"
       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"

#       MonitorLayout   "LVDS,CRT"
       Identifier   "Monitor0"
       ModelName    "Apple PowerBook G4 12 (2003)"
       HorizSync    30.0 - 70.0
       VertRefresh  60.0 - 60.0
       Option      "DPMS"
EndSection

Section "Device"

       #Option "ShadowFB"      "true"
       Identifier  "Card0"
       #Driver      "fbdev"
       Driver      "radeon"
       Option      "UseFBDev"  "true"
       BoardName   "** ATI Radeon (generic)               [radeon]"
       VideoRam    32768
       BusID       "PCI:0:16:0"
EndSection

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

Section "DRI"
       Group        0
       Mode         0666
EndSection

Here is the xorg.conf from /etc/X11

# File generated by Xautoconfig.
Section "ServerLayout"
       Identifier      "XFree86 Configured"
       Screen          0  "Screen0" 0 0
       InputDevice     "Mouse0" "CorePointer"
       InputDevice     "Keyboard0" "CoreKeyboard"
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.

      RgbPath      "/usr/X11R6/lib/X11/rgb"
      FontPath     "unix/:7100"
      FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
      FontPath     "/usr/X11R6/lib/X11/fonts/misc"
      #FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
      FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
      FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
      FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
      FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
      FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
      #FontPath     "/usr/share/fonts/default/Truetype"
      FontPath     "/usr/share/fonts/default/Type1"
EndSection

Section "Module"
       Load    "GLcore"
       Load    "dbe"
       Load    "extmod"
       Load    "fbdevhw"
       Load    "glx"
       Load    "record"
       Load    "bitmap"
       Load    "freetype"
       Load    "type1"
       Load    "speedo"
       #Load    "vbe"
       Load    "dri"
EndSection

Section "InputDevice"
       Identifier      "Keyboard0"
       Driver          "keyboard"
# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.

       Option          "XkbModel"      "macintosh"
       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"
       Identifier      "Monitor0"
       UseModes        "Modes0"
       ModelName       "Monitor Model"
       Option          "DPMS"
       HorizSync       40-70
       VertRefresh     60

EndSection

Section "Modes"
       Identifier "Modes0"

       # Generated
       # D: 65.003 MHz, H:  48.365 kHz, V: 60.006 Hz
       Modeline "1024x768" 65.003 1024 1048 1184 1344   768 771 777 806  -HSync -VSync
EndSection

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

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

Section "DRI"
       Group 0
       Mode 0666
EndSection
User avatar
bfedrec
ydl newbie
ydl newbie
 
Posts: 4
Joined: 09 Aug 2004, 23:16

Postby bfedrec » 10 Aug 2004, 21:42

BTW wouldn't this be more appropriate in the "X/Multimedia" forum? If I was hunting for an answer to this problem I'd look there first.
User avatar
bfedrec
ydl newbie
ydl newbie
 
Posts: 4
Joined: 09 Aug 2004, 23:16


Return to X and Multimedia

Who is online

Users browsing this forum: No registered users and 19 guests