You are not logged in.

#1 2016-05-16 05:04:31

Automath
Member
Registered: 2016-05-16
Posts: 115

Help I still have issues with xf86-video-openchrome driver.

Cant load xserver, for what literature says i have not the proper hardware for running arch.
My Vga card  is KM400/KN400/P4M800 [S3 UniChrome].
However last time before having to uninstall due to an unrelated issue I hadnt this problem and I runned a nice desktop, the only bug was some dedrowing on the fonts at main console once i exited from xserver.
I tryed to reinstal everything and to change driver to chrome9 but link is broken and i cant handle to fix it.

Offline

#2 2016-05-16 05:05:48

Automath
Member
Registered: 2016-05-16
Posts: 115

Re: Help I still have issues with xf86-video-openchrome driver.

(xserver crashes)

Offline

#3 2016-05-16 10:48:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: Help I still have issues with xf86-video-openchrome driver.

What link is broken?  We certainly can't fix it either if you don't tell us what it is.

Post your xorg log from a crash.

Did you follow any of the advice here:
https://wiki.archlinux.org/index.php/Vi … leshooting


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2016-05-16 22:03:21

Automath
Member
Registered: 2016-05-16
Posts: 115

Re: Help I still have issues with xf86-video-openchrome driver.

read it carefully: https://wiki.archlinux.org/index.php/Vi … ay_drivers
Anyway i dont know if those drivers will work, may be the do.
About troubleshouting i already made that config file but i really dont know what to put as "MyDeviceName" intelligiblement should not be litheral.

Offline

#5 2016-05-16 22:14:47

Automath
Member
Registered: 2016-05-16
Posts: 115

Re: Help I still have issues with xf86-video-openchrome driver.

this is xorg log from /var/log/Xorg.0.log

[ 10959.570] 
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 10959.587] X Protocol Version 11, Revision 0
[ 10959.593] Build Operating System: Linux 4.2.5-1-ARCH i686 
[ 10959.599] Current Operating System: Linux machina 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:42:28 CEST 2016 i686
[ 10959.599] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=ea6d45d7-59d1-492c-b160-5db42fea4ecb rw quiet
[ 10959.611] Build Date: 05 April 2016  05:27:02PM
[ 10959.617]  
[ 10959.623] Current version of pixman: 0.34.0
[ 10959.636] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 10959.636] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10959.661] (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 16 02:16:25 2016
[ 10959.667] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 10959.668] (==) No Layout section.  Using the first Screen section.
[ 10959.668] (==) No screen section available. Using defaults.
[ 10959.668] (**) |-->Screen "Default Screen Section" (0)
[ 10959.668] (**) |   |-->Monitor "<default monitor>"
[ 10959.668] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 10959.669] (==) Automatically adding devices
[ 10959.669] (==) Automatically enabling devices
[ 10959.669] (==) Automatically adding GPU devices
[ 10959.669] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 10959.669] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/Type1/".
[ 10959.669] 	Entry deleted from font path.
[ 10959.669] 	(Run 'mkfontdir' on "/usr/share/fonts/Type1/").
[ 10959.669] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[ 10959.669] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 10959.669] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 10959.669] (II) Loader magic: 0x82a16c0
[ 10959.669] (II) Module ABI versions:
[ 10959.669] 	X.Org ANSI C Emulation: 0.4
[ 10959.669] 	X.Org Video Driver: 20.0
[ 10959.669] 	X.Org XInput driver : 22.1
[ 10959.669] 	X.Org Server Extension : 9.0
[ 10959.673] (--) using VT number 2

