PDA

View Full Version : [Solved] kde4 or nvidia-driver problem


imho
June 20th, 2011, 21:55
Hi all,

I'm using FreeBSD-8.2 amd64 and KDE-4.6.4. It's a new installation. My card is a GeForce 7300 SE/7200 GS. (xorg.conf). I've installed the current nvidia-driver from ports: 270.41.19.

linux_enable="YES" is in rc.conf.
nvidia_load="YES"
machdep.disable_mtrrs="1" in loader.conf.

When kde4 is starting I can log in and then I see the hard drive, hammer and screwdriver and all start symbols but from the blue K I see only a blue fog. That's all, KDE4 stops.

No errors in Xorg.0.log. I test the newest nvidia-driver 275.09.07 -> same result. The nvidia kernel module is loaded. The nvidia-driver is compiled without FreeBSD-AGP.

dmesg | grep nvidia
nvidia0: <GeForce 7300 SE/7200 GS> on vgapci0
vgapci0: child nvidia0 requested pci_enable_busmaster
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia0: [ITHREAD]

When I use the nv driver then KDE4 starts normally. Don't know what the problem is, KDE4 or the nvidia-driver.

I put some files in the attachments. The xorg.conf file is generated via nvidia-xconfig.

Hope anyone can help.
Thanks.

imho

SirDice
June 21st, 2011, 09:36
Not related but don't use AllowEmptyInput in xorg.conf.

Your Xorg.0.log seems truncated, it doesn't look complete.

imho
June 21st, 2011, 17:25
Hey SirDice,

What you mean with AllowEmptyInput? There is not this entry in xorg.conf.

DutchDaemon
June 21st, 2011, 18:39
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
in your Xorg.0.log.

imho
June 22nd, 2011, 06:45
I add in xorg.conf:

Section "ServerFlags"
Option "AllowEmptyInput" "off"
EndSection

After a reboot Xorg.0.log says:

tail -f /var/log/Xorg.0.log
(**) Option "Device" "/dev/sysmouse"
(==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
(**) PS/2 Mouse: Buttons: 9
(**) PS/2 Mouse: Sensitivity: 1
(II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE)
(**) PS/2 Mouse: (accel) keeping acceleration scheme 1
(**) PS/2 Mouse: (accel) acceleration profile 0
(II) PS/2 Mouse: SetupAuto: hw.iftype is 4, hw.model is 0
(II) PS/2 Mouse: SetupAuto: protocol is SysMouse

That's all. Same problem. KDE4 dont start.

imho
June 22nd, 2011, 07:32
Here's the complete Xorg.0.log:

imho
June 22nd, 2011, 08:37
Maybe that helps.

SirDice
June 22nd, 2011, 10:23
Dbus and hald aren't running. Add to /etc/rc.conf:


dbus_enable="YES"
hald_enable="YES"

imho
June 22nd, 2011, 11:00
Yes.
With the "nv" driver works KDE4.

SirDice
June 22nd, 2011, 11:21
Yes.
No.
From your kdm-bin.log:


klauncher(1778) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(1770)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: "Not connected to D-Bus server"

imho
June 22nd, 2011, 17:38
Thats right but dbus and hald are loaded via rc.conf.
dbus_enable="YES"
hald_enable="YES"

imho
June 22nd, 2011, 17:56
The question is why the connect to D-Bus failed. Which other output do you need?

ps axl |grep dbus
556 1529 1 0 44 0 8124 2564 select Is ?? 0:00,21 /usr/local/bin/dbus-daemon --system
1001 1818 1 0 44 0 16700 2464 select I ?? 0:00,00 dbus-launch --autolaunch dea5e82f6f7196bc1b252239
1001 1819 1 0 44 0 8124 2832 select Is ?? 0:00,58 /usr/local/bin/dbus-daemon --fork --print-pid 5 -
0 2310 1870 0 44 0 9124 1500 piperd S+ 0 0:00,00 grep dbus

ps axl | grep hald
560 1723 1 0 52 0 29840 5792 piperd Is ?? 0:00,67 /usr/local/sbin/hald
0 1730 1723 0 76 0 18140 3208 select I ?? 0:00,05 hald-runner
0 1735 1730 0 63 0 16780 2800 kqread I ?? 0:00,01 hald-addon-mouse-sysmouse: /dev/psm0 (hald-addon-
0 1736 1730 0 44 0 11560 1912 select S ?? 0:00,04 hald-addon-storage: no polling on /dev/fd0 becaus
0 1764 1730 0 44 0 11560 1940 select S ?? 0:00,21 hald-addon-storage: /dev/cd0 (hald-addon-storage)
0 2314 1870 0 44 0 9124 1500 piperd S+ 0 0:00,00 grep hald

imho
June 22nd, 2011, 19:46
Ok, I have deinstalled nvidia-driver 270.09.07. Downloaded and installed 260.19.44. -> It works. It is a problem with polkit-qt-0.99.

Thanks for help.
@DutchDaemon: sorry for bad formatting.

Now it's solved.