Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X.org Lockups (part III)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 343
Location: Calgary, Alberta, Canada

PostPosted: Tue Oct 06, 2009 12:23 am    Post subject: Reply with quote

I upgraded to xorg 1.6 today - perhaps i should have left it 'till later...

I followed the upgrade guides, but on attempting to restart X the machine locks, with a black screen and no cursor, and responds to nothing, not even the power button. This doesn't seem to leave much to diagnose. Anyone have any idea how to proceed?

Xorg.0.log contains 5 lines of garbage - nothing readable
Back to top
View user's profile Send private message
waynedpj
n00b
n00b


Joined: 29 Sep 2009
Posts: 20

PostPosted: Thu Oct 08, 2009 9:52 pm    Post subject: Reply with quote

i am having the same issue after a xorg 1.6 upgrade with xcb upgraded as well. followed both guides, rebuilt all drivers. running out of options. did you ever find a solution?

peace
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 343
Location: Calgary, Alberta, Canada

PostPosted: Fri Oct 09, 2009 5:05 pm    Post subject: Reply with quote

Not yet.

My current status is that, after changes to xorg.conf and kernel configuration, and a lot of rebuilding, I can get KDE to come up, but it locks after anything from seconds to a few minutes. The mouse pointer moves about the screen, but nothing else, including the power button, evokes any response. I get out of it by pulling the power cord. This is safer if you have a journalling filesystem - I use ext3.

Oddly, If I comment out the XSESSION variable in /etc/rc.conf, and then run "startx", FVWM comes up perfectly and stays up. I'm using hal, dbus and evdev for input devices, and this is trickier than it was under xorg 1.5.3

You can track the changes that have worked for me and others, and some that don't, in this forum.

A bit of searching on the web has revealed that many others have this issue, under a wide range of kernels, at least for the intel, nvidia, and ATI video cards. Some have found relief in changing drivers and kernel configuration, but for others, like myself, nothing seems to work.

The author of the upgrade guide, Remi Cardona, has asked me to submit a bug, it is Xorg 1.6 locks in KDE after seconds to minutes. Perhaps you can add your experiences to it.
Back to top
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 343
Location: Calgary, Alberta, Canada

PostPosted: Sat Oct 10, 2009 6:04 pm    Post subject: Reply with quote

Now running flawlessly. The key is to use the latest ~arch gentoo-sources kernel 2.6.31-r2 and ~arch xf86-video-intel driver 2.9.0, with no xorg.conf at all.

My thanks to all on the forums who helped, and particularly to Remi Cardona on Bugzilla who found the solution - see the bug, now closed.
Back to top
View user's profile Send private message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Thu Oct 15, 2009 1:54 am    Post subject: Xorg hangs after start Reply with quote

That happened since i installed gentoo for the first time. Back there i tried to configure my ati 3200HD onboard. With relative success to open fglrx (glitchy, but it opened like ubuntu or arch did the work), my X keep hanging at start. Even with vesa, radeonhd or fglrx it kept hanging. Now i have an nvidia 7300 PCI-E and X hangs in the same way.

When Xorg opens, i can see the screen (twm or even xfce4) without problem, but the keyboard and mouse doesn't work. I tried to rebuild xorg-server with nvidia-drivers and no ati packages, rebuild xf86-input-* packages with no luck

Any help please?

Here is my lspci:
Code:
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host
Bridge
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge
(ext gfx port 0)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge
(PCIE port 5)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
Controller [IDE mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0
Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI
Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0
Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI
Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2
Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron,
Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron,
Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron,
Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h [Opteron,
Athlon64, Sempron] Link Control
01:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7300
GT] (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
03:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23
IEEE-1394a-2000 Controller (PHY/Link)


My xorg.conf:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder62)  Mon May 11
15:57:20 PDT 2009

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

Section "Files"
EndSection

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

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

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Back to top
View user's profile Send private message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Thu Oct 15, 2009 2:09 am    Post subject: Reply with quote

I didnt read this thread, so i'll put a link to the one I just created:
http://forums.gentoo.org/viewtopic-t-797393.html
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Oct 15, 2009 2:28 am    Post subject: Reply with quote

Do you have dbus and hald started?
Code:
eselect rc show

Do you have your kernel configured correctly?
Code:
egrep '^[^#].*(EVDEV|AGP|FB|VESA|MTRR|SYSVIPC)' /usr/src/linux/.config


and post your emerge --info please
Back to top
View user's profile Send private message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Thu Oct 15, 2009 2:42 am    Post subject: Reply with quote

Yes, i have both dbus and hald started and sent to default runlevel.

My emerge --info:
Code:
Portage 2.1.6.13 (default/linux/amd64/10.0, gcc-4.3.2,
glibc-2.9_p20081201-r2, 2.6.30-hh2 x86_64)
=================================================================
System uname:
Linux-2.6.30-hh2-x86_64-AMD_Athlon-tm-_X2_240_Processor-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 13 Oct 2009 09:30:01 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf
/etc/env.d/etc/fonts/fonts.conf/etc/gconf /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/
http://www.las.ic.unicamp.br/pub/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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/local/portage/layman/berkano"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cdr cli consolekit cracklib crypt dri
fortran gdbm gnome gpm gtk hal iconv ipv6 isdnlog jpeg mmx modules
mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl
pppd python readline reflection sdl session spl sse sse2 sse3 ssl sysfs
tcpd truetype unicode xmmx xorg 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_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 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" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS


And the grep you posted:
Code:
# egrep '^[^#].*(EVDEV|AGP|FB|VESA|MTRR|SYSVIPC)'
/usr/src/linux/.config
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_MTRR=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_INPUT_EVDEV=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
CONFIG_AGP=y
CONFIG_AGP_AMD64=y
CONFIG_FB=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
CONFIG_FB_UVESA=m
CONFIG_FB_VESA=y
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5911
Location: Pomona, California.

PostPosted: Thu Oct 15, 2009 3:22 am    Post subject: Reply with quote

Post the results of lspci -n, lsusb, cat /proc/cpuinfo, and your /etc/fstab file, and I'll make sure your kernel is up to the task.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Frostwarrior
Apprentice
Apprentice


Joined: 02 Mar 2007
Posts: 165

PostPosted: Thu Oct 15, 2009 3:50 am    Post subject: Reply with quote

I sent the large pastes to pastebin to prevent the thread from
saturating :P

lspci -n:
http://pastebin.com/m68f88597

lsusb:
Code:
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


/proc/cpuinfo:
http://pastebin.com/m1faf3fc4

/etc/fstab:
Code:
/dev/hdb2               /boot           ext2           
noauto,noatime  1 2
/dev/hdb7               /               xfs             noatime         
0 1
/dev/hdb5               none            swap            sw             
0 0
/dev/hdb4               /home           ext3           
noauto,users,exec      0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro       
0 0
#/dev/fd0               /mnt/floppy     auto            noauto         
0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           
nodev,nosuid,noexec    0 0
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4608
Location: Saint Amant, Acadiana

PostPosted: Thu Oct 15, 2009 4:23 am    Post subject: Reply with quote

Quote:
When Xorg opens, i can see the screen (twm or even xfce4) without problem, but the keyboard and mouse doesn't work.

Are you sure it's actually hung? Maybe you have this infamous evdev problem and your mouse and keyboard just are not picked up?

Edit: You have INPUT_DEVICES="keyboard mouse", to make it work like this you have to add

Code:
Section "ServerFlags"
        Option       "AllowEmptyInput"   "false"
EndSection

to your xorg.conf.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 7905

PostPosted: Thu Oct 15, 2009 5:21 am    Post subject: Reply with quote

Frostwarrior wrote:
I didnt read this thread, so i'll put a link to the one I just created:
http://forums.gentoo.org/viewtopic-t-797393.html
Merged.
Back to top
View user's profile Send private message
waynedpj
n00b
n00b


Joined: 29 Sep 2009
Posts: 20

PostPosted: Thu Oct 15, 2009 8:27 pm    Post subject: Reply with quote

rickj wrote:
Now running flawlessly. The key is to use the latest ~arch gentoo-sources kernel 2.6.31-r2 and ~arch xf86-video-intel driver 2.9.0, with no xorg.conf at all.


