Re: xf86-video-intel: 2 commits - src/drmmode_display.c src/i830_exa.c src/i830.h src/i830_memory.c src/i830_video.c
On Tue, 2009-05-19 at 10:09 -0700, Eric Anholt wrote: commit 34660fd2df5d61b77ed7041d32ac29053fc94f5a Author: Eric Anholt e...@anholt.net Date: Fri May 15 23:21:05 2009 -0700 Only sync XV to vblank when drawing to the frontbuffer. This fixes emitting syncs to random pipes with boxes bigger than that pipe's vertical, leading to GPU hangs. Bug #21738 diff --git a/src/i830_video.c b/src/i830_video.c index 1c3a5b7..6fec8ff 100644 --- a/src/i830_video.c +++ b/src/i830_video.c @@ -2495,13 +2495,15 @@ I830PutImage(ScrnInfoPtr pScrn, if (sync) { BoxPtr box; int y1, y2; -int pipe, event, load_scan_lines_pipe; - - if (pI830-use_drm_mode) - pipe = drmmode_get_pipe_from_crtc_id(pI830-bufmgr, crtc); - else { - I830CrtcPrivatePtr intel_crtc = crtc-driver_private; - pipe = intel_crtc-pipe; + int pipe = -1, event, load_scan_lines_pipe; + + if (pPixmap != pScreen-GetScreenPixmap(pScreen)) { + if (pI830-use_drm_mode) + pipe = drmmode_get_pipe_from_crtc_id(pI830-bufmgr, crtc); + else { + I830CrtcPrivatePtr intel_crtc = crtc-driver_private; + pipe = intel_crtc-pipe; + } This seems to do the opposite of what the commit message says, i.e. only sync when not drawing to the front buffer. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Setting resolution of external monitor
Dear list, I have a problem setting up the resolution of my external monitor connected to the VGA output of my laptop. The graphics controller is: 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400 The laptop display has a native resolution of 1680x1050. The external screen as a (maximal) resolution of 1920x1080. I would like to be able to change the resolution to 1920x1080 and to see just a part of this on the laptop display. But xrandr does not let me do this: $ xrandr Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1920 x 1080 VGA_1 connected 1680x1050+0+0 478mm x 269mm 1680x1050 60.0*59.9 1400x1050 74.8 70.0 60.0 1280x1024 75.0 59.9 60.0 1440x900 74.9 60.2 60.0 1280x960 60.0 59.9 1280x800 60.0 1152x864 75.0 74.9 1280x768 60.0 1024x768 75.1 75.0 70.1 60.0 832x62474.6 800x60072.2 75.0 60.3 56.2 640x48075.0 72.8 72.8 75.0 66.7 60.0 59.9 720x40070.1 PANEL connected 1680x1050+0+0 331mm x 207mm 1680x1050 60.1*+ TV_SVIDEO disconnected DVI-D_1 disconnected You can find my xorg.conf here: http://pastebin.com/m4503905b The maximal resolution you see at the first line would be 1680x1050 if I would not specify Virtual 1920 1080 in xorg.conf. You also find Xorg.0.log here: http://pastebin.com/m7828c9eb Please note that there is a Modeline for the maximal resolution (1920x1080) of the external monitor (PL2209HD). Can someone explain me why I cannot select 1920x1080 as a resolution? Any hints what to do? Thank you very much! Kind regards, Oliver PS: Sorry for the copy of this message with missing subject. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Setting resolution of external monitor
Op 20-05-09 09:06, Oliver Block schreef: Dear list, I have a problem setting up the resolution of my external monitor connected to the VGA output of my laptop. The graphics controller is: 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400 The laptop display has a native resolution of 1680x1050. The external screen as a (maximal) resolution of 1920x1080. I would like to be able to change the resolution to 1920x1080 and to see just a part of this on the laptop display. But xrandr does not let me do this: $ xrandr Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1920 x 1080 VGA_1 connected 1680x1050+0+0 478mm x 269mm 1680x1050 60.0*59.9 1400x1050 74.8 70.0 60.0 1280x1024 75.0 59.9 60.0 1440x900 74.9 60.2 60.0 1280x960 60.0 59.9 1280x800 60.0 1152x864 75.0 74.9 1280x768 60.0 1024x768 75.1 75.0 70.1 60.0 832x62474.6 800x60072.2 75.0 60.3 56.2 640x48075.0 72.8 72.8 75.0 66.7 60.0 59.9 720x40070.1 PANEL connected 1680x1050+0+0 331mm x 207mm 1680x1050 60.1*+ TV_SVIDEO disconnected DVI-D_1 disconnected Can someone explain me why I cannot select 1920x1080 as a resolution? Any hints what to do? From what I understand you want panning. I would do it with this command: xrandr --output PANEL --mode 1680x1050 --panning 1920x1080 However, it requires xrandr 1.3, I don't know if your driver has already support for this new version. Eric begin:vcard fn;quoted-printable:=C3=89ric Piel n;quoted-printable:Piel;=C3=89ric org:Technical University of Delft;Software Engineering Research Group adr:HB 08.080;;Mekelweg 4;Delft;;2628 CD;The Netherlands email;internet:e.a.b.p...@tudelft.nl tel;work:+31 15 278 6338 tel;cell:+31 6 2437 9135 x-mozilla-html:FALSE url:http://pieleric.free.fr version:2.1 end:vcard ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
RE: Building Xorg on Solaris 8
Cheers Alan that fixed the problem. Make World completed successfully after a couple of other small issues, but now when I try to make install it fails running mkfontscale with a segmentation fault. Any ideas? Thanks, Greg -Original Message- From: alan.coopersm...@sun.com [mailto:alan.coopersm...@sun.com] Sent: 18 May 2009 16:58 To: Greg Huxley Cc: x...@freedesktop.org Subject: Re: Building Xorg on Solaris 8 Greg Huxley wrote: I'm trying to build X11R6.9 on Solaris 8 and it is failing on the following: An obsolete X release for an obsolete OS release? closefrom ../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86Events.o) Sorry - that's probably my fault - the closefrom() function was introduced in Solaris 9, but the check in the X11R6.9 code just checks for any SVR4 based Solaris release (i.e. Solaris 2.0 or later). I've not tried building on Solaris 8 in many years (since before X11R6.9 was out), but you should be able to work around this by editing xc/programs/Xserver/hw/xfree86/common/xf86Events.c and just deleting the closefrom() call. If you do crash and call pstack to print the stack trace to the log, you'll pass all of Xorg's open file descriptors to pstack, but that probably won't hurt it. -- -Alan Coopersmith- alan.coopersm...@sun.com Sun Microsystems, Inc. - X Window System Engineering Important Notice The information in this email is confidential and may be legally privileged. If you have reason to believe you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful and you are requested to contact the sender urgently and dispose of this e-mail. We make every effort to keep our network free from viruses. You should, however, check this e-mail, and any attachments to it, for viruses, as we will not be liable for direct, special, indirect or consequential damages as a result of any virus being passed on, or arising from alteration of the contents of this message by a third party. Company registration details, including registered office information, for Expro's principal UK companies can be found via the following link: www.exprogroup.com/UKregisteredoffices ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
RE: ATI +Gnome + CompizFusion = X crash
PABLO. Subject: Re: ATI +Gnome + CompizFusion = X crash From: mic...@daenzer.net To: slurpam...@hotmail.com Date: Mon, 18 May 2009 12:23:53 +0200 CC: x...@freedesktop.org On Sat, 2009-05-16 at 12:32 +, Felipe Lotas Asta wrote: Gnome 2.26.1 xorg-server 1.6.1-1 xorg-server-utils 7.4-6 compiz-fusion-plugins-main 0.8.2-1 compiz-fusion-plugins-extra 0.8.2-1 ATI Mobility Radeon X1400 xf86-video-ati 6.12.2-2 Which version of Mesa? The problem is that Compiz is very unstable. Some weeks ago it was working smoothly. Then came some Xorg, xf86-video-ati and Compiz updates all of a sudden and compiz started to crash very frequently, logging me out to GDM. Then came some more updates and thing has become better but still is crashing. Facts: 1. Starting Gnome session with Compiz-fusion but without Fusion-icon works for a while. Then, suddenly, X crashes and I get back to GDM. [...] 3. No error messages on Xorg.log. Are you sure you looked at the log file from the crashed X server? When another server starts afterwards, it moves the existing log file to Xorg.0.log.old. If there's really nothing about the crash in the log file, you can also check the gdm log file or the dmesg output. -- Earthling Michel Dänzer |http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg mesa 7.4.2-1 libgl 7.4.2-1 I've been running Compiz these two latest days to look for logs when it crashes, but surprisingly it is not crashing... besides I don't have too much time to spend with the computer this week... As soon as it crashes I'll write again with the logs. Thanks to all. _ Descárgate ahora el nuevo Internet Explorer 8 y ten a tu alcance todos los servicios de Windows Live ¡Gratis! http://ie8.msn.com/microsoft/internet-explorer-8/es-es/ie8.aspx___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Setting resolution of external monitor
Dear list, I have a problem setting up the resolution of my external monitor connected to the VGA output of my laptop. The graphics controller is: 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400 The laptop display has a native resolution of 1680x1050. The external screen as a (maximal) resolution of 1920x1080. I would like to be able to change the resolution to 1920x1080 and to see just a part of this on the laptop display. But xrandr does not let me do this: $ xrandr Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1920 x 1080 VGA_1 connected 1680x1050+0+0 478mm x 269mm 1680x1050 60.0*59.9 1400x1050 74.8 70.0 60.0 1280x1024 75.0 59.9 60.0 1440x900 74.9 60.2 60.0 1280x960 60.0 59.9 1280x800 60.0 1152x864 75.0 74.9 1280x768 60.0 1024x768 75.1 75.0 70.1 60.0 832x62474.6 800x60072.2 75.0 60.3 56.2 640x48075.0 72.8 72.8 75.0 66.7 60.0 59.9 720x40070.1 PANEL connected 1680x1050+0+0 331mm x 207mm 1680x1050 60.1*+ TV_SVIDEO disconnected DVI-D_1 disconnected You can find my xorg.conf here: http://pastebin.com/m4503905b The maximal resolution you see at the first line would be 1680x1050 if I would not specify Virtual 1920 1080 in xorg.conf. You also find Xorg.0.log here: http://pastebin.com/m7828c9eb Please note that there is a Modeline for the maximal resolution (1920x1080) of the external monitor (PL2209HD). Can someone explain me why I cannot select 1920x1080 as a resolution? Any hints what to do? Thank you very much! Kind regards, Oliver ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
[no subject]
Dear list, I have a problem setting up the resolution of my external monitor connected to the VGA output of my laptop. The graphics controller is: 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400 The laptop display has a native resolution of 1680x1050. The external screen as a (maximal) resolution of 1920x1080. I would like to be able to change the resolution to 1920x1080 and to see just a part of this on the laptop display. But xrandr does not let me do this: $ xrandr Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1920 x 1080 VGA_1 connected 1680x1050+0+0 478mm x 269mm 1680x1050 60.0*59.9 1400x1050 74.8 70.0 60.0 1280x1024 75.0 59.9 60.0 1440x900 74.9 60.2 60.0 1280x960 60.0 59.9 1280x800 60.0 1152x864 75.0 74.9 1280x768 60.0 1024x768 75.1 75.0 70.1 60.0 832x62474.6 800x60072.2 75.0 60.3 56.2 640x48075.0 72.8 72.8 75.0 66.7 60.0 59.9 720x40070.1 PANEL connected 1680x1050+0+0 331mm x 207mm 1680x1050 60.1*+ TV_SVIDEO disconnected DVI-D_1 disconnected You can find my xorg.conf here: http://pastebin.com/m4503905b The maximal resolution you see at the first line would be 1680x1050 if I would not specify Virtual 1920 1080 in xorg.conf. You also find Xorg.0.log here: http://pastebin.com/m7828c9eb Please note that there is a Modeline for the maximal resolution (1920x1080) of the external monitor (PL2209HD). Can someone explain me why I cannot select 1920x1080 as a resolution? Any hints what to do? Thank you very much! Kind regards, Oliver ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Setting resolution of external monitor
On May 20, 09 11:49:30 +0200, Éric Piel wrote: Op 20-05-09 09:06, Oliver Block schreef: The laptop display has a native resolution of 1680x1050. The external screen as a (maximal) resolution of 1920x1080. Can someone explain me why I cannot select 1920x1080 as a resolution? Any hints what to do? From what I understand you want panning. I would do it with this command: xrandr --output PANEL --mode 1680x1050 --panning 1920x1080 Not necessarily. Panning is certainly helpful, but the driver doesn't even detect the higher resolution. Given you have a dead old version of radeonhd, please try the current 1.2.5 one. It is also probably that you stumble over an randr bug in the Xserver, as 1.4.2 is also ancient. To get more informative output in the log also try starting X with -logverbose 7. If the newer versions don't help, try posting on the radeonhd mailing list - see http://www.x.org/wiki/radeonhd Matthias -- Matthias Hopf mh...@suse.de ____ __ Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ m...@mshopf.de Phone +49-911-74053-715 __) |_| __) |__ R D www.mshopf.de ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
What does #ffff## in xauth do (apart from breaking my X forwarding...)
Hi all, I've been struggling with getting my X forwarding over SSH working. After some time, I found that there were two entries in my .Xauthority file that have ### as a hostname, which break forwarding. The relevant entries in my .Xauthority files were: ###: MIT-MAGIC-COOKIE-1 snipped ###: XDM-AUTHORIZATION-1 snipped localhost/unix:10 MIT-MAGIC-COOKIE-1 snipped From the strace output, it seems that xlib always sends the XDM-AUTHORIZATION-1 entry, even when DISPLAY=localhost:10.0. From the xauth manpage, I couldn't find what these ### entries are supposed to do, let alone why they break my X/ssh forwarding. I'm apparently not the first to spot this, since I've spotted a script [1] which deliberately strips these entries from a .Xauthority file for this very reason. Can anyone shed some light on what happens here? Gr. Matthijs (Please CC me, I'm not subscribed) [1]: http://isg.ee.ethz.ch/tools/isgtc/index.cgi?page=module_source;module=xauthclean;source=xauthclean signature.asc Description: Digital signature ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Building Xorg on Solaris 8
Sorry, I don't remember any known segfaults in mkfontscale, and the hundreds of thousands of lines of code involved through mkfontscale, libXfont, and libfreetype make it infeasible to guess where an unknown bug may lie without any information. -Alan Coopersmith- alan.coopersm...@sun.com Sun Microsystems, Inc. - X Window System Engineering Greg Huxley wrote: Cheers Alan that fixed the problem. Make World completed successfully after a couple of other small issues, but now when I try to make install it fails running mkfontscale with a segmentation fault. Any ideas? Thanks, Greg -Original Message- From: alan.coopersm...@sun.com [mailto:alan.coopersm...@sun.com] Sent: 18 May 2009 16:58 To: Greg Huxley Cc: x...@freedesktop.org Subject: Re: Building Xorg on Solaris 8 Greg Huxley wrote: I'm trying to build X11R6.9 on Solaris 8 and it is failing on the following: An obsolete X release for an obsolete OS release? closefrom ../../programs/Xserver/hw/xfree86/common/libxf86.a(xf86Events.o) Sorry - that's probably my fault - the closefrom() function was introduced in Solaris 9, but the check in the X11R6.9 code just checks for any SVR4 based Solaris release (i.e. Solaris 2.0 or later). I've not tried building on Solaris 8 in many years (since before X11R6.9 was out), but you should be able to work around this by editing xc/programs/Xserver/hw/xfree86/common/xf86Events.c and just deleting the closefrom() call. If you do crash and call pstack to print the stack trace to the log, you'll pass all of Xorg's open file descriptors to pstack, but that probably won't hurt it. ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Cursor freeze with XInput2
Hello everyone, I'm running Peter's development branch with MPX/Xinput2, and mostly everything is working fine. However, I currently can't use gimp or inkscape. As soon as I click somewhere in the drawing, the cursor freezes and can't be moved anymore (regardless of whether I have only one or several pointers active). I can use the keyboard to switch to the console and kill gimp or inkscape, briefly making X usable again, but this will usually result in a X server crash some seconds later. Does anybody have a suggestion? I'm a bit reluctant to rebuild everything from git HEAD lest I break something else.. Thanks, Yours, Florian -- 0666 - Filemode of the Beast ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Current tinderbox regression (pixman, ppc only)
Chris Ball c...@laptop.org writes: Hi, pixman-vmx.h:40: error: 'vmx_fast_path_array' undeclared here (not in a function) I think this patch is sufficient; the assignment happens in pixman-vmx.c. Yeah, please push. Thanks, Soren ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: [PATCH 2/3] vmscan: make mapped executable pages the first class citizen
Hi list, On Wed, May 20, 2009 at 10:56:07PM +0800, Wu Fengguang wrote: On Wed, May 20, 2009 at 10:47:31PM +0800, Andi Kleen wrote: One scenario that might be useful to test is what happens when some very large processes, all mapped and executable exceed memory and Good idea. Too bad I may have to install some bloated desktop in order to test this out ;) I guess the pgmajfault+pswpin numbers can serve as negative scores in that case? I would just generate a large C program with a script and compile and run that. The program can be very dumb (e.g. only run a gigantic loop), it just needs to be large. Just don't compile it with optimization, that can be quite slow. And use multiple functions, otherwise gcc might exceed your memory. Hehe, an arbitrary C program may not be persuasive..but I do have some bloated binaries at hand :-) -rwsr-sr-x 1 root wfg 36M 2009-04-22 17:21 Xorg lrwxrwxrwx 1 wfg wfg 4 2009-04-22 17:21 X - Xorg -rwxr-xr-x 1 wfg wfg 39M 2009-04-22 17:21 Xvfb -rwxr-xr-x 1 wfg wfg 35M 2009-04-22 17:21 Xnest I would like to create a lot of windows in gnome, and to switch between them. Any ideas on scripting/automating the switch window actions? Thanks, Fengguang ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
SIGSEGV with KMS
(this is a re-post of a problem I was having yesterday, but today it's more accurate and has better details, and a worthwhile subject). I'm trying to get KMS working on my centrino laptop. The problem that I'm having is that a moment after X starts (I get the mouse cursor for a bit under a second), X crashes with this backtrace: Backtrace: 0: X(xorg_backtrace+0x26) [0x4e0f16] 1: X(xf86SigHandler+0x39) [0x48c539] 2: /lib/libc.so.6 [0x7f1b759861d0] 3: /usr/lib/libdrm_intel.so.1 [0x7f1b747fe2c4] 4: /usr/lib/libdrm_intel.so.1 [0x7f1b747fe1e4] 5: /usr/lib/libdrm_intel.so.1 [0x7f1b747fe68c] 6: /usr/lib64/xorg/modules/drivers//intel_drv.so(intel_batch_flush+0xa2) [0x7f1b74a21bf2] 7: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7f1b74a4912b] 8: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7f1b74a5dcaf] 9: /usr/lib64/xorg/modules/drivers//intel_drv.so [0x7f1b74a5e0b2] 10: X [0x520eaf] 11: X [0x4f99e7] 12: X [0x4fa875] 13: X(Dispatch+0x334) [0x448ab4] 14: X(main+0x415) [0x430735] 15: /lib/libc.so.6(__libc_start_main+0xf4) [0x7f1b759734a4] 16: X [0x42fb39] Fatal server error: Caught signal 11. Server aborting I've tried with kernels 2.6.29 and 2.6.30rc6, tiling enabled and disabled. My software versions are: x11-base/xorg-server-1.5.3-r6 x11-drivers/xf86-video-intel-2.7.1 libdrm developement, but also tried 2.4.11. lspci reports the video card as Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller; the laptop is a Sony Vaio Z590, if that helps any. I also notice that when I startx, the screen goes blank for a moment before it brings up the graphical mode; I thought that KMS was supposed to eliminate that flicker, so maybe I'm doing something wrong? My xorg.conf, config.gz, and Xorg.0.log are all attached. Xorg.0.log Description: Binary data config.gz Description: GNU Zip compressed data xorg.conf Description: Binary data ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Re: Setting resolution of external monitor
Dear Éric, On Wed, May 20, 2009 at 11:49:30AM +0200, Éric Piel wrote: [...] From what I understand you want panning. I would do it with this command: xrandr --output PANEL --mode 1680x1050 --panning 1920x1080 I cannot try this actually, since I only have xrandr 1.2 However, it requires xrandr 1.3, I don't know if your driver has already support for this new version. I an not really sure what panning means. Would this mean that the laptop panel would display the part of the screen where the mouse moves (like if it would be virtual) and the external monitor would display the whole screen in 1920x1080? This would be okay, but if the laptop would display a fixed area of the screen it would also be okay. Mainly I want that the external screen runs at 1920x1080 and I do not know how to do this, since xrandr does not list this mode. Kind regards, Oliver ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg
Joystick input driver and multimedia key events
Is it possible to use joystick driver to generate multimedia key events? I wanted to make i.e. buttons 1 and 3 to be volume up and volume down like this: Option MapButton1key=0x1008,0xff13 Option MapButton3key=0x1008,0xff11 I got codes 0x1008ff13 and 0x1008ff11 from xev (I didn't found appropriate constants in /usr/include/X11/keysymdef.h). I tried to put 32-bit numbers, but I got error about this, so i tried the above, but got nothing. If my approach is wrong, how could I get multimedia key actions to work with joystick driver? I'm using Ubuntu 9.04, joystick driver 1.4.0 and XOrg 7.4. I'm successfully using joystick driver to emulate mouse. Best regards, Žarko ___ xorg mailing list xorg@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/xorg