NetBSD-Users archive

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

Permedia 3 and Xorg (on AXP)



	Hello,

I'm trying to configure Xorg on a PWS500a. This workstation contains a pm3 graphic adapter :

pm3fb0 at pci1 dev 9 function 0: vendor 3d3d product 000a (rev. 0x01)
pm3fb0: no width property
pm3fb0: no height property
pm3fb0: no depth property
pm3fb0: 16 MB aperture at 0x94000000
pm3fb0: pm3 using 1280 x 1024 in 8 bit, stride 1280

(Oxygen VX1, 32 GB)

einstein# pcictl pci0 list -N
...
001:09:0: 3D Labs GLINT Permedia 3 (miscellaneous display, revision 0x01) [pm3fb0]
...
einstein#

I'm able to start X with wsfb driver. But as console is broken, X is broken too (right of the screen, about 5%, is noisy). And wsfb runs only in 1280x1024x8 without acceleration. If I was able to configure console in 1280x1024x24 without scrambly right screen, I could accept a driver without acceleration, but now, it's only unusable (Xorg takes 30% of CPU !).

pm3 is supported by glint driver. Thus, I have modified my xorg.conf to use this driver. With -7, kernel paniced when Xorg tried to start glint driver. Now, with -8, Xorg refuses to start. In Xorg.0.log, I obtain :