thanks for the report. i finally had luck with no xorg.cong, gentoo-sources-2.6.30-r6, and xf86-video-intel-2.9.0. seems like the newer kernel did the trick, as i had tried the driver first. still trying out KMS, and looking for an rt (real time) kernel that works, but glad to be able to log in and work again.

rickj wrote:
My thanks to all on the forums who helped, and particularly to Remi Cardona on Bugzilla who found the solution - see the bug, now closed.


and thanks to you for your help!

peace
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5911
Location: Pomona, California.

PostPosted: Thu Oct 15, 2009 9:40 pm    Post subject: Reply with quote

Frostwarrior,

I forgot to have you send me your .config. Duh...it was a long night, and no bud in sight.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 785
Location: Greece

PostPosted: Sat Oct 17, 2009 9:09 pm    Post subject: Reply with quote

I've tried to update to the new xorg-server-1.6.3.901-r2 and I got a dozen of bugs mostly related to my keyboard and mouse. XDM is able to start a X session but TWM does not; I gave up and downgraded it again.I didn't tried hard though.

Before putting some real effort on it, I would like to know, what are the improvements of this new version? Mostly, I would like to know if, somehow, they fixed that problem with extra mouse buttons; until last version, you could only have up to 5 fully-featured mouse buttons, 2 axis and the 3 common ones, other extra mouse buttons used to have limited features.

Thanks in advance!
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Back to top
View user's profile Send private message
stmiller
Tux's lil' helper
Tux's lil' helper


Joined: 28 Feb 2006
Posts: 114

PostPosted: Mon Oct 19, 2009 7:56 pm    Post subject: Reply with quote

Jaglover wrote:


... to make it work like this you have to add

Code:
Section "ServerFlags"
        Option       "AllowEmptyInput"   "false"
EndSection

to your xorg.conf.


I would be careful about making that change as that causes another problem:

http://forums.gentoo.org/viewtopic-t-798094.html


I had to make my /etc/make.conf have these three things:
Code:
INPUT_DEVICES="evdev keyboard mouse"
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2244
Location: Dallas area

PostPosted: Mon Oct 19, 2009 8:04 pm    Post subject: Reply with quote

Holysword wrote:

Before putting some real effort on it, I would like to know, what are the improvements of this new version? Mostly, I would like to know if, somehow, they fixed that problem with extra mouse buttons; until last version, you could only have up to 5 fully-featured mouse buttons, 2 axis and the 3 common ones, other extra mouse buttons used to have limited features.

Thanks in advance!


I've got a five button mouse with tilting scroll wheel, effectively nine buttons,
they all work, but I use xbindkeys to make use of them.
Which can probably be done with an older version of X.

It depends on what you are using X for as to whether you upgrade.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.9.1-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 2244
Location: Dallas area

PostPosted: Mon Oct 19, 2009 8:06 pm    Post subject: Reply with quote

Jaglover wrote:
Quote:
When Xorg opens, i can see the screen (twm or even xfce4) without problem, but the keyboard and mouse doesn't work.

Are you sure it's actually hung? Maybe you have this infamous evdev problem and your mouse and keyboard just are not picked up?

Edit: You have INPUT_DEVICES="keyboard mouse", to make it work like this you have to add

Code:
Section "ServerFlags"
        Option       "AllowEmptyInput"   "false"
EndSection

to your xorg.conf.


The best way to see whether keyboard/mouse are detected is to look at the /var/log/Xorg.0.log file
Otherwise it's just hit and miss guessing.
_________________
Asus m5a99fx, FX 8320 - amd64-multilib, 3.9.1-zen, glibc-2.17, gcc-4.7.3-r1, eudev
xorg-server-1.16, openbox w/lxpanel, nouveau, oss4
Back to top
View user's profile Send private message
Holysword
l33t
l33t


Joined: 19 Nov 2006
Posts: 785
Location: Greece

PostPosted: Fri Oct 23, 2009 10:08 am    Post subject: Reply with quote

Anon-E-moose wrote:
I've got a five button mouse with tilting scroll wheel, effectively nine buttons,
they all work, but I use xbindkeys to make use of them.
Which can probably be done with an older version of X.

It depends on what you are using X for as to whether you upgrade.


I got my extra mouse buttons to work too, but with limited features. For example, I cannot set the extra buttons to functions related to dragging (I tried, and it just acts weird), like move or resize. Currently I am using E17 and it allows me to set this kinda of bind for my extra buttons.
_________________
"Nolite arbitrari quia venerim mittere pacem in terram non veni pacem mittere sed gladium" (Yeshua Ha Mashiach)
Back to top
View user's profile Send private message
bn
n00b
n00b


Joined: 21 Apr 2005
Posts: 34
Location: Riga, Latvia

PostPosted: Sun Nov 29, 2009 2:47 pm    Post subject: Reply with quote

Hello, everyone! I am quite lost with trying to get X to work. I had been using gentoo as my main system, but that was a few years ago, so I can basically be considered a newbie. I now decided to move back to gentoo since I couldn't really find a better distribution.

This is my problem: when trying to start X, the screen flashes and the video-card fan, which was running at full speed in console, becomes silent, the screen flashes as if changing resolutions, turns on but stays black (completely black, no mouse or text cursor). ctrl+alt+backspace doesn't work, neither does (ctrl)+alt+F1(2/3/..). I am, however, able to return to console login by pressing alt+sysrq+E.
This is on a freshly-installed amd64 system. The system was installed as per online gentoo handbook, followed by Xorg how-to from gentoo desktop documentation, using "Xorg -configure" auto-configured xorg.conf. I did take a look at it and tried changing some settings (namely removing the sections with screen depth less than 16, changing video driver and commenting out dri/glx modules, although Xorg seems to ignore these module settings), but didn't see anything that could, to my knowledge, result in such a behaviour. This result is the same with both nvidia and nv drivers, both with console framebuffer enabled and disabled, and both with manual kernel configuration and "genkernel all" kernel.
The video card is nvidia GeForce 9600 GT on PCI-express bus, connected to a display using DVI output. Gentoo amd64 LiveDVD 10.1 works without any problems without specifying any parameters at boot.
when using the "nv" driver, the last line in Xorg.0.log is this:
(II) NV(0): Setting screen physical size to 480 x 270
with "nvidia" driver, this:
(II) Initializing extension GLX

I will post the complete logs as soon as I reboot into liveDVD, as I cannot at the moment figure out how to do that in links2 console browser.

Any help is appreciated, and thank you in advance!

edit: here are the config files and logs
xorg.conf with "nv" driver: http://pastebin.com/m6d0b3b08
xorg.0.log with above xorg.conf: http://pastebin.com/m477a60a2
xorg.conf with "nvidia" driver: http://pastebin.com/m380b7fac
xorg.0.log with "nvidia" xorg.conf: http://pastebin.com/m1c228346

lspci output:
Code:
00:00.0 RAM memory: nVidia Corporation MCP55 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP55 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP55 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP55 USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation MCP55 USB Controller (rev a2)
00:04.0 IDE interface: nVidia Corporation MCP55 IDE (rev a1)
00:05.0 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:05.1 IDE interface: nVidia Corporation MCP55 SATA Controller (rev a2)
00:06.0 PCI bridge: nVidia Corporation MCP55 PCI bridge (rev a2)
00:06.1 Audio device: nVidia Corporation MCP55 High Definition Audio (rev a2)
00:08.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a2)
00:0f.0 PCI bridge: nVidia Corporation MCP55 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
02:00.0 VGA compatible controller: nVidia Corporation G94 [GeForce 9600 GT] (rev a1)


make.conf
Code:
CFLAGS="-march=k8-sse3 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j3"

USE="3dnow alsa bash-completion branding cdr css cups dvd dvdr jack kde mmx mmxext opengl qt3 qt4 smp sse sse2 vim-syntax -gtk -gnome -pcmcia"

INPUT_DEVICES="keyboard mouse evdev"
VIDEO_CARDS="nvidia"

the VIDEO_CARDS variable was changed and nvidia driver removed when testing with "nv" driver.
If any other files or outputs are needed, I will gladly provide them.
_________________
There is no knowledge that is not power.
Back to top
View user's profile Send private message
bn
n00b
n00b


