[Openchrome-users] VX11 no device detected

Amit Uttamchandani amit.uttam at gmail.com
Wed Jan 29 11:33:08 PST 2014


On Wed, Jan 29, 2014 at 11:13:04AM -0800, Amit Uttamchandani wrote:
> On Sat, Jan 25, 2014 at 05:21:28PM +0100, Xavier Bachelot wrote:
> > Hi Amit,
> > 
> > Here's a patch against git master for you to test. Basically, the same I
> > sent 2 days ago for the VN1000, but slightly adapted for the VX11. This
> > is just a blind shot in the dark, but I'd still be interested to read
> > about the results.
> > 
> > Regards,
> > Xavier
> 
> Hi Xavier,
> 
> Thanks for the patch. I tried it out but still failed to detect the device.
> 
> Attached is the Xorg.0.log. I believe it should have detected it since
> you added the correct pci ids.
> 
> Thanks,
> Amit

I added the following line to have it detect the device:

--- a/pkg/xf86-video-openchrome/src/via_driver.c
+++ b/pkg/xf86-video-openchrome/src/via_driver.c
@@ -98,6 +98,7 @@ static const struct pci_id_match via_device_match[] = {
    VIA_DEVICE_MATCH (PCI_CHIP_VT3353, 0 ),
    VIA_DEVICE_MATCH (PCI_CHIP_VT3409, 0 ),
    VIA_DEVICE_MATCH (PCI_CHIP_VT3410, 0 ),
+   VIA_DEVICE_MATCH (PCI_CHIP_VX11, 0 ),
     { 0, 0, 0 },
 };

This allows the matching to happen. Then, it goes further but the x
server crashes. Attached is the updated xorg log.

Thanks,
Amit
-------------- next part --------------
[ 63087.194] 
X.Org X Server 1.11.3
Release Date: 2011-12-16
[ 63087.194] X Protocol Version 11, Revision 0
[ 63087.194] Build Operating System: Linux 2.6.42-37-generic x86_64 Ubuntu
[ 63087.194] Current Operating System: Linux zxi-102540 3.4.75-logicube-ng.17 #1 SMP Fri Jan 3 16:48:33 PST 2014 x86_64
[ 63087.194] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.4.75-logicube-ng.17 root=UUID=42b18a29-2e78-4118-a2be-66cb21ed05fe ro quiet splash usbhid.quirks=0x04d8:0x003c:0x00000004 fixrtc vt.handoff=7
[ 63087.194] Build Date: 16 October 2013  04:41:23PM
[ 63087.194] xorg-server 2:1.11.4-0ubuntu10.14 (For technical support please see http://www.ubuntu.com/support) 
[ 63087.194] Current version of pixman: 0.30.2
[ 63087.194] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 63087.194] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 63087.195] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 29 11:28:20 2014
[ 63087.195] (==) Using config file: "/etc/X11/xorg.conf"
[ 63087.195] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 63087.195] (==) No Layout section.  Using the first Screen section.
[ 63087.195] (**) |-->Screen "Default Screen" (0)
[ 63087.195] (**) |   |-->Monitor "Default Monitor"
[ 63087.196] (**) |   |-->Device "Default Device"
[ 63087.196] (==) Automatically adding devices
[ 63087.196] (==) Automatically enabling devices
[ 63087.196] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[ 63087.196] 	Entry deleted from font path.
[ 63087.196] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 63087.196] 	Entry deleted from font path.
[ 63087.196] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 63087.196] 	Entry deleted from font path.
[ 63087.196] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 63087.196] 	Entry deleted from font path.
[ 63087.196] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 63087.196] 	Entry deleted from font path.
[ 63087.196] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 63087.196] 	Entry deleted from font path.
[ 63087.196] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 63087.196] 	Entry deleted from font path.
[ 63087.196] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 63087.196] 	Entry deleted from font path.
[ 63087.196] (==) FontPath set to:
	built-ins
