Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange Xorg/KDM bugs on a fresh install
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Thenin
n00b
n00b


Joined: 06 Mar 2009
Posts: 4

PostPosted: Fri Mar 06, 2009 2:23 am    Post subject: Strange Xorg/KDM bugs on a fresh install Reply with quote

Hi,

I made a fresh install of gentoo with kde 4.2 on my box. Now i have 2 very strange bugs:

If i use ctrl-c to copy things or stop a process in the konsole, the X session terminates and it will go back to the login screen.

I can only login one time with KDM. If i log out and i wann log in the screen goes black and then i am back at the login screen. If i reboot, i can login, but only once.

in the logs i doesn't find nothing about that, after hours of using google i wanna ask you for a tipp or solution of that problem, because they are really annoying.

some package versions:

kde-4.2.1
kdm-4.2.1
xorg-1.5.3


Last edited by Thenin on Fri Mar 06, 2009 12:04 pm; edited 2 times in total
Back to top
View user's profile Send private message
nlsa8z6zoz7lyih3ap
Guru
Guru


Joined: 25 Sep 2007
Posts: 388
Location: Canada

PostPosted: Fri Mar 06, 2009 3:47 am    Post subject: Reply with quote

Of course I have no idea what is causing your problems, but I experienced similar ones and more when I upgraded to xorg-server-1.5.3 recently.
Here are some suggestions:

(1) Make sure that the use flag hal is included in /etc/make.conf.

(2) Make sure that you have emerged x11-drivers/xf86-input-evdev

(3) Make sure that evdev is included in INPUT_DEVICES in /etc/make.conf
and then do emerge -auvDN world

(4) make a backup copy of your /etc/X11.xorg.conf and remove the original.
(With xorg-server-1.5.3, you should not need and xorg.conf. in fact unless xorg.conf is "just right" its presence may
degrade xorg performance.)

https://forums.gentoo.org/viewtopic-t-742730-highlight-.html

discusses some of the questions and problems concerning xorg-server-1.5.3. That topic also discusses ways to
use xorg-server-1.5.3 without evdev.

Hope this helps, but of course I do not know the source of your problems.
Back to top
View user's profile Send private message
Gankfest
l33t
l33t


Joined: 01 Aug 2007
Posts: 946
Location: Miami Beach, FL

PostPosted: Fri Mar 06, 2009 4:53 am    Post subject: Reply with quote

output of:

Code:
lspci -v

