X starts on sparc64, but will not output video with XVR-600.

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

X starts on sparc64, but will not output video with XVR-600.

David Savolainen
 >Synopsis:      X starts on sparc64, but no video
 >Category:      X window system running, but not working
 >Environment:
         System      : OpenBSD 6.6
         Details     : OpenBSD 6.6-current (GENERIC.MP) #197: Sun Jan 26
06:53:42 MST 2020
 
[hidden email]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP

         Architecture: OpenBSD.sparc64
         Machine     : sparc64
 >Description:
         I apologize if this isn't the correct forum for this.  I bring
it up here because this machine is known to work with OpenSXCE in its
current configuration.  I am installing the current sparc64 (snapshot
1/26 with the patched wildcat driver) on a Sun V240 with XVR-600
graphics. X starts and runs, but no video is displayed.  My X.org log
file is as follows.  At the end are error messages when I tried to view
the various virtual terminals. Thanks!

[    68.497] (--) Using wscons driver on /dev/ttyC0
[    68.555]
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[    68.555] Build Operating System: OpenBSD 6.6 sparc64
[    68.555] Current Operating System: OpenBSD v240.daisav.com 6.6
GENERIC.MP#197 sparc64
[    68.556] Build Date: 26 January 2020  08:41:45AM
[    68.556]
[    68.556] Current version of pixman: 0.38.4
[    68.556]    Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
[    68.556] Markers: (--) probed, (**) from config file, (==) default
setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    68.557] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 27
18:44:03 2020
[    68.585] (==) Using system config directory
"/usr/X11R6/share/X11/xorg.conf.d"
[    68.589] (==) No Layout section.  Using the first Screen section.
[    68.590] (==) No screen section available. Using defaults.
[    68.590] (**) |-->Screen "Default Screen Section" (0)
[    68.590] (**) |   |-->Monitor "<default monitor>"
[    68.598] (==) No monitor specified for screen "Default Screen Section".
         Using a default monitor configuration.
[    68.598] (==) Automatically adding devices
[    68.598] (==) Automatically enabling devices
[    68.598] (==) Not automatically adding GPU devices
[    68.600] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    68.718] (==) FontPath set to:
         /usr/X11R6/lib/X11/fonts/misc/,
         /usr/X11R6/lib/X11/fonts/TTF/,
         /usr/X11R6/lib/X11/fonts/OTF/,
         /usr/X11R6/lib/X11/fonts/Type1/,
         /usr/X11R6/lib/X11/fonts/100dpi/,
         /usr/X11R6/lib/X11/fonts/75dpi/
[    68.718] (==) ModulePath set to "/usr/X11R6/lib/modules"
[    68.718] (II) The server relies on wscons to provide the list of
input devices.
         If no devices become available, reconfigure wscons or disable
AutoAddDevices.
[    68.721] (II) Loader magic: 0xb3cb4a6010
[    68.721] (II) Module ABI versions:
[    68.721]    X.Org ANSI C Emulation: 0.4
[    68.721]    X.Org Video Driver: 24.0
[    68.721]    X.Org XInput driver : 24.1
[    68.721]    X.Org Server Extension : 10.0
[    68.738] (--) PCI: (0@3:1:0) 3d3d:07a2:3d3d:1047 rev 1, Mem @
0x04000000/67108864, 0x00100000/131072, 0x02000000/33554432
[    68.751] (II) LoadModule: "glx"
[    68.760] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[    68.960] (II) Module glx: vendor="X.Org Foundation"
[    68.960]    compiled for 1.20.6, module version = 1.0.0
[    68.960]    ABI class: X.Org Server Extension, version 10.0
[    68.965] (==) Matched wildcatfb as autoconfigured driver 0
[    68.965] (==) Assigned the driver to the xf86ConfigLayout
[    68.965] (II) LoadModule: "wildcatfb"
[    68.966] (II) Loading /usr/X11R6/lib/modules/drivers/wildcatfb_drv.so
[    68.975] (II) Module wildcatfb: vendor="X.Org Foundation"
[    68.975]    compiled for 1.20.6, module version = 0.0.2
[    68.975]    ABI class: X.Org Video Driver, version 24.0
[    68.975] (II) wildcatfb: driver for ``Wildcat'' wsdisplay
framebuffer: wildcatfb
[    68.975] (WW) Falling back to old probe method for wildcatfb
[    68.979] (II) wildcatfb(0): using default device
[    68.988] (II) wildcatfb(0): Creating default Display subsection in
Screen section
         "Default Screen Section" for depth/fbbpp 7/8