[ 10959.673] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 10959.675] (--) PCI:*(0:1:0:0) 1106:7205:1106:7205 rev 1, Mem @ 0xd8000000/67108864, 0xdc000000/16777216, BIOS @ 0x????????/65536
[ 10959.676] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 10959.676] (II) LoadModule: "glx"
[ 10959.676] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 10959.682] (II) Module glx: vendor="X.Org Foundation"
[ 10959.683] 	compiled for 1.18.3, module version = 1.0.0
[ 10959.683] 	ABI class: X.Org Server Extension, version 9.0
[ 10959.683] (==) AIGLX enabled
[ 10959.683] (==) Matched openchrome as autoconfigured driver 0
[ 10959.683] (==) Matched modesetting as autoconfigured driver 1
[ 10959.683] (==) Matched fbdev as autoconfigured driver 2
[ 10959.683] (==) Matched vesa as autoconfigured driver 3
[ 10959.683] (==) Assigned the driver to the xf86ConfigLayout
[ 10959.683] (II) LoadModule: "openchrome"
[ 10959.683] (II) Loading /usr/lib/xorg/modules/drivers/openchrome_drv.so
[ 10959.684] (II) Module openchrome: vendor="http://www.freedesktop.org/wiki/Openchrome/"
[ 10959.684] 	compiled for 1.18.2, module version = 0.4.0
[ 10959.684] 	Module class: X.Org Video Driver
[ 10959.684] 	ABI class: X.Org Video Driver, version 20.0
[ 10959.684] (II) LoadModule: "modesetting"
[ 10959.685] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 10959.685] (II) Module modesetting: vendor="X.Org Foundation"
[ 10959.685] 	compiled for 1.18.3, module version = 1.18.3
[ 10959.685] 	Module class: X.Org Video Driver
[ 10959.685] 	ABI class: X.Org Video Driver, version 20.0
[ 10959.685] (II) LoadModule: "fbdev"
[ 10959.686] (WW) Warning, couldn't open module fbdev
[ 10959.686] (II) UnloadModule: "fbdev"
[ 10959.686] (II) Unloading fbdev
[ 10959.686] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 10959.686] (II) LoadModule: "vesa"
[ 10959.687] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 10959.687] (II) Module vesa: vendor="X.Org Foundation"
[ 10959.687] 	compiled for 1.18.0, module version = 2.3.4
[ 10959.687] 	Module class: X.Org Video Driver
[ 10959.687] 	ABI class: X.Org Video Driver, version 20.0
[ 10959.687] (II) OPENCHROME: Driver for VIA Chrome chipsets: CLE266,
	KM400 / KM400A / KN400 / P4M800, K8M800 / K8N800,
	PM800 / PN800 / PM880 / CN333 / CN400, P4M800 Pro / VN800 / CN700,
	CX700 / VX700, P4M890 / VN890 / CN800, K8M890 / K8N890,
	P4M900 / VN896 / CN896, VX800 / VX820, VX855 / VX875, VX900
