Created attachment 28145 [details] Log with Dell plugged in to VGA from the start I get drm/dri-errors to X-log when starting my computer with external display plugged in. The desktop resolution ends up being 1024x768 and it cannot be changed. System info: Chipset in use: 915GM (Laptop: Acer Travelmate 4101WLMi, Centrino with Pentium-M) uname - m: i686 xf86-video-intel-2.8.0 x11-base/xorg-server-1.6.2-r1 media-libs/mesa-7.5-r2 "Mesa: Mesa 7.5 DEBUG build Jul 27 2009 20:39:10" x11-libs/libdrm-2.4.11 kernel: 2.6.30-gentoo-r4 Linux distribution: Gentoo Machine or mobo model: Acer Travelmate 4010WLMi Display connectors: in use: VGA, LVDS; not used currently TV-out (S-video) VGA: Dell 2007FP, 1600x1200 4:3 display. LVDS: 1280x800 laptop panel Reproduce steps: Plug in external display (VGA). Reboot the computer (cold/warm reboot, restarting X is not enough) The computer starts in 1024x786-mode and it cannot be changed with xrandr. The screen flashes every time xrandr is run though and xrandr reports correct detected resolution. How to use "normally": Unplug VGA connector, reboot and let X start up fully, connect external display to VGA (it is automatically in clone mode). Use xrandr to shut off LVDS and change VGA to 1600x1200. PS. I have access to Dell 1503FP (1024x786) if this is thought to be a problem with this particular display.
Created attachment 28146 [details] Log when VGA is not connnected to anything
Created attachment 28147 [details] xorg.conf in use. This (xorg.conf) is quite empty currently and even without config the situation stays the same.
Errors in short: ~ $ grep EE Xorg.0.log.withDellPluggedAndOn Current Operating System: Linux pallokala 2.6.30-gentoo-r4 #2 PREEMPT Wed Jul 29 09:05:55 EEST 2009 i686 (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (II) Loading extension MIT-SCREEN-SAVER (EE) intel(0): [drm] Failed to open DRM device for : No such file or directory (EE) intel(0): Failed to become DRM master. (EE) intel(0): Failed to initialize kernel memory manager
are you using a prestine gentoo build? if so, please tell us where can we download it. And, have you tried LiveCD from other distros?
I'm using pristine ebuild from portage: http://packages.gentoo.org/package/x11-drivers/xf86-video-intel The ebuild is here if you need it: http://viewcvs.gentoo.org/viewcvs.py/gentoo-x86/x11-drivers/xf86-video-intel/xf86-video-intel-2.8.0.ebuild?rev=1.1&view=markup AFAIK there are no patches yet added to 2.8.0. I haven't tried this with any other liveCD, but I saw similar problems with both 2.7.99.901 and .902. And most probably with 2.7.1. I can try Ubuntu 9.04 tonight/tomorrow.
ping~. Better to try Karmic Alpha3, if you choose Ubuntu ...
ping~
I'm currently downloading Karmic Koala Alpha3 and will test it tonight. The Alpha4 is released in three days so I can also try it this week.
I'm currently running Ubuntu Karmix Koala Alpha3 and xrandr seems to be working. I booted up and the display was 1024x768, but I could change the resolution to 1600x1200 and turn the LVDS-panel off with commands: ubuntu@ubuntu:~$ xrandr --output LVDS1 --off ubuntu@ubuntu:~$ xrandr --output VGA1 --mode 1600x1200 Before this was not possible when external display was plugged in. The only major difference with this (Ubuntu) compared to my system is the kernel version. Mine is 2.6.30-gentoo-r4 while Alpha3 has 2.6.31-3. I didn't find any other major differences. DRM-settings show up in log successfully like: drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 8, (OK) drmOpenByBusid: drmOpenMinor returns 8 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 Next thing I will do is to upgrade my kernel to 2.6.31-something and see if this problem goes away.
Created attachment 28486 [details] Xorg log of Karmic Koala Alpha3 This is the Xorg.0.log of Ubuntu Karmic Koala Alpha3.
Created attachment 28487 [details] dmesg of Karmic Koala Alpha3 dmesg of Ubuntu Karmic Koala Alpha3 booting up with Dell plugged in.
I just emerged and compiled the most recent vanilla kernel 2.6.31-rc5 and now everything is working as it should. The X.log has the following lines: drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 9, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 9, (OK) drmOpenByBusid: drmOpenMinor returns 9 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 I think this bug can be closed now, because new kernel fixes this problem. On the other hand glxgears reports now: ~ $ glxgears Mesa: Mesa 7.5 DEBUG build Jul 27 2009 20:39:10 Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable 4271 frames in 5.0 seconds = 854.177 FPS Not Karmic Koala and neither the earlier 2.6.30 displayed that error IIRC. But it is in no means fatal. Other interesting point is that the Karmic Koala reported 4200fps while I get only 800fps, but it is probably because my system has a lot more background programs running. Thanks for your time. :)
*** Bug 22976 has been marked as a duplicate of this bug. ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.