[    68.988] (==) wildcatfb(0): Depth 7, (--) framebuffer bpp 8
[    68.988] (==) wildcatfb(0): Default visual is PseudoColor
[    68.988] (==) wildcatfb(0): Using gamma correction (1.0, 1.0, 1.0)
[    68.988] (II) wildcatfb(0): Vidmem: 1800k
[    68.988] (==) wildcatfb(0): DPI set to (96, 96)
[    68.988] (**) wildcatfb(0): Using "Shadow Framebuffer"
[    68.988] (II) Loading sub module "shadow"
[    68.988] (II) LoadModule: "shadow"
[    68.994] (II) Loading /usr/X11R6/lib/modules/libshadow.so
[    69.015] (II) Module shadow: vendor="X.Org Foundation"
[    69.015]    compiled for 1.20.6, module version = 1.1.0
[    69.015]    ABI class: X.Org ANSI C Emulation, version 0.4
[    69.015] (II) Loading sub module "fb"
[    69.015] (II) LoadModule: "fb"
[    69.017] (II) Loading /usr/X11R6/lib/modules/libfb.so
[    69.025] (II) Module fb: vendor="X.Org Foundation"
[    69.025]    compiled for 1.20.6, module version = 1.0.0
[    69.025]    ABI class: X.Org ANSI C Emulation, version 0.4
[    69.044] (==) wildcatfb(0): Backing store enabled
[    69.052] (II) Initializing extension Generic Event Extension
[    69.054] (II) Initializing extension SHAPE
[    69.056] (II) Initializing extension MIT-SHM
[    69.058] (II) Initializing extension XInputExtension
[    69.061] (II) Initializing extension XTEST
[    69.063] (II) Initializing extension BIG-REQUESTS
[    69.064] (II) Initializing extension SYNC
[    69.071] (II) Initializing extension XKEYBOARD
[    69.077] (II) Initializing extension XC-MISC
[    69.079] (II) Initializing extension SECURITY
[    69.081] (II) Initializing extension XFIXES
[    69.086] (II) Initializing extension RENDER
[    69.309] (II) Initializing extension RANDR
[    69.313] (II) Initializing extension COMPOSITE
[    69.314] (II) Initializing extension DAMAGE
[    69.316] (II) Initializing extension MIT-SCREEN-SAVER
[    69.322] (II) Initializing extension DOUBLE-BUFFER
[    69.324] (II) Initializing extension RECORD
[    69.331] (II) Initializing extension DPMS
[    69.331] (II) Initializing extension Present
[    69.335] (II) Initializing extension DRI3
[    69.337] (II) Initializing extension X-Resource
[    69.339] (II) Initializing extension XVideo
[    69.345] (II) Initializing extension XVideo-MotionCompensation
[    69.346] (II) Initializing extension GLX
[    69.348] (II) Initializing extension XFree86-VidModeExtension
[    69.351] (II) Initializing extension XFree86-DGA
[    69.353] (II) Initializing extension XFree86-DRI
[    69.354] (II) Initializing extension DRI2
[    70.424] (II) config/wscons: checking input device /dev/wskbd
[    70.425] (II) wskbd: using layout us
[    70.431] (II) LoadModule: "kbd"
[    70.432] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[    70.439] (II) Module kbd: vendor="X.Org Foundation"
[    70.439]    compiled for 1.20.6, module version = 1.9.0
[    70.439]    Module class: X.Org XInput Driver
[    70.439]    ABI class: X.Org XInput driver, version 24.1
[    70.439] (II) Using input driver 'kbd' for '/dev/wskbd'
[    70.439] (**) /dev/wskbd: always reports core events
[    70.439] (**) /dev/wskbd: always reports core events
[    70.440] (**) Option "Protocol" "standard"
[    70.440] (**) Option "XkbRules" "base"
[    70.440] (**) Option "XkbModel" "pc105"
[    70.440] (**) Option "XkbLayout" "us"
[    70.440] (II) XINPUT: Adding extended input device "/dev/wskbd"
(type: KEYBOARD, id 6)
[    70.481] (II) config/wscons: checking input device /dev/wsmouse
[    70.481] (II) LoadModule: "ws"
[    70.484] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[    70.509] (II) Module ws: vendor="X.Org Foundation"
[    70.509]    compiled for 1.20.6, module version = 1.3.0
[    70.509]    Module class: X.Org XInput Driver
[    70.509]    ABI class: X.Org XInput driver, version 24.1
[    70.509] (II) Using input driver 'ws' for '/dev/wsmouse'
[    70.509] (**) /dev/wsmouse: always reports core events
[    70.509] (II) ws: /dev/wsmouse: debuglevel 0
[    70.509] (**) Option "Device" "/dev/wsmouse"
[    70.509] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[    70.509] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[    70.509] (**) ws: /dev/wsmouse: associated screen: 0
[    70.510] (II) ws: /dev/wsmouse: minimum x position: 0
[    70.510] (II) ws: /dev/wsmouse: maximum x position: 1151
[    70.510] (II) ws: /dev/wsmouse: minimum y position: 0
[    70.510] (II) ws: /dev/wsmouse: maximum y position: 899
[    70.510] (==) ws: /dev/wsmouse: Buttons: 7
[    70.540] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[    70.540] (II) XINPUT: Adding extended input device "/dev/wsmouse"
(type: MOUSE, id 7)
[    70.550] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[    70.550] (**) /dev/wsmouse: (accel) acceleration profile 0
[    70.550] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[    70.550] (**) /dev/wsmouse: (accel) acceleration threshold: 4
[ 17502.881] Failed to switch from vt-1 to vt04: Inappropriate ioctl for
device
[ 17508.304] Failed to switch from vt-1 to vt04: Inappropriate ioctl for
device
[ 17509.895] Failed to switch from vt-1 to vt05: Inappropriate ioctl for
device
[ 17511.207] Failed to switch from vt-1 to vt01: Inappropriate ioctl for
device
[ 17512.679] Failed to switch from vt-1 to vt02: Inappropriate ioctl for
device
[ 17513.783] Failed to switch from vt-1 to vt03: Inappropriate ioctl for
device
[ 17514.814] Failed to switch from vt-1 to vt04: Inappropriate ioctl for
device
[ 17515.886] Failed to switch from vt-1 to vt05: Inappropriate ioctl for
device
[ 17516.902] Failed to switch from vt-1 to vt06: Inappropriate ioctl for
device
[ 17518.374] Failed to switch from vt-1 to vt07: Inappropriate ioctl for
device
[ 17519.342] Failed to switch from vt-1 to vt08: Inappropriate ioctl for
device
[ 17522.909] Failed to switch from vt-1 to vt04: Inappropriate ioctl for
device


 >How-To-Repeat:
         Do a fresh install of the current sparc64 snapshot on a V240