X.Org X Server 1.10.6
Release Date: 2011-07-08
[   135.830] X Protocol Version 11, Revision 0
[   135.830] Build Operating System: NetBSD/alpha  -
[ 135.831] Current Operating System: NetBSD einstein.systella.fr 8.0_BETA NetBSD 8.0_BETA (GENERIC-$Revision: 1.375 $) #0: Tue Jul 11 02:14:42 CEST 2017 bertrand@rayleigh:/export/home/bertrand/netbsd/netbsd-cross/netbsd-8/obj-axp-ev56/sys/arch/alpha/compile/GENERIC alpha
[   135.834] Build Date: 01 August 2011  01:01:00AM
[   135.834]
[   135.834] Current version of pixman: 0.34.0
[   135.834]    Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
[ 135.834] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 135.836] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 20 00:27:09 2017
[   135.836] (==) Using config file: "/etc/X11/xorg.conf"
[   135.838] (==) ServerLayout "Default Layout"
[   135.838] (**) |-->Screen "Default Screen" (0)
[   135.839] (**) |   |-->Monitor "�~Icran générique"
[   135.840] (**) |   |-->Device "Matrox Millenium"
[   135.840] (**) |-->Input Device "Generic Keyboard"
[   135.840] (**) |-->Input Device "Configured Mouse"
[   135.841] (==) Not automatically adding devices
[   135.841] (==) Not automatically enabling devices
[ 135.841] (WW) `fonts.dir' not found (or not valid) in "/usr/X11R7/lib/X11/fonts/cyrillic".
[   135.842]    Entry deleted from font path.
[   135.842]    (Run 'mkfontdir' on "/usr/X11R7/lib/X11/fonts/cyrillic").
[   135.843] (**) FontPath set to:
        unix/:7100,
        /usr/X11R7/lib/X11/fonts/misc,
        /usr/X11R7/lib/X11/fonts/100dpi/:unscaled,
        /usr/X11R7/lib/X11/fonts/75dpi/:unscaled,
        /usr/X11R7/lib/X11/fonts/Type1,
        /usr/X11R7/lib/X11/fonts/100dpi,
        /usr/X11R7/lib/X11/fonts/75dpi,
        /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/
[   135.844] (==) ModulePath set to "/usr/X11R7/lib/modules"
[   135.844] (II) Loader magic: 0x1202cbe48
[   135.844] (II) Module ABI versions:
[   135.844]    X.Org ANSI C Emulation: 0.4
[   135.844]    X.Org Video Driver: 10.0
[   135.844]    X.Org XInput driver : 12.2
[   135.844]    X.Org Server Extension : 5.0
[ 135.853] (WW) checkDevMem: failed to open/mmap /dev/mem (Operation not permitted)


einstein:[/dev] > ls -l mem
crw-r-----  1 root  kmem  2, 0 Sep 12  2014 mem

I don't understand last message.


[   135.854]    linear framebuffer access unavailable
[   135.854] (II) has_bwx = 0
[   135.854] (--) Machine needs sparse mapping
[ 135.855] (--) PCI:*(1:1:9:0) 3d3d:000a:3d3d:0121 rev 1, Mem @ 0x80000000/131072, 0x94000000/67108864, 0x90000000/67108864, BIOS @ 0x????????/65536
[   135.856] (II) "extmod" will be loaded by default.
[   135.856] (II) "dbe" will be loaded by default.
[   135.856] (II) "glx" will be loaded by default.
[   135.856] (II) "record" will be loaded by default.
[   135.856] (II) "dri" will be loaded by default.
[   135.856] (II) "dri2" will be loaded by default.
[   135.856] (II) LoadModule: "extmod"
[   135.864] (II) Loading /usr/X11R7/lib/modules/extensions/libextmod.so
[   135.867] (II) Module extmod: vendor="X.Org Foundation"
[   135.867]    compiled for 1.10.6, module version = 1.0.0
[   135.867]    Module class: X.Org Server Extension
[   135.867]    ABI class: X.Org Server Extension, version 5.0
[   135.868] (II) Loading extension MIT-SCREEN-SAVER
[   135.868] (II) Loading extension XFree86-VidModeExtension
[   135.868] (II) Loading extension XFree86-DGA
[   135.868] (II) Loading extension DPMS
[   135.868] (II) Loading extension XVideo
[   135.868] (II) Loading extension XVideo-MotionCompensation
[   135.868] (II) Loading extension X-Resource
[   135.869] (II) LoadModule: "dbe"
[   135.875] (II) Loading /usr/X11R7/lib/modules/extensions/libdbe.so
[   135.877] (II) Module dbe: vendor="X.Org Foundation"
[   135.877]    compiled for 1.10.6, module version = 1.0.0
[   135.877]    Module class: X.Org Server Extension
[   135.877]    ABI class: X.Org Server Extension, version 5.0
[   135.877] (II) Loading extension DOUBLE-BUFFER
[   135.877] (II) LoadModule: "glx"
[   135.885] (II) Loading /usr/X11R7/lib/modules/extensions/libglx.so
[   135.886] (II) Module glx: vendor="X.Org Foundation"
[   135.886]    compiled for 1.10.6, module version = 1.0.0
[   135.887]    ABI class: X.Org Server Extension, version 5.0
[   135.887] (==) AIGLX enabled
[   135.887] (II) Loading extension GLX
[   135.887] (II) LoadModule: "record"
[   135.895] (II) Loading /usr/X11R7/lib/modules/extensions/librecord.so
[   135.896] (II) Module record: vendor="X.Org Foundation"
[   135.896]    compiled for 1.10.6, module version = 1.13.0
[   135.896]    Module class: X.Org Server Extension
[   135.896]    ABI class: X.Org Server Extension, version 5.0
[   135.896] (II) Loading extension RECORD
[   135.897] (II) LoadModule: "dri"
[   135.903] (II) Loading /usr/X11R7/lib/modules/extensions/libdri.so
[   135.904] (II) Module dri: vendor="X.Org Foundation"
[   135.905]    compiled for 1.10.6, module version = 1.0.0
[   135.905]    ABI class: X.Org Server Extension, version 5.0
[   135.905] (II) Loading extension XFree86-DRI
[   135.905] (II) LoadModule: "dri2"
[   135.912] (II) Loading /usr/X11R7/lib/modules/extensions/libdri2.so
[   135.913] (II) Module dri2: vendor="X.Org Foundation"
[   135.913]    compiled for 1.10.6, module version = 1.2.0
[   135.913]    ABI class: X.Org Server Extension, version 5.0
[   135.913] (II) Loading extension DRI2
[   135.914] (II) LoadModule: "glint"
[   135.917] (II) Loading /usr/X11R7/lib/modules/drivers/glint_drv.so
[   135.920] (II) Module glint: vendor="X.Org Foundation"
[   135.920]    compiled for 1.10.6, module version = 1.2.9
[   135.921]    Module class: X.Org Video Driver
[   135.921]    ABI class: X.Org Video Driver, version 10.0
[   135.921] (II) LoadModule: "kbd"
[   135.924] (II) Loading /usr/X11R7/lib/modules/drivers/kbd_drv.so
[   135.926] (II) Module kbd: vendor="X.Org Foundation"
[   135.926]    compiled for 1.10.6, module version = 1.9.0
[   135.926]    Module class: X.Org XInput Driver
[   135.926]    ABI class: X.Org XInput driver, version 12.2
[   135.926] (II) LoadModule: "mouse"
[   135.930] (II) Loading /usr/X11R7/lib/modules/drivers/mouse_drv.so
[   135.931] (II) Module mouse: vendor="X.Org Foundation"
[   135.931]    compiled for 1.10.6, module version = 1.9.2
[   135.931]    Module class: X.Org XInput Driver
[   135.931]    ABI class: X.Org XInput driver, version 12.2
[ 135.932] (II) GLINT: driver for 3Dlabs chipsets: gamma, gamma2, ti_pm2, ti_pm, r4,
        pm4, pm3, pm2v, pm2, pm, 300sx, 500tx, mx, delta
[   135.934] (--) Using wscons driver
[   135.934] (WW) Falling back to old probe method for glint
[   135.934] (--) Assigning device section with no busID to primary device
[   135.935] (--) Chipset pm3 found
[   135.935] (II) Loading /usr/X11R7/lib/modules/drivers/glint_drv.so
[ 135.935] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   135.937] (**) GLINT(0): Depth 24, (--) framebuffer bpp 32
[   135.937] (==) GLINT(0): RGB weight 888
[   135.937] (==) GLINT(0): Default visual is TrueColor
[   135.938] (==) GLINT(0): Using gamma correction (1.0, 1.0, 1.0)
[   135.938] (==) GLINT(0): Using HW cursor
[   135.938] (--) GLINT(0): Not using Linux framebuffer device
[   135.938] (--) GLINT(0): Chipset: "pm3"
[   135.938] (--) GLINT(0): Linear framebuffer at 0x90000000
[   135.939] (--) GLINT(0): MMIO registers at 0x80000000
[   135.954] Segmentation fault at address 0x1018
[   135.954]
Fatal server error:
[   135.954] Caught signal 11 (Segmentation fault). Server aborting
[   135.955]
[   135.955]
Please consult the The X.Org Foundation support
         at http://wiki.X.Org
 for help.
[ 135.955] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   135.955]

	segfault... And now, what ?

	Best regards,

	JKB



Home | Main Index | Thread Index | Old Index