Re: [XFree86] external crt on i855 laptop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, on 02/05/04 10:55, Luca Capello wrote: config, just ask. BTW, of course I suffer from the unavailability of 1400x1050 in the BIOS, so I am using 1280x1024 for now. Try enabling AGPgart/DRM/DRI. making more tests, I found that you don't need AGPgart/DRM to have resolution 1024x768, just the 'i810' X driver. Sorry for my mistake. Thx, bye, Gismo / Luca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAJRqCVAp7Xm10JmkRAhpEAJ9b1vcE9fveG9tKtZUNjJAtbPxyNwCfe5Hz FqrtYPySKJo6WQu2bIpwj3E= =m7zt -END PGP SIGNATURE- ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
Re: [XFree86] external crt on i855 laptop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, on 02/06/04 21:54, Luca Capello wrote: In order to use the CRT, this *must* be connected when X starts and you should 'startx' from a console *on* the CRT (I mean, boot on console, switch to CRT with Fn+F8 and then log in and 'startx'). well, this isn't completely correct: in fact, when I come at work, I just switch to the CRT with Fn+F8 when the 'lilo menu' appears and automatically I get my GNOME 2.4 at 1600x1200 on the external CRT. I made more and deeper tests, here the results... - - using the 'vesafb' or 'nofb' for the console doesn't change the behaviour of 'i810switch', which enables the CRT, but the screen on CRT is flow and you can't use it - - 'fbdev' driver on X - -- let me correctly switch with Fn+F8, but the screen isn't usable at all, due to the fact that you've only a set of colors (purple and some red and green). - - 'vesa' driver on X - - 1) if I 'startx' from LCD, with Fn+F8 I can successfully switch to [EMAIL PROTECTED] and the contrary without no 'top-garbage' bands or something similar. This isn't the case for 800x600 or 640x480, where the screen is unusable: I get a lot of lines coming from all the windows I've opened on GNOME 2.4. 2) if I 'startx' from the CRT, however, I can't swtich to LCD with Fn+F8, as I get no screen or a lot of garbage/lines coming from the other windows (actually, the behaviour varies with the resolution I've on the CRT before switching). In this case, switching to a console and then back to X solves the problem. - - 'i810' driver on X - - Even if I 'startx' from LCD, I get the problem described by Lieven Buts: == on 02/05/04 09:02, Lieven Buts wrote: When I use the Fn-F8 key combination to switch between the on-board LCD and the external monitor on the VGA port, the entire display moves down by about 50 pixels, and the upper band of the screen is filled with garbage. The mouse cursor doesn't move with the screen contents, leaving it out of vertical sync. Switching to a text console (Ctrl-Alt-F1) and back (Alt-F7) restores the display to normal. == So, IMHO there're 2 problems: - - one is the Fn+F8 switch, I mean, we can't have LCD CRT LCD+CRT. This is strange, because IIRC an ASUS M2N user privately reported me that he can use LCD+CRT on his machine (which is quite the same as the ASUS M3N, Intel Centrino + Intel 82855GM). I can dig in my mail archive to find out that user and his mail, if necessary. - - the other problem is the 'i810' X driver, which doesn't let you switch to CRT and the contrary (while with the 'vesa' driver you can). Possible solutions? Thx, bye, Gismo / Luca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAJTF+VAp7Xm10JmkRApY+AJ91UEEzUEbou9Fm0vbxjv9X/NsZJgCbBXDc eK/8jbIZDnkCmXY1JECW2Zs= =XopF -END PGP SIGNATURE- ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
Re: [XFree86] external crt on i855 laptop
On Thursday 05 February 2004 12:47 pm, L. Jensen wrote: Here's the config I've been using plus the log. I am still very eager to get the external crt display working. One possibility was to configure X so that it could drive the crt. Luca's comment and some lines in the log make me think there is a chance, but I still don't know how to get it to work. Do I need a change to the config? Must the external monitor be connected when X starts? I copied some sections from the log that make me think it might work if someone can point me in the right direction. Another possibility would be to figure out how to fix the keyboard hotkey FnF8, which should turn on the crt but is buggy, or how to fix i810switch, which activates the crt by writing to a location in /dev/mem but drives the crt at a frequency that is out of range. There is some information about i855 graphics registers in this datasheet http://developer.intel.com/design/chipsets/datashts/252615.htm Could this be used to fix i810switch? Could we program SXGA+ resolution without relying on the BIOS? Would disassembling the BIOS help? Or would we need better documentation from Intel to do it? I would be very interested in helping with an effort to work on these issues. Regards, -L === (--) PCI:*(0:2:0) Intel Corp. 82852/855GM Integrated Graphics Device rev 2, Mem @ 0xf000/27, 0xffa8/19, I/O @ 0xdc00/3 (--) PCI: (0:2:1) Intel Corp. 82852/855GM Integrated Graphics Device rev 2, Mem @ 0xe800/27, 0xff98/19 === (II) I810(0): 2 display pipes available. (II) I810(0): Display Info: CRT: attached: TRUE, present: TRUE, size: (0,0) (II) I810(0): Display Info: TV: attached: FALSE, present: FALSE, size: (0,0) (II) I810(0): Display Info: DFP (digital flat panel): attached: FALSE, present: FALSE, size: (0,0) (II) I810(0): Display Info: LFP (local flat panel): attached: TRUE, present: TRUE, size: (1400,1050) (II) I810(0): Display Info: TV2 (second TV): attached: FALSE, present: FALSE, size: (0,0) (II) I810(0): Display Info: DFP2 (second digital flat panel): attached: FALSE, present: FALSE, size: (0,0) (II) I810(0): Size of device LFP (local flat panel) is 1400 x 1050 (II) I810(0): No active displays on Pipe A. (II) I810(0): Currently active displays on Pipe B: (II) I810(0): LFP (local flat panel) ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
Re: [XFree86] external crt on i855 laptop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, on 02/05/04 23:30, L. Jensen wrote: But I still don't get the external monitor to work, even when I use exactly your config. Maybe it is something very simple I am missing. Can you tell me just how you set it up? I don't care about Xinerama. I really just want simultaneous display on both screens. maybe I wasn't clear: I can't get the 2 monitor together, but *or* the LCR (at 1024x768, the maximum for my LCD) *or* the CRT (up to 1600x1200 on a SONY Trinitor Dell P1110, AFAIL the maximum for the external CRT). If I try to get the 2 together: - - with Fn+F8 I can't, I mean, the switch is LCD CRT, never LCD+CRT and anyway I get a black band on top (the same as your) - - with 'i810switch' I get the same error you already described Or are you using the framebuffer? I have not tried it at all. Can it even do X? Or just no 3D, xvideo, etc? Well, I never tried the 'fbdev' driver on X. I use the general VESA fb but for the console. So, it should be useuful to give it a try, just to know if the switching problem is at BIOS level (as I think). Thx, bye, Gismo / Luca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAI/SmVAp7Xm10JmkRAgjdAJ4rQwE2ydjc40jjdKgkWdf7StUl2ACcDaFC v9A6ya8VVLsgTBZ2wIzOpUg= =sDmC -END PGP SIGNATURE- ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
Re: [XFree86] external crt on i855 laptop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, on 02/05/04 18:47, L. Jensen wrote: Here's the config I've been using plus the log. I'm also sending the log I get when using exactly Luca's config from http://luca.pca.it/projects/asus/XF86Config-4.20031116 please take care that I changed my XF86Config-4 from a while (but there're just minor changes), the new one is at http://luca.pca.it/projects/asus/xfree86/XF86Config-4.i810.20040205 I'm just looking for simultaneous display of the same desktop on both lcd and crt, although crt-only would be interesting too. As I wrote before, nothing seems to work yet. But Luca, you claim some success? As I wrote in my previous post, yes, I use everyday an external SONY Trinitor Dell P1110 capable of 1600x1200 (I don't have the frequencies here at home, but I can have them tomorrow given directly by the monitor in a precise way, if necessary). So you should be able at least to do the same on an external CRT. Section Device Identifier Intel82855GM[0] Driver i810 #VideoRam 65536 VideoRam16384 cut (**) I810(0): VideoRAM: 16384 kByte You should uncomment VideoRam 65536, as this is the amount of RAM allocated by the BIOS (in my M3410C statically and I think the same in the whole M3N line). (II) I810(0): LCD1024x768: Using hsync range of 30.00-121.00 kHz (II) I810(0): LCD1024x768: Using vrefresh range of 48.00-160.00 Hz (II) I810(0): Not using mode 1400x1050 (no mode of this name) This could be a problem: a video mode 1400x1050 isn't recognized, so you can't use it (while all the other yes). 2 days ago I enabled video mode 1400x1050 on my GNU/Linux, in order to have it on the external CRT, but it seems I can't get it (same problem as your). So I reviewed the specifications for the ASUS M3N and there's no SXGA+ on CRT, as here http://usa.asus.com/prog/spec.asp?m=M3000-N%20Serieslangs=09 Could it be an implementation of the Windows video driver, not present in the BIOS modes? Thx, bye, Gismo / Luca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAI/tzVAp7Xm10JmkRAsD4AJ9uoy8BUWkfzXc/qwrdaxIr2Q6UNgCgjQ2I gqllsLCLpAJxwJ1PXyVzTIk= =HvgF -END PGP SIGNATURE- ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
Re: [XFree86] external crt on i855 laptop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, on 02/06/04 20:02, L. Jensen wrote: I am still very eager to get the external crt display working. One possibility was to configure X so that it could drive the crt. Luca's comment and some lines in the log make me think there is a chance, but I still don't know how to get it to work. Do I need a change to the config? Must the external monitor be connected when X starts? In order to use the CRT, this *must* be connected when X starts and you should 'startx' from a console *on* the CRT (I mean, boot on console, switch to CRT with Fn+F8 and then log in and 'startx'). I don't know any other way to change the XF86Config-4 values while X is running, even if I know this is possible (at least for the Synaptics TouchPad on/off). Another possibility would be to figure out how to fix the keyboard hotkey FnF8, which should turn on the crt but is buggy, [...] Well, the Fn+F8 isn't completely buggy, it turns on the CRT but only the CRT, I mean, not LCD+CRT. So, I think it's not a Fn+F8 problem. [...] or how to fix i810switch, which activates the crt by writing to a location in /dev/mem but drives the crt at a frequency that is out of range. Yes, this should be a good idea, but I don't have the capacity to do so. Could this be used to fix i810switch? Could we program SXGA+ resolution without relying on the BIOS? IMHO this is done by the Windows driver to manage SXGA+. So there's a way to do the same on GNU/Linux, but again I don't have the capacities. === (--) PCI:*(0:2:0) Intel Corp. 82852/855GM Integrated Graphics Device rev 2, Mem @ 0xf000/27, 0xffa8/19, I/O @ 0xdc00/3 (--) PCI: (0:2:1) Intel Corp. 82852/855GM Integrated Graphics Device rev 2, Mem @ 0xe800/27, 0xff98/19 These are the 2 video devices added in your XF86Config-4 (and mine, too), but the external CRT works even if you've just one device. I think we need the 2 to have LCD+CRT on different resolutions (not in mirror mode, but desktop extended with Xinerama), but ATM I can't get them working. (II) I810(0): No active displays on Pipe A. (II) I810(0): Currently active displays on Pipe B: (II) I810(0): LFP (local flat panel) This is my normal situation if I use the internal LCD (as from the LCD log I attached). On the other hand, from the CRT log I've exactly the contrary (active Pipe A). As I wrote above, you should have the CRT active on a pipe to use it on X. Thx, bye, Gismo / Luca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAI/8KVAp7Xm10JmkRAhlTAJ45UJBcvf+GD9TPOoZdhlL3U72JswCfdBJK DLp3RUu+RwwdmwrBxzYX9h0= =173w -END PGP SIGNATURE- XFree86.0.log.CRT.gz Description: GNU Zip compressed data XFree86.0.log.LCD.gz Description: GNU Zip compressed data
[XFree86] external crt on i855 laptop
I want to be able to use an external monitor with an Asus M3N laptop with i855 chipset and integrated 64MB Intel graphics. The laptop has a SXGA+ 1400x1050 lcd, but so I still cannot use that resolution. I have still been unable to get an acceptable display on an external monitor, and I hope someone here can help. Here is what I have tried so far. 1) The FnF8 key is supposed to toggle between lcd, lcd+crt, crt. For me it switches between lcd-only and crt-only but is never usable (even switching back: lcd-crt-lcd). In the best case the desktop is displayed below a band of noise at the top of the screen and with its bottom cut off. Other times the whole display is a mess. Switching to another vt and back will restore the display to good condition on the lcd. 2) There is a tool called i810switch which writes to a location in /dev/mem. This successfully activates the external crt when it is attached. Unfortunately the display is out of focus and some monitors report the signal as out of range. The tool can turn off the monitor too, but cannot activate the lcd on an i855. 3) The asus_acpi project provides a kernel module and /proc interface. Reading from /proc/asus/acpi/disp should give a number related the current display state, and writing to the file should change the state. Remarkably, a simple read of the file will distort the lcd by putting the band of noise at the top of the display. Nothing I write to the file has any affect. 4) I thought I might configure XF86 to drive the external display in the config file, but the few things I tried failed. Any ideas how to get this to work? If #4 has a chance and you want to see my config, just ask. BTW, of course I suffer from the unavailability of 1400x1050 in the BIOS, so I am using 1280x1024 for now. I really would like to solve that problem too. Thank you very much, -- L ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
Re: [XFree86] external crt on i855 laptop
On Thursday 05 February 2004 08:49, L. Jensen wrote: I want to be able to use an external monitor with an Asus M3N laptop with i855 chipset and integrated 64MB Intel graphics. [snip] 1) The FnF8 key is supposed to toggle between lcd, lcd+crt, crt. For me it switches between lcd-only and crt-only but is never usable (even switching back: lcd-crt-lcd). In the best case the desktop is displayed below a band of noise at the top of the screen and with its bottom cut off. Other times the whole display is a mess. Switching to another vt and back will restore the display to good condition on the lcd. I am getting the same effect running XFree86 4.3.99.302 compiled from source on Gentoo Linux. The hardware is a Dell Inspiron 1100 laptop with an Intel i845GL graphics controller. I am using Christian Zietz's 845patch program (http://www.chzsoft.com.ar/855patch.html) to allocate 32 MB of main memory for graphics purposes. When I use the Fn-F8 key combination to switch between the on-board LCD and the external monitor on the VGA port, the entire display moves down by about 50 pixels, and the upper band of the screen is filled with garbage. The mouse cursor doesn't move with the screen contents, leaving it out of vertical sync. Switching to a text console (Ctrl-Alt-F1) and back (Alt-F7) restores the display to normal. -- Lieven Buts Department of Ultrastructure Vrije Universiteit Brussel ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
Re: [XFree86] external crt on i855 laptop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, on 02/05/04 08:49, L. Jensen wrote: I want to be able to use an external monitor with an Asus M3N laptop with i855 chipset and integrated 64MB Intel graphics. The laptop has a SXGA+ 1400x1050 lcd, but so I still cannot use that resolution. I have still been unable to get an acceptable display on an external monitor, well, I'm working on an external DellP1110 at 1600x1200, as you can from the screenshot on my report. To use internal and external resolution 1024x768 you should enable AGPgart/DRM/DRI support, if you don't know how, please read the instructions on my report at http://luca.pca.it/projects/asus/m3410c.php 1) The FnF8 key is supposed to toggle between lcd, lcd+crt, crt. For me it switches between lcd-only and crt-only but is never usable (even switching back: lcd-crt-lcd). In the best case the desktop is displayed below a band of noise at the top of the screen and with its bottom cut off. Other times the whole display is a mess. Switching to another vt and back will restore the display to good condition on the lcd. This is the same for me. 2) There is a tool called i810switch which writes to a location in /dev/mem. This successfully activates the external crt when it is attached. Unfortunately the display is out of focus and some monitors report the signal as out of range. The tool can turn off the monitor too, but cannot activate the lcd on an i855. Again, same here. 3) The asus_acpi project provides a kernel module and /proc interface. Reading from /proc/asus/acpi/disp should give a number related the current display state, and writing to the file should change the state. Remarkably, a simple read of the file will distort the lcd by putting the band of noise at the top of the display. Nothing I write to the file has any affect. Same here, but from the 'acpi4asus-0.27' README: = 4.1.1 Display switching Note: the display switching code is currently considered EXPERIMENTAL. Switching works for the following models: L3800C A2500H L5800C Switching doesn't work for the following: M3700N L2X00D (locks the laptop under certain conditions) = 4) I thought I might configure XF86 to drive the external display in the config file, but the few things I tried failed. Do you mean trying Xinerama? It doesn't work in my case and nobody seems to have a solution ATM. Any ideas how to get this to work? If #4 has a chance and you want to see my config, just ask. BTW, of course I suffer from the unavailability of 1400x1050 in the BIOS, so I am using 1280x1024 for now. Try enabling AGPgart/DRM/DRI. BTW, I already posted in this list about some problems of these, here the link: http://marc.theaimsgroup.com/?t=10715300054r=1w=2 Thx, bye, Gismo / Luca -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iD8DBQFAIhMsVAp7Xm10JmkRAv03AJ4/0X6MP/egeZS3TN04ootMe4vU/QCeKMmY AFstSzmYB4OQQroNjpOo3M4= =WDB2 -END PGP SIGNATURE- ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86
Re: [XFree86] external crt on i855 laptop
Ship along your log from /var/log/XFree86.0.log and your config. Alan. On Thu, Feb 05, 2004 at 02:49:44AM -0500, L. Jensen wrote: I want to be able to use an external monitor with an Asus M3N laptop with i855 chipset and integrated 64MB Intel graphics. The laptop has a SXGA+ 1400x1050 lcd, but so I still cannot use that resolution. I have still been unable to get an acceptable display on an external monitor, and I hope someone here can help. Here is what I have tried so far. 1) The FnF8 key is supposed to toggle between lcd, lcd+crt, crt. For me it switches between lcd-only and crt-only but is never usable (even switching back: lcd-crt-lcd). In the best case the desktop is displayed below a band of noise at the top of the screen and with its bottom cut off. Other times the whole display is a mess. Switching to another vt and back will restore the display to good condition on the lcd. 2) There is a tool called i810switch which writes to a location in /dev/mem. This successfully activates the external crt when it is attached. Unfortunately the display is out of focus and some monitors report the signal as out of range. The tool can turn off the monitor too, but cannot activate the lcd on an i855. 3) The asus_acpi project provides a kernel module and /proc interface. Reading from /proc/asus/acpi/disp should give a number related the current display state, and writing to the file should change the state. Remarkably, a simple read of the file will distort the lcd by putting the band of noise at the top of the display. Nothing I write to the file has any affect. 4) I thought I might configure XF86 to drive the external display in the config file, but the few things I tried failed. Any ideas how to get this to work? If #4 has a chance and you want to see my config, just ask. BTW, of course I suffer from the unavailability of 1400x1050 in the BIOS, so I am using 1280x1024 for now. I really would like to solve that problem too. Thank you very much, -- L ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86 ___ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86