Joined: 21 Apr 2005
Posts: 34
Location: Riga, Latvia

PostPosted: Sun Nov 29, 2009 4:52 pm    Post subject: Reply with quote

Hello again! Turns out that the problem described in my previous post was not at all what it seemed to be. Turns out that Xorg was working fine, just displaying black screen when run with command "X". I thought that this was supposed to show some kind of pattern. Running startx confirmed that both Xorg and nvidia-drivers is working. And mouse/keyboard weren't working because I hadn't started hald. Didn't realize I had to do it, since neither handbook nor Xorg configuration guide mentioned it.
Well, everything works now, so thanks for anyone reading my problem.
_________________
There is no knowledge that is not power.
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4663
Location: Theux (Belgium)

PostPosted: Sun Dec 27, 2009 4:32 pm    Post subject: Reply with quote

Hi guys.

It's been several months now I'm trying to fix various issues with one machine, a Core2 Duo which has an nvidia card (Ge Force 8800GT) xorg-server-1.6.5-r1 and xorg-x11-7.4-r1. I've tried a whole bunch of nvidia-drivers and any version above 173-14* make my machine freeze. I have to hard reset the computer with the reset button. Xorg log file is empty hence I never know what's wrong... No dependencies are broken BTW.

Is there anything I can do to be able to use more recent drivers? Is it worth trying?

The second issue is about UT2004. Some maps do really s***ck hard (even with all settings low) and don't understand at all what's going wrong. The machine *is* powerful enough (P5QL Pro motherboard with a Core2 Duo, E7300 @ 2.6GHz) and the resolution I'm using is not insanely high (i.e. 1680x1050).

Before I bought the nVidia 8800GT I had an nVidia 6600 (GTS IIRC) and the maps that now lag caused no trouble at all, given the machine was even less powerful (AthlonXP 3200+ running @ 1280x1024). So I'd like to check if the drivers are the problem.

Thanks a whole bunch in advance for any hint/suggestion.

EDIT: I've also tested Ubuntu with nvidia drivers version 183; same freeze. I've then tried to continuously sync my hard drive while starting X and here's what I have:
/var/log/Xorg.0.log:
X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-zen9 x86_64
Current Operating System: Linux luke 2.6.32-zen3 #2 ZEN SMP Mon Dec 28 00:01:49 CET 2009 x86_64
Build Date: 13 December 2009  11:32:25PM
 
   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: Mon Dec 28 00:44:01 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
(==) ModulePath set to "/usr/lib64/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
   If no devices become available, reconfigure HAL or disable AllowEmptyInput.
(II) Loader magic: 0xd20
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.4
   X.Org Video Driver: 5.0
   X.Org XInput driver : 4.0
   X.Org Server Extension : 2.0
(II) Loader running on linux
(++) using VT number 5

(--) PCI:*(0:1:0:0) 10de:0611:1acc:8582 nVidia Corporation G92 [GeForce 8800 GT] rev 162, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000cc00/128, BIOS @ 0x????????/131072
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
   [0] -1   0   0xffffffff - 0xffffffff (0x1) MX[B]
   [1] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [2] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [3] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [4] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [5] -1   0   0x00000000 - 0x00000000 (0x1) IX[B]
