You are not logged in.

#1 2017-06-27 16:22:15

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

[SOLVED] i915 - kernel mode setting support for Xorg?

Hallo,
i have an older Compaq nc6120 laptop with i915 chipset. I've set early KMS modules to 'intel_agp i915' with 'xf86-video-intel' driver and everything works properly so far.
As the device is barely able to play HD videos i would like to try 'kernel mode setting driver' instead of the one above so i uninstalled it. The early KMS still works but starting Xorg fails with missing driver.  For my Nvidia card i simply uninstalled 'xf86-video-nouveau' and kernel mode setting driver worked for Xorg as well.

Do i miss something here or is it simply not supported for this chipset and 'xf86-video-intel' is mandatory?

Xorg.0.log:

[    29.385] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[    29.400] X Protocol Version 11, Revision 0
[    29.405] Build Operating System: Linux 4.9.11-1-ARCH i686 
[    29.410] Current Operating System: Linux hplaptop 4.11.6-3-ARCH #1 SMP PREEMPT Thu Jun 22 14:53:47 CEST 2017 i686
[    29.410] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=e2158121-33a7-401e-be5f-7accd462d929 rw reboot=warm,pci
[    29.422] Build Date: 07 April 2017  05:48:11PM
[    29.427]  
[    29.432] Current version of pixman: 0.34.0
[    29.443] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    29.443] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    29.464] (==) Log file: "/home/user1/.local/share/xorg/Xorg.0.log", Time: Tue Jun 27 17:05:27 2017
[    29.555] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    29.560] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    29.632] (==) No Layout section.  Using the first Screen section.
[    29.632] (==) No screen section available. Using defaults.
[    29.632] (**) |-->Screen "Default Screen Section" (0)
[    29.632] (**) |   |-->Monitor "<default monitor>"
[    29.634] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    29.634] (**) |   |-->Device "Intel Graphics"
[    29.634] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    29.634] (==) Automatically adding devices
[    29.634] (==) Automatically enabling devices
[    29.634] (==) Automatically adding GPU devices
[    29.634] (==) Automatically binding GPU devices
[    29.634] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    29.654] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    29.654] 	Entry deleted from font path.
[    29.654] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    29.654] 	Entry deleted from font path.
[    29.654] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    29.654] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    29.654] 	Entry deleted from font path.
[    29.654] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    29.654] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[    29.654] (==) ModulePath set to "/usr/lib/xorg/modules"
[    29.655] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    29.655] (II) Loader magic: 0x82ab6e0
[    29.655] (II) Module ABI versions:
[    29.655] 	X.Org ANSI C Emulation: 0.4
[    29.655] 	X.Org Video Driver: 23.0
[    29.655] 	X.Org XInput driver : 24.1
[    29.655] 	X.Org Server Extension : 10.0
[    29.658] (++) using VT number 1

[    29.658] (--) controlling tty is VT number 1, auto-enabling KeepTty
[    29.664] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    29.666] (II) xfree86: Adding drm device (/dev/dri/card0)
[    29.667] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[    29.677] (--) PCI:*(0:0:2:0) 8086:2592:103c:099c rev 3, Mem @ 0xd0100000/524288, 0xc0000000/268435456, 0xd0180000/262144, I/O @ 0x00002000/8, BIOS @ 0x????????/131072
[    29.677] (--) PCI: (0:0:2:1) 8086:2792:103c:099c rev 3, Mem @ 0xd0200000/524288
[    29.678] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    29.678] (II) LoadModule: "glx"
[    29.689] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    29.846] (II) Module glx: vendor="X.Org Foundation"
[    29.847] 	compiled for 1.19.3, module version = 1.0.0
[    29.847] 	ABI class: X.Org Server Extension, version 10.0
[    29.847] (II) LoadModule: "intel"
[    29.848] (WW) Warning, couldn't open module intel
[    29.848] (II) UnloadModule: "intel"
[    29.848] (II) Unloading intel
[    29.848] (EE) Failed to load module "intel" (module does not exist, 0)
[    29.848] (EE) No drivers available.
[    29.849] (EE) 
Fatal server error:
[    29.849] (EE) no screens found(EE) 
[    29.849] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    29.849] (EE) Please also check the log file at "/home/user1/.local/share/xorg/Xorg.0.log" for additional information.
[    29.849] (EE) 
[    30.120] (EE) Server terminated with error (1). Closing log file.