with XVR-600 graphics.
 >Fix:
         No idea.  Don't know enough about the inner workings of the X
window system.  Seems to be stuck in some vt100 tty??


dmesg:
OpenBSD 6.6-current (GENERIC.MP) #197: Sun Jan 26 06:53:42 MST 2020
 
[hidden email]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP
real mem = 8589934592 (8192MB)
avail mem = 8424316928 (8034MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: Sun Fire V240
cpu0 at mainbus0: SUNW,UltraSPARC-IIIi (rev 3.4) @ 1503 MHz
cpu0: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
external (64 b/l)
cpu1 at mainbus0: SUNW,UltraSPARC-IIIi (rev 3.4) @ 1503 MHz
cpu1: physical 32K instruction (32 b/l), 64K data (32 b/l), 1024K
external (64 b/l)
"memory-controller" at mainbus0 not configured
"memory-controller" at mainbus0 not configured
schizo0 at mainbus0: "Tomatillo", version 4, ign 7c0, bus B 0 to 0
schizo0: dvma map c0000000-dfffffff
pci0 at schizo0
bge0 at pci0 dev 2 function 0 "Broadcom BCM5704C" rev 0x00, BCM5704 B0
(0x2100): ivec 0x7c8, address 00:03:ba:2
e:7c:19
brgphy0 at bge0 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge1 at pci0 dev 2 function 1 "Broadcom BCM5704C" rev 0x00, BCM5704 B0
(0x2100): ivec 0x7c9, address 00:03:ba:2
e:7c:1a
brgphy1 at bge1 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
schizo1 at mainbus0: "Tomatillo", version 4, ign 780, bus A 0 to 0
schizo1: dvma map c0000000-dfffffff
pci1 at schizo1
ebus0 at pci1 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"flashprom" at ebus0 addr 0-fffff, 290-290 not configured
rtc0 at ebus0 addr 70-71: m5819p
pcfiic0 at ebus0 addr 320-321 ivec 0x2e
iic0 at pcfiic0
"SUNW,i2c-imax" at iic0 addr 0xb not configured
"SUNW,i2c-imax" at iic0 addr 0xc not configured
spdmem0 at iic0 addr 0x5b: 1GB DDR SDRAM registered ECC PC2700CL2.5
spdmem1 at iic0 addr 0x5c: 1GB DDR SDRAM registered ECC PC2700CL2.5
spdmem2 at iic0 addr 0x5d: 1GB DDR SDRAM registered ECC PC2700CL2.5
spdmem3 at iic0 addr 0x5e: 1GB DDR SDRAM registered ECC PC2700CL2.5
spdmem4 at iic0 addr 0x63: 1GB DDR SDRAM registered ECC PC2700CL2.5
spdmem5 at iic0 addr 0x64: 1GB DDR SDRAM registered ECC PC2700CL2.5
spdmem6 at iic0 addr 0x65: 1GB DDR SDRAM registered ECC PC2700CL2.5
spdmem7 at iic0 addr 0x66: 1GB DDR SDRAM registered ECC PC2700CL2.5
"ds1307" at iic0 addr 0x68 not configured
"pca9555" at iic0 addr 0x22 not configured
"pca9555" at iic0 addr 0x23 not configured
"pca9555" at iic0 addr 0x25 not configured
"pca9555" at iic0 addr 0x34 not configured
"pca9555" at iic0 addr 0x44 not configured
"pca9556" at iic0 addr 0x38 not configured
power0 at ebus0 addr 800-82f ivec 0x20
com0 at ebus0 addr 3f8-3ff ivec 0x2c: ns16550a, 16 byte fifo
com0: console
com1 at ebus0 addr 2e8-2ef ivec 0x2c: ns16550a, 16 byte fifo
"rmc-comm" at ebus0 addr 3e8-3ef ivec 0x2c not configured
alipm0 at pci1 dev 6 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz
clock
iic1 at alipm0
ohci0 at pci1 dev 10 function 0 "Acer Labs M5237 USB" rev 0x03: ivec
0x7a7, version 1.0, legacy support
pciide0 at pci1 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc4:
DMA, channel 0 configured to native-PCI,
  channel 1 configured to native-PCI
pciide0: using ivec 0x798 for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <TEAC, DV-28E-N, 1.6A> removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 configuration 1 interface 0 "Acer Labs OHCI root hub" rev
1.00/1.00 addr 1
schizo2 at mainbus0: "Tomatillo", version 4, ign 700, bus A 0 to 0
schizo2: dvma map c0000000-dfffffff
pci2 at schizo2
siop0 at pci2 dev 2 function 0 "Symbios Logic 53c1010-66" rev 0x01: ivec
0x729, using 8K of on-board RAM
scsibus2 at siop0: 16 targets, initiator 7
sd0 at scsibus2 targ 0 lun 0: <FUJITSU, MBA3147NC, 0102>
naa.500000e110f58723
sd0: 140272MB, 512 bytes/sector, 287277984 sectors
sym0 at scsibus2 targ 1 lun 0: <FUJITSU, MAX3147NC, 5D03>
serial.FUJITSU_MAX3147NC_DN03P7101CNL
sd1 at scsibus0 targ 0 lun 0: <FUJITSU, MAX3147NC, 5D03>
serial.FUJITSU_MAX3147NC_DN03P7101CNL
sd1: 140014MB, 512 bytes/sector, 286749480 sectors
sd2 at scsibus2 targ 2 lun 0: <FUJITSU, MBA3147NC, 0102>
naa.500000e110f57ad6
sd2: 140272MB, 512 bytes/sector, 287277984 sectors
sym1 at scsibus2 targ 3 lun 0: <FUJITSU, MAX3147NC, 5D03>
serial.FUJITSU_MAX3147NC_DN03P7601M5G
sd3 at scsibus0 targ 1 lun 0: <FUJITSU, MAX3147NC, 5D03>
serial.FUJITSU_MAX3147NC_DN03P7601M5G
sd3: 140014MB, 512 bytes/sector, 286749480 sectors
siop1 at pci2 dev 2 function 1 "Symbios Logic 53c1010-66" rev 0x01: ivec
0x728, using 8K of on-board RAM
scsibus3 at siop1: 16 targets, initiator 7
schizo3 at mainbus0: "Tomatillo", version 4, ign 740, bus B 0 to 0
schizo3: dvma map c0000000-dfffffff
pci3 at schizo3
bge2 at pci3 dev 2 function 0 "Broadcom BCM5704C" rev 0x00, BCM5704 B0
(0x2100): ivec 0x75c, address 00:03:ba:2
e:7c:1b
brgphy2 at bge2 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
bge3 at pci3 dev 2 function 1 "Broadcom BCM5704C" rev 0x00, BCM5704 B0
(0x2100): ivec 0x75d, address 00:03:ba:2
e:7c:1c
brgphy3 at bge3 phy 1: BCM5704 10/100/1000baseT PHY, rev. 0
ifb0 at pci3 dev 1 function 0 "3D Labs Wildcat 5110" rev 0x01
ifb0: XVR-600 (SUNW,375-3153), 1152x900
wsdisplay0 at ifb0 mux 1
wsdisplay0: screen 0 added (std, sun emulation)
siop0: target 0 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
siop0: target 1 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
siop0: target 2 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
siop0: target 3 now using tagged DT 16 bit 80.0 MHz 62 REQ/ACK offset xfers
uhidev0 at uhub0 port 1 configuration 1 interface 0 "HOLTEK Wireless
TackBall Keyboard" rev 1.10/2.20 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0 mux 1
wskbd0: connecting to wsdisplay0
uhidev1 at uhub0 port 1 configuration 1 interface 1 "HOLTEK Wireless
TackBall Keyboard" rev 1.10/2.20 addr 2
uhidev1: iclass 3/1, 3 report ids
ums0 at uhidev1 reportid 1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=2, output=0, feature=0
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
bootpath: /pci@1c,600000/scsi@2,0/disk@0,0
root on sd0a (64939091e71c43a4.a) swap on sd0b dump on sd0b

usbdevs:
Controller /dev/usb0:
addr 01: 10b9:0000 Acer Labs, OHCI root hub
          full speed, self powered, config 1, rev 1.00
          driver: uhub0
addr 02: 1241:f766 HOLTEK, Wireless TackBall Keyboard
          low speed, power 100 mA, config 1, rev 2.20
          driver: uhidev0
          driver: uhidev1

Reply | Threaded
Open this post in threaded view
|

Re: X starts on sparc64, but will not output video with XVR-600.

Kurt Mosiejczuk-9
On Tue, Jan 28, 2020 at 11:07:27PM -0600, David Savolainen wrote:
> >Synopsis:      X starts on sparc64, but no video
> >Category:      X window system running, but not working
> >Environment:
>         System      : OpenBSD 6.6
>         Details     : OpenBSD 6.6-current (GENERIC.MP) #197: Sun Jan 26
> 06:53:42 MST 2020

> [hidden email]:/usr/src/sys/arch/sparc64/compile/GENERIC.MP

>         Architecture: OpenBSD.sparc64
>         Machine     : sparc64
> >Description:
>         I apologize if this isn't the correct forum for this.  I bring it up
> here because this machine is known to work with OpenSXCE in its current
> configuration.  I am installing the current sparc64 (snapshot 1/26 with the
> patched wildcat driver) on a Sun V240 with XVR-600 graphics. X starts and
> runs, but no video is displayed.  My X.org log file is as follows.  At the
> end are error messages when I tried to view the various virtual terminals.
> Thanks!

A new snapshot was built last night that fixed an issue with the new version
of Mesa not getting along with base-gcc. It kept me from getting a full
build of snapshot packages completing properly. I'm guessing it may have
been causing your problems with X also. Can you try installing that?

BUILDINFO is:
Build date: 1580311749 - Wed Jan 29 15:29:09 UTC 2020

--Kurt

Reply | Threaded
Open this post in threaded view
|

Re: X starts on sparc64, but will not output video with XVR-600.

Kurt Mosiejczuk-9
On Wed, Jan 29, 2020 at 11:41:46PM -0600, David Savolainen wrote:
> Kurt,
> I installed today's snapshot with no change.  I don't think this is a mesa
> issue.  On the surface, X seems to be configured and running correctly.
> Except that video is not being directed to the screen.  I don't understand.

Alright. I figured it was worth a shot.

--Kurt

Reply | Threaded
Open this post in threaded view
|

Re: X starts on sparc64, but will not output video with XVR-600.

David Savolainen
Kurt,
The question I have is, what is vt-1?  Is this the serial console?  If so, why is X connecting to it and not one of the usual virtual consoles?  Why when I try to use a virtual console, I get an error message that is suggestive of a bad ioctl call?

David Savolainen

On January 29, 2020 11:42:57 PM CST, Kurt Mosiejczuk <[hidden email]> wrote:

>On Wed, Jan 29, 2020 at 11:41:46PM -0600, David Savolainen wrote:
>> Kurt,
>> I installed today's snapshot with no change.  I don't think this is a
>mesa
>> issue.  On the surface, X seems to be configured and running
>correctly.
>> Except that video is not being directed to the screen.  I don't
>understand.
>
>Alright. I figured it was worth a shot.
>
>--Kurt
Reply | Threaded
Open this post in threaded view
|

Re: X starts on sparc64, but will not output video with XVR-600.

Matthieu Herrb-3
On Thu, Jan 30, 2020 at 06:42:35AM -0600, David Savolainen wrote:
> Kurt,
> The question I have is, what is vt-1?  Is this the serial console?
> If so, why is X connecting to it and not one of the usual virtual
> consoles?  Why when I try to use a virtual console, I get an error
> message that is suggestive of a bad ioctl call?

Hi,

if you refer to the
[ 17502.881] Failed to switch from vt-1 to vt04: Inappropriate ioctl
for device
[ 17508.304] Failed to switch from vt-1 to vt04: Inappropriate ioctl
for device
[ 17509.895] Failed to switch from vt-1 to vt05: Inappropriate ioctl
for device

lines in your /var/log/Xorg.0.log, they are caused by the lack of
virtual consoles on OpenBSD/sparc64..

'vt' here stands for 'virtual terminal' or 'virtual console'. It's the
x86 feature that allows to switch between vitual consoles using
Ctrl+Alt+Fn.

OpenBSD/sparc64 doesn't support virtual terminals. So in X the
variable keeping track of the current VT is initialized to -1, and
should normally stay like that.

If you hit Ctrl+Alt+F4 X will try to switch to vt04 and fail because
there is no support for this.

But this doesn't explain why your screen stays black... I manage to
dig a PCI Epert3D-Lite card out of my attic and but it back in
a Blade 150. X works on this configuration, although quite slowly, and
in 2020 a 8 bit pseudo-color display really feels odd.

Unless you have some specific need for graphics on this machine, I
would unplug the keyboard/mouse and screen and go for serial console.

Below is the Xorg.0.log from my machine.

[  2040.776] (--) Using wscons driver on /dev/ttyC0
[  2040.811]
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
[  2040.811] Build Operating System: OpenBSD 6.6 sparc64
[  2040.812] Current Operating System: OpenBSD gilda.herrb.net 6.6 GENERIC#192 sparc64
[  2040.814] Build Date: 24 January 2020  09:05:36AM
[  2040.814]  
[  2040.814] Current version of pixman: 0.38.4
[  2040.815] Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  2040.815] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2040.816] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jan  4 13:46:01 2020
[  2040.818] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[  2040.820] (==) No Layout section.  Using the first Screen section.
[  2040.820] (==) No screen section available. Using defaults.
[  2040.820] (**) |-->Screen "Default Screen Section" (0)
[  2040.820] (**) |   |-->Monitor "<default monitor>"
[  2040.828] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  2040.829] (==) Automatically adding devices
[  2040.829] (==) Automatically enabling devices
[  2040.829] (==) Not automatically adding GPU devices
[  2040.830] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2040.831] (==) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF/,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
[  2040.831] (==) ModulePath set to "/usr/X11R6/lib/modules"
[  2040.831] (II) The server relies on wscons to provide the list of input devices.
        If no devices become available, reconfigure wscons or disable AutoAddDevices.
