Created attachment 24999 [details] including xorg.conf, Xorg.log.0(ModeDebug enabled), uname, dmesg, package infos I have a G43 chipset with x4500 display card embedded. Using xf86-video-intel 2.6.x, DVI(DVI-D) display can't be opened so the X server can't start. Check the attachment for details. It includes xorg.conf(ModeDebug enabled), Xorg.log.0, uname outputs, dmesg, xrandr --verbose outputs and package infos. I have installed the xf86-video-intel 2.7 version today but it still doesn't work. I'm looking forward to your patches, otherwise I can't start my work under Linux. :)
I wished you really go through http://intellinuxgraphics.org/how_to_report_bug.html and not use zipped attachment. What's your G43 motherboard model? Does it have VGA port?
(In reply to comment #1) > I wished you really go through > http://intellinuxgraphics.org/how_to_report_bug.html and not use zipped > attachment. > > What's your G43 motherboard model? Does it have VGA port? > The motherboard is ASUS P5QL-EM. Yes, it has a VGA port. Actually, there are 3 ports available on this board: VGA, DVI-D, HDMI.
Created attachment 25019 [details] One single file includes xorg log, xorg conf, uname, dmesg...
Created attachment 25024 [details] please try the patch on your machine, thanks. I guess the issue is duplicate with bug #20429, so please try the debug patch. thanks maling
Created attachment 25034 [details] New error log With no lucky, seems the patch doesn't work. Here's the new Xorg.0.log file.
Created attachment 25174 [details] please try the patch on your machine, thanks. the reason is from incorrect hdmi detection, please try the patch on your machine. thanks maling
Created attachment 25188 [details] New error log, xorg.conf is attached on the bottom of file Still unlucky, the X can't start again. My step is: 1. download xf86-video-intel 2.7.0 source from git 2. cd source dir, patch the source: patch -p1 < 21322_debug.patch 3. ./autogen --prefix=/usr 4. make 5. make install -- check the file under /usr/lib/xorg/drivers/intel are updated 6. Xorg -configure -- generate a xorg.conf.new in /root 7. Edit /root/xorg.conf.new, turn on ModeDebug, add DefaultDepth 24, Modes "1440x900" 8. X -config /root/xorg.conf.new -- X started failed BTW: I tried to patch these 2 patches, the result is also failed. The error log attached is the version I only patched 21322_debug.patch on the source.
Created attachment 25210 [details] please try this debug patch on your machine, then upload log with modedebug option on, thanks. Meanwhile please provide the vbios dump via: # cd /sys/devices/pci0000\:00/0000\:00\:02.0/ # echo 1 > rom # cat rom > /tmp/rom.bin # echo 0 > rom then submit the rom.bin here. thanks for your help. maling
Maybe you could have a try of plug your display port again, make sure it has connected tight enough. I have the same issue and just reconnect the HDMI and it works well now.
Created attachment 25228 [details] Xorg.0.log Hi, guys. Here comes the good news. The X started successfully after this new patch has applied. And now my KDE works well too. Ma Ling, as you mentioned, I uploaded this new Xorg.0.log, check it. Thanks for your hard work. Also thanks to Zhao Jian, but obviously this is not because the DVI cable isn't plugged well. I installed windows in my machine and the DVI outputs work well under windows all the time. I think maybe this is a temporary patch so, if any tests or other stuffs are needed to perform, just feel free to let me know.
Created attachment 25229 [details] rom.bin file
Created attachment 25685 [details] Eric, please try the debug patch on your machine ,thanks
Created attachment 25709 [details] Eric, pleaes try the debug patch on your machine, thanks.
Created attachment 25728 [details] New xorg.0.log Hi, Ma Ling. This patch doesn't work. I attached the Xorg.0.log here, check it pls.
Created attachment 26045 [details] hi Eric, could you please try the debug patch on your machine, thanks.
Created attachment 26069 [details] Xorg.0.log Seems patch doesn't work. Check the new Xorg.0.log, pls.
hi Eric I have similar motherboard with you --Asus P5Q-EM, ATX. Today I encountered the same issue, but after I turned off system, pluged HDMI cable out of machine, and re-pluged it, then reboot system, the issue disappeared. Could you help us to try the above process? Thanks for your help Ma Ling
Hi, Ma Ling: I tried the method you mentioned, the result is: failed. Here are my steps: 1. Compile and install the xf86-video-intel 2.7.0 with the latest patch you provided. 2. Re-plug the DVI cable and reboot the system. The X started failed. 3. On the command line, re-plug the DVI cable, and test with "X -config /etc/xorg/xorg.conf", the X started failed. Any other ideas? Thanks a lot. Eric
Hi Eric The issue is very strange to me, now I can not reproduce it in Asus P5Q-EM platform, so would you please like to download our latest driver from master tree, then try it? Thanks for your help. Ma Ling
I'm confused. Since there's a patch working as comment#10 said, why does ling need Eric to try master?
(In reply to comment #20) > I'm confused. Since there's a patch working as comment#10 said, why does ling > need Eric to try master? The patch in comments #8 is only debug patch to confirm the issue, it is not really resolved. And several days ago I could reproduce it in Asus P5Q-EM platform , but now it always work, so I suggest Eric to update his driver from our master tree. Thanks Ma Ling
(In reply to comment #21) > (In reply to comment #20) > > I'm confused. Since there's a patch working as comment#10 said, why does ling > > need Eric to try master? > The patch in comments #8 is only debug patch to confirm the issue, it is not > really resolved. But that patch does make it work, so I thought it should give you good clue.
(In reply to comment #22) > (In reply to comment #21) > > (In reply to comment #20) > > > I'm confused. Since there's a patch working as comment#10 said, why does ling > > > need Eric to try master? > > The patch in comments #8 is only debug patch to confirm the issue, it is not > > really resolved. > But that patch does make it work, so I thought it should give you good clue. The patch is hard code , in fact it can not dynamically detect hdmi connection, we can not accept it.
Created attachment 26663 [details] Eric, please try the debug patch against latest driver Based on HDMI spec each HDMI source should provide HDMI identity, which is stored in CEA extension, otherwise we may think it is not HDMI device. So we also can detect HDMI device by trying to fetch EDID. Thanks for your hellp. Ma Ling
Hi, Ma Ling. Sorry for the late reply. It's a good news. Test passed. Here is the details: 1. I downloaded the latest master branch source codes, compile and install. But when starting X server, it failed. 2. Then I patched the patch you provided and tried again, this time it works. Great. Thanks for your hard work. You did a great job. By the way, should I close this bug? Eric Zhang
*** Bug 22189 has been marked as a duplicate of this bug. ***
(In reply to comment #25) > Hi, Ma Ling. Sorry for the late reply. It's a good news. Test passed. Here is > the details: > 1. I downloaded the latest master branch source codes, compile and install. But > when starting X server, it failed. > 2. Then I patched the patch you provided and tried again, this time it works. > Great. > Thanks for your hard work. You did a great job. > By the way, should I close this bug? > Eric Zhang Thanks for your help, we will close it until patch is committed into our tree :)
*** Bug 22497 has been marked as a duplicate of this bug. ***
(In reply to comment #28) > *** Bug 22497 has been marked as a duplicate of this bug. *** Hello Ma Ling, I have tried you patch but without success. This is what I have done 1. git clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-intel 2. patch -p1 -i ../hdmi_detect_edid_debug.patch patching file src/i830_hdmi.c Hunk #2 FAILED at 172. Hunk #3 succeeded at 212 (offset 8 lines). 1 out of 3 hunks FAILED -- saving rejects to file src/i830_hdmi.c.rej The patch did not apply cleanly but I looked through i830_hdmi.c and compared it with the changes that the patch should apply and everything looked okay. 3. ./autogen.sh --prefix=/usr make make install 4. I also checked that the files in /usr/lib/xorg/modules/drivers/ are new. -rwxr-xr-x 1 root root 985 2009-06-29 20:07 intel_drv.la -rwxr-xr-x 1 root root 3,4M 2009-06-29 20:07 intel_drv.so After restarting the system with my DVI cable pluged in the error still persists (VGA cable was not unpluged). I hope I did everything right. I will attach Xorg.0 patched.log and i830_hdmi.c.rej regards Achim
Created attachment 27227 [details] Xorg.log with patch applied
Created attachment 27228 [details] error i830_hdmi.c.rej
Created attachment 27263 [details] pleaset try the patch on your machine, thanks. this is a only dummy patch, please try it and upload your xorg log file with modedebug optoin on in UMS. Thanks Ma Ling
Created attachment 27265 [details] Xorg.log with debug.patch I hope the log has the necessary information. I was not sure what UMS is. I couldn't find any information at the freedesktop.org/wiki.
I'm guessing UMS means Userland ModeSetting (as opposed to Kernel ModeSetting). From the device names in Xorg.0.log it looks like you are using KMS (DVI1 instead of DVI-1). Using UMS can be done like this (taken from ubuntu: https://lists.ubuntu.com/archives/ubuntu-x/2009-June/000578.html) How do we revert back to non-KMS? Boot the kernel with the option i915.modeset=0 on your kernel command line. The ModeDebug part is supposed to go in xorg.conf. Add the following line to the "Device" section in xorg.conf: Option "ModeDebug" "true"
Created attachment 27330 [details] pleaset try the patch on your machine, thanks. Thanks for Geir Ove Myhr's exact reply ! The patch is dummy code, which will return connect status for HDMI output. please try it in UMS and upload log file with modedebug option on. Thanks Ma Ling
Created attachment 27339 [details] Xorg.0.UMS.2.6.30.log Thanks Geir Ove Myhr and Ma ling for your advice. I hope that I have done everything right this time. Regards Achim
(In reply to Bug 22497) (DVI port not detected on MSI G45M Digital motherboard) I switched off KMS (as Geir Ove Myhr mentioned) and applied this patch "http://bugs.freedesktop.org/attachment.cgi?id=26663" to 2.7.1 and now it works!! DVI port is detected. Xorg.0.log with debug option enabled is attached. But this patch still not works with KMS. Another possible solution to the problem is using an additional DVI port on an ADD2 card. This works without patch and even with KMS. Thanks and Regards Mahmut
Created attachment 27346 [details] Xorg.0.log using UMS and debug option enbaled
(In reply to comment #36) > Created an attachment (id=27339) [details] > Xorg.0.UMS.2.6.30.log > Thanks Geir Ove Myhr and Ma ling for your advice. > I hope that I have done everything right this time. > Regards > Achim hi Achim Frase, I doubt you doesn't use the patch in comments 35 correctly, because it is dummy code and force hdmi connect ? Thanks Ma Ling
Created attachment 27361 [details] Xorg.0.UMS.2.6.31 Hi Ma Ling, now DVI works with UMS with your patch from comment 35. You were right it was my fault, I have forgotten to use --prefix=/usr at configure time. regards Achim
o(In reply to comment #40) > Created an attachment (id=27361) [details] > Xorg.0.UMS.2.6.31 > Hi Ma Ling, > now DVI works with UMS with your patch from comment 35. You were right it was > my fault, I have forgotten to use --prefix=/usr at configure time. > regards > Achim great! please try the below patch again after removing that patch in comments #35. http://bugs.freedesktop.org/attachment.cgi?id=26663 Thanks a lot Ma Ling
Created attachment 27362 [details] UMS with hdmi_detect_edid_debug.patch applied >great! please try the below patch again after removing that patch in comments >#35. >http://bugs.freedesktop.org/attachment.cgi?id=26663 >Thanks a lot >Ma Ling DVI is still working with your patch :-) One side note, it seems that the time until I see GDM took a bit longer but I think that will change with KMS. Do I understand it correct, that KMS needs extra patches to get DVI working? Thanks for your help. Achim
*** Bug 22717 has been marked as a duplicate of this bug. ***
*** Bug 22871 has been marked as a duplicate of this bug. ***
commit 2ded9e2747d0a390d281bb5b16ff7f640ec85f78 Author: ling.ma@intel.com <ling.ma@intel.com> Date: Thu Jul 16 17:23:09 2009 +0800 fixed, please update your kernel version from drm-intel-next tree. close issue please open it if you need. Thanks Ma Ling
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.