FreeBSD 9.0 + nvidia + KDE troubles

DimanNe Dimanne at ya.ru
Sat Oct 15 04:47:00 UTC 2011


My config:
FreeBSD Impedance.campus.mipt.ru. 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Thu Oct 13 08:46:31 MSD 2011     root at Impedance.campus.mipt.ru.:/usr/obj/usr/src/sys/GENERIC  amd64

Latest KDE and Qt from area51 (http://freebsd.kde.org/area51.php)

The problem is that KDE can not be loaded.
1)First variant. I execute startx from my user, nvidia driver loaded (fan on my nvidia card becomes silent), I see kde loading screen (http://www.woa.ro/blog/2011/02/squeeze/img/01%20KDE%20loading.png) then kde freeze for some time, then I see black screen and FreeBSD hangs (even num lock does not work)
2)Second variant. I run startx and then switch to console (Ctrl+Alt+F2). In this case FreeBSD does not hangs, but KDE also does not work.

The problem occurs on 
Native driver from NVidia (x11/nvidia-driver) AND on not native driver - "nv".

Below is my config and output from startx:

=================   loader.conf   ================= 
nvidia_load="YES"           <---     this string was removed when I tried "nv"
linux_load="YES" 

=================    rc.conf   ================= 
hostname="Impedance.campus.mipt.ru."
ifconfig_re0="DHCP"
keymap="ru.koi8-r"
sshd_enable="YES"
#for nvidia driver
linux_enable="YES"
#KDE
hald_enable="YES"
dbus_enable="YES"
polkitd_enable="YES"

=================    xorg.conf   ================= 
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister at builder59)  Tue Feb  3 10:32:15 PST 2009

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option         "AllowEmptyInput" "false"
EndSection

Section "Files"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath        "/usr/local/lib/X11/fonts/winfonts/"
    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/"
EndSection

Section "Module"
    Load           "extmod"
    Load           "record"
    Load           "dbe"
    Load           "xtrap"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "AutoAddDevices" "false"
    Option         "AllowEmptyInput" "false"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbLayout" "us,ru"
    Option         "XkbOptions" "grp:ctrl_shift_toggle"
    Option         "XkbVariant" ",winkeys"
EndSection

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

Section "Monitor"
    Identifier     "Monitor0"
    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"
        ### [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         "nvidia"                                                <----- and "nv" when I tried nv driver.
    VendorName     "nVidia Corporation"
    BoardName      "GeForce 9800 GT"
    Option "LinearAlloc" "8192"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    SubSection     "Display"
        Viewport    0 0
    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
 



=================    startx output   ================= 

Script started on Fri Oct 14 17:06:55 2011

%startx

xauth:  file /home/Void/.serverauth.2478 does not exist


X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 9.0-BETA3 amd64 
Current Operating System: FreeBSD Impedance.campus.mipt.ru. 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Thu Oct 13 08:46:31 MSD 2011     root at Impedance.campus.mipt.ru.:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 13 October 2011  02:37:36PM
 
Current version of pixman: 0.22.2
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 14 17:07:01 2011
(==) Using config file: "/etc/X11/xorg.conf"
/usr/local/kde4/bin/startkde: kcheckrunning: not found
startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kded(2542)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
kbuildsycoca4 running...
kbuildsycoca4(2543) KBuildSycoca::checkTimestamps: checking file timestamps
kbuildsycoca4(2543) KBuildSycoca::checkTimestamps: timestamps check ok
kbuildsycoca4(2543) kdemain: Emitting notifyDatabaseChanged ()
kglobalaccel(2546)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
kded(2542) LayoutMemoryPersister::restoreFromFile: Failed to open layout memory xml file for reading "/usr/home/Void/.kde4/share/apps/kded/session/keyboard/layout_memory.xml" error: 5 
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.5'
kded(2542)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kcminit(2548)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
ksmserver(2550)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
kwin(2551)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
kactivitymanagerd(2553)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
knotify(2555)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
plasma-desktop(2557)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
QDBusObjectPath: invalid path ""
QDBusObjectPath: invalid path ""
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x1e00154
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x1
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    151 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x1e00154
X Error: RenderBadPicture (invalid Picture parameter) 172
  Extension:    151 (RENDER)
  Minor opcode: 8 (RenderComposite)
  Resource id:  0x1e00154
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 55 (X_CreateGC)
  Resource id:  0x1e00154
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 55 (X_CreateGC)
  Resource id:  0x1e00154
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x15a
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    151 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x1e00158
X Error: RenderBadPicture (invalid Picture parameter) 172
  Extension:    151 (RENDER)
  Minor opcode: 8 (RenderComposite)
  Resource id:  0x1e00158
X Error: RenderBadPicture (invalid Picture parameter) 172
  Extension:    151 (RENDER)
  Minor opcode: 5 (RenderChangePicture)
  Resource id:  0x1e00158
X Error: BadGC (invalid GC parameter) 13
  Major opcode: 60 (X_FreeGC)
  Resource id:  0x1e00158
X Error: BadGC (invalid GC parameter) 13
  Major opcode: 60 (X_FreeGC)
  Resource id:  0x1e00158
X Error: RenderBadPicture (invalid Picture parameter) 172
  Extension:    151 (RENDER)
  Minor opcode: 7 (RenderFreePicture)
  Resource id:  0x1e00158
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x1e0015a
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x850d000
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    151 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x1e0015a
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x1e0015c
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x850d000
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    151 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x1e0015c
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x1e0015e
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x850d000
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    151 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x1e0015e
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x1e00160
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x850d000
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    151 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x1e00160
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x1e00162
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x850d000
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    151 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x1e00162
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x1e00164
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x850d000
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    151 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x1e00164
X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode: 53 (X_CreatePixmap)
  Resource id:  0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 14 (X_GetGeometry)
  Resource id:  0x1e00166
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 3 (X_GetWindowAttributes)
  Resource id:  0x850d000
QPainter::begin: Cannot paint on a null pixmap
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Extension:    151 (RENDER)
  Minor opcode: 4 (RenderCreatePicture)
  Resource id:  0x1e00166
plasma-desktop(2557)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 84377696 bytes. 

^Cxinit: connection to X server lost


waiting for X server to shut down kded4: Fatal IO error: client killed
kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
kglobalaccel: Fatal IO error: client killed
klauncher: Exiting on signal 1
Qt-subapplication: Fatal IO error: client killed
kwin: Fatal IO error: client killed
kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.

xinit: unexpected signal 2
Hangup
GOT SIGHUP
%Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /var/tmp/dbus-zEm8UPWvnX:  
startkde: Shutting down...
kdeinit4_wrapper: Warning: connect(/home/Void/.kde4/socket-Impedance.campus.mipt.ru./kdeinit4__0) failed: : No such file or directory
Error: Can not contact kdeinit4!
startkde: Running shutdown scripts...
xprop:  unable to open display ':0'
xprop:  unable to open display ':0'
startkde: Done.
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.


%exit

exit

Script done on Fri Oct 14 17:07:20 2011 


More information about the freebsd-bugs mailing list