You are not logged in.

#1 2017-03-14 22:33:46

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

xf86-video-modesetting on GTX770 (GK104]?

Hallo,
I'm currently using Nouveau driver for my gtx770. Can i use the xf86-video-modesetting instead? I always thought Nouveau would be the only open source driver for Nvidia cards (Arch wiki). But i read recently on Phoronix that devs even encourage users to use modesetting instead for Geforce8 and up.
If so, what module do i have to use for early kms on system start?

Last edited by Maniaxx (2017-03-15 17:12:59)


sys2064

Offline

#2 2017-03-15 08:43:05

seth
Member
Registered: 2012-09-03
Posts: 51,229

Re: xf86-video-modesetting on GTX770 (GK104]?

If you're  using the nouveau *kernel* module (do not install the nvidia blob and do not blacklist nouveau otherwise), you should be able to use the modesetting driver, just uninstall xf86-video-nouveau package, xorg will resort to the modesetting driver if kms is supported.
Which one is better, I don't know.

Offline

#3 2017-03-15 17:51:11

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

Re: xf86-video-modesetting on GTX770 (GK104]?

Works indeed. Thanks.
My specific compton settings (for vsync) targeted for xf86-video-nouveau are not working properly though. The screen is flashing with backbuffer content but i guess that's just some tweaking work to get clean vsync again. Currently its tearing again (but modesetting seems to work properly). Or maybe i finally try compiz.

Nice. I think i will keep it for glamor 2D acceleration.
Edit: The driver seems still named 'nouveau' under 'lsmod' and early KMS entry in /etc/mkinitcpio.conf works the same as with xf86-video-nouveau (MODULES="nouveau").

[    21.984] (II) LoadModule: "modesetting"
[    21.984] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    21.990] (II) Module modesetting: vendor="X.Org Foundation"
[    21.990] 	compiled for 1.19.2, module version = 1.19.2
[    21.990] 	Module class: X.Org Video Driver
[    21.990] 	ABI class: X.Org Video Driver, version 23.0
[...]
[    21.993] (II) LoadModule: "glamoregl"
[    21.993] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    22.055] (II) Module glamoregl: vendor="X.Org Foundation"
[    22.055] 	compiled for 1.19.2, module version = 1.0.0
[    22.055] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    22.055] (II) glamor: OpenGL accelerated X.org driver based.
[    22.864] (II) glamor: EGL version 1.4 (DRI2):
[    22.923] (II) modeset(0): glamor initialized

Last edited by Maniaxx (2017-03-15 18:41:59)


sys2064

Offline

#4 2017-03-16 10:11:46

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,922

Re: xf86-video-modesetting on GTX770 (GK104]?

Edit: The driver seems still named 'nouveau' under 'lsmod' and early KMS entry in /etc/mkinitcpio.conf works the same as with xf86-video-nouveau (MODULES="nouveau").

That is because you only changed the driver used by X11 , everything in the graphic stack below X11 is still the same.


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

#5 2017-03-16 20:01:17

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

Re: xf86-video-modesetting on GTX770 (GK104]?

I'm going back to xf86-video-nouveau for now though. It has glitches/freezes here (GTX770). Bugtracker seems to have some entries already. I've tried 'nouveau.noaccel=1' (as stated in wiki) already but leads to no DRI and no glamor. Otherwise modesetting has DRI3 whereas xf86-video-nouveau only has DRI2 (checked with 'LIBGL_DEBUG=verbose glxinfo | grep libgl'). Maybe i should try forced DRI2 on 'modesetting'.

Last edited by Maniaxx (2017-03-16 20:06:10)


sys2064

Offline

Board footer

Powered by FluxBB