DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th July 2008
abdo88 abdo88 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 10
Thanked 0 Times in 0 Posts
Default KDE very sluggish...

Hey all

I installed FreeBSD 7.0, rebuilt world, kernel, installed X from source and finally installed KDE from ports... I set the effects in KDE to very minimal... Yet KDE is extremely sluggish...

Please note that KDE works really fine with Linux distros and with DesktopBSD/PCBSD...

Anyone has an idea what's wrong??
Reply With Quote
  #2   (View Single Post)  
Old 14th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

What is your videocard, what video driver you use?


P.S. I prefer to use gnome apps on top of FVWM (i'm avoiding KDE as much as possible)
Reply With Quote
  #3   (View Single Post)  
Old 14th July 2008
abdo88 abdo88 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 10
Thanked 0 Times in 0 Posts
Default

Thanks a lot for the reply...

Nvidia GeForce Go 6800

About the driver, when configuring X I asked it to install nv, agp, and mesa, dunno which one is it using though... how do find out?
Reply With Quote
  #4   (View Single Post)  
Old 14th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
formerly killasmurf86
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 588
Thanked 29 Times in 26 Posts
Default

OK, you need to install nvidia driver from ports:
Code:
cd /usr/ports/nvidia-driver
sudo make install clean
and you need to edit your xorg.conf file
/etc/X11/xorg.conf


Code:
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension


# This loads the font modules
    Load        "type1"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
    Load       "dri"		#not nessacery
	Load	"bitmap"
	Load	"extmod"


	Load	"GLcore"	#not nessacery
EndSection


Section "Files"


    FontPath   "/usr/local/lib/X11/fonts/misc/"
    FontPath   "/usr/local/lib/X11/fonts/TTF/"
    FontPath   "/usr/local/lib/X11/fonts/OTF"
    FontPath   "/usr/local/lib/X11/fonts/Type1/"
    FontPath   "/usr/local/lib/X11/fonts/100dpi/"
    FontPath   "/usr/local/lib/X11/fonts/75dpi/"
    FontPath   "/usr/local/lib/X11/fonts/local/"
#    FontPath   "/usr/local/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/local/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/local/lib/X11/fonts/freefont/"


EndSection


Section "ServerFlags"


EndSection

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"

    Option "AutoRepeat" "500 30"


    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc101"
    Option "XkbLayout"	"lv"

EndSection



Section "InputDevice"

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "Auto"	# Auto detect
    Option "Device"      "/dev/sysmouse"


    Option "ZAxisMapping"   "4 5 6 7"

EndSection


Section "Monitor"

    Identifier  "Samsung Monitor"

    HorizSync   31.5 - 82.0
    VertRefresh 40-150

EndSection


Section "Device"
    Identifier  "Nvidia"
    Driver      "nvidia"
	Option "NvAgp"	"3"
    #VideoRam    262144
    # Insert Clocks lines here if appropriate
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Nvidia"
    Monitor     "Samsung Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

Section "ServerLayout"

    Identifier  "Simple Layout"

    Screen "Screen 1"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

# Section "DRI"
#    Mode 0666
# EndSection
here's my xorg.conf file
I marked red lines you should change in your xorg.conf

I might forgot something, but eh, ask and i will answer


also if you compile custom kernel, then leave device agp commented

Last edited by graudeejs; 14th July 2008 at 03:53 PM.
Reply With Quote
  #5   (View Single Post)  
Old 14th July 2008
LateNiteTV LateNiteTV is offline
Port Guard
 
Join Date: Jul 2008
Posts: 19
Thanked 0 Times in 0 Posts
Default

if youre using freebsd 7/amd64, youre pretty much screwed with nvidia cards. install the i386 build and it should work fine.
Reply With Quote
  #6   (View Single Post)  
Old 15th July 2008
abdo88 abdo88 is offline
Port Guard
 
Join Date: Jul 2008
Posts: 10
Thanked 0 Times in 0 Posts
Default

@killasmurf

Thanks a lot... Unfortunately my Internet connection is dead right now (I'm writing this from work..), once I get the connection back, I'll try that and see if it works...

Thanks again for the explanation..

@LateNiteTV

Thanks for the tip, I'm using the i386 version already...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick