Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183721 - xorg-server-1.3: desktop does not resize with RandR
Summary: xorg-server-1.3: desktop does not resize with RandR
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2007-06-30 11:37 UTC by Sascha Lucas
Modified: 2007-10-14 04:55 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Lucas 2007-06-30 11:37:01 UTC
after upgrading from kde 3.5.6 to 3.5.7 the desktop does not resize to fit roteted screen.

Normal orientation of screen:
  ----- 
 |     | 
 |     | 
  ----- 

left orientation (right part is black, top part to big):
  ----- 
 |    || 
 |    || 
  -----

xorg video driver is nvidia; alternate WM (fluxbox) works.

very old similar kde-bug: https://bugs.kde.org/show_bug.cgi?id=112294

# emerge --info
Portage 2.1.3_rc6 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.21-gentoo-r2 i686)
=================================================================
System uname: 2.6.21-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 29 Jun 2007 07:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi aiglx alsa arts asf audiofile bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo caps cdparanoia cdr cisco cli cpudetection cracklib crypt css cups curl dbus divx dlloader dmi dmx dri dv dvd dvdr dvdread emboss encode evo exif fbcon ffmpeg firefox flac fortran gdbm gif gimp glitz gpgme gphoto2 gpm gs gstreamer gtk hal hbci iconv idn ieee1394 imagemagick imap imlib ipv6 irda isdnlog java jpeg kde kdeenablefinal latex lcms libg++ logitech-mouse logrotate lzo mad mbox midi mikmod mmx mmxext mng mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ofx ogg opengl openmp oss pam pcmcia pcre pdf perl png pop ppds pppd python qt3 qt4 quicktime rdesktop readline real realmedia reflection samba sasl scanner sdl session slang smime smtp spell spl ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb utempter vnc vorbis wifi win32codecs wmf wmp x264 x86 xcomposite xine xinerama xml xml2 xorg xv xvid xvmc 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse vmmouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="mach64 radeon dummy fbdev nv nvidia vesa vga vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wulf Krueger (RETIRED) gentoo-dev 2007-06-30 14:35:28 UTC
Can you reproduce the problem when using the F/OSS nv driver? Using the closed-source nvidia driver, I can reproduce the problem on KDE 3.5.7.
Comment 2 Sascha Lucas 2007-06-30 14:50:56 UTC
(In reply to comment #1)
> Can you reproduce the problem when using the F/OSS nv driver? Using the

same thing with nv-driver. it's not the X-screen that works wrong (mouse courser can move the whole screen and fluxbox works), just a KDE problem... I think.
Comment 3 Marcus D. Hanwell (RETIRED) gentoo-dev 2007-07-18 08:15:15 UTC
This looks very much like an upstream issue and I am not sure we have the resources to patch this without help.
Comment 4 Sascha Lucas 2007-07-18 10:33:10 UTC
(In reply to comment #3)
> This looks very much like an upstream issue and I am not sure we have the
> resources to patch this without help.

ok. I've sent a comment to the KDE bug listed above. Let's see what will happen ... 
Comment 5 Sascha Lucas 2007-07-19 11:21:06 UTC
(In reply to comment #4)

> ok. I've sent a comment to the KDE bug listed above. Let's see what will happen

Robert Gerlach posted a patch (http://bugs.kde.org/attachment.cgi?id=21183&action=view). I'd like to test it, if no one else would, but I need a little bit help which eclass to modify and perhaps how.
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-07-21 19:23:31 UTC
(In reply to comment #5)
> (In reply to comment #4)
> 
> > ok. I've sent a comment to the KDE bug listed above. Let's see what will happen

It didn't fix it for me, see my screenshots at upstream bug.
 
> Robert Gerlach posted a patch
> (http://bugs.kde.org/attachment.cgi?id=21183&action=view). I'd like to test it,
> if no one else would, but I need a little bit help which eclass to modify and
> perhaps how.

Not eclass, but the qt ebuild. For example:
Index: qt-3.3.8-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.8-r2.ebuild,v
retrieving revision 1.10
diff -u -B -r1.10 qt-3.3.8-r2.ebuild
--- qt-3.3.8-r2.ebuild  30 May 2007 11:49:19 -0000      1.10
+++ qt-3.3.8-r2.ebuild  21 Jul 2007 19:22:19 -0000
@@ -118,7 +118,7 @@
        epatch ${FILESDIR}/0038-dragobject-dont-prefer-unknown.patch
        epatch ${FILESDIR}/0044-qscrollview-windowactivate-fix.diff
        epatch ${FILESDIR}/0047-fix-kmenu-widget.diff
        epatch ${FILESDIR}/0048-qclipboard_hack_80072.patch
+       epatch ${FILESDIR}/randr.patch

        # ulibc patch (bug #100246)
        epatch ${FILESDIR}/qt-ulibc.patch
Comment 7 Sascha Lucas 2007-07-22 20:12:13 UTC
(In reply to comment #6)
> It didn't fix it for me, see my screenshots at upstream bug.

I've also tried the qt-patch and it works for me. also the kicker behaves right. can't reproduce your problem.

> Not eclass, but the qt ebuild. For example:

thanks. It toke me some time until I noticed that this was a qt patch and not a KDE one. Can the patch order have an influence? I put the randr patch after utf8-bug-qt3.diff.
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2007-07-26 11:46:45 UTC
O.k., if I read this right, all comes down to 

https://bugs.freedesktop.org/show_bug.cgi?id=2965


so it's X11 turf.
Comment 9 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-07-26 13:11:07 UTC
This patch, applied to xorg-server-1.3.0.0 fixed everything for me, including kicker panels. Dunno why Robert Gerlach says you need to revert this patch...

http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=c10df5b967d4da4e11786520317e2917de5541fa
Comment 11 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-09-24 18:31:41 UTC
BTW xorg-server-1.4 is fine, I also checked the patch is indeed applied in its sources...
Comment 12 Christian Schmitt 2007-09-24 22:27:33 UTC
So as long as 1.4 is still marked unstable, can we make an 1.3.0.0-r1 and release it?
Comment 13 Christian Schmitt 2007-09-24 23:46:56 UTC
(In reply to comment #9)
> This patch, applied to xorg-server-1.3.0.0 fixed everything for me, including
> kicker panels. Dunno why Robert Gerlach says you need to revert this patch...
> 
> http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commit;h=c10df5b967d4da4e11786520317e2917de5541fa
> 

I applied it as well an it resolves the whole problem. Should definately go into the tree.
Comment 14 Donnie Berkholz (RETIRED) gentoo-dev 2007-10-14 04:55:00 UTC
Fixed in xorg-server-1.3.0.0-r2, thanks!