View previous topic :: View next topic |
Author |
Message |
User10000 n00b
Joined: 06 Nov 2011 Posts: 11
|
Posted: Sun Nov 06, 2011 1:10 pm Post subject: kde4 starts and blends to blackscreen after coming up |
|
|
Hi,
i have installed kde4 with nividia but without HAL.
*There are following failures in Xorg.0.log:
(EE) Faild to load module "dri" (module does not exist, 0)
...
(EE) Faild to load module "dri2" (module does not exist, 0)
...
(EE) NVIDIA(0): Faild to load module "dri2" (module does not exist, 0)
...
(EE) HID 046a:0023: failed to initialize for relative axes
*If i execute startkde:
$DISPLAY is not set or cannot connect to the X server
Executing "startx" or "/etc/init.d/xdm start" boots KDE well (but the Failures in Xorg.0.log ).
When he should blend over from booting screen to the desktop, he blends to the blackscreen with the movable mouse icon.=(
Would be nice if somebody could help me.
Greetings
user10000
Last edited by User10000 on Sun Nov 06, 2011 2:13 pm; edited 2 times in total |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Sun Nov 06, 2011 1:44 pm Post subject: |
|
|
wrong forum my friend, either move to english or ask the mods to move the post to https://forums.gentoo.org/viewforum-f-28.html _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
User10000 n00b
Joined: 06 Nov 2011 Posts: 11
|
Posted: Sun Nov 06, 2011 2:16 pm Post subject: |
|
|
@ DaggyStyle,
Sorry =).... i have not recognized that this is english anyhow =)....
so i have switched to something anyhow similar to englisch =) |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Sun Nov 06, 2011 3:39 pm Post subject: |
|
|
first 3 errors are dri related, I think you should be able to load the driver without 3d acc.
last error is input related.
let me see if I understood you, you boot xdm, you see kde and when you finish kde boot, your screen go black.
if so, drop to shell and paste the content of dmesg and /var/log/kdm.log please. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
User10000 n00b
Joined: 06 Nov 2011 Posts: 11
|
Posted: Sun Nov 06, 2011 5:02 pm Post subject: |
|
|
Yes exactly, this is the beavior of my system actually.
I have vergotten that while starting xdm there is a message:
" ?/tmp/144.../.kde4/share/config/kderc? is not writeable.
I just klick the OK button here.
This week im not able to give you the Kernel Ring Buffer information and kdm.log,
because i need some USB stick and i m not here this week.
Would be nice to have some way to post here from console...
My be this helps:
-I do not use HAL
-I have "Linux version 3.0.6-gentoo runing
-OpenGL is nvidia and i think the drivers is working well.
-In /var/log/kdm.log i can find following failures:
"KConfigIni: in file /tmp/1952136119/.kde4/tmp-localhost/kconf_updateGk3192.tmp, lin1: " Invalid entry (missing '=')
kded4:Fatal IO error: client killed
knotify4: Fatal IO error: client killed
unnamed app(blablabla): Communication problem with "knotify", it probably crashed.
Error message was: "org.freedesktop.DBus.Error.NoReply": " " Message did not receive a reply ( timeout by messagebus)" " |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Sun Nov 06, 2011 5:50 pm Post subject: |
|
|
is dbus installed? what version of kde? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
nlsa8z6zoz7lyih3ap Guru
Joined: 25 Sep 2007 Posts: 388 Location: Canada
|
Posted: Sun Nov 06, 2011 7:59 pm Post subject: |
|
|
Perhaps this is the same as the following topic: https://forums.gentoo.org/viewtopic-p-6764614-highlight-.html#6764614
which deals with problems with the newer nvidia-drivers.
In that forum I offered the following solution:
Quote: | solved this problem in
---------> system settings
-------------> Desktop effects
--------> advanced
By choosing Compositing type Opengl
disable the enable direct rendering box.
enable use vsync.
|
Others had other solutions:
I now use compiz rather than kwin, but I did switch to kwin to see if my posted solution still worked for me.
This time I had to choose Compositing type Xgl but it didn't seem to mater whether or not I had direct rendering.
Perhaps experimentation is in order. Of course there are no guarantees that this will work for you. Let me know how it does turn out.
Hint: You can edit the kde system settings from outside KDE as follows: log on to another minimilist window manager
(may favourite is icewm) open an xterm and type systemsettings
PS what version of nvidia-drivers are you using. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Mon Nov 07, 2011 5:49 am Post subject: |
|
|
nlsa8z6zoz7lyih3ap wrote: | Perhaps this is the same as the following topic: https://forums.gentoo.org/viewtopic-p-6764614-highlight-.html#6764614
which deals with problems with the newer nvidia-drivers.
In that forum I offered the following solution:
Quote: | solved this problem in
---------> system settings
-------------> Desktop effects
--------> advanced
By choosing Compositing type Opengl
disable the enable direct rendering box.
enable use vsync.
|
Others had other solutions:
I now use compiz rather than kwin, but I did switch to kwin to see if my posted solution still worked for me.
This time I had to choose Compositing type Xgl but it didn't seem to mater whether or not I had direct rendering.
Perhaps experimentation is in order. Of course there are no guarantees that this will work for you. Let me know how it does turn out.
Hint: You can edit the kde system settings from outside KDE as follows: log on to another minimilist window manager
(may favourite is icewm) open an xterm and type systemsettings
PS what version of nvidia-drivers are you using. |
you first suggestion won't work as he cannot use kde.
this indeed might be a driver issue but we need to know the driver's version. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
nlsa8z6zoz7lyih3ap Guru
Joined: 25 Sep 2007 Posts: 388 Location: Canada
|
Posted: Mon Nov 07, 2011 6:24 am Post subject: |
|
|
Quote: | you first suggestion won't work as he cannot use kde |
You don't need to use kde to change the kde settings:
Quote: | Hint: You can edit the kde system settings from outside KDE as follows: log on to another minimilist window manager
(may favourite is icewm) open an xterm and type systemsettings |
i.e. from any terminal in any window manager you can get
the kde systems settings manager by typing the command
systemsettings (followed by enter)
This will open the kde settings manager and allow you to change the settings while not in kde.
After making the changes, you can try kde again. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Mon Nov 07, 2011 7:37 am Post subject: |
|
|
your comment was first on how to do that visually, usually people don't notice the rest.
also I suspect he cannot run any other WM so I'm not sure if he can do that.
of course this can be done usibg shell but still... _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
User10000 n00b
Joined: 06 Nov 2011 Posts: 11
|
Posted: Sat Nov 12, 2011 4:06 pm Post subject: |
|
|
Hi,
thank you for the fast answer.
i have tryied to start the systemsettings, but there i get the message :
"Cannot find the D-Bus session server: /usr/bin/dbis-launch" terminated abnormally with the following error:
Autonlaunch error: X11 initialization failed" |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5929
|
Posted: Sat Nov 12, 2011 4:08 pm Post subject: |
|
|
what is the output of emerge --info dbus? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
User10000 n00b
Joined: 06 Nov 2011 Posts: 11
|
Posted: Sat Nov 12, 2011 4:17 pm Post subject: |
|
|
Dbus is installed and running.
The output of imerge --info dbus i have to copy.... this will take some time =)... |
|
Back to top |
|
|
User10000 n00b
Joined: 06 Nov 2011 Posts: 11
|
Posted: Sat Nov 12, 2011 4:29 pm Post subject: |
|
|
Okay,
emerge --info debus :
Code: |
Portage 2.1.10.34 (default/linux/x86/10.0/desktop/kde, gcc-4.5.3, glibc-2.11.3-r0, 3.0.6-gentoo i686)
=================================================================
System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-i686-AMD_Athlon-tm-with-gentoo-2.1
Timestamp of tree: Sat, 12 Nov 2011 13:30:01 +0000
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.4-r1, 3.1.3-r1, 3.2.2
dev-util/cmake: 2.8.4-r1
dev-util/pkgconfig: 0.23
sys-apps/baselayout: 2.1
sys-apps/openrc: 0.9.4
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13::<unknown repository>, 2.68
sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1::<unknown repository>, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.1.2, 4.3.4, 4.4.5, 4.5.3-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc: 2.11.3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 PUEL AdobeFlash-10.1 googleearth Oracle-BCLA-JavaSE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac accessibility acl acpi aiglx alsa archive asf avahi avi berkdb bluetooth branding browserplugin bzip2 cairo cdda cdr chm cli consolekit cracklib crypt cups curl cxx dbus declarative dga divx4linux djvu dri dts dvd dvdr dvdread emboss encode exif fam fbcondecor fbsplash ffmpeg firefox flac foomaticdb fortran gcj gdbm gdu gif glib gphoto2 gpm gtk hal htmlhandbook iconv ieee1394 imagemagick inotify ipv6 java java5 jpeg jpeg2k kde kerberos kipi latex lcms ldap libnotify libwww loop mad matroska mdnsresponder-compat mmx mmxext mng modules mono mozilla mp3 mp4 mpeg mtp mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oscar pam pango pcre pdf phonon plasma png policykit ppds pppd prce python qt3 qt3support qt4 quicktime readline samba scanner sdl semantic-desktop session slang spell sqlite sse ssl startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb utempter v4l v4l2 vcd vnc vorbis webkit win32codecs winbind winpopup wlm x264 x86 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
=================================================================
Package Settings
=================================================================
USE="X -debug -doc (-selinux) -static-libs -test"
sys-apps/dbus-1.4.16 was built with the following:
CFLAGS="-march=athlon-xp -O2 -pipe -rdynamic"
CXXFLAGS="-march=athlon-xp -O2 -pipe -rdynamic"
|
|
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sat Nov 12, 2011 4:42 pm Post subject: |
|
|
User10000 wrote: | Yes exactly, this is the beavior of my system actually.
I have vergotten that while starting xdm there is a message:
" ?/tmp/144.../.kde4/share/config/kderc? is not writeable. |
This seems to suggest something odd is going on in your home directory. First thing I'd suggest is to try with a new clean user. You could also remove the ~/.kde* files and dirs, but make sure you double think about it. Some applications like the silly kmail might put important files in there. So, again, double think about it before removing this directory.
Quote: | Would be nice to have some way to post here from console... |
From memory, there's app-text/pastebin and wgetpaste in portage. Install one of those. You should be able to use them like this
Code: | cat /etc/make.conf | wgetpaste |
or
Code: | emerge --info | wgetpaste |
It will upload your output to pastebin and give you a link that you can paste here.
Another way is to install xsel and use it the same way to put the output into your cut buffer, then use links or w3m (command lines browsers) to reach this forum and use shift+insert to paste. I have no idea if this will work on CLI, though.
Another way is to use screen or tmux, which have this capability built-in, this works from the command line as long as all the involved applications are running inside a tmux or screen session. It takes some effort to learn how to use them, though.
Yet another way is to use "emerge --info > out.txt", then host the file somewhere so we can reach it.
Quote: | My be this helps:
-I do not use HAL |
Oh, and, even if I have not use proprietary drivers for years, the last time I checked those DRM message from nvidia should be normal. If that hasn't changed, they don't use the linux DRM stack, the driver does its own thing, so just ignore those.
Besides that, what I'd do would be:
- put "consolekit udev dbus policykit" in your USE flags.
- emerge -auDvN world
- make sure udev and consolekit are running, add them to the default runlevel if needed.
- add xdm and configure it to start kdm, reboot and see.
|
|
Back to top |
|
|
User10000 n00b
Joined: 06 Nov 2011 Posts: 11
|
Posted: Sat Nov 12, 2011 4:51 pm Post subject: |
|
|
Okay i will try that and report the results =) |
|
Back to top |
|
|
nlsa8z6zoz7lyih3ap Guru
Joined: 25 Sep 2007 Posts: 388 Location: Canada
|
Posted: Sat Nov 12, 2011 5:11 pm Post subject: |
|
|
Quote: | This seems to suggest something odd is going on in your home directory. First thing I'd suggest is to try with a new clean user. You could also remove the ~/.kde* files and dirs, but make sure you double think about it. Some applications like the silly kmail might put important files in there. So, again, double think about it before removing this directory. |
Instead of removing it I would do the following:
Code: | mv ~/.kde4 ~/kde4-backup-date |
Regarding dbus, my KDE displays graphics just fine AND systemsettings works,
even without dbus running,
although of course lots of other things don't work then. So I doubt that dbus is the basic cause of this problem.
If i92guboj's suggestion doesn't work, I would suggest trying the nv drivers, as follows:
- change the appropriate line in /etc/make.conf to read VIDEO_CARDS="nvidia nv"
- run emerge -uvDN @world
- run eselect opengl list and eselct opengl set to choose the opengl driver
(NOT THE NVIDIA driver)
- mv /etc/X11/xorg.conf /etc/X11/xorg.conf-backup-date to make sure that /etc/X11/xorg.conf is not breaking things.
- Reboot ( a bit of overkill here, but it is a sure way to make sure that the new settings
are taking effect.
Added in Edit:
Quote: | Oh, and, even if I have not use proprietary drivers for years, the last time I checked those DRM message from nvidia should be normal. |
I confirm that this is still true today. |
|
Back to top |
|
|
User10000 n00b
Joined: 06 Nov 2011 Posts: 11
|
Posted: Sun Nov 13, 2011 2:13 pm Post subject: |
|
|
Hi,
while updating i have got the problem that
net-libs/libgadu
wants to have a Version of
libpng12.so.0
.
But i have found
usr/lib/libpng15.so
on my system
When i execute emerge -upv net-libs/libgadu
there is a ERROR on compile phase
"Error while loading shared liberaries: libpng12.so.0: cannot open shared object file: No such file or directory"
So should i downgrade libpng ??? |
|
Back to top |
|
|
nlsa8z6zoz7lyih3ap Guru
Joined: 25 Sep 2007 Posts: 388 Location: Canada
|
Posted: Sun Nov 13, 2011 3:52 pm Post subject: |
|
|
Quote: | So should i downgrade libpng ??? |
No You should have 2 versions of libpng installed specifically:
[*] 1.2.?, and
[*] 1.4.? or 1.5.?
I suspect that recently you upgraded 1.4.? to 1.5.? This upgrade is quite problematical
and can badly break many things unless done with great attention to detail.
The upgrade instructions were given in a news item and can be read using the command eselect as root.
Code: | eselect news list and then eselect news read (you give the appropriate number) |
In particular the listed topic https://forums.gentoo.org/viewtopic-t-894950.html
is of immense help.
Let us know how it goes.
Good luck
added in edit:
(1) If you have installed eix already
the command Code: | eix libpng|grep "Installed versions" | should tell you what versions are installed.
For example on my machine I get: Quote: | eix libpng|grep "Installed versions"
Installed versions: 1.2.46(1.2)(08:45:26 AM 06/11/11) 1.5.5(09:11:52 AM 07/11/11)(apng -static-libs)
|
so the installed versions are 1.2.46 and 1.5.5.
Please let us know what you find.
(2) I think that the upgrade of libpng-1.4.? to 1.5.? becomes more difficult if the detailed instructions are not followed immediately after the upgrade. |
|
Back to top |
|
|
User10000 n00b
Joined: 06 Nov 2011 Posts: 11
|
Posted: Sun Nov 13, 2011 6:08 pm Post subject: |
|
|
Okay,the update runs , just 300 packages =)...
the eix -I libpng says that there are 1.2.46 and 1.5.6 installde =)... verry well ..
eix is new for me, i have installed it last or may by this weekend. |
|
Back to top |
|
|
nlsa8z6zoz7lyih3ap Guru
Joined: 25 Sep 2007 Posts: 388 Location: Canada
|
Posted: Sun Nov 13, 2011 7:04 pm Post subject: |
|
|
O.K. then you do have the correct versions of libpng installed.
However the error message
Quote: | When i execute emerge -upv net-libs/libgadu
there is a ERROR on compile phase
"Error while loading shared liberaries: libpng12.so.0: cannot open shared object file: No such file or directory" |
makes it sound as if you haven't yet followed the detailed upgrade instructions as mentioned above.
It is crucial that you read https://forums.gentoo.org/viewtopic-t-894950.html
and follow its directions as soon as possible or you will find that a lot more than just kde is broken.
Of course there is no guarantee that this will solve your kde problem, but it is an essential first step as (whether you realize it or not yet) lots else is currently broken.
Please let us know how it goes.
Good luck |
|
Back to top |
|
|
jm009 n00b
Joined: 15 Jan 2005 Posts: 11
|
Posted: Sun Dec 11, 2011 11:58 am Post subject: /tmp/xxx.../.kde4/share/config/kderc is not writeable |
|
|
I also had the
"/tmp/xxx.../.kde4/share/config/kderc" is not writeable.
Solved it by
emerge -v kdm
I hope this helps someone who doesn't want to search for a fix as long as I did |
|
Back to top |
|
|
User10000 n00b
Joined: 06 Nov 2011 Posts: 11
|
Posted: Sun Dec 18, 2011 1:34 pm Post subject: |
|
|
Hi,
i was not able to fix the Problem. fluxbox works well, but i wan KDE back.
I have made a deep update of world, and i have build all dependencies.
KDE starts well, und then the blackscreen comes up with the movable mouse. |
|
Back to top |
|
|
jm009 n00b
Joined: 15 Jan 2005 Posts: 11
|
Posted: Sun Dec 18, 2011 2:18 pm Post subject: |
|
|
The black screen comes after the displaymanager/login screen?
That means imho that some part of kde is missing or not working. But I am not very familiar with kde, just using it, so I can't really help you... What I would try in your situation is
- check /var/log/kdm.log
- check /var/log/daemon.log
- try "emerge plasma-workspace" |
|
Back to top |
|
|
perusal n00b
Joined: 24 Sep 2009 Posts: 3
|
Posted: Tue Dec 20, 2011 4:31 pm Post subject: |
|
|
Running "emerge plasma-workspace" worked for me. Not sure how it became missing from my system... |
|
Back to top |
|
|
|