tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics drivers needing X root privileges?



if I additionally pick a vesa mode in the bootloader, it uses genfb,
then with this diff to make pkgsrc xorg try wsfb too, it works!

What else besides 'x86 without graphics driver' needs root?

Can I make use of genfb on x86 without needing to specify
a certain vesa mode?

--- hw/xfree86/common/xf86AutoConfig.c.orig	2018-10-25 14:13:21.000000000 +0000
+++ hw/xfree86/common/xf86AutoConfig.c
@@ -309,7 +309,7 @@ listPossibleVideoDrivers(XF86MatchedDriv
 
     /* Fallback to platform default hardware */
 #if defined(__i386__) || defined(__amd64__) || defined(__hurd__)
-    xf86AddMatchedDriver(md, "vesa");
+    xf86AddMatchedDriver(md, "wsfb");
 #elif defined(__sparc__) && !defined(__sun)
     xf86AddMatchedDriver(md, "sunffb");
 #endif



Home | Main Index | Thread Index | Old Index