[ 63087.196] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[ 63087.196] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 63087.197] (II) Loader magic: 0x7f9d8c406b00
[ 63087.197] (II) Module ABI versions:
[ 63087.197] 	X.Org ANSI C Emulation: 0.4
[ 63087.197] 	X.Org Video Driver: 11.0
[ 63087.197] 	X.Org XInput driver : 16.0
[ 63087.197] 	X.Org Server Extension : 6.0
[ 63087.198] (--) PCI:*(0:0:1:0) 1106:3a01:1106:3a01 rev 0, Mem @ 0xff700000/524288, 0xd0000000/268435456
[ 63087.198] (II) Open ACPI successful (/var/run/acpid.socket)
[ 63087.198] (II) LoadModule: "extmod"
[ 63087.199] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 63087.200] (II) Module extmod: vendor="X.Org Foundation"
[ 63087.200] 	compiled for 1.11.3, module version = 1.0.0
[ 63087.200] 	Module class: X.Org Server Extension
[ 63087.200] 	ABI class: X.Org Server Extension, version 6.0
[ 63087.200] (II) Loading extension MIT-SCREEN-SAVER
[ 63087.200] (II) Loading extension XFree86-VidModeExtension
[ 63087.200] (II) Loading extension XFree86-DGA
[ 63087.200] (II) Loading extension DPMS
[ 63087.200] (II) Loading extension XVideo
[ 63087.200] (II) Loading extension XVideo-MotionCompensation
[ 63087.200] (II) Loading extension X-Resource
[ 63087.200] (II) LoadModule: "dbe"
[ 63087.201] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 63087.201] (II) Module dbe: vendor="X.Org Foundation"
[ 63087.201] 	compiled for 1.11.3, module version = 1.0.0
[ 63087.201] 	Module class: X.Org Server Extension
[ 63087.201] 	ABI class: X.Org Server Extension, version 6.0
[ 63087.201] (II) Loading extension DOUBLE-BUFFER
[ 63087.201] (II) LoadModule: "glx"
[ 63087.201] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/modules/extensions/libglx.so
[ 63087.202] (II) Module glx: vendor="S3 Graphics Co., Ltd."
[ 63087.202] 	compiled for 1.7.6, module version = 1.0.0
[ 63087.202] 	ABI class: X.Org Server Extension, version 2.0
[ 63087.202] (EE) module ABI major version (2) doesn't match the server's version (6)
[ 63087.202] (II) UnloadModule: "glx"
[ 63087.202] (II) Unloading glx
[ 63087.202] (EE) Failed to load module "glx" (module requirement mismatch, 0)
[ 63087.202] (II) LoadModule: "record"
[ 63087.203] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 63087.203] (II) Module record: vendor="X.Org Foundation"
[ 63087.203] 	compiled for 1.11.3, module version = 1.13.0
[ 63087.203] 	Module class: X.Org Server Extension
[ 63087.203] 	ABI class: X.Org Server Extension, version 6.0
[ 63087.203] (II) Loading extension RECORD
[ 63087.203] (II) LoadModule: "dri"
[ 63087.204] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 63087.204] (II) Module dri: vendor="X.Org Foundation"
[ 63087.204] 	compiled for 1.11.3, module version = 1.0.0
[ 63087.204] 	ABI class: X.Org Server Extension, version 6.0
[ 63087.204] (II) Loading extension XFree86-DRI
[ 63087.204] (II) LoadModule: "dri2"
[ 63087.205] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 63087.205] (II) Module dri2: vendor="X.Org Foundation"
[ 63087.205] 	compiled for 1.11.3, module version = 1.2.0
[ 63087.205] 	ABI class: X.Org Server Extension, version 6.0
[ 63087.205] (II) Loading extension DRI2
[ 63087.205] (II) LoadModule: "openchrome"
[ 63087.206] (II) Loading /usr/lib/xorg/modules/drivers/openchrome_drv.so
[ 63087.206] (II) Module openchrome: vendor="http://openchrome.org/"
[ 63087.206] 	compiled for 1.11.3, module version = 0.3.3
[ 63087.206] 	Module class: X.Org Video Driver
[ 63087.206] 	ABI class: X.Org Video Driver, version 11.0
[ 63087.206] (II) OPENCHROME: Driver for VIA Chrome chipsets: CLE266, KM400/KN400,
	K8M800/K8N800, PM800/PM880/CN400, VM800/P4M800Pro/VN800/CN700,
	CX700/VX700, K8M890/K8N890, P4M890, P4M900/VN896/CN896, VX800/VX820,
	VX855/VX875, VX900, VX11
[ 63087.207] (++) using VT number 8

