NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-macppc/53496: X segfault during startup on clamshell iBook G3 with ATI Rage 128 graphics card



The following reply was made to PR port-macppc/53496; it has been noted by GNATS.

From: Sevan Janiyan <venture37%geeklan.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-macppc/53496: X segfault during startup on clamshell iBook
 G3 with ATI Rage 128 graphics card
Date: Sat, 4 Aug 2018 01:53:10 +0100

 Managed to stop the crashes and get X11 running by disabling DRI
 acceleration & specifying the resolution for each mode manually.
 Unfortunately though X11 is running, graphics start off corrupted and
 the screen fades out. Pressing ctrl-d terminates X11 and the system
 returns back to a working console (it wouldn't do that before, console
 would stay pitch black).
 
 Section "ServerLayout"
         Identifier     "X.org Configured"
         Screen      0  "Screen0" 0 0
 EndSection
 
 Section "Monitor"
         Identifier   "Monitor0"
         VendorName   "Monitor Vendor"
         ModelName    "Monitor Model"
 EndSection
 
 Section "Device"
         ### Available Driver options are:-
         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
         ### <percent>: "<f>%"
         ### [arg]: arg optional
         #Option     "NoAccel"                   # [<bool>]
         #Option     "SWcursor"                  # [<bool>]
         #Option     "Dac6Bit"                   # [<bool>]
         #Option     "Dac8Bit"                   # [<bool>]
         #Option     "DMAForXv"                  # [<bool>]
         #Option     "ForcePCIMode"              # [<bool>]
         #Option     "CCEPIOMode"                # [<bool>]
         #Option     "CCENoSecurity"             # [<bool>]
         #Option     "CCEusecTimeout"            # <i>
         #Option     "AGPMode"                   # <i>
         #Option     "AGPSize"                   # <i>
         #Option     "RingSize"                  # <i>
         #Option     "BufferSize"                # <i>
         #Option     "EnablePageFlip"            # [<bool>]
         #Option     "PanelWidth"                # <i>
         #Option     "PanelHeight"               # <i>
         #Option     "ProgramFPRegs"             # [<bool>]
         #Option     "VideoKey"                  # <i>
         #Option     "ShowCache"                 # [<bool>]
         #Option     "VGAAccess"                 # [<bool>]
         #Option     "AccelMethod"               # <str>
         #Option     "RenderAccel"               # [<bool>]
         Option     "NoAccel"                    "true"
         Identifier  "Card0"
         Driver      "r128"
         BusID       "PCI:0:16:0"
 EndSection
 
 Section "Screen"
         Identifier "Screen0"
         Device     "Card0"
         Monitor    "Monitor0"
         SubSection "Display"
         Modes      "800x600"
                 Viewport   0 0
                 Depth     1
         EndSubSection
         SubSection "Display"
         Modes      "800x600"
                 Viewport   0 0
                 Depth     4
         EndSubSection
         SubSection "Display"
         Modes      "800x600"
                 Viewport   0 0
                 Depth     8
         EndSubSection
         SubSection "Display"
         Modes      "800x600"
                 Viewport   0 0
                 Depth     15
         EndSubSection
         SubSection "Display"
         Modes      "800x600"
                 Viewport   0 0
                 Depth     16
         EndSubSection
         SubSection "Display"
         Modes      "800x600"
                 Viewport   0 0
                 Depth     24
         EndSubSection
 EndSection
 
 [   315.883]
 X.Org X Server 1.18.4
 Release Date: 2016-07-19
 [   315.921] X Protocol Version 11, Revision 0
 [   315.934] Build Operating System: NetBSD/macppc 8.99.23 - The NetBSD
 Foundation, Inc.
 [   315.959] Current Operating System: NetBSD clams.dev.geeklan.co.uk
 8.99.23 NetBSD 8.99.23 (GENERIC) #0: Fri Aug  3 07:44:31 UTC 2018
 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/GENERIC macppc
 [   315.975] Build Date: 14 August 2016  01:29:29AM
 [   315.987]
 [   316.000] Current version of pixman: 0.34.0
 [   316.025]    Before reporting problems, check http://wiki.X.Org
         to make sure that you have the latest version.
 [   316.025] Markers: (--) probed, (**) from config file, (==) default
 setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 [   316.077] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug  4
 01:46:00 2018
 [   316.091] (==) Using config file: "/etc/X11/xorg.conf"
 [   316.092] (==) ServerLayout "X.org Configured"
 [   316.092] (**) |-->Screen "Screen0" (0)
 [   316.093] (**) |   |-->Monitor "Monitor0"
 [   316.094] (**) |   |-->Device "Card0"
 [   316.094] (==) Not automatically adding devices
 [   316.094] (==) Not automatically enabling devices
 [   316.094] (==) Not automatically adding GPU devices
 [   316.094] (==) Max clients allowed: 256, resource mask: 0x1fffff
 [   316.095] (==) FontPath set to:
         /usr/X11R7/lib/X11/fonts/misc/,
         /usr/X11R7/lib/X11/fonts/TTF/,
         /usr/X11R7/lib/X11/fonts/Type1/,
         /usr/X11R7/lib/X11/fonts/75dpi/,
         /usr/X11R7/lib/X11/fonts/100dpi/
 [   316.096] (==) ModulePath set to "/usr/X11R7/lib/modules"
 [   316.096] (==) |-->Input Device "<default pointer>"
 [   316.096] (==) |-->Input Device "<default keyboard>"
 [   316.096] (==) The core pointer device wasn't specified explicitly in
 the layout.
         Using the default mouse configuration.
 [   316.096] (==) The core keyboard device wasn't specified explicitly
 in the layout.
         Using the default keyboard configuration.
 [   316.096] (II) Loader magic: 0x1aa6314
 [   316.096] (II) Module ABI versions:
 [   316.096]    X.Org ANSI C Emulation: 0.4
 [   316.096]    X.Org Video Driver: 20.0
 [   316.096]    X.Org XInput driver : 22.1
 [   316.096]    X.Org Server Extension : 9.0
 [   316.107] (WW) xf86EnableIO -1
 [   316.107] (II) xf86EnableIO: 0xffffffff
 [   316.107] (WW) Can't map IO space! (9)
 [   316.108] (--) PCI:*(0:0:16:0) 1002:4c46:1002:4c46 rev 2, Mem @
 0x94000000/67108864, 0x90000000/16384, I/O @ 0x00000400/256, BIOS @
 0x????????/131072
 [   316.108] (II) LoadModule: "glx"
 [   316.112] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
 [   316.114] (II) Module glx: vendor="X.Org Foundation"
 [   316.115]    compiled for 1.18.4, module version = 1.0.0
 [   316.115]    ABI class: X.Org Server Extension, version 9.0
 [   316.115] (==) AIGLX enabled
 [   316.115] (II) LoadModule: "r128"
 [   316.117] (II) Loading /usr/X11R7/lib/modules/drivers/r128_drv.so
 [   316.120] (II) Module r128: vendor="X.Org Foundation"
 [   316.120]    compiled for 1.18.4, module version = 6.10.2
 [   316.120]    Module class: X.Org Video Driver
 [   316.120]    ABI class: X.Org Video Driver, version 20.0
 [   316.120] (II) LoadModule: "mouse"
 [   316.122] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
 [   316.123] (II) Module mouse: vendor="X.Org Foundation"
 [   316.123]    compiled for 1.18.4, module version = 1.9.2
 [   316.123]    Module class: X.Org XInput Driver
 [   316.124]    ABI class: X.Org XInput driver, version 22.1
 [   316.124] (II) LoadModule: "kbd"
 [   316.125] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
 [   316.126] (II) Module kbd: vendor="X.Org Foundation"
 [   316.127]    compiled for 1.18.4, module version = 1.9.0
 [   316.127]    Module class: X.Org XInput Driver
 [   316.127]    ABI class: X.Org XInput driver, version 22.1
 [   316.127] (II) R128: Driver for ATI Rage 128 chipsets:
         ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF
 (AGP),
         ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4 ML
 (AGP),
         ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB (PCI/AGP),
         ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD (PCI),
         ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF (AGP),
         ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH (PCI/AGP),
         ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ (PCI/AGP),
         ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL (PCI/AGP),
         ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN (PCI/AGP),
         ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP (PCI),
         ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR (PCI),
         ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT (PCI/AGP),
         ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV (PCI/AGP),
         ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX (PCI/AGP),
         ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
         ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
         ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP),
         ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG (PCI/AGP),
         ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK (PCI/AGP),
         ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP),
         ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF (AGP),
         ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR (AGP),
         ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT (AGP?),
         ATI Rage 128 Pro ULTRA TU (AGP?)
 [   316.131] (--) Using wscons driver on /dev/ttyE0 in pcvt
 compatibility mode (version 3.32)
 [   316.131] (--) using VT number 1
 [   316.131] (WW) xf86EnableIO 7
 [   316.132] (II) xf86EnableIO: 0xfcf00000
 [   316.132] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card
 support
 [   316.132] (II) R128(0): PCI bus 0 card 16 func 0
 [   316.133] (II) Alright, this is the console
 [   316.133] (II) ... and we have backlight control
 [   316.133] (==) R128(0): Depth 24, (--) framebuffer bpp 32
 [   316.133] (II) R128(0): Pixel depth = 24 bits stored in 4 bytes (32
 bpp pixmaps)
 [   316.133] (==) R128(0): Default visual is TrueColor
 [   316.133] (**) R128(0): Option "NoAccel" "true"
 [   316.134] (II) R128(0): VGAAccess option set to FALSE, VGA module
 load skipped
 [   316.134] (==) R128(0): RGB weight 888
 [   316.134] (II) R128(0): Using 8 bits per RGB (8 bit DAC)
 [   316.134] (--) R128(0): Chipset: "ATI Rage 128 Mobility M3 LF (AGP)"
 (ChipID = 0x4c46)
 [   316.134] (--) R128(0): Linear framebuffer at 0x94000000
 [   316.134] (--) R128(0): MMIO registers at 0x90000000
 [   316.135] (--) R128(0): VideoRAM: 8192 kByte (128-bit SDR SGRAM 1:1)
 [   316.135] (II) Loading sub module "ddc"
 [   316.135] (II) LoadModule: "ddc"
 [   316.135] (II) Module "ddc" already built-in
 [   316.135] (II) Loading sub module "i2c"
 [   316.135] (II) LoadModule: "i2c"
 [   316.135] (II) Module "i2c" already built-in
 [   316.278] (WW) R128(0): Video BIOS not found!
 [   316.279] (II) R128(0): PLL parameters: rf=2950 rd=59 min=12500
 max=25000; xclk=10500
 [   316.280] (II) R128(0): Output LVDS using monitor section Monitor0
 [   316.280] (II) R128(0): Output VGA-0 has no monitor section
 [   316.281] (II) R128(0): I2C bus "VGA-0" initialized.
 [   316.281] (II) R128(0): I2C device "VGA-0:ddc2" registered at address
 0xA0.
 [   316.285] (II) R128(0): Printing probed modes for output LVDS
 [   316.285] (II) R128(0): Modeline "800x600"x85.1   56.30  800 832 896
 1048  600 601 604 631 +hsync +vsync (53.7 kHz UdP)
 [   316.285] (II) R128(0): Modeline "800x600"x72.2   50.00  800 856 976
 1040  600 637 643 666 +hsync +vsync (48.1 kHz d)
 [   316.285] (II) R128(0): Modeline "800x600"x75.0   49.50  800 816 896
 1056  600 601 604 625 +hsync +vsync (46.9 kHz d)
 [   316.285] (II) R128(0): Modeline "800x600"x60.3   40.00  800 840 968
 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
 [   316.286] (II) R128(0): Modeline "800x600"x56.2   36.00  800 824 896
 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
 [   316.292] (II) R128(0): EDID for output VGA-0
 [   316.293] (II) R128(0): Printing probed modes for output VGA-0
 [   316.293] (II) R128(0): Modeline "800x600"x170.0  114.75  800 832 928
 1080  600 600 602 625 doublescan +hsync +vsync (106.2 kHz UdP)
 [   316.293] (II) R128(0): Modeline "800x600"x150.0  101.25  800 832 928
 1080  600 600 602 625 doublescan +hsync +vsync (93.8 kHz d)
 [   316.293] (II) R128(0): Modeline "800x600"x140.0   94.50  800 832 928
 1080  600 600 602 625 doublescan +hsync +vsync (87.5 kHz d)
 [   316.294] (II) R128(0): Modeline "800x600"x130.0   87.75  800 832 928
 1080  600 600 602 625 doublescan +hsync +vsync (81.2 kHz d)
 [   316.294] (II) R128(0): Modeline "800x600"x120.0   81.00  800 832 928
 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
 [   316.294] (II) R128(0): Modeline "800x600"x85.1   56.30  800 832 896
 1048  600 601 604 631 +hsync +vsync (53.7 kHz d)
 [   316.294] (II) R128(0): Modeline "800x600"x72.2   50.00  800 856 976
 1040  600 637 643 666 +hsync +vsync (48.1 kHz d)
 [   316.294] (II) R128(0): Modeline "800x600"x75.0   49.50  800 816 896
 1056  600 601 604 625 +hsync +vsync (46.9 kHz d)
 [   316.294] (II) R128(0): Modeline "800x600"x60.3   40.00  800 840 968
 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
 [   316.294] (II) R128(0): Modeline "800x600"x56.2   36.00  800 824 896
 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
 [   316.294] (II) R128(0): Output LVDS connected
 [   316.294] (II) R128(0): Output VGA-0 connected
 [   316.294] (II) R128(0): Using user preference for initial modes
 [   316.295] (II) R128(0): Output LVDS using initial mode 800x600 +0+0
 [   316.295] (II) R128(0): Output VGA-0 using initial mode 800x600 +0+0
 [   316.295] (II) R128(0): Using default gamma of (1.0, 1.0, 1.0) unless
 otherwise stated.
 [   316.295] (==) R128(0): DPI set to (96, 96)
 [   316.295] (II) Loading sub module "fb"
 [   316.295] (II) LoadModule: "fb"
 [   316.298] (II) Loading /usr/X11R7/lib/modules/libfb.so
 [   316.300] (II) Module fb: vendor="X.Org Foundation"
 [   316.300]    compiled for 1.18.4, module version = 1.0.0
 [   316.300]    ABI class: X.Org ANSI C Emulation, version 0.4
 [   316.301] (II) Loading sub module "ramdac"
 [   316.301] (II) LoadModule: "ramdac"
 [   316.301] (II) Module "ramdac" already built-in
 [   316.301] (II) Loading sub module "shadowfb"
 [   316.301] (II) LoadModule: "shadowfb"
 [   316.304] (II) Loading /usr/X11R7/lib/modules/libshadowfb.so
 [   316.305] (II) Module shadowfb: vendor="X.Org Foundation"
 [   316.306]    compiled for 1.18.4, module version = 1.0.0
 [   316.306]    ABI class: X.Org ANSI C Emulation, version 0.4
 [   316.306] (II) R128(0): Page flipping disabled
 [   316.306] (--) Depth 24 pixmap format is 32 bpp
 [   316.306] (II) R128(0): Acceleration of RENDER operations will be
 enabled upon successful loading of DRI and EXA
 [   316.416] (WW) R128(0): Acceleration disabled, not initializing the DRI
 [   316.417] (II) R128(0): Memory manager initialized to (0,0) (832,2520)
 [   316.417] (II) R128(0): Reserved area from (0,600) to (832,602)
 [   316.417] (II) R128(0): Largest offscreen area available: 832 x 1918
 [   316.418] (II) R128(0): Acceleration disabled
 [   316.418] (II) R128(0): Modeline "800x600"x85.1   56.30  800 832 896
 1048  600 601 604 631 +hsync +vsync (53.7 kHz UdP)
 [   316.440] (II) R128(0): Modeline "800x600"x170.0  114.75  800 832 928
 1080  600 600 602 625 doublescan +hsync +vsync (106.2 kHz UdP)
 [   316.460] (==) R128(0): Backing store enabled
 [   316.460] (==) R128(0): Silken mouse enabled
 [   316.461] (II) R128(0): Will use 4 kb for hardware cursor 0 at offset
 0x001e9200
 [   316.461] (II) R128(0): Will use 4 kb for hardware cursor 1 at offset
 0x001e9600
 [   316.461] (II) R128(0): Largest offscreen area available: 832 x 1916
 [   316.461] (==) R128(0): DPMS enabled
 [   316.462] (WW) R128(0): Direct rendering disabled
 [   316.462] (II) R128(0): RandR 1.2 enabled, ignore the following RandR
 disabled message.
 [   316.463] (--) RandR disabled
 [   316.535] (II) AIGLX: Screen 0 is not DRI2 capable
 [   316.536] (EE) AIGLX: reverting to software rendering
 [   316.559] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
 [   316.563] (II) AIGLX: Loaded and initialized swrast
 [   316.564] (II) GLX: Initialized DRISWRAST GL provider for screen 0
 [   316.567] (II) R128(0): Setting screen physical size to 211 x 158
 [   318.567] (II) Using input driver 'mouse' for '<default pointer>'
 [   318.568] (**) Option "CorePointer" "on"
 [   318.568] (**) <default pointer>: always reports core events
 [   318.569] (WW) <default pointer>: No Device specified, looking for one...
 [   318.569] (II) <default pointer>: found Device "/dev/wsmouse"
 [   318.570] (--) <default pointer>: Device: "/dev/wsmouse"
 [   318.570] (==) <default pointer>: Protocol: "WSMouse"
 [   318.570] (**) <default pointer>: always reports core events
 [   318.570] (**) Option "Device" "/dev/wsmouse"
 [   318.571] (==) <default pointer>: Emulate3Buttons, Emulate3Timeout: 50
 [   318.571] (**) <default pointer>: ZAxisMapping: buttons 4 and 5
 [   318.571] (**) <default pointer>: Buttons: 9
 [   318.572] (II) XINPUT: Adding extended input device "<default
 pointer>" (type: MOUSE, id 6)
 [   318.573] (**) <default pointer>: (accel) keeping acceleration scheme 1
 [   318.573] (**) <default pointer>: (accel) acceleration profile 0
 [   318.573] (**) <default pointer>: (accel) acceleration factor: 2.000
 [   318.573] (**) <default pointer>: (accel) acceleration threshold: 4
 [   318.574] (II) Using input driver 'kbd' for '<default keyboard>'
 [   318.575] (**) Option "CoreKeyboard" "on"
 [   318.575] (**) <default keyboard>: always reports core events
 [   318.575] (**) <default keyboard>: always reports core events
 [   318.575] (**) Option "Protocol" "wskbd"
 [   318.576] (--) <default keyboard>: Keyboard type: USB
 [   318.576] (**) Option "XkbRules" "base"
 [   318.576] (**) Option "XkbModel" "pc105"
 [   318.576] (**) Option "XkbLayout" "us"
 [   318.576] (II) XINPUT: Adding extended input device "<default
 keyboard>" (type: KEYBOARD, id 7)
 [   324.018] (II) closing /dev/wskbd
 [   324.042] (II) UnloadModule: "kbd"
 [   324.043] (II) UnloadModule: "mouse"
 [   325.155] (II) Server terminated successfully (0). Closing log file.
 


Home | Main Index | Thread Index | Old Index