[  2040.831] (II) Loader magic: 0x2c9da6010
[  2040.831] (II) Module ABI versions:
[  2040.831] X.Org ANSI C Emulation: 0.4
[  2040.832] X.Org Video Driver: 24.0
[  2040.832] X.Org XInput driver : 24.1
[  2040.832] X.Org Server Extension : 10.0
[  2040.866] (!!) More than one possible primary device found
[  2040.866] (--) PCI: (0@0:19:0) 1002:4752:0000:0000 rev 39, Mem @ 0x06000000/16777216, 0x00426000/4096, I/O @ 0x00000b00/256, BIOS @ 0x????????/131072
[  2040.866] (--) PCI: (1@0:2:0) 1091:07a0:1091:0140 rev 0, Mem @ 0x04000000/33554432, 0x03100000/65536, 0x03800000/8388608, BIOS @ 0x????????/262144
[  2040.867] (II) LoadModule: "glx"
[  2040.872] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[  2040.904] (II) Module glx: vendor="X.Org Foundation"
[  2040.904] compiled for 1.20.6, module version = 1.0.0
[  2040.904] ABI class: X.Org Server Extension, version 10.0
[  2040.905] (==) Matched wildcatfb as autoconfigured driver 0
[  2040.905] (==) Assigned the driver to the xf86ConfigLayout
[  2040.905] (II) LoadModule: "wildcatfb"
[  2040.908] (II) Loading /usr/X11R6/lib/modules/drivers/wildcatfb_drv.so
[  2040.910] (II) Module wildcatfb: vendor="X.Org Foundation"
[  2040.910] compiled for 1.20.6, module version = 0.0.2
[  2040.910] ABI class: X.Org Video Driver, version 24.0
[  2040.910] (II) wildcatfb: driver for ``Wildcat'' wsdisplay framebuffer: wildcatfb
[  2040.911] (WW) Falling back to old probe method for wildcatfb
[  2040.913] (II) wildcatfb(0): using default device
[  2040.913] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  2040.914] (II) wildcatfb(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 7/8
[  2040.915] (==) wildcatfb(0): Depth 7, (--) framebuffer bpp 8
[  2040.915] (==) wildcatfb(0): Default visual is PseudoColor
[  2040.915] (==) wildcatfb(0): Using gamma correction (1.0, 1.0, 1.0)
[  2040.915] (II) wildcatfb(0): Vidmem: 2048k
[  2040.915] (==) wildcatfb(0): DPI set to (96, 96)
[  2040.915] (**) wildcatfb(0): Using "Shadow Framebuffer"
[  2040.916] (II) Loading sub module "shadow"
[  2040.916] (II) LoadModule: "shadow"
[  2040.923] (II) Loading /usr/X11R6/lib/modules/libshadow.so
[  2040.924] (II) Module shadow: vendor="X.Org Foundation"
[  2040.924] compiled for 1.20.6, module version = 1.1.0
[  2040.924] ABI class: X.Org ANSI C Emulation, version 0.4
[  2040.925] (II) Loading sub module "fb"
[  2040.925] (II) LoadModule: "fb"
[  2040.930] (II) Loading /usr/X11R6/lib/modules/libfb.so
[  2040.932] (II) Module fb: vendor="X.Org Foundation"
[  2040.932] compiled for 1.20.6, module version = 1.0.0
[  2040.933] ABI class: X.Org ANSI C Emulation, version 0.4
[  2040.939] (==) wildcatfb(0): Backing store enabled
[  2040.943] (II) Initializing extension Generic Event Extension
[  2040.947] (II) Initializing extension SHAPE
[  2040.951] (II) Initializing extension MIT-SHM
[  2040.955] (II) Initializing extension XInputExtension
[  2040.959] (II) Initializing extension XTEST
[  2040.963] (II) Initializing extension BIG-REQUESTS
[  2040.967] (II) Initializing extension SYNC
[  2040.971] (II) Initializing extension XKEYBOARD
[  2040.975] (II) Initializing extension XC-MISC
[  2040.979] (II) Initializing extension SECURITY
[  2040.983] (II) Initializing extension XFIXES
[  2040.987] (II) Initializing extension RENDER
[  2041.619] (II) Initializing extension RANDR
[  2041.627] (II) Initializing extension COMPOSITE
[  2041.627] (II) Initializing extension DAMAGE
[  2041.631] (II) Initializing extension MIT-SCREEN-SAVER
[  2041.635] (II) Initializing extension DOUBLE-BUFFER
[  2041.639] (II) Initializing extension RECORD
[  2041.643] (II) Initializing extension DPMS
[  2041.643] (II) Initializing extension Present
[  2041.647] (II) Initializing extension DRI3
[  2041.647] (II) Initializing extension X-Resource
[  2041.651] (II) Initializing extension XVideo
[  2041.655] (II) Initializing extension XVideo-MotionCompensation
[  2041.655] (II) Initializing extension GLX
[  2041.659] (II) Initializing extension XFree86-VidModeExtension
[  2041.663] (II) Initializing extension XFree86-DGA
[  2041.667] (II) Initializing extension XFree86-DRI
[  2041.667] (II) Initializing extension DRI2
[  2043.118] (II) config/wscons: checking input device /dev/wskbd
[  2043.118] (II) wskbd: using layout us
[  2043.119] (II) LoadModule: "kbd"
[  2043.123] (II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
[  2043.126] (II) Module kbd: vendor="X.Org Foundation"
[  2043.126] compiled for 1.20.6, module version = 1.9.0
[  2043.126] Module class: X.Org XInput Driver
[  2043.126] ABI class: X.Org XInput driver, version 24.1
[  2043.126] (II) Using input driver 'kbd' for '/dev/wskbd'
[  2043.127] (**) /dev/wskbd: always reports core events
[  2043.127] (**) /dev/wskbd: always reports core events
[  2043.128] (**) Option "Protocol" "standard"
[  2043.128] (**) Option "XkbRules" "base"
[  2043.128] (**) Option "XkbModel" "pc105"
[  2043.128] (**) Option "XkbLayout" "us"
[  2043.129] (II) XINPUT: Adding extended input device "/dev/wskbd" (type: KEYBOARD, id 6)
[  2043.164] (II) config/wscons: checking input device /dev/wsmouse
[  2043.164] (II) LoadModule: "ws"
[  2043.169] (II) Loading /usr/X11R6/lib/modules/input/ws_drv.so
[  2043.170] (II) Module ws: vendor="X.Org Foundation"
[  2043.170] compiled for 1.20.6, module version = 1.3.0
[  2043.171] Module class: X.Org XInput Driver
[  2043.171] ABI class: X.Org XInput driver, version 24.1
[  2043.171] (II) Using input driver 'ws' for '/dev/wsmouse'
[  2043.171] (**) /dev/wsmouse: always reports core events
[  2043.171] (II) ws: /dev/wsmouse: debuglevel 0
[  2043.172] (**) Option "Device" "/dev/wsmouse"
[  2043.172] (**) ws: /dev/wsmouse: ZAxisMapping: buttons 4 and 5
[  2043.172] (**) ws: /dev/wsmouse: WAxisMapping: buttons 6 and 7
[  2043.172] (**) ws: /dev/wsmouse: associated screen: 0
[  2043.173] (II) ws: /dev/wsmouse: minimum x position: 0
[  2043.173] (II) ws: /dev/wsmouse: maximum x position: 1279
[  2043.173] (II) ws: /dev/wsmouse: minimum y position: 0
[  2043.173] (II) ws: /dev/wsmouse: maximum y position: 1023
[  2043.173] (==) ws: /dev/wsmouse: Buttons: 7
[  2043.203] (**) ws: /dev/wsmouse: YAxisMapping: buttons 4 and 5
[  2043.204] (II) XINPUT: Adding extended input device "/dev/wsmouse" (type: MOUSE, id 7)
[  2043.207] (**) /dev/wsmouse: (accel) keeping acceleration scheme 1
[  2043.207] (**) /dev/wsmouse: (accel) acceleration profile 0
[  2043.208] (**) /dev/wsmouse: (accel) acceleration factor: 2.000
[  2043.208] (**) /dev/wsmouse: (accel) acceleration threshold: 4

--
Matthieu Herrb