code: plan9front

Download patch

ref: 14a7c237b5a645bdd3e56112888a875dcf61648c
parent: c5b0edecc9106d44e971a3f6d0300736f21fbc12
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Jun 7 22:43:49 EDT 2015

aux/vga: disable nvidiascale() as it broke modeset on kenjis card

this code needs revision, need a list of cards where this actually
works.

--- a/sys/src/cmd/aux/vga/vesa.c
+++ b/sys/src/cmd/aux/vga/vesa.c
@@ -621,8 +621,10 @@
 		dspact = u.cx;
 
 	}
+/* breaks modeset on 10de/0392 "G73 [GeForce 7600 GS]" -- cinap
 	else if(memcmp(oem, "NVIDIA", 6) == 0)
 		setscale = nvidiascale;
+*/
 
 	vga->edid[0] = vbeddcedid(vbe);