Last edited by Maniaxx (2017-06-27 20:08:25)


sys2064

Offline

#2 2017-06-27 17:01:51

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,806
Website

Re: [SOLVED] i915 - kernel mode setting support for Xorg?

Did you remove any intel related configs from /etc/X11/xorg.conf.d/ ?


https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#3 2017-06-27 19:17:36

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: [SOLVED] i915 - kernel mode setting support for Xorg?

I still have the section from the wiki with "sna" defined.
https://wiki.archlinux.org/index.php/in … figuration


sys2064

Offline

#4 2017-06-27 19:59:21

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

Re: [SOLVED] i915 - kernel mode setting support for Xorg?

Modesetting driver doesn't support older chips sad


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#5 2017-06-27 20:06:30

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: [SOLVED] i915 - kernel mode setting support for Xorg?

Yep, i expected something like this. Just wanted to make sure i'm not missing something here.

Thanks!


sys2064

Offline

#6 2017-06-27 20:19:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,660

Re: [SOLVED] i915 - kernel mode setting support for Xorg?

I doubt that there's anything in the modesetting driver that would inherently prevent support on older chips, the issue in this thread clearly is that you still use configuration intended for xf86-video-intel if you want to test how the modesetting driver works, as mentioned remove that file. HOWEVER for older chips xf86-video-intel has a potential to work better, since the SNA support had more time to grow and has potentially less bugs.

Last edited by V1del (2017-06-27 20:21:00)

Online

#7 2017-06-27 20:30:47

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,393

Re: [SOLVED] i915 - kernel mode setting support for Xorg?

V1del wrote:

the issue in this thread clearly is that you still use configuration intended for xf86-video-intel

yes, but still:
http://www.spinics.net/lists/xorg/msg57793.html

Last edited by kokoko3k (2017-06-27 20:32:20)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#8 2017-06-28 11:54:03

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: [SOLVED] i915 - kernel mode setting support for Xorg?

Now modesetting/glamour fails with OpenGL 2.1 dependency.
That's unresolvable. The i915 is just GL1.4. GL2 support has been reverted recently.

So no Xorg modesetting/glamour support for the i915 here.

Thanks!

Last edited by Maniaxx (2017-06-28 15:07:43)


sys2064

Offline

#9 2017-06-28 14:28:34

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 750

Re: [SOLVED] i915 - kernel mode setting support for Xorg?

I think you're confuing kernel driver with xorg driver. i915 is a kernel driver, thus responsible for KMS (Kernel Mode Setting). xf86-video-intel is an xorg driver, and has nothing to do with 3D or video acceleration (both are handled by mesa libs, via either vaapi or vdpau). xf86-video-modesetting is also an xorg driver which is nowdays built in, has no separate package anymore. Same applies, it's also an xorg driver, nothing to do with 3D or video acceleration.
Problem you have is that your Pentium might be too old and might not support video acceleration in hardware. Changing the xorg driver (using intel or modesetting) simply won't help because neither is responsible for vieo acceleration to begin with.

What does vainfo and vdpauinfo say? It will list what your gpu supports..
You might also check on using discrete nvidia card for video acceleration if your cou/igp is too old/slow to support modern video formats.

Last edited by Xabre (2017-06-28 14:29:28)

Offline

#10 2017-06-28 15:14:27

Maniaxx
Member
Registered: 2014-05-14
Posts: 738

Re: [SOLVED] i915 - kernel mode setting support for Xorg?

Xorg modesetting/glamour render path usually is faster/better than the legacy one. That's why i wanted to test it. But as stated above its not possible as glamour relies on OpenGL2.1.
Yes, the 'xf86-video-intel' driver does work properly and the laptop is more than 10 years old but i just wanted to know if there's maybe more in the box.


sys2064

Offline

Board footer

Powered by FluxBB