[ 10959.688] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 10959.688] (II) VESA: driver for VESA chipsets: vesa
[ 10959.704] (!!) VIA Technologies does not support this driver in any way.
[ 10959.704] (!!) For support, please refer to http://www.freedesktop.org/wiki/Openchrome/.
[ 10959.704] (!!) (development build, branch makepkg at revision 52730d1)
[ 10959.704] (WW) Falling back to old probe method for modesetting
[ 10959.704] (EE) open /dev/dri/card0: No such file or directory
[ 10959.704] (WW) Falling back to old probe method for vesa
[ 10959.705] (II) CHROME(0): VIAPreInit
[ 10959.705] (II) CHROME(0): VIAGetRec
[ 10959.705] (--) CHROME(0): Chipset: KM400 / KM400A / KN400 / P4M800
[ 10959.705] (--) CHROME(0): Chipset revision: 0
[ 10959.854] (EE) CHROME(0): [drm] Failed to open DRM device for pci:0000:01:00.0: No such file or directory
[ 10959.854] (II) Loading sub module "vgahw"
[ 10959.854] (II) LoadModule: "vgahw"
[ 10959.855] (II) Loading /usr/lib/xorg/modules/libvgahw.so
[ 10959.855] (II) Module vgahw: vendor="X.Org Foundation"
[ 10959.855] 	compiled for 1.18.3, module version = 0.1.0
[ 10959.855] 	ABI class: X.Org Video Driver, version 20.0
[ 10959.856] (--) CHROME(0): Probed amount of VideoRAM = 32768 kB
[ 10959.856] (II) CHROME(0): VIAMapMMIO
[ 10959.856] (--) CHROME(0): mapping MMIO @ 0xdc000000 with size 0xd000
[ 10959.856] (--) CHROME(0): mapping BitBlt MMIO @ 0xdc200000 with size 0x200000
[ 10959.856] (II) CHROME(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[ 10959.856] (II) CHROME(0): VIAMapFB
[ 10959.856] (--) CHROME(0): mapping framebuffer @ 0xd8000000 with size 0x2000000
[ 10959.856] (EE) CHROME(0): Unable to map mmio BAR. Invalid argument (22)
[ 10959.856] (II) CHROME(0): VIAFreeRec
[ 10959.856] (II) CHROME(0): Entered VIAUnmapMMIO.
[ 10959.856] (II) CHROME(0): Exiting VIAUnmapMMIO.
[ 10959.856] (II) CHROME(0): VIAFreeScreen
[ 10959.857] (II) CHROME(0): VIAFreeRec
[ 10959.857] (EE) 
[ 10959.857] (EE) Backtrace:
[ 10959.858] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x142) [0x81dfb52]
[ 10959.860] (EE) 1: ? (?+0x142) [0xb77aeec1]
[ 10959.860] (EE) 2: /usr/lib/xorg/modules/drivers/openchrome_drv.so (_init+0xc7d3) [0xb6ac5913]
[ 10959.861] (EE) 3: /usr/lib/xorg-server/Xorg (xf86DeleteScreen+0x67) [0x80c54a7]
[ 10959.862] (EE) 4: /usr/lib/xorg-server/Xorg (InitOutput+0xd64) [0x80bf974]
[ 10959.863] (EE) 5: /usr/lib/xorg-server/Xorg (remove_fs_handlers+0x301) [0x807ca61]
[ 10959.864] (EE) 6: /usr/lib/xorg-server/Xorg (miPolyFillRect+0x2cd) [0x8066a7d]
[ 10959.866] (EE) 7: /usr/lib/libc.so.6 (__libc_start_main+0xf6) [0xb7296536]
[ 10959.867] (EE) 8: /usr/lib/xorg-server/Xorg (_start+0x21) [0x8066829]
[ 10959.867] (EE) 
[ 10959.867] (EE) Segmentation fault at address 0xa4
[ 10959.867] (EE) 
Fatal server error:
[ 10959.867] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 10959.867] (EE) 
[ 10959.867] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 10959.868] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 10959.868] (EE) 
[ 10959.901] (EE) Server terminated with error (1). Closing log file.

Offline

#6 2016-05-16 22:34:01

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: Help I still have issues with xf86-video-openchrome driver.

Please use the "edit" button to add more information to your posts rather than posting multiple times in sequence.

Automath wrote:

Anyway i dont know if those drivers will work, may be the do.

I have no first hand experience, but your exact hardware is listed right under the OpenChrome heading.

Automath wrote:

About troubleshouting i already made that config file but i really dont know what to put as "MyDeviceName"

What did you put?  Please post your xorg.conf file(s).  I'm not sure how you could have read that section carefully and not seen the following - it is only a couple of lines to read:

Wiki wrote:

The xorg.conf driver name is openchrome.

I have no idea what the end of your post means:

Automath wrote:

... intelligiblement should not be litheral.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2016-05-17 00:18:50

Automath
Member
Registered: 2016-05-16
Posts: 115

Re: Help I still have issues with xf86-video-openchrome driver.

Trilby wrote:
Automath wrote:

About troubleshouting i already made that config file but i really dont know what to put as "MyDeviceName"

What did you put?  Please post your xorg.conf file(s).  I'm not sure how you could have read that section carefully and not seen the following - it is only a couple of lines to read:

Actually theres nothing in there ¿can you tell me what exactly should i put inder MyDeviceName?
For sure I used S3 UniChrome but nothing different happened.

Offline

#8 2016-05-17 01:03:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: Help I still have issues with xf86-video-openchrome driver.

Automath wrote:

i already made that config file

Automath wrote:

Actually theres nothing in there

What?  Which is it, did you create an xorg.conf or not?

I was wrong above, openchrome is the driver name, the "My Device Name" is just a name, it can be anything you want, I think.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2016-05-17 04:43:18

