Page 1 of 1

ydl 6.2 installed on g4 mac as surf-os and configured

PostPosted: 28 Jun 2011, 09:15
by adrewg
In order to improve video rendering by using ati x video driver, I had to go through several reboots, looking at /var/log/Xorg.0.log and changing /etc/X11/xorg.conf
It works fine now.:


Code: Select all
# Xorg configuration created by system-config-display

Section "ServerLayout"
   Identifier     "single head configuration"
   Screen      0  "Screen0" 0 0
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Module"
   Load  "dbe"
   Load  "extmod"
   Load  "freetype"
   Load  "dri"
EndSection

Section "ServerFlags"
   Option       "AIGLX" "false"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option       "XkbModel" "pc105"
   Option       "XkbLayout" "de"
   Option       "XkbVariant" "nodeadkeys"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
   Identifier   "Monitor0"
   ModelName    "LCD Panel 1280x1024"
 ### Comment all HorizSync and VertSync values to use DDC:
   HorizSync    31.5 - 64.0
   VertRefresh  56.0 - 65.0
   Option       "dpms"
EndSection

Section "Device"

   #Option       "UseFBDev" "true"
   #Option       "UseFBDev" "true"
   Identifier  "Videocard0"
   Driver      "radeon"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Videocard0"
   Monitor    "Monitor0"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1280x1024" "1152x864" "1024x768" "800x600"
   EndSubSection
EndSection

Section "DRI"
   Mode         0666
EndSection



Using the framebuffer device should not be the default on such a machine IMHO.
Code: Select all
[surfer@localhost ~]$ /sbin/lspci -nvv
0000:00:0b.0 0600: 106b:0020
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 16, Cache Line Size: 32 bytes
        Capabilities: <access denied>

0001:10:0b.0 0600: 106b:001f
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 16, Cache Line Size: 32 bytes

0001:10:0d.0 0604: 1011:0026 (rev 05)
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32, Cache Line Size: 32 bytes
        Bus: primary=10, secondary=11, subordinate=11, sec-latency=32
        I/O behind bridge: 00001000-00001fff
        Memory behind bridge: 80000000-8fffffff
        Prefetchable memory behind bridge: 00000000f3000000-00000000f3000000
        Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
        Capabilities: <access denied>

0001:11:02.0 0300: 1002:5159
        Subsystem: 1002:0908
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 16 (2000ns min), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 52
        Region 0: Memory at 88000000 (32-bit, prefetchable) [size=128M]
        Region 1: I/O ports at 1000 [size=256]
        Region 2: Memory at 80090000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at f3000000 [disabled] [size=128K]
        Capabilities: <access denied>

0001:11:07.0 ff00: 106b:0022 (rev 03)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 16, Cache Line Size: 32 bytes
        Region 0: Memory at 80000000 (32-bit, non-prefetchable) [size=512K]

0001:11:08.0 0c03: 106b:0019 (prog-if 10)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 16 (750ns min, 21500ns max)
        Interrupt: pin A routed to IRQ 27
        Region 0: Memory at 80082000 (32-bit, non-prefetchable) [size=4K]

0001:11:09.0 0c03: 106b:0019 (prog-if 10)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 16 (750ns min, 21500ns max)
        Interrupt: pin A routed to IRQ 28
        Region 0: Memory at 80081000 (32-bit, non-prefetchable) [size=4K]

0001:11:0a.0 0c00: 104c:8020 (prog-if 10)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 16 (500ns min, 1000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 63
        Region 0: Memory at 80080000 (32-bit, non-prefetchable) [size=2K]
        Region 1: Memory at 80084000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>

0002:21:0b.0 0600: 106b:001e
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
        Latency: 16, Cache Line Size: 32 bytes

0002:21:0f.0 0200: 106b:0021 (rev 01)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR+
        Latency: 16 (16000ns min, 16000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 41
        Region 0: Memory at f5200000 (32-bit, non-prefetchable) [size=2M]
        Expansion ROM at f5000000 [disabled] [size=1M]


The mouse input device is still unconfigured, so there is a warning in the log that default values are used, but that's OK.

Upon upgrade of the system software /etc/yaboot.conf looks like this:
Code: Select all
# yaboot.conf generated by anaconda

boot=/dev/hda2
init-message=Welcome to YDL!\nHit <TAB> for boot options

partition=3
timeout=80
install=/usr/lib/yaboot/yaboot
delay=2
enablecdboot
enableofboot
enablenetboot
magicboot=/usr/lib/yaboot/ofboot

image=/vmlinux-2.6.29-3.ydl61.4
   label=2.6.29-3.ydl61.
   read-only
   initrd=/initrd-2.6.29-3.ydl61.4.img
   append="rhgb quiet root=LABEL=/"

image=/vmlinux-2.6.27-1.ydl61.5
   label=linux
   read-only
   initrd=/initrd-2.6.27-1.ydl61.5.img
   append="rhgb quiet root=LABEL=/"


But :
[surfer@localhost ~]$ uname -r
2.6.29-3.ydl61.4

Re: ydl 6.2 installed on g4 mac as surf-os and configured

PostPosted: 28 Jun 2011, 11:53
by billb
adrewg wrote:In order to improve video rendering by using ati x video driver, I had to go through several reboots, looking at /var/log/Xorg.0.log and changing /etc/X11/xorg.conf
It works fine now.:


I may have to try those settings ... not sure if that's the same as what I tried already, though. I had trouble using anything but the framebuffer on mine (see here).

But :
[surfer@localhost ~]$ uname -r
2.6.29-3.ydl61.4


What's the problem here? Looks correct to me.