(II) LoadModule: "extmod"
(II) Loading /usr/lib64/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib64/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib64/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Server Extension
(II) NVIDIA GLX Module  190.42  Tue Oct 20 21:19:30 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib64/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 1.13.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  190.42  Tue Oct 20 20:42:04 PDT 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib64/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 1.0.0
   ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib64/xorg/modules//libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
   compiled for 1.6.5, module version = 1.0.0
   ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) resource ranges after probing:
   [0] -1   0   0xffffffff - 0xffffffff (0x1) MX[B]
   [1] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [2] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [3] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [4] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [5] -1   0   0x00000000 - 0x00000000 (0x1) IX[B]
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Dec 28 00:44:01 NVIDIA(0): Enabling RENDER acceleration
(II) Dec 28 00:44:01 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Dec 28 00:44:01 NVIDIA(0):     enabled.
(II) Dec 28 00:44:02 NVIDIA(0): NVIDIA GPU GeForce 8800 GT (G92) at PCI:1:0:0 (GPU-0)
(--) Dec 28 00:44:02 NVIDIA(0): Memory: 524288 kBytes
(--) Dec 28 00:44:02 NVIDIA(0): VideoBIOS: 62.92.31.00.3d
(II) Dec 28 00:44:02 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Dec 28 00:44:02 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Dec 28 00:44:02 NVIDIA(0): Connected display device(s) on GeForce 8800 GT at PCI:1:0:0:
(--) Dec 28 00:44:02 NVIDIA(0):     Philips 220CW (DFP-0)
(--) Dec 28 00:44:02 NVIDIA(0): Philips 220CW (DFP-0): 330.0 MHz maximum pixel clock
(--) Dec 28 00:44:02 NVIDIA(0): Philips 220CW (DFP-0): Internal Dual Link TMDS
(II) Dec 28 00:44:02 NVIDIA(0): Assigned Display Device: DFP-0
(==) Dec 28 00:44:02 NVIDIA(0):
(==) Dec 28 00:44:02 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) Dec 28 00:44:02 NVIDIA(0):     will be used as the requested mode.
(==) Dec 28 00:44:02 NVIDIA(0):
(II) Dec 28 00:44:02 NVIDIA(0): Validated modes:
(II) Dec 28 00:44:02 NVIDIA(0):     "nvidia-auto-select"
(II) Dec 28 00:44:02 NVIDIA(0): Virtual screen size determined to be 1680 x 1050
(--) Dec 28 00:44:02 NVIDIA(0): DPI set to (90, 91); computed from "UseEdidDpi" X config
(--) Dec 28 00:44:02 NVIDIA(0):     option
(==) Dec 28 00:44:02 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
   [0] -1   0   0xffffffff - 0xffffffff (0x1) MX[B]
   [1] -1   0   0x000f0000 - 0x000fffff (0x10000) MX[B]
   [2] -1   0   0x000c0000 - 0x000effff (0x30000) MX[B]
   [3] -1   0   0x00000000 - 0x0009ffff (0xa0000) MX[B]
   [4] -1   0   0x0000ffff - 0x0000ffff (0x1) IX[B]
   [5] -1   0   0x00000000 - 0x00000000 (0x1) IX[B]
(II) Dec 28 00:44:02 NVIDIA(0): Initialized GPU GART.
(II) Dec 28 00:44:02 NVIDIA(0): Setting mode "nvidia-auto-select"

I've tried several times and the log always ends at Setting mode "nvidia-auto-select". Go figure... And -- oh yes -- the same problem occurs with gentoo-sources-2.6.31-r[78] as well...
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
derdestiller
n00b
n00b


Joined: 08 Jan 2009
Posts: 17

PostPosted: Thu Jan 21, 2010 11:18 am    Post subject: Reply with quote

I experienced stability problems, too. Maybe try nvidia-settings -q -a "XVideoTextureSyncToVBlank=1" -a "XVideoBlitterSyncToVBlank=1", that solved the video-overlay related crashes for me.
Anyone ever tried a kernel downgrade to <=2.6.31 to solve stability problems?
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4663
Location: Theux (Belgium)

PostPosted: Fri Jan 22, 2010 9:42 pm    Post subject: Reply with quote

derdestiller wrote:
I experienced stability problems, too. Maybe try nvidia-settings -q -a "XVideoTextureSyncToVBlank=1" -a "XVideoBlitterSyncToVBlank=1", that solved the video-overlay related crashes for me.

Unfortunately I can't :( . My machine freezes as soon as X starts.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
Back to top
View user's profile Send private message
VinzC
Advocate
Advocate


Joined: 17 Apr 2004
Posts: 4663
Location: Theux (Belgium)

PostPosted: Mon Feb 22, 2010 12:22 pm    Post subject: Reply with quote

james23 wrote:
That Invidia set-up worked for me......thanks for that..


And I'm still stuck with older drivers...

:lol:
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root”
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
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next
Page 11 of 12

 
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