[ 63087.208] (II) Loading /usr/lib/xorg/modules/drivers/openchrome_drv.so
[ 63087.208] (!!) VIA Technologies does not support this driver in any way.
[ 63087.208] (!!) For support, please refer to http://www.openchrome.org/.
[ 63087.208] (!!) (development build, compiled on Wed Jan 29 11:26:50 2014)
[ 63087.209] (II) CHROME(0): VIAPreInit
[ 63087.209] (II) CHROME(0): VIAGetRec
[ 63087.209] (--) CHROME(0): Chipset: VX11
[ 63087.209] (--) CHROME(0): Chipset revision: 0
[ 63087.209] drmOpenDevice: node name is /dev/dri/card0
[ 63087.274] drmOpenByBusid: Searching for BusID pci:0000:00:01.0
[ 63087.275] drmOpenDevice: node name is /dev/dri/card0
[ 63087.279] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.279] drmOpenDevice: node name is /dev/dri/card1
[ 63087.283] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.283] drmOpenDevice: node name is /dev/dri/card2
[ 63087.288] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.288] drmOpenDevice: node name is /dev/dri/card3
[ 63087.292] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.292] drmOpenDevice: node name is /dev/dri/card4
[ 63087.296] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.296] drmOpenDevice: node name is /dev/dri/card5
[ 63087.301] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.301] drmOpenDevice: node name is /dev/dri/card6
[ 63087.305] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.305] drmOpenDevice: node name is /dev/dri/card7
[ 63087.309] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.309] drmOpenDevice: node name is /dev/dri/card8
[ 63087.314] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.314] drmOpenDevice: node name is /dev/dri/card9
[ 63087.318] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.318] drmOpenDevice: node name is /dev/dri/card10
[ 63087.322] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.322] drmOpenDevice: node name is /dev/dri/card11
[ 63087.327] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.327] drmOpenDevice: node name is /dev/dri/card12
[ 63087.331] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.331] drmOpenDevice: node name is /dev/dri/card13
[ 63087.335] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.335] drmOpenDevice: node name is /dev/dri/card14
[ 63087.340] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.340] drmOpenDevice: node name is /dev/dri/card15
[ 63087.344] drmOpenByBusid: drmOpenMinor returns -1
[ 63087.344] drmOpenDevice: node name is /dev/dri/card0
[ 63087.352] drmOpenDevice: node name is /dev/dri/card0
[ 63087.357] drmOpenDevice: node name is /dev/dri/card1
[ 63087.361] drmOpenDevice: node name is /dev/dri/card2
[ 63087.366] drmOpenDevice: node name is /dev/dri/card3
[ 63087.370] drmOpenDevice: node name is /dev/dri/card4
[ 63087.374] drmOpenDevice: node name is /dev/dri/card5
[ 63087.378] drmOpenDevice: node name is /dev/dri/card6
[ 63087.383] drmOpenDevice: node name is /dev/dri/card7
[ 63087.387] drmOpenDevice: node name is /dev/dri/card8
[ 63087.391] drmOpenDevice: node name is /dev/dri/card9
[ 63087.395] drmOpenDevice: node name is /dev/dri/card10
[ 63087.400] drmOpenDevice: node name is /dev/dri/card11
[ 63087.404] drmOpenDevice: node name is /dev/dri/card12
[ 63087.408] drmOpenDevice: node name is /dev/dri/card13
[ 63087.413] drmOpenDevice: node name is /dev/dri/card14
[ 63087.417] drmOpenDevice: node name is /dev/dri/card15
[ 63087.422] (EE) CHROME(0): [drm] Failed to open DRM device for pci:0000:00:01.0: No such file or directory
[ 63087.422] (II) Loading sub module "vgahw"
[ 63087.422] (II) LoadModule: "vgahw"
[ 63087.423] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[ 63087.433] (II) Module vgahw: vendor="X.Org Foundation"
[ 63087.433] 	compiled for 1.11.3, module version = 0.1.0
[ 63087.433] 	ABI class: X.Org Video Driver, version 11.0
[ 63087.433] (--) CHROME(0): Probed amount of VideoRAM = 8192 kB
[ 63087.433] (II) CHROME(0): VIAMapMMIO
[ 63087.433] (--) CHROME(0): mapping MMIO @ 0xd0000000 with size 0xd000
[ 63087.434] (--) CHROME(0): mapping BitBlt MMIO @ 0xd0200000 with size 0x200000
[ 63087.435] (II) CHROME(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
[ 63087.435] (II) CHROME(0): VIAMapFB
[ 63087.435] (--) CHROME(0): mapping framebuffer @ 0x0 with size 0x800000
[ 63087.435] (EE) CHROME(0): Unable to map mmio BAR. No such file or directory (2)
[ 63087.435] (II) CHROME(0): VIAFreeRec
[ 63087.435] (II) CHROME(0): VIAUnmapMem
[ 63087.437] (II) CHROME(0): VIAFreeScreen
[ 63087.437] 
Backtrace:
[ 63087.437] 0: /usr/bin/X (xorg_backtrace+0x26) [0x7f9d8c19ba86]
[ 63087.437] 1: /usr/bin/X (0x7f9d8c013000+0x18c92a) [0x7f9d8c19f92a]
[ 63087.437] 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f9d8b339000+0xfcb0) [0x7f9d8b348cb0]
[ 63087.437] 3: /usr/lib/xorg/modules/drivers/openchrome_drv.so (0x7f9d8839b000+0x14ba4) [0x7f9d883afba4]
[ 63087.437] 4: /usr/bin/X (xf86DeleteScreen+0x7c) [0x7f9d8c0ae25c]
[ 63087.437] 5: /usr/bin/X (InitOutput+0xad2) [0x7f9d8c0a2222]
[ 63087.437] 6: /usr/bin/X (0x7f9d8c013000+0x3d5ed) [0x7f9d8c0505ed]
[ 63087.438] 7: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7f9d8a1b976d]
[ 63087.438] 8: /usr/bin/X (0x7f9d8c013000+0x3daad) [0x7f9d8c050aad]
[ 63087.438] Segmentation fault at address 0x490
[ 63087.438] 
Caught signal 11 (Segmentation fault). Server aborting
[ 63087.438] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 63087.438] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 63087.438] 
[ 63087.440]  ddxSigGiveUp: Closing log
[ 63087.440] Server terminated with error (1). Closing log file.


More information about the Openchrome-users mailing list