|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
vesafb driver with machdep.allowaperture=0
Hello,
I am currently running Xorg on OpenBSD 4.7. It works fine, and it's fast enough. I would like to get rid of the dependency on aperture. It seems that it's been possible for some time: http://marc.info/?l=openbsd-cvs&m=116483366219125&w=2 I tried several things: 1) I leave my xorg.conf unchanged, and set the variable machdep.allowaperture to 0. However, after reboot, X11 complains, so I suspect the current driver ("vesa" in xorg.conf) does need aperture 2) I left the variable machdep.allowaperture unchanged (at 2), and tried the driver "vesafb" but it doesn't work with the message: "module does not exist" 3) After a "man Xorg" it seems that there's a module called "wsfb" (which is also talked about in the link above). Still leaving machdep.allowaperture to 2, I changed the driver, but the message is still "module does not exist". What am I doing wrong here? Thanks, Tony |
|
|||
Thanks and sorry about looking at outdated documentation.
So what is the most secure way to enable X on OpenBSD? Is it the default way? I don't really care about speed. |
|
||||
If you're against machdep.allowaperture, you need something other than i386, amd64, alpha, cats, macppc, and sparc64.
(A bit dated, but still an excellent read, direct from Theo himself): http://marc.info/?l=openbsd-misc&m=114233317926101 Last edited by rocket357; 19th October 2010 at 07:57 PM. |
|
|||
Unfortunately, avoiding this aperture is difficult.. but once it's opened by a running X server no other process has direct access.
In the future when KMS is available for more vendors/chipsets, I believe the X aperture will no longer be required.. only drm(4). If you're using a workstation, you can have xdm(1) run at boot to securely open the aperture device.. non-root users have no directly permissions to read/write to it either, if a user had root they could do more harm using a plethora of other methods. For non-vesa, it's sometimes possible to set machdep.allowaperture to 1 instead of 2, this does work for some drivers/chipsets but not all, please read xf86(4) to appreciate complexity of the problem. You have no choice other than to not use X. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which mouse driver | Mr-Biscuit | NetBSD General | 0 | 9th June 2010 12:43 AM |
msk(4) Driver | indienick | FreeBSD General | 4 | 4th May 2009 04:51 PM |
FreeBSD 7.0 and the nfe driver | map7 | FreeBSD General | 2 | 17th October 2008 04:44 AM |
X Radeon driver | sum | FreeBSD Installation and Upgrading | 5 | 28th September 2008 03:49 PM |
Driver development | WeakSauceIII | OpenBSD General | 5 | 31st May 2008 07:18 AM |