Automath
Member
Registered: 2016-05-16
Posts: 115

Re: Help I still have issues with xf86-video-openchrome driver.

Trilby wrote:
Automath wrote:

i already made that config file

Automath wrote:

Actually theres nothing in there

What?  Which is it, did you create an xorg.conf or not?

I created it and then deleted it, since it made the same effect >crash<, otherwise there werent any other files there nor it existed any before when i created openchrome.conf, i dont know if it normally should be any or if it is necesary to xorg to work.

the "My Device Name" is just a name, it can be anything you want, I think.

So I hope...
If you can fix the chrome9 drivers broken link or tell me how to fix it myself i can give it another try with different drivers, if not ill have to download them from that obscure mirror with wget and compile them myself and im horrible doing that.

Last edited by Automath (2016-05-17 04:44:11)

Offline

#10 2016-05-17 10:59:18

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,442
Website

Re: Help I still have issues with xf86-video-openchrome driver.

Automath wrote:

i dont know if it normally should be any or if it is necesary to xorg to work.

The wiki, and you experience, suggests it is.  But if you just refuse to follow the wiki instructions, I can't help you.  No one can.

If you can fix the chrome9 drivers broken link

Oh, this is the broken link you are referring to.  Finally I got a very indirect answer to one of the first questions I asked in this thread.  Right next to the broken link indicator (literally, the very next words) are a link to an archived version.  If you need chrome9, it is right there - nothing needs to be fixed.  But why do you think you need chrome9?  According to the wiki, you should be using the openchrome driver - and again if you will not follow the wiki, nothing can be done for you.

Unless you show a clear effort to follow the existing instructions and share what you are doing at each step, I will not respond any more.  This is futile.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#11 2016-05-17 12:48:29

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Help I still have issues with xf86-video-openchrome driver.

Automath,

for clarity :
you are using xf86-video-openchrome driver and need help solving some issues with it ?

From what i see you are using the correct driver, but some general settings on your system need to be changed to get this driver working.

2 questions :

- How are you starting X ? if you are using the startx command, post your .xinitrc file.

- Look at the xorg.log you posted, what does (EE) mean in that log ?
  How could we get rid of those messages ?
Hint: changing the driver won't help with several of them


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#12 2016-05-27 00:33:39

Automath
Member
Registered: 2016-05-16
Posts: 115

Re: Help I still have issues with xf86-video-openchrome driver.

solved, I had a driver conflict or xf86-video-openchome wasnt working.
Its extrange that i didnt notice that i already had Unichrome installed so by being both drivers installed at the same time X crashed. Im sorry for that but thios is a new user post.
Anyway i dont remember to have seen unichrome-dri installed is it possible that the system did it for myself?
If not it seems that i have never tried starting x after unistalling xf86.

Now im having back the same problem because i created 10-openchrome.conf as it is said on the wiki so may it be related with file rights?

Last edited by Automath (2016-09-20 22:16:47)

Offline

#13 2016-05-27 11:21:32

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Help I still have issues with xf86-video-openchrome driver.

unichrome-dri is an optional dependency for xf86-video-openchrome .
pacman never installs optional dependencies automatigickally , so you must have installed it yourself.
(maybe you forgot about it)

That config file is intended to help with some specific issues that can occur when you're working in X .

Delete 10-openchrome.conf for now, then run startx again and post a fresh xorg log  AND ~/.xinitrc .
(it does look like you have a permisssion problem, but we need to be sure).


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#14 2017-01-14 12:12:24

tolsti
Member
From: Lower Saxony
Registered: 2017-01-13
Posts: 2
Website

Re: Help I still have issues with xf86-video-openchrome driver.

Hello,
I had the same problem, but with openchrome driver 0.5.0 this should be solved. The problem itself is
(1) wrong error-handling in the chrome driver, which is fixed  by now
(2) resource problems with kernel-modules loaded during startup.
I have fixed the resource problems by adding the line

MODULES="via_agp viafb via"

in /etc/mkinitcpio.conf

and re-generate the boot-image using mkinicpio.

Tolsti.

Last edited by tolsti (2017-01-14 12:17:31)

Offline

Board footer

Powered by FluxBB