Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234699 - x11-drivers/xf86-video-radeonhd-1.2.1: Only one resolution on panel breaks external displays.
Summary: x11-drivers/xf86-video-radeonhd-1.2.1: Only one resolution on panel breaks ex...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Jeffrey Gardner (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-14 08:06 UTC by Jakob Schiotz
Modified: 2008-09-30 00:03 UTC (History)
1 user (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 Jakob Schiotz 2008-08-14 08:06:22 UTC
Perhaps this bug should be posted upstream.  If so, please direct me
to the correct place, as I failed to find it.

I recently switched from x11-drivers/ati-drivers to
x11-drivers/xf86-video-radeonhd.  But I have this problem: My laptop
(Lenovo Thinkpad T60 with a Mobility Radeon X1400) has a build-in
panel with 1400*1050 resolution.  With the proprietary driver, I could
switch to lower resolutions with xrandr / krandrtray, but with the
open driver, only 1400*1050 is supported.  This causes two problems
with external displays:

1. I cannot use an attached projector without first disabling the
   panel, then enabling the projector.  If I try to enable the
   projector with 'xrandr --output VGA_1 --auto' without first
   disabling the panel I get this error:

X Error of failed request:  BadMatch (invalid parameter attributes)   
Major opcode of failed request:  155 (RANDR)   
Minor opcode of failed request:  21 ()   
Serial number of failed request:  17   
Current serial number in output stream:  17

2. When I boot the laptop docked with an external flatscreen
   (1280x1024) attached, X comes up with both the panel and the
   external display turned on, and in resolution 1400x1050 with only
   part of the screen shown.  It should IMHO come up with only the
   external display enabled, as did the proprietary driver.

   I work around this by running a script in
   /usr/kde/3.5/share/config/kdm/Xsetup using xrandr to disable the
   panel if the external display is connected.  Unfortunately, by the
   time this script is run, X has already got its resolution and
   screen size from the panel, so I get huge fonts until I log out and
   in again.

I have no problem living with problem 2, but problem 1 is really
annoying as I am teaching (Don't get me wrong: I think the guys
developping this drivers are doing an excellent and difficult job).


Best regards

Jakob


Reproducible: Always




# emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
Timestamp of tree: Wed, 13 Aug 2008 04:46:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r14, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 arts asf atlas bash-completion berkdb bluetooth bzip2 cddb cdparanoia cdr cli cracklib crypt cups dri dvd dvdr dvdread emacs encode firefox foomaticdb fortran gcj gd gdbm gif gimp gpm gs iconv idn imagemagick imap isdnlog java jbig jpeg jpeg2k kdeenablefinal kdexdeltas maildir mbox midi mime mjpeg mmap mmx mp3 mpeg mpi mudflap multilib ncurses netcdf nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png ppds pppd python qt3 quicktime readline reflection scanner session smp spell spl sse sse2 ssl sysfs tcpd tetex tiff tk unicode usb vcd wxwindows xine xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
15:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
Comment 1 Jeffrey Gardner (RETIRED) gentoo-dev 2008-08-14 12:44:30 UTC
Perhaps you're seeing https://bugs.freedesktop.org/show_bug.cgi?id=14500
Comment 2 Jakob Schiotz 2008-08-15 14:51:50 UTC
Thanks for your comment.  I don't think that problem is relevant, but my problem number 2 (and possibly 1 as well) is this bug, that seems to have been fixed in their source control system.  Perhaps I can try I snapshot (shudder!)

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

I will investigate problem 1 further, an old xrandr might contribute.  I will report back next week.

If I find a real problem, should I report it here or at bugs.freedesktop.org (or both)?

/Jakob
Comment 3 Jeffrey Gardner (RETIRED) gentoo-dev 2008-08-16 05:03:42 UTC
I have an ebuild that will install the latest svn. It's in my overlay. You can get it if you have layman by "layman -a je_fro" and then emerge xf86-video-radeonhd-9999
Comment 4 Jakob Schiotz 2008-08-19 11:52:33 UTC
With your ebuild, and the version of the driver from yesterday, the problems seem to be solved.  I could then add 
        Option      "RROutputOrder" "DVI-D_1 PANEL"
to xorg.conf, as mentioned in the bug referred in your comment #1.  And everything works!


Thank you very much indeed!

/Jakob


PS. I have not closed the bug since the fix is not in the Gentoo tree yet.  Is that the correct procedure?


Comment 5 Jeffrey Gardner (RETIRED) gentoo-dev 2008-09-30 00:03:00 UTC
Closing :)
Thanks!