On Sat, Apr 4, 2009 at 1:01 PM, Manuel Carrasco <[email protected]> wrote: >> > Hi, i just installed Openbsd 4.4 and the first thing i have seen is that >> > there isn't a normal gui. I have put "startx", but i have several >> > problems (probably i am too novice): >> > >> > - The drivers of my graphic card aren't load.
Ok, see below. >> > - The gui (x server) only has five options and the rest is unknown (i >> > don't know what exactly is). I'm not sure what you mean by that. You may wish to elaborate. Be verbose. Do not assume we know what you're talking about. 2009/4/5 Manuel Carrasco <[email protected]>: > I have installed openbsd from the CD-ROM, but only "install44.iso". Need > i install something else? How? Install? Probably not, depending on your architecture. You may need to *configure* stuff though. > How can i have the drivers loaded? Alright: This is how I remember it and what I looked up in a hurry from a non-OpenBSD machine, without testing it on an OpenBSD box. I'm sure other will correct any inaccuracies: First of all, I assume you've read http://www.openbsd.org/faq/faq11.html . If not, then do that now. Do not proceed before you've finished reading that. >From man 1 Xorg ( http://www.openbsd.org/cgi-bin/man.cgi?query=Xorg&sektion=1#CONFIGURATION ): CONFIGURATION Xorg typically uses a configuration file called xorg.conf for its initial setup. Refer to the xorg.conf(5) manual page for information about the format of this file. Xorg has a mechanism for automatically generating a built- in configuration at run-time when no xorg.conf file is present. (...) The automatic configuration support for Xorg is work in progress. It is currently aimed at the most popular hard- ware and software platforms supported by Xorg. Enhance- ments are planned for future releases. So in your case it appears that the built-in automatic configuration support does not in fact yield a working configuration (file). This means that you will have to create/generate a /etc/X11/xorg.conf file with the appropriate configuration details (that weren't auto-detected). As for drivers, OpenBSD's *general* hardware drivers are loaded at bootup and should all show up in your /var/run/dmesg.boot file (cf. man 8 dmesg / http://www.openbsd.org/cgi-bin/man.cgi?query=dmesg ). As for the *graphics* drivers, they are loaded when you start X. The drivers that are available are listed here: man 5 xorg.conf / http://www.openbsd.org/cgi-bin/man.cgi?query=xorg.conf&sektion=5#SEE+ALSO Display drivers: apm(4), chips(4), cirrus(4), cyrix(4), fbdev(4), glide(4), glint(4), i128(4), i740(4), i810(4), imstt(4), mga(4), neomagic(4), nv(4), r128(4), rendi- tion(4), savage(4), s3virge(4), siliconmotion(4), sis(4), sunbw2(4), suncg14(4), suncg3(4), suncg6(4), sunffb(4), sunleo(4), suntcx(4), tdfx(4), tga(4), trident(4), tseng(4), vesa(4), vga(4), via(4), vmware(4). If you don't know what graphics adapter you have, check your /var/run/dmesg.boot file, it's probably mentioned in there. So you probably just need to create a /etc/X11/xorg.conf file that specifies the appropriate graphics driver and includes appropriate monitor/display configuration details. Xorg can help you with that. >From man 1 Xorg / http://www.openbsd.org/cgi-bin/man.cgi?query=Xorg&sektion=1#OPTIONS : -configure When this option is specified, the Xorg server loads all video driver modules, probes for avail- able hardware, and writes out an initial xorg.conf(5) file based on what was detected. This option currently has some problems on some platforms, but in most cases it is a good way to bootstrap the configuration process. This option is only available when the server is run as root (i.e, with real-uid 0). EXECUTIVE SUMMARY: The short version of all you probably need to do is (mentioned in /usr/X11R6/README / http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/xenocara/distrib/notes/README.i386 ): uncomment the line that says: machdep.allowaperture=2 in /etc/sysctl.conf and For many users of X.Org's servers, an xorg.conf file is not needed, simply start X, and it will automatically detect and use your hardware. If your hardware is not properly autodetected or supported or not supported as you wish, you will have to create a configuration file. Run Xorg -configure as root and move the resulting xorg.conf.new file to /etc/X11/xorg.conf. Edit it to adjust it for your hardware. Also see: man 7 X: http://www.openbsd.org/cgi-bin/man.cgi?query=X&sektion=7 man 1 Xserver: http://www.openbsd.org/cgi-bin/man.cgi?query=Xserver&sektion=1 man 1 xdm: http://www.openbsd.org/cgi-bin/man.cgi?query=xdm&sektion=1 man 1 startx: http://www.openbsd.org/cgi-bin/man.cgi?query=startx&sektion=1 If you're still stuck after reading and trying all this, as patrick's already mentioned, post your /var/run/dmesg.boot file and /var/log/Xorg.0.log file to this list (pasted into, not attached to your email), and we'll see what we can see. Good luck! regards, --ropers