_________________
Gankfest™ (>")> ~*

Everyone has to start somewhere, it depends on where you end up that counts! (>")>
Back to top
View user's profile Send private message
beaubell
n00b
n00b


Joined: 10 Mar 2004
Posts: 10
Location: Anchorage, AK

PostPosted: Fri Mar 06, 2009 6:02 am    Post subject: Same Problem Reply with quote

I have the very same issue!
I have a dualseat workstation that was working perfectly fine with KDE 4.2.0 and Xorg 7.2 yesterday until the forced xorg upgrade. >:(
Ctrl-C will kill the X-session on the first seat and no one on that seat will be able to login again afterwards. Seems to work fine on the second seat, though.

Anyone have any ideas?

- Beau

Xorg-server: 1.5.3-r2 (evdev for input, rq'd for multiseat)
KDE: 4.2.1
nvidia-drivers: 180.29 (2x Nvidia GF 7600 GS's with twinview enabled)
/usr/bin/X0 -br -nolisten tcp -layout Seat0 :0 vt7
/usr/bin/X1 -br -nolisten tcp -layout Seat1 -novtswitch -sharevts :1
Back to top
View user's profile Send private message
Thenin
n00b
n00b


Joined: 06 Mar 2009
Posts: 4

PostPosted: Fri Mar 06, 2009 12:01 pm    Post subject: Reply with quote

Copying my Xorg config and starting xorg without a configuration file has solved all 2 problems.
but now, it don't uses my nvidia drivers
Back to top
View user's profile Send private message
Thenin
n00b
n00b


Joined: 06 Mar 2009
Posts: 4

PostPosted: Fri Mar 06, 2009 12:14 pm    Post subject: Reply with quote

hi,

I made a new X Config without the keyboard and mouse sections and alle works, it uses my nvidia drivers and the strange bugs are gone away, but i think that is only a workaround, not a really solution
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Mar 06, 2009 12:36 pm    Post subject: Reply with quote

Hi, can you post this :

Code:

# emerge --info
# equery list nvidia


Can you post your old /etc/X11/xorg.conf plz ?
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Mar 06, 2009 12:37 pm    Post subject: Reply with quote

Also, do you use the new hal + fdi + Xorg-Server 1.5 method to configure your keyboard and mouse etc... ?
Back to top
View user's profile Send private message
Thenin
n00b
n00b


Joined: 06 Mar 2009
Posts: 4

PostPosted: Fri Mar 06, 2009 12:52 pm    Post subject: Reply with quote

yes i use the new methods.

emerge --info

Code:
   
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 x86_64)                                                     
=================================================================             
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-glibc2.2.5                                                                 
Timestamp of tree: Fri, 06 Mar 2009 01:45:01 +0000                             
app-shells/bash:     3.2_p17-r1                                               
dev-lang/python:     2.4.4-r13, 2.5.2-r7                                       
dev-python/pycrypto: 2.0.1-r6                                                 
dev-util/cmake:      2.6.3                                                     
sys-apps/baselayout: 1.12.11.1                                                 
sys-apps/sandbox:    1.3.8                                                     
sys-devel/autoconf:  2.13, 2.61-r1                                             
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1                     
sys-devel/binutils:  2.18-r1                                                   
sys-devel/gcc-config: 1.4.0-r4                                                 
sys-devel/libtool:   1.5.24                                                   
virtual/os-headers:  2.6.23-r3                                                 
ACCEPT_KEYWORDS="amd64"                                                       
CBUILD="x86_64-pc-linux-gnu"                                                   
CFLAGS="-march=k8 -O2 -pipe"                                                   
CHOST="x86_64-pc-linux-gnu"                                                   
CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"                                                     
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                         
CXXFLAGS="-O2 -pipe"                                                           
DISTDIR="/usr/portage/distfiles"                                               
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                               
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://mirror.gentoo.no/ "                                                           
LDFLAGS="-Wl,-O1"                                                             
MAKEOPTS="-j2"                                                                 
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="/usr/portage/local/layman/kde-testing"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal history iconv icq ipv6 isdnlog jpeg kde kdeprefix ldap libnotify mad midi mikmod mmx mng mp3 mpeg msn mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis webkit xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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_emulmulaw 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeonsavage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



equery list nvidia
Code:

[ Searching for package 'nvidia' in all categories among: ]
 * installed packages
[I--] [  ] media-video/nvidia-settings-177.80 (0)
[I--] [ ~] x11-drivers/nvidia-drivers-180.29 (0)


old Xorg config:
Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@susi)  Thu Mar  5 17:43:24 CET 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"   
EndSection                                   

Section "Files"
EndSection     

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"     
EndSection                   

Section "ServerFlags"
    Option         "Xinerama" "0"
    Option         "AllowEmptyInput" "false"
EndSection                                 

Section "InputDevice"
    # generated from data in "/etc/conf.d/gpm"
    Identifier     "Mouse0"                   
    Driver         "evdev"                   
    Option         "Protocol"                 
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "no"     
    Option         "ZAxisMapping" "4 5"       
EndSection                                   

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "evdev"   
    Option         "XkbLayout" "de"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "ACI ASUS VW221"
    HorizSync       30.0 - 85.0
    VertRefresh     55.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8600 GT"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "1680x1050 +0+0; 1280x1024 +0+0; 1024x768 +0+0;800x600 +0+0; 640x480 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Back to top
View user's profile Send private message
nlsa8z6zoz7lyih3ap
Guru
Guru


Joined: 25 Sep 2007
Posts: 388
Location: Canada

PostPosted: Fri Mar 06, 2009 4:18 pm    Post subject: Reply with quote

When I removed my xorg.conf, xorg-server also stopped using my nvidia drivers.
I managed to use the nvidia drivers AND the OLD keyboard and mouse drivers (this made the problems go away)
as follows:

(1) Add
x11-base/xorg-server -hal
to /etc/portage/package.use


(2) Make sure that the INPUT_DEVICES in /etc/make.conf includes "keyboard mouse"
Then run emerge -auvDN world

(3) Used the following as my xorg.conf
(Notes: (a) Using the old keyboard and mouse drivers rather than the evdev ones. (b) This is just my OLD xorg.conf
with
Quote:
Option "backingstore" "False"
in place of
Code:
Option         "backingstore" "True"

Item (b) Seems to be required to make kde-4.2.x be stable.

This is what worked for me.

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

Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection


#Section ServerFlags
# Option "AutoAddDevices" "false"
# Option "AutoEnableDevices" "false"
#EndSection

Section "Module"
Load "glx"
Load "extmod"
# Load "vnc"
Load "wfb"
Load "xtrap"
Load "record"
Load "dbe"
Load "freetype"
Load "type1"
EndSection

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

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

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

Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce 6100 nForce 430"
# Option "UseEdidDpi" "false"
# Option "DPI" "96 x 96"
Option "AddARGBGLXVisuals" "true"
Option "XAANoOffscreenPixmaps"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "DisableGLXRootClipping" "true"
Option "AllowGLXWithComposite" "true"
Option "EnablePageFlip" "true"
Option "backingstore" "False"
Option "TripleBuffer" "True"
Option "AddARGBGLXVisuals" "True"
Option "XAANoOffscreenPixmaps"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "DisableGLXRootClipping" "true"
Option "AllowGLXWithComposite" "true"
Option "EnablePageFlip" "true"
Option "backingstore" "True"
Option "TripleBuffer" "True"
Option "AddARGBGLXVisuals" "True"
Option "RenderAccel" "true"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
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

Section "Extensions"
Option "Composite" "Enable"
EndSection

Section "DRI"
Mode 0666
EndSection
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum