View Single Post
  #1   (View Single Post)  
Old 25th April 2013
raxes raxes is offline
New User
 
Join Date: Apr 2013
Posts: 2
Default OpenBSD as a desktop

Hi all,

It's been two weeks now that I successfully moved my home little mail/sftp server on OpenBSD. I'm more than happy with it and I would like trying to use it as a desktop, but I have a few problem that I could not solve.

I should mention that I tried xfce4 only because this is what I've been using with linux for years, but I'm more than open to test other solutions should they solve my problems.

- Video
My laptop (lenovo R61i) has a nvidia card, unfortunately ! Moving windows is quite slow, resizing them litterally takes seconds. 'Xorg -configure' gave me this :
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/OTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "dri2"
        Load  "extmod"
        Load  "glx"
        Load  "record"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "wsmouse"
        Option      "Device" "/dev/wsmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "VideoKey"                  # <i>
        #Option     "FlatPanel"                 # [<bool>]
        #Option     "FPDither"                  # [<bool>]
        #Option     "CrtcNumber"                # <i>
        #Option     "FPScale"                   # [<bool>]
        #Option     "FPTweak"                   # <i>
        #Option     "DualHead"                  # [<bool>]
        Identifier  "Card0"
        Driver      "nv"
        BusID       "PCI:1:0:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "DefaultRefresh"            # [<bool>]
        #Option     "ModeSetClearScreen"        # [<bool>]
        Identifier  "Card1"
        Driver      "vesa"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection
I either commented the corresponding "nv" or "vesa" device code blocks, the vesa is slightly better but it's still very slow, and I can't even read a video with vlc (error is no XVideo adapter found, but I can see the first frame of the video...still this might be an unrelated problem but I didn't find anything usefull on the net. I also changed the video output in vlc config to all the available options, without success)
Did I miss something or I can't expect more with this video card?

-Mounting
I could mount fat32 USB keys but not ext3/ext4 :
Code:
# dmesg|tail
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (3e61c9a25d3c4b5e.a) swap on wd0b dump on wd0b
umass0 at uhub0 port 3 configuration 1 interface 0 "SKYMEDI USB Drive" rev 2.00/2.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd0 at scsibus3 targ 1 lun 0: <SKYMEDI, USB Drive, > SCSI2 0/direct removable
sd0: 3824MB, 512 bytes/sector, 7831552 sectors

# disklabel sd0
type: SCSI
disk: SCSI disk
label: USB Drive       
duid: 0000000000000000
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 487
total sectors: 7831552
boundstart: 0
boundend: 7831552
drivedata: 0 

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  c:          7831552                0  unused                   
  i:          7829504             2048  ext2fs

# /sbin/mount_ext2fs /dev/rsd0i /home/me/Desktop/moutingFolder
mount_ext2fs: /dev/rsd0i on /home/me/Desktop/moutingFolder: Block device required

-Cryptography
I have a LUKS encrypted hard drive, but from what I understand the source code is for linux only, so compiling it on openbsd won't work as far as I understand...

Well, that's about it, comments/advices appreciated !
Reply With Quote