* installing 9front on Dell Optiplex 790 @ 2016-04-30 21:49 James 2016-04-30 21:57 ` [9front] " Nicolas Owens 2016-04-30 22:39 ` cinap_lenrek 0 siblings, 2 replies; 20+ messages in thread From: James @ 2016-04-30 21:49 UTC (permalink / raw) To: 9front hi, Seeking some help. Managed a text-only install with: 9front-5217.0d720aa995cf.iso.bz2 Now I am wondering how to get my SandyBridge Intel HD 2000 Graphics card to display anything but black I tried adding the PCI did to /lib/vgadb and the corresponding case statement in vga/igfx.c but no dice, just displays a black screen. I see the comment in igfx.c that says the SNB work is unfinished. in plan9.ini using: monitor=vesa vgasize=1280x1024x32 the output from aux/vga -m vesa -p is very similar to the thinkpad x230 found here: http://plan9.stanleylieber.com/hardware/thinkpad/x230/2306-cto/sysinfo Copying some output by hand from pci -v ... 0.2.0: vid 03.00.00 8086/0102 11 0:e0c00004 4194304 2:d000000c 268435456 4:00003001 64 Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller ... I've got the output of aux/vga -V -m vesa -l 1280x1024x32 as well but I'll have to get the network up on the box first. Does anyone know of a way to get this card functioning? And where would you find documentation on the card to write this or similar drivers? I looked at intel.com and found nothing substantial. surprised? Thanks for any help, James ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-04-30 21:49 installing 9front on Dell Optiplex 790 James @ 2016-04-30 21:57 ` Nicolas Owens 2016-04-30 22:15 ` James 2016-04-30 22:39 ` cinap_lenrek 1 sibling, 1 reply; 20+ messages in thread From: Nicolas Owens @ 2016-04-30 21:57 UTC (permalink / raw) To: 9front check https://01.org/linuxgraphics/documentation for documentation on the graphics chipset. what happens when you do: aux/realemu aux/vga -m vesa -p aux/vga -m vesa -l <some mode output from above, like 800x600x16> ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-04-30 21:57 ` [9front] " Nicolas Owens @ 2016-04-30 22:15 ` James 2016-04-30 22:47 ` cinap_lenrek 0 siblings, 1 reply; 20+ messages in thread From: James @ 2016-04-30 22:15 UTC (permalink / raw) To: 9front On Sat, Apr 30, 2016 at 7:27 PM, Nicolas Owens <mischief@offblast.org> wrote: > check https://01.org/linuxgraphics/documentation for documentation on > the graphics chipset. > thanks! > what happens when you do: > > aux/realemu > aux/vga -m vesa -p > aux/vga -m vesa -l <some mode output from above, like 800x600x16> tried that and i get a black screen Not sure if this is relevant or not Should the above commands work after booting i get printed to the console: init: starting /bin/rc bind: #i: no frame buffer rio: can't open display: initdisplay: /dev/draw/new '/dev/draw' file does not exist init: rc exist status: rc 311: rio 460: display open init: starting /bin/rc term% Thanks for the reply, James ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-04-30 22:15 ` James @ 2016-04-30 22:47 ` cinap_lenrek 0 siblings, 0 replies; 20+ messages in thread From: cinap_lenrek @ 2016-04-30 22:47 UTC (permalink / raw) To: 9front > aux/realemu > aux/vga -m vesa -p this should give you a list of supported modes by the vesa driver, which is of interest here. if you get a black screen after doing: > aux/vga -m vesa -l <some mode output from above, like 800x600x16> then you can try to switch back to text mode to read the error message like: aux/vga -m vesa -l text or try to dump all the output of the above commands to a file and read it after reboot: @{ aux/realemu; aux/vga -m vesa l ....} >/tmp/vga.log >[2=1] -- cinap ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-04-30 21:49 installing 9front on Dell Optiplex 790 James 2016-04-30 21:57 ` [9front] " Nicolas Owens @ 2016-04-30 22:39 ` cinap_lenrek 2016-05-01 0:43 ` James 1 sibling, 1 reply; 20+ messages in thread From: cinap_lenrek @ 2016-04-30 22:39 UTC (permalink / raw) To: 9front monitor=vesa implies that aux/vga is using the vesa driver and *not* the igfx driver. if you set monitor to a entry in vgadb or in case of igfx, you can set it to "auto" as the driver should detect the attached monitors itself. dump the registers and dump edid info of attached monitors: aux/vga -m auto -p then load a mode like: aux/vga -m auto -l 1280x800x32 for this to work, the driver and the vgadb need to know the pci id. so you need to add ctlr entry in vgadb like ctlr vid=0x8086 did=0x0102 # Intel 2nd Gen Core link=vga ctlr=igfx linear=1 and in /sys/src/cmd/aux/vga/igfx.c:^devtype static int devtype(Igfx *igfx) { if(igfx->pci->vid != 0x8086) return -1; switch(igfx->pci->did){ case 0x0102: /* 2nd Gen Core */ return TypeSNB; ... documentation on the card can be found here: https://01.org/linuxgraphics/documentation/driver-documentation-prms/2011-intel-core-processor-family -- cinap ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-04-30 22:39 ` cinap_lenrek @ 2016-05-01 0:43 ` James 2016-05-01 4:05 ` cinap_lenrek 0 siblings, 1 reply; 20+ messages in thread From: James @ 2016-05-01 0:43 UTC (permalink / raw) To: 9front On Sat, Apr 30, 2016 at 8:09 PM, <cinap_lenrek@felloff.net> wrote: > monitor=vesa implies that aux/vga is using the vesa driver and *not* > the igfx driver. > thanks for the reply. setting monitor=auto along with the changes below and i'm getting something on the screen now. looks like this: http://fqa.9front.org/reactorcat.gif :) seriously, it's a pretty cool rainbow coloured snow effect.. i tried a bunch of different resolutions, but still the same pattern at different scales. i noticed this in the log aux/vga -V -m auto -l 1600x900x32 igfx: dpauxio: dp a, cmd 9, addr 0, len 16: receive timeout ... x 4 that's the only error i could find and it's repeatable.. i'm using standard d-sub vga connector and tried two monitors in total. both had the same snow effect. thanks for the help, james > if you set monitor to a entry in vgadb or in case of igfx, you > can set it to "auto" as the driver should detect the attached > monitors itself. > > dump the registers and dump edid info of attached monitors: > > aux/vga -m auto -p > > then load a mode like: > > aux/vga -m auto -l 1280x800x32 > > for this to work, the driver and the vgadb need to know the pci id. > > so you need to add ctlr entry in vgadb like > > ctlr > vid=0x8086 did=0x0102 # Intel 2nd Gen Core > link=vga > ctlr=igfx linear=1 > > and in /sys/src/cmd/aux/vga/igfx.c:^devtype > > static int > devtype(Igfx *igfx) > { > if(igfx->pci->vid != 0x8086) > return -1; > switch(igfx->pci->did){ > case 0x0102: /* 2nd Gen Core */ > return TypeSNB; > ... > > documentation on the card can be found here: > > https://01.org/linuxgraphics/documentation/driver-documentation-prms/2011-intel-core-processor-family > > -- > cinap ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-01 0:43 ` James @ 2016-05-01 4:05 ` cinap_lenrek 2016-05-01 4:41 ` Matthew Veety 2016-05-05 7:47 ` kokamoto 0 siblings, 2 replies; 20+ messages in thread From: cinap_lenrek @ 2016-05-01 4:05 UTC (permalink / raw) To: 9front that message looks like its from trying to read edid info from displayport. if theres nothing connected to displayport, and you only use the vga connector, then it doesnt matter. its hard to tell from your description if its an issue with the fdi or the transcoder/port. you might check the monitors OSD and see if it got a stable signal. maybe the fdi is just misprogrammed sending garbage digital data to the transcoder explaining the snow. could you try a displayport->vga adapter? or a displayport monitor? that might help distinguishing between the two scenarios. some systematic debugging is needed to get that driver working. i wonder why vesa doesnt work at all... you said you get a black screen, so does that mean the monitor doesnt even turn on? (no signal) maybe we hit some issue with realemu when setting up graphics, but we dont see the error message? please run the commands with filedescriptors 1 and 2 redirected to a logfile. or you could connect to the machine with drawterm/cpu and then run aux/vga from that with #i #v #$ and #P bound before /dev. aux/vga has some experimental support for display selection, by appending #N to the mode where N is display number counting from 1, so you could also try aux/vga -m vesa -l '800x600x32#2' ect... if we could get vesa to setup the graphics, even if not with native resolution of your monitor, we can make a trace of all register reads and writes and get some initial to start from. you probably *just* want your graphics to work and not become a driver programmer... but its difficult to write drivers without access to the hardware and no way to test stuff... and without any debug output, i cannot help you at all. if this is a new machine, it might have support for UEFI, which might provide us with a framebuffer... as a last resort... if nothing works, try a diffrent computer or try a different discrete graphics card maybe... -- cinap ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-01 4:05 ` cinap_lenrek @ 2016-05-01 4:41 ` Matthew Veety 2016-05-01 4:51 ` sl 2016-05-05 7:47 ` kokamoto 1 sibling, 1 reply; 20+ messages in thread From: Matthew Veety @ 2016-05-01 4:41 UTC (permalink / raw) To: 9front A friend of mine has a machine similar, and it has been her experience that only the display port works properly with vesa, and DVI will work if you're not using one of those dvi-to-vga adapters. It will even get the native resolution on most monitors (unlike nvidia where the deliberately disallow the native res with vesa). -- Veety ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-01 4:41 ` Matthew Veety @ 2016-05-01 4:51 ` sl 2016-05-01 7:19 ` Matthew Veety 0 siblings, 1 reply; 20+ messages in thread From: sl @ 2016-05-01 4:51 UTC (permalink / raw) To: 9front vesa only works wit whatever vesa modes are reported by the vesa bios. this report might change depending on what monitor is hooked up to which port. sl ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-01 4:51 ` sl @ 2016-05-01 7:19 ` Matthew Veety 2016-05-01 20:02 ` sl 0 siblings, 1 reply; 20+ messages in thread From: Matthew Veety @ 2016-05-01 7:19 UTC (permalink / raw) To: 9front [-- Attachment #1: Type: text/plain, Size: 334 bytes --] > On May 1, 2016, at 00:51, sl@stanleylieber.com wrote: > > this report might change depending on what monitor is hooked up to > which port. > > sl Yeah it does change. IIRC it looks at the EDID and gives you modes based on that. Which is also why I think using the vga-to-dvi adapter doesn't work properly. -- Veety [-- Attachment #2: Type: text/html, Size: 828 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-01 7:19 ` Matthew Veety @ 2016-05-01 20:02 ` sl 0 siblings, 0 replies; 20+ messages in thread From: sl @ 2016-05-01 20:02 UTC (permalink / raw) To: 9front >> this report might change depending on what monitor is hooked up to >> which port. >> >> sl > > Yeah it does change. IIRC it looks at the EDID and gives you modes based on that. Which is also why I think using the vga-to-dvi adapter doesn't work properly. problem is, it's impossible to know what a given vesa bios will do. you can just query it for modes and see what it says. sl ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-01 4:05 ` cinap_lenrek 2016-05-01 4:41 ` Matthew Veety @ 2016-05-05 7:47 ` kokamoto 2016-05-05 10:53 ` kokamoto 1 sibling, 1 reply; 20+ messages in thread From: kokamoto @ 2016-05-05 7:47 UTC (permalink / raw) To: 9front Hi cinap I'm now facing the similar black out on my Panasonic CFR7 machine. My /cfg/pxe/xxx file is as follows: # LetsNote CFR7 line bootargs=tcp #bootfile=/amd64/9pc64 bootfile=/386/9pcfwifi nobootprompt=tcp vgasize=1024x768x32 #mouseport=usb mouseport=ps2 monitor=xga #monitor=vesa When I change the color depth to 8, I can reach CGA console, because x8 color depth is not supported. other resolution like 800x600x32 got the same black lout screen. I run through vesa mode, and I took the data follows: 0.2.0: vid 03.00.00 8086/2a02 7 0:fc000004 1048576 2:e000000c 268435456 4: 00001801 16 Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (promary) 0.2.1: vid 03.80.00 8086/2a03 0 0:fc100004 1048576 Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (secondary) Kenji PS: I didn't know the new intel graphics can be used on 9front, and just surprised, then, I'm trying now. I can be a test user for you. ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-05 7:47 ` kokamoto @ 2016-05-05 10:53 ` kokamoto 2016-05-05 23:33 ` kokamoto 0 siblings, 1 reply; 20+ messages in thread From: kokamoto @ 2016-05-05 10:53 UTC (permalink / raw) To: 9front The info of aux/vga -ip -i '1024x768x32' is as follows: -----from here---- vga->attr: vid=0x8086 vga->attr: did=0x2a02 vga misc 67 vga feature 00 vga sequencer 03 00 03 00 02 vga crt 5F 4F 50 82 55 81 BF 1F - 00 4F 0D 0E 00 00 07 80 9C 8E 8F 28 1F 96 B9 A3 - FF vga graphics 00 00 00 00 00 10 0E 00 - FF vga attribute 00 01 02 03 04 05 14 07 - 38 39 3A 3B 3C 3D 3E 3F 0C 00 0F 08 00 vga virtual 0 0 vga panning off vga apz 0 vga linear 1 igfx pipe a src [0006001c] = 027f01df igfx pipe a conf [00070008] = 00000000 igfx pipe a dm1 [00070050] = 00000000 igfx pipe a dn1 [00070054] = 00000000 igfx pipe a lm1 [00070060] = 00000000 igfx pipe a ln1 [00070064] = 00000000 igfx pipe a ht [00060000] = 031f027f igfx pipe a hb [00060004] = 03170287 igfx pipe a hs [00060008] = 02ef028f igfx pipe a vt [0006000c] = 020c01df igfx pipe a vb [00060010] = 020401e7 igfx pipe a vs [00060014] = 01eb01e9 igfx pipe a vss [00060028] = 00000000 igfx dsp a cntr [00070180] = 00000000 igfx dsp a linoff [00070184] = 00000000 igfx dsp a stride [00070188] = 00000000 igfx dsp a surf [0007019c] = 00000000 igfx dsp a tileoff [000701a4] = 00000000 igfx dsp a pos [0007018c] = 00000000 igfx dsp a size [00070190] = 00000000 igfx cur a cntr [00070080] = 00000000 igfx cur a base [00070084] = 00000000 igfx cur a pos [00070088] = 00000000 igfx pipe b src [0006101c] = 027f018f igfx pipe b conf [00071008] = c0000000 igfx pipe b ht [00061000] = 053f03ff igfx pipe b hb [00061004] = 053f03ff igfx pipe b hs [00061008] = 049f0417 igfx pipe b vt [0006100c] = 032502ff igfx pipe b vb [00061010] = 032502ff igfx pipe b vs [00061014] = 03080302 igfx pipe b vss [00061028] = 00000000 igfx dsp b cntr [00071180] = 49000000 igfx dsp b linoff [00071184] = 00000000 igfx dsp b stride [00071188] = 00000400 igfx dsp b surf [0007119c] = 00000000 igfx dsp b tileoff [000711a4] = 00000000 igfx dsp b pos [0007118c] = 00000000 igfx dsp b size [00071190] = 00000000 igfx cur b cntr [000700c0] = 00000000 igfx cur b base [000700c4] = 00000000 igfx cur b pos [000700c8] = 00000000 igfx dpll a ctrl [00006014] = 04800c00 igfx dpll a fp0 [00006040] = 00031108 igfx dpll a fp1 [00006044] = 00031108 igfx dpll a ctrl p1 8 igfx dpll a ctrl p2 10 igfx dpll a fp0 m1 17 igfx dpll a fp0 m2 8 igfx dpll a fp0 n 3 igfx dpll a cref 96000000 igfx dpll a fp0 freq 25200000 igfx dpll b ctrl [00006018] = 98026a00 igfx dpll b fp0 [00006048] = 00030e09 igfx dpll b fp1 [0000604c] = 00031108 igfx dpll b ctrl p1 2 igfx dpll b ctrl p2 14 igfx dpll b fp0 m1 14 igfx dpll b fp0 m2 9 igfx dpll b fp0 n 3 igfx dpll b cref 100000000 igfx dpll b fp0 freq 65000000 igfx pfit a ctrl [00061230] = a0000000 igfx ppcontrol [00061204] = 00000003 igfx ppstatus [00061200] = c0000008 igfx adpa [00061100] = 40008c18 igfx lvds [00061180] = c2308300 igfx sdvob [00061140] = 00080018 igfx sdvoc [00061160] = 00080018 igfx vgacntrl [00071400] = 22c4008e dbdumpmode type=xga, size=1024x768x32 frequency=75000000 x=1024 (0x400), y=768 (0x300), z=32 (0x20) ht=1344 (0x540), shb=1096 (0x448), ehb=1232 (0x4D0) shs=1072 (0x430), ehs=1232 (0x4D0) vt=806 (0x326), vrs=771 (0x303), vre=777 (0x309) hsync=-, vsync=-, interlace= vga->attr: vid=0x8086 vga->attr: did=0x2a02 vga flag Fdump|Finit|Fsnarf vga misc E3 vga feature 00 vga sequencer 03 01 0F 00 0A vga crt A3 7F 88 9A 86 1A324 FD - 00 60 00 00 00 00 00 00 303 292FF200 60303304 A3 -7FF vga graphics 00 00 00 00 00 50 05 0F - FF vga attribute 00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F 41 FF 0F 00 00 vga virtual 1024 768 vga panning off vga apz 0 vga linear 1 igfx flag Ulinear|Hlinear|Fdump|Finit|Foptions|Fsnarf igfx pipe a src [0006001c] = 027f01df igfx pipe a conf [00070008] = 00000000 igfx pipe a dm1 [00070050] = 00000000 igfx pipe a dn1 [00070054] = 00000000 igfx pipe a lm1 [00070060] = 00000000 igfx pipe a ln1 [00070064] = 00000000 igfx pipe a ht [00060000] = 031f027f igfx pipe a hb [00060004] = 03170287 igfx pipe a hs [00060008] = 02ef028f igfx pipe a vt [0006000c] = 020c01df igfx pipe a vb [00060010] = 020401e7 igfx pipe a vs [00060014] = 01eb01e9 igfx pipe a vss [00060028] = 00000000 igfx dsp a cntr [00070180] = 00000000 igfx dsp a linoff [00070184] = 00000000 igfx dsp a stride [00070188] = 00000000 igfx dsp a surf [0007019c] = 00000000 igfx dsp a tileoff [000701a4] = 00000000 igfx dsp a pos [0007018c] = 00000000 igfx dsp a size [00070190] = 00000000 igfx cur a cntr [00070080] = 00000000 igfx cur a base [00070084] = 00000000 igfx cur a pos [00070088] = 00000000 igfx pipe b src [0006101c] = 03ff02ff igfx pipe b conf [00071008] = 80000040 igfx pipe b ht [00061000] = 053f03ff igfx pipe b hb [00061004] = 053f03ff igfx pipe b hs [00061008] = 04cf042f igfx pipe b vt [0006100c] = 032502ff igfx pipe b vb [00061010] = 032502ff igfx pipe b vs [00061014] = 03080302 igfx pipe b vss [00061028] = 00000000 igfx dsp b cntr [00071180] = 99000000 igfx dsp b linoff [00071184] = 00000000 igfx dsp b stride [00071188] = 00001000 igfx dsp b surf [0007119c] = 00000000 igfx dsp b tileoff [000711a4] = 00000000 igfx dsp b pos [0007118c] = 00000000 igfx dsp b size [00071190] = 02ff03ff igfx cur b cntr [000700c0] = 10000000 igfx cur b base [000700c4] = 00000000 igfx cur b pos [000700c8] = 00000000 igfx dpll a ctrl [00006014] = 04800c00 igfx dpll a fp0 [00006040] = 00031108 igfx dpll a fp1 [00006044] = 00031108 igfx dpll a ctrl p1 8 igfx dpll a ctrl p2 10 igfx dpll a fp0 m1 17 igfx dpll a fp0 m2 8 igfx dpll a fp0 n 3 igfx dpll a cref 96000000 igfx dpll a fp0 freq 25200000 igfx dpll b ctrl [00006018] = 94020a02 igfx dpll b fp0 [00006048] = 00061508 igfx dpll b fp1 [0000604c] = 00061508 igfx dpll b ctrl p1 2 igfx dpll b ctrl p2 10 igfx dpll b fp0 m1 21 igfx dpll b fp0 m2 8 igfx dpll b fp0 n 6 igfx dpll b cref 96000000 igfx dpll b fp0 freq 75000000 igfx pfit a ctrl [00061230] = 20000000 igfx ppcontrol [00061204] = 00000002 igfx ppstatus [00061200] = c0000008 igfx adpa [00061100] = c0000000 igfx lvds [00061180] = 42308300 igfx sdvob [00061140] = 00080018 igfx sdvoc [00061160] = 00080018 igfx vgacntrl [00071400] = a2c4008e dbdumpmode type=xga, size=1024x768x32 frequency=75000000 x=1024 (0x400), y=768 (0x300), z=32 (0x20) ht=1344 (0x540), shb=1096 (0x448), ehb=1232 (0x4D0) shs=1072 (0x430), ehs=1232 (0x4D0) vt=806 (0x326), vrs=771 (0x303), vre=777 (0x309) hsync=-, vsync=-, interlace= vga->attr: vid=0x8086 vga->attr: did=0x2a02 vga flag Fdump|Fload|Finit|Fsnarf vga misc E3 vga feature 00 vga sequencer 03 01 0F 00 0A vga crt A3 7F 88 9A 86 1A324 FD - 00 60 00 00 00 00 00 00 303 292FF200 60303304 A3 -7FF vga graphics 00 00 00 00 00 50 05 0F - FF vga attribute 00 01 02 03 04 05 06 07 - 08 09 0A 0B 0C 0D 0E 0F 41 FF 0F 00 00 vga virtual 1024 768 vga panning off vga vm a b 0 3758096384 vga apz 67108864 vga linear 1 igfx flag Ulinear|Hlinear|Fdump|Fload|Finit|Foptions|Fsnarf igfx pipe a src [0006001c] = 027f01df igfx pipe a conf [00070008] = 00000000 igfx pipe a dm1 [00070050] = 00000000 igfx pipe a dn1 [00070054] = 00000000 igfx pipe a lm1 [00070060] = 00000000 igfx pipe a ln1 [00070064] = 00000000 igfx pipe a ht [00060000] = 031f027f igfx pipe a hb [00060004] = 03170287 igfx pipe a hs [00060008] = 02ef028f igfx pipe a vt [0006000c] = 020c01df igfx pipe a vb [00060010] = 020401e7 igfx pipe a vs [00060014] = 01eb01e9 igfx pipe a vss [00060028] = 00000000 igfx dsp a cntr [00070180] = 00000000 igfx dsp a linoff [00070184] = 00000000 igfx dsp a stride [00070188] = 00000000 igfx dsp a surf [0007019c] = 00000000 igfx dsp a tileoff [000701a4] = 00000000 igfx dsp a pos [0007018c] = 00000000 igfx dsp a size [00070190] = 00000000 igfx cur a cntr [00070080] = 00000000 igfx cur a base [00070084] = 00000000 igfx cur a pos [00070088] = 00000000 igfx pipe b src [0006101c] = 03ff02ff igfx pipe b conf [00071008] = 80000040 igfx pipe b ht [00061000] = 053f03ff igfx pipe b hb [00061004] = 053f03ff igfx pipe b hs [00061008] = 04cf042f igfx pipe b vt [0006100c] = 032502ff igfx pipe b vb [00061010] = 032502ff igfx pipe b vs [00061014] = 03080302 igfx pipe b vss [00061028] = 00000000 igfx dsp b cntr [00071180] = 99000000 igfx dsp b linoff [00071184] = 00000000 igfx dsp b stride [00071188] = 00001000 igfx dsp b surf [0007119c] = 00000000 igfx dsp b tileoff [000711a4] = 00000000 igfx dsp b pos [0007118c] = 00000000 igfx dsp b size [00071190] = 02ff03ff igfx cur b cntr [000700c0] = 10000000 igfx cur b base [000700c4] = 00000000 igfx cur b pos [000700c8] = 00000000 igfx dpll a ctrl [00006014] = 04800c00 igfx dpll a fp0 [00006040] = 00031108 igfx dpll a fp1 [00006044] = 00031108 igfx dpll a ctrl p1 8 igfx dpll a ctrl p2 10 igfx dpll a fp0 m1 17 igfx dpll a fp0 m2 8 igfx dpll a fp0 n 3 igfx dpll a cref 96000000 igfx dpll a fp0 freq 25200000 igfx dpll b ctrl [00006018] = 94020a02 igfx dpll b fp0 [00006048] = 00061508 igfx dpll b fp1 [0000604c] = 00061508 igfx dpll b ctrl p1 2 igfx dpll b ctrl p2 10 igfx dpll b fp0 m1 21 igfx dpll b fp0 m2 8 igfx dpll b fp0 n 6 igfx dpll b cref 96000000 igfx dpll b fp0 freq 75000000 igfx pfit a ctrl [00061230] = 20000000 igfx ppcontrol [00061204] = 00000002 igfx ppstatus [00061200] = c0000008 igfx adpa [00061100] = c0000000 igfx lvds [00061180] = 42308300 igfx sdvob [00061140] = 00080018 igfx sdvoc [00061160] = 00080018 igfx vgacntrl [00071400] = a2c4008e -----to here----- Kenji ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-05 10:53 ` kokamoto @ 2016-05-05 23:33 ` kokamoto 2016-05-05 23:56 ` cinap_lenrek 2016-05-06 1:06 ` kokamoto 0 siblings, 2 replies; 20+ messages in thread From: kokamoto @ 2016-05-05 23:33 UTC (permalink / raw) To: 9front > The info of aux/vga -ip -i '1024x768x32' is as follows: Further experiments on this machine, I now know the output of this is redirected to the external VGA connector. Yes, I can see the 1024x768x32 resolution screen on the external display! I however cannot deal with mouse. It remains at the position of topleft coner of the screen. Kenji ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-05 23:33 ` kokamoto @ 2016-05-05 23:56 ` cinap_lenrek 2016-05-06 0:33 ` kokamoto 2016-05-06 1:06 ` kokamoto 1 sibling, 1 reply; 20+ messages in thread From: cinap_lenrek @ 2016-05-05 23:56 UTC (permalink / raw) To: 9front thats strange. the igfx driver controls very precisely what output port it will configure. it seems very unlikely to output on the external vga by accident. there are two things. if you have monitor "auto", it will get the edid information of all monitors and pick the one which matches the precise screen resolution. you can also specify a monitor name from vgadb. the monitor itself can then have a lcd=1 attribute, or a display=X attribute where X specifies the port: PortVGA = 0, /* adpa */ PortLCD = 1, /* lvds */ PortDPA = 2, PortDPB = 3, PortDPC = 4, PortDPD = 5, i use "auto" for everything because the resolution of the external vga monitor is different from the internal panel always differs so this is unique for me. aux/vga isnt responsible for setting up the mouse driver. thats done by aux/mouse. unless you have issues with the hardware cursor of course, in which case you configure it to not use the hardware cursor in vgadb. (just leave out the hwgc=igfxhwgc attribute in the ctlr section) everything is setup from /rc/bin/screenrc when you normally boot the system, todo it manually: bind -b '#i' /dev bind -b '#m' /dev aux/vga ... aux/mouse ps2 -- cinap ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-05 23:56 ` cinap_lenrek @ 2016-05-06 0:33 ` kokamoto 0 siblings, 0 replies; 20+ messages in thread From: kokamoto @ 2016-05-06 0:33 UTC (permalink / raw) To: 9front > you can also specify a monitor name from vgadb. the monitor > itself can then have a lcd=1 attribute, or a display=X > attribute where X specifies the port: > > PortVGA = 0, /* adpa */ > PortLCD = 1, /* lvds */ > PortDPA = 2, > PortDPB = 3, > PortDPC = 4, > PortDPD = 5, I made a cfr7 entry in /lib/vgsdb such as: cfr7=1024x768 lcd=1 vgasize=1024x768x32 (8, 16,24 are not supported). Yes, this makes the info onto the LCD internal panel. However, I can see many horizontal lines on the 1/3 lower part of the screen. The upper part is black. I can see the reformed mouse cursor, somewhat larger and elongated up-down direction, where I suppose the scanning timing is wrong. The mouse cursor is responding to the mousepad of the machine under the same conditions as before. Kenji ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-05 23:33 ` kokamoto 2016-05-05 23:56 ` cinap_lenrek @ 2016-05-06 1:06 ` kokamoto 2016-05-06 5:29 ` kokamoto 1 sibling, 1 reply; 20+ messages in thread From: kokamoto @ 2016-05-06 1:06 UTC (permalink / raw) To: 9front >> The info of aux/vga -ip -i '1024x768x32' is as follows: Yes, now it works nice! My cfr7 entry of /lib/vgadb is: -----from here---- # # Panasonic CF-R7 LCD panel # cfr7=1024x768 lcd=1 defaultclock=75 shb=1096 ehb=1232 ht=1344 shs=1072 vrs=771 vre=777 vt=806 hsync=- vsync=- ----to here---- Thank you very much cinap for your excellent work and patience to me (old brain damaged man☺) Kenji ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-06 1:06 ` kokamoto @ 2016-05-06 5:29 ` kokamoto 2016-05-06 5:33 ` cinap_lenrek 2016-05-06 5:34 ` kokamoto 0 siblings, 2 replies; 20+ messages in thread From: kokamoto @ 2016-05-06 5:29 UTC (permalink / raw) To: kokamoto, 9front I posted this system info to the 9front web-server. Kenji ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-06 5:29 ` kokamoto @ 2016-05-06 5:33 ` cinap_lenrek 2016-05-06 5:34 ` kokamoto 1 sibling, 0 replies; 20+ messages in thread From: cinap_lenrek @ 2016-05-06 5:33 UTC (permalink / raw) To: 9front nice, thanks. added your monitor entry in vgadb. -- cinap ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [9front] installing 9front on Dell Optiplex 790 2016-05-06 5:29 ` kokamoto 2016-05-06 5:33 ` cinap_lenrek @ 2016-05-06 5:34 ` kokamoto 1 sibling, 0 replies; 20+ messages in thread From: kokamoto @ 2016-05-06 5:34 UTC (permalink / raw) To: 9front > I posted this system info to the 9front web-server. Sorry repost it. mousepad is not good for acme use, especially middle mouse button. I changed the mouse to wireless usb mouse now, which is very convenient. Kenji ^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2016-05-06 5:34 UTC | newest] Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-04-30 21:49 installing 9front on Dell Optiplex 790 James 2016-04-30 21:57 ` [9front] " Nicolas Owens 2016-04-30 22:15 ` James 2016-04-30 22:47 ` cinap_lenrek 2016-04-30 22:39 ` cinap_lenrek 2016-05-01 0:43 ` James 2016-05-01 4:05 ` cinap_lenrek 2016-05-01 4:41 ` Matthew Veety 2016-05-01 4:51 ` sl 2016-05-01 7:19 ` Matthew Veety 2016-05-01 20:02 ` sl 2016-05-05 7:47 ` kokamoto 2016-05-05 10:53 ` kokamoto 2016-05-05 23:33 ` kokamoto 2016-05-05 23:56 ` cinap_lenrek 2016-05-06 0:33 ` kokamoto 2016-05-06 1:06 ` kokamoto 2016-05-06 5:29 ` kokamoto 2016-05-06 5:33 ` cinap_lenrek 2016-05-06 5:34 ` kokamoto
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).