freeze and Window Manager problems in standalone X11 app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-graphics-drivers (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: xorg
The X11 app from http://
The app displays disk usage. It is "read-only": no write to disk, no unlink. It is "standalone": uses only libX11, no toolkit, no software framework. Both binary (74KB) and source are given. To compile today, this small patch is needed:
--- old-duv-2.0/duv.c 2005-11-01 14:51:21.000000000 -0800
+++ new_duv-2.0/duv.c 2010-12-14 16:08:29.242904002 -0800
@@ -5771,11 +5771,19 @@
}
}
+#if 0 /*{*/
static _syscall3(int, getdents64,
unsigned, fd,
struct dirent64 *, di64p,
unsigned, length
);
+#endif /*}*/
+#include <sys/syscall.h>
+
+static int getdents64(unsigned fd, struct dirent64 *di64p, unsigned length)
+{
+ return syscall(
+}
static int
scan_one_dir(int fd_dir, int const jdev, int const jdir)
--- old-duv-
+++ new_duv-
@@ -1,9 +1,9 @@
-CFLAGS = -Wall -O -I. -DDATE=`date +\"%Y-%m-%d\"` -g -march=i586 -mtune=i686
+CFLAGS = -m64 -Wall -O -I. -DDATE=`date +\"%Y-%m-%d\"` -g
-ARCH_DEP=
ARCH_DEP=
ARCH_DEP=
ARCH_DEP=
+ARCH_DEP=
duv: duv.o hilbert.o $(ARCH_DEP)
$(CC) $(CFLAGS) -o duv duv.o hilbert.o $(ARCH_DEP) \
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: xorg 1:7.5+6ubuntu3b1
ProcVersionSign
Uname: Linux 2.6.37-7-generic x86_64
NonfreeKernelMo
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 260.19.21 Thu Nov 4 21:16:27 PDT 2010
GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.1-12ubuntu1)
Architecture: amd64
Date: Wed Dec 15 08:56:45 2010
DkmsStatus: nvidia-current, 260.19.21, 2.6.37-7-generic, x86_64: installed
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
Lsusb:
Bus 002 Device 004: ID 05ac:020b Apple, Inc. Pro Keyboard [Mitsumi, A1048/US layout]
Bus 002 Device 003: ID 046d:c019 Logitech, Inc. Optical Tilt Wheel Mouse
Bus 002 Device 002: ID 05ac:1003 Apple, Inc. Hub in Pro Keyboard [Mitsumi, A1048]
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: FUJITSU SIEMENS MS-7125
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
dmi.bios.date: 01/16/2006
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: MS-7125
dmi.board.vendor: FUJITSU SIEMENS
dmi.board.version: 1.0
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: MS-7125
dmi.product.
dmi.sys.vendor: FUJITSU SIEMENS
glxinfo: Error: [Errno 2] No such file or directory
system:
distro: Ubuntu
codename: natty
architecture: x86_64
kernel: 2.6.37-7-generic
affects: | xorg (Ubuntu) → nvidia-graphics-drivers (Ubuntu) |
The problem has gone away after "apt-get dist-upgrade; apt-get update; apt-get upgrade" which upgraded more than 100 packages and included a dkms build for nvidia. "dpkg --list" now reports: 173-modaliases 173.14.28-0ubuntu1 96-modaliases 96.43.19-0ubuntu2 current- modaliases 260.19.21-0ubuntu1
ii nvidia-
ii nvidia-
ii nvidia-common 0.2.24build1
ii nvidia-current 260.19.21-0ubuntu1
ii nvidia-
ii nvidia-settings 260.19.21-0ubuntu2