[i945G] Samsung TV not detected on VGA output (no screens)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xf86-video-intel |
Invalid
|
High
|
|||
xserver-xorg-video-intel (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Binary package hint: xserver-
After upgrading from Ubuntu Hardy to Intrepid Xserver stopped working. Then upgraded to Jaunty to see if the new driver version solved the problem, it didn't.
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
The computer is connected to a Samsung 27" TV via VGA output.
Forcing vesa driver on xorg.conf makes the xserver work again but with slow refresh and wrong resolutions. With hardy it worked perfectly!
If you need more information or anything else, just ask.
Thanks in advance.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: xserver-
ProcEnviron:
LANG=ca_
SHELL=/bin/bash
ProcVersion: Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
SourcePackage: xserver-
Uname: Linux 2.6.28-11-generic i686
[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:817a]
00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:817a]
Jordi Puigsegur (jordi-puigsegur) wrote : | #1 |
- Dependencies.txt Edit (4.1 KiB, text/plain; charset="utf-8")
- LsHal.txt Edit (118.2 KiB, text/plain; charset="utf-8")
- LsMod.txt Edit (2.0 KiB, text/plain; charset="utf-8")
- LsPci.txt Edit (10.0 KiB, text/plain; charset="utf-8")
- XorgConf.txt Edit (1.0 KiB, text/plain; charset="utf-8")
- XorgLog.txt Edit (38.6 KiB, text/plain; charset="utf-8")
- XorgLogOld.txt Edit (38.8 KiB, text/plain; charset="utf-8")
- Xrandr.txt Edit (1015 bytes, text/plain; charset="utf-8")
- glxinfo.txt Edit (18.2 KiB, text/plain; charset="utf-8")
- setxkbmap.txt Edit (239 bytes, text/plain; charset="utf-8")
- system.txt Edit (342 bytes, text/plain; charset="utf-8")
- xdpyinfo.txt Edit (17.2 KiB, text/plain; charset="utf-8")
- xkbcomp.txt Edit (46.9 KiB, text/plain; charset="utf-8")
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | New → Confirmed |
Geir Ove Myhr (gomyhr) wrote : | #2 |
Changed in xserver-xorg-video-intel (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Incomplete |
description: | updated |
tags: | added: 945g intel jaunty xorg |
summary: |
- after upgrading from hardy to intrepid (then to Jaunty) xserver crashes - on startup + [i945G] after upgrading from hardy to intrepid (then to Jaunty) xserver + crashes on startup |
tags: | added: crash |
Jordi Puigsegur (jordi-puigsegur) wrote : Re: [i945G] after upgrading from hardy to intrepid (then to Jaunty) xserver crashes on startup | #3 |
- Xorg.0.log Edit (7.6 KiB, text/plain)
Attached you can find the xorg log file when trying to stat x without forcing vesa driver.
tags: |
added: no-screens removed: crash |
summary: |
- [i945G] after upgrading from hardy to intrepid (then to Jaunty) xserver - crashes on startup + [i945G] Samsung TV not detected on VGA output (no screens) |
Geir Ove Myhr (gomyhr) wrote : | #4 |
Jordi, a crash is what happens when a program performs an illegal operation and is terminated by the operating system. In your case this is not what happens, so I have removed the crash tag and changed the title. What happens (see bottom of the last Xorg.0.log) is that the driver doesn't detect anything on the VGA connector, gets a bit confused and says "no screens" (because it doesn't know where to display an image) and the exits gracefully.
I have a few more questions:
1. What is the exact model of your Samsung TV?
2. Exactly how is it connected to the computer? Is there a VGA cable attaching them directly or are there any adapters involved?
And I would ask you to try the following:
3. Try the 2.7.1 driver from the x-updates personal private archive (PPA) at https:/
4. If it isn't, could you add the line
Option "ModeDebug" "true"
to the "Device" section of your xorg.conf, log out and in again and attach the resulting Xorg.0.log here. The ModeDebug option should give some more information about what the driver is up to.
If you are ready for some hard-core testing, you may also try the xorg-edgers PPA which have the very newest drivers from the development tree. This has a higher chance of breaking something, but if you don't mind reinstalling afterwards it should be fine. https:/
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Incomplete → Confirmed |
status: | Confirmed → Incomplete |
Jordi Puigsegur (jordi-puigsegur) wrote : | #5 |
- Xorg.0.log Edit (20.2 KiB, text/plain)
1. The TV is a Samsung LE27S7
2. It is connected via direct VGA cable without any converter. It worked perfectly using Hardy and haven't changed any wiring.
3. I just installed the 2.7.1 driver from the x-updates ppa and it failed with the same no screens message.
4. Since it didn't work, I activated the mode debug as suggested and attach the log file.
Didn't have time today to try more things...
Geir Ove Myhr (gomyhr) wrote : | #6 |
Thank you for the additional information. A few more questions:
1. You say this worked in Hardy. Did you use the "i810" legacy driver that was available in Hardy, or did it also work with the "intel" driver? If you don't remember, it would be nice if you could test a Hardy LiveCD and upload the Xorg.0.log here.
2. Do you have the possibility to attach another monitor to the VGA connector and see if it works? This should tell us if it is something particular with the TV that triggers this or if it is a generic problem with driver and your VGA adapter.
3. It would be interesting to see if the monitor is detected using other programs than xorg. Could you try `sudo get-edid >edid.bin 2>get-edid-
With the above questions answered, I think this bug is ready to be forwarded to the intel developers. If you want to give the xorg-edgers repository a try, I would wait until you have done that and create the upstream bug report with the logs from that release. If not, it is okay to forward it with the current information. However, you may be asked to test the latest development version later to test any proposed fixes. So this gives the final question:
4. Do you want to test xorg-edgers version before we send this upstream?
Jordi Puigsegur (jordi-puigsegur) wrote : | #7 |
- Xorg.0.log Edit (39.2 KiB, text/plain)
1. Didn-t use any specific configuration, therefore I suppose I was using intel driver. I attach xorg.0.log file after booting from live Ubuntu Hardy, which now I can confirm works properly.
Jordi Puigsegur (jordi-puigsegur) wrote : | #8 |
Jordi Puigsegur (jordi-puigsegur) wrote : | #9 |
Jordi Puigsegur (jordi-puigsegur) wrote : | #10 |
Jordi Puigsegur (jordi-puigsegur) wrote : | #11 |
I'll try a different screen and also will install the latest drivers, but probably not today. Even if Jaunty works I'll probably format the PC and install it from scratch. At least that way I'll get ext4 and a clean installation. Too many upgrades (from Gutsy).
Geir Ove Myhr (gomyhr) wrote : | #12 |
Thank you for the updated information. I'll hold off upstreaming until you get around to do the final testing.
It's interesting to see that ddcprobe and get-edid reads the edid information just fine. I thought one of the tests the driver does for detecting the presence of a monitor is to check for EDID information (i830_crt_
Jordi Puigsegur (jordi-puigsegur) wrote : | #13 |
- Xorg.0.log Edit (7.7 KiB, text/plain)
2. I plugged another monitor (Eizo CRT) and didn't work with Intel driver (It worked with vesa driver). I attach the xorg.0.log file.
Jordi Puigsegur (jordi-puigsegur) wrote : | #14 |
Just tried to install the edgers drivers on a live Cd but didn't work. So far I still need the machine running and do not want to destroy it yet :-) Maybe it would be better if you just submit the bug upstream. Later if necessary I will install newer drivers. Thanks.
Geir Ove Myhr (gomyhr) wrote : | #15 |
I will file a bug report upstream. Not sure when I'll get the time, but probably within a few days (I have a couple of other things that I have to give priority). I will then ask you to subscribe to the upstream bug.
It was interesting to see that the bug wasn't triggered by that particular Samsung TV. I thought that was most likely. Could you describe your computer?
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Incomplete → Triaged |
Geir Ove Myhr (gomyhr) wrote : | #16 |
One more thing you could try: it has happened that setting
AccelMethod "uxa"
has mysteriously fixed some bug that I really don't understand how that could fix. Since this will be the default for the upcoming versions it would be nice if you could verify that it does not change anything, when using the 2.7.1 driver.
I have put together a text file with the basic info for the upstream bug report, so I should be able to file it upstream tomorrow if I get the computer model and this verification.
In freedesktop.org Bugzilla #22002, Geir Ove Myhr (gomyhr) wrote : | #17 |
Created an attachment (id=26303)
xorg.conf
I'm forwarding a bug from an ubuntu user:
https:/
Bug description:
On a Asus Mini Barebone (Pundit P3-PH4C SK775 DDR2) with 945G chipset, the monitor connected on the VGA port is not detected and the X server therefore exits with "Fatal server error: no screens found". Normally a Samsung TV (LE27S7) is connected via a VGA cable, but also when an Eizo CRT was connected, it is not detected. Both get-edid and ddcprobe is able to read the EDID of the monitor. When using the vesa driver it works normally.
It used to work in ubuntu 8.04 (which has intel driver 2.2.1), but stopped working in 8.10 (with driver version 2.4.1). It has been tested and found not to work in 2.7.1. While the default AccelMethod for ubuntu packages (including 2.7.1) is EXA, it has also been tested with UXA without working.
System environment:
-- chipset: 945G
-- system architecture: 32-bit
-- xf86-video-intel: 2.7.1
-- xserver: 1.6.0-0ubuntu14
-- mesa: 7.4-0ubuntu3
-- libdrm: 2.4.5-0ubuntu4
-- kernel: 2.6.28-11-generic
-- Linux distribution: Ubuntu 9.04 (Jaunty)
-- Machine or mobo model: ASUS PUNDIT P3-PH4C SK775 DDR2
-- Display connector: VGA
[lspci]
00:00.0 Host bridge [0600]: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub [8086:2770] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:817a]
00:02.0 VGA compatible controller [0300]: Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02)
Subsystem: ASUSTeK Computer Inc. Device [1043:817a]
Reproducing steps:
start computer
In freedesktop.org Bugzilla #22002, Geir Ove Myhr (gomyhr) wrote : | #18 |
Created an attachment (id=26304)
Xorg.0.log with ModeDebug using the 2.7.1 driver
In freedesktop.org Bugzilla #22002, Geir Ove Myhr (gomyhr) wrote : | #19 |
Created an attachment (id=26305)
Xorg.0.log from driver version 2.2.1
Jordi Puigsegur (jordi-puigsegur) wrote : | #20 |
I tried also with uxa acceleration, but as expected didn't work.
The computer is an ASUS Mini Barebone (with an integrated intel graphics card):
* MINI BAREBONE INTEL CORE2 DUO ASUS PUNDIT P3-PH4C SK775 DDR2
* CPU INTEL CELERON 2.8 GHZ SK775
* MEMORY 1 GB DDR2 667 KINGSTON
* HD 160 GB SATA2 SEAGATE 7200 8MB
* DVD 16X ASUS
* WIRELESS KEYBOARD AND WIRELESS OPTICAL MOUSE LOGITECH EX110
Jordi.
Geir Ove Myhr (gomyhr) wrote : | #21 |
I have forwarded the bug upstream: https:/
Please subscribe to the upstream bug report, so you can answer any questions the intel developers might have. Please identify yourself as the original reporter when you do.
If they are asking you to try something that you don't know how to do, you may ask here and we'll do our best to help (I'm also following the upstream bug report).
Changed in xserver-xorg-video-intel: | |
status: | Unknown → Confirmed |
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #22 |
I'm the original user who submitted the bug in launchpad. I'll be glad to test anything you might need to test. I plan to re-format the machine, but still will wait several weeks.
Jordi Puigsegur (jordi-puigsegur) wrote : | #23 |
I've subscribed to the upstream bug.
Thanks,
Jordi.
In freedesktop.org Bugzilla #22002, Ling-ma (ling-ma) wrote : | #24 |
Created an attachment (id=26346)
please try the patch on your machine. thanks
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #25 |
It's surprising to know that 2.2.1 works for you but 2.4.1 doesn't . git diff shows that there is really no difference on the crt detection code between these two releases. hmm..
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #26 |
I speak too fast..seems that Ubuntu has cherry picked more patches against upstream..
https:/
Maybe 7b6f4d22211d714
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #27 |
How do I have to proceed to try the patch?
Thanks,
Jordi.
In freedesktop.org Bugzilla #22002, Geir Ove Myhr (gomyhr) wrote : | #28 |
Jordi, we will figure out the details about how to add the patch in the dowstream report (to keep noise down here).
Ling, can we try the patch against 2.7.1, or do we have to get git-master to test?
In freedesktop.org Bugzilla #22002, Ling-ma (ling-ma) wrote : | #29 |
(In reply to comment #8)
> Jordi, we will figure out the details about how to add the patch in the
> dowstream report (to keep noise down here).
> Ling, can we try the patch against 2.7.1, or do we have to get git-master to
> test?
yes, you can try the patch against 2.7.1.
I also can not find any differnece between 2.2.1 and 2.4.1.
Because we have no hardware, would you please like to do git bisec to find which patch caused the regression between two versions
Michael mentioned 7b6f4d22211d714
Thanks for your help.
Ma Ling
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #30 |
(In reply to comment #9)
> (In reply to comment #8)
> > Jordi, we will figure out the details about how to add the patch in the
> > dowstream report (to keep noise down here).
> > Ling, can we try the patch against 2.7.1, or do we have to get git-master to
> > test?
>
> yes, you can try the patch against 2.7.1.
>
> I also can not find any differnece between 2.2.1 and 2.4.1.
> Because we have no hardware, would you please like to do git bisec to find
> which patch caused the regression between two versions
>
> Michael mentioned 7b6f4d22211d714
>
> Thanks for your help.
> Ma Ling
>
yes, Ubuntu didn't just take our original 2.4.1 release, but cheery picked more in post-2.4.1 master, such as the commit 7b6f.. I think. check out the link I posted in comment# 6...
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #31 |
(In reply to comment #7)
> How do I have to proceed to try the patch?
>
> Thanks,
> Jordi.
>
Jordi, could you try to check out 2.4.1 from freedesktop upstream repository and see if it works for your system? this may help us narrow the issue down because from upstream change log, 2.2.1 and 2.4.1 really makes no different on CRT detection. if upstream 2.4.1 works for you, then it should be the patch cherry picked by Ubuntu from our post-2.4 release.
Geir Ove Myhr (gomyhr) wrote : Re: [Bug 379157] Re: [i945G] Samsung TV not detected on VGA output (no screens) | #32 |
Assuming that we may patch the 2.7.1 driver installed and the
x-updates entries in /etc/apt/
https:/
how to do it (the ubuntu/debian way):
1. Install some essential stuff to build packages `sudo apt-get
install build-essential`
2. Install the packages that xserver-
`sudo apt-get build-dep xserver-
3. (Optional) Make a subdirectory for the source code `mkdir
intel-testing; cd intel-testing`
4. Get the source package xserver-
xorg-server-
file and a .diff file) and create a new directory with the source code
called xserver-
5. `cd xserver-
6. Apply the patch with `patch -p1 </path/
7. Build the binary packages with `debuild -b -us -uc`. This should
produce two binary packages (.deb files) in the parent directory.
xserver-
8. Install the packages with `dpkg -i xorg-xserver-
Whether it works or not, please upload the Xorg.0.log from this to the
upstream bug report. Make sure you still have ModeDebug enabled.
If you get stuck at some point, you may ask for help here.
Jordi Puigsegur (jordi-puigsegur) wrote : | #33 |
Thanks Geir,
It'll probably take me some time to do all this, so you'll have to wait during the weekend...
In the meantime I see that there is another update on the upstream bug:
> Jordi, could you try to check out 2.4.1 from freedesktop upstream repository
> and see if it works for your system? this may help us narrow the issue down
> because from upstream change log, 2.2.1 and 2.4.1 really makes no different on
> CRT detection. if upstream 2.4.1 works for you, then it should be the patch
> cherry picked by Ubuntu from our post-2.4 release.
Would that be easier? How would I do that? Do I need to install a live CD Hardy and install some debian package ... ?
What should I do first?
Geir Ove Myhr (gomyhr) wrote : | #34 |
I have seen the upstream comments, but I don't know yet...
I'll see if I can make some binary packages from 2.4.1 that you can
test, but I'm not awfully familiar with the packaging process, so it
will take me some time too... I think 2.4.1 should work alright on
Jaunty (I know some people downgrade to it because of performance
regressions). I will try to build and test a version without patches
applied on Jaunty, and then you may either get deb-packages from me,
or I'll give you the steps for how to do it. I guess I should set up
my own PPA at some point.
For testing the upstream patch, the list I posted above should be
fairly straightforward. Unless something goes wrong, you should be
able to go through that pretty quickly. Maybe you could do that,
report the result and Xorg.0.log (with ModeDebug) and say that we're
working on the rest?
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #35 |
Created an attachment (id=26407)
xorg.0.log with ModeDebug using 2.7.1 driver with patch provided
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #36 |
Just tried the patch provided (comment #4) and it doesn't work. I attached the Xorg.0.log file with debug option activated. Now we are working on checking 2.4.1 from freedesktop upstream repository.
Thanks, Jordi.
Geir Ove Myhr (gomyhr) wrote : | #37 |
I see you added the results upstream - great! Too bad it didn't work.
I tried to build 2.4.1 on Jaunty and it didn't work straight away. I think we should be able to use the 2.4.1 driver from Reinahart Tartler, though (https:/
Jordi Puigsegur (jordi-puigsegur) wrote : | #38 |
- Xorg.0.log Edit (8.8 KiB, text/plain)
Hi Geir,
Just tried Reinhart Tartler 2.4 from ppa and doesn't work either. I attach the log.
Jordi.
In freedesktop.org Bugzilla #22002, Geir Ove Myhr (gomyhr) wrote : | #39 |
The 2.4.1 driver from git (well, really from http://
Geir Ove Myhr (gomyhr) wrote : Re: [Bug 379157] Re: [i945G] Samsung TV not detected on VGA output (no screens) | #40 |
> Just tried Reinhart Tartler 2.4 from ppa and doesn't work either. I
> attach the log.
Good. That was what I expected, since the 2.4.1 from that PPA contains
the patch from post-2.4.1. What would be good news, is if we could
revert the patch in question from that package and it would then work.
From browsing through the logs of the ubuntu -intel packages (linked
to from the upstream bug report), it looks like the problematic patch
came in through the script that starts with 22- (don't remember the
name right now, it is located in debian/patches in the source
package). What I'm not sure about is wheather disabling that patch or
just changing it is the right thing to do. I will hopefully have time
to look at it tomorrow.
If you want to give it a try with disabling it, you can do that by
commenting it out in the "series" file in the debian/patches directory
(if I remember the file name correctly - it's the only file there
which is not a patch). The way to go would be basically the same as
when you built 2.7.1. If you don't get the 2.4.1 source package with
apt-get source, you may download it (there are 3 files *orig.tar.gz,
*.diff.gz and *.dsc) from the PPA page and use dpkg-source -x to
unpack it the way apt-get source would do. If these instructions are
too vague, you may wait until I have had the time to look closer into
it.
Geir Ove Myhr (gomyhr) wrote : | #41 |
I just had a look at it, and it seems that 22_no_pipe_
xserver-
xserver-
* 1ubuntu11~ppa1 is the one from Reinhard Tartler, but rebuilt by me
* 1ubuntu12~gomyhr1 is the same but with 22_no_pipe_
If we're lucky, the first one does not work and the second works.
Jordi Puigsegur (jordi-puigsegur) wrote : | #42 |
It just worked as you expected. The xserver-
Geir Ove Myhr (gomyhr) wrote : | #43 |
That is good news indeed. Please report it upstream and include
Xorg.0.log with ModeDebug for both cases.
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #44 |
Created an attachment (id=26518)
test with 2.4.1 with the path (fails)
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #45 |
Created an attachment (id=26519)
test with 2.4.1 without the patch (works!!)
We've done the suggested tests and 2.4.1 without the patch works properly. I've attached both xorg.0.log with mode debug activated.
In freedesktop.org Bugzilla #22002, Geir Ove Myhr (gomyhr) wrote : | #46 |
The patch in question (22_no_
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #47 |
(In reply to comment #17)
> The patch in question (22_no_
> ubuntu for fixing this bug:
> https:/
> . But from the comments, it seems it did not actually fix it (but it stopped
> Timo's mouse pointer from jumping during monitor probing).
>
you're right, the patch will help to reduce flicking. Until this bug, we didn't run into any issue about doing so..
Jordi Puigsegur (jordi-puigsegur) wrote : | #48 |
As you might have seen I already reported it upstream.
What are the options now? Do I keep this driver or I might expect better results (specially performance watching movies with vlc or mplayer...) with newer drivers without that patch? Will that patch be removed from future releases of Ubuntu?
Geir Ove Myhr (gomyhr) wrote : Re: [Bug 379157] Re: [i945G] Samsung TV not detected on VGA output (no screens) | #49 |
From what I have seen from other users, there hasn't been a whole lot
of performance change between 2.4.1 and 2.7.1. Many users report
significant improvement for 2.7.99.1 which is in Karmic now. It will
probably be 2.7.8 by the time Karmic is out, and hopefully it will be
with a solution to your problem. So I would suggest that you keep the
package that is working for you at the moment.
Now, upstream will have to figure out if the best way to solve this
problem is to outright revert the problematic patch or do something
different. You will probably be asked to test another patch soon, but
it may take a little while. You may take a look this bug (which is
similar except that a VGA was sometimes detected when it wasn't there)
for how things may proceed:
https:/
Hopefully, it won't take as long, though.
In freedesktop.org Bugzilla #22002, Ling-ma (ling-ma) wrote : | #50 |
Created an attachment (id=26636)
please try the debug patch on your machine against lastest 2D driver, thanks.
Geir Ove Myhr (gomyhr) wrote : | #51 |
As you probably have seen, there is a patch upstream against the newest driver. The easiest way to get the latest -intel driver with all it dependencies is to use the xorg-edgers PPA. Like last time, I have built two packages for you and put them at http://
Jordi Puigsegur (jordi-puigsegur) wrote : | #52 |
- dpkg_output.txt Edit (3.8 KiB, text/plain)
Hi Geir,
Just tried to install these packages and I get dependency problems. I tried first without adding any repository and then adding xorg-edgers repository:
deb http://
deb-src http://
The conflicting packages are:
libdrm-intel1 (>= 2.4.11+
libdrm2 (>= 2.4.11+
I attach the output of dpkg -i
What else do I have to do?
Jordi.
Geir Ove Myhr (gomyhr) wrote : | #53 |
Hi Jordi,
The packages you need are all in the xorg-edgers PPA. To install all the dependencies, after you have added the lines to /etc/apt/
> I attach the output of dpkg -i
Would you mind prepending commands with LANG=en when uploading their outputs? My catalán is a bit rusty... (it's sufficently close to castellano that I could understand this one, but in general...). Not exactly sure how it works with sudo, maybe `export LANG=en` is necessary. I don't have any localization on the computer I'm at right now other that different keyboard layouts, so I can't test.
Jordi Puigsegur (jordi-puigsegur) wrote : | #54 |
- Xorg.0.log_0ubuntu0sarvatt Edit (19.9 KiB, text/plain)
Finally I found some time and was able to do the testing.
0ubuntu0sarvatt package fails as usual. I attach Xorg log file.
Then I installed the 0ubuntu2gomyhr package and rebooted the machine: it didn't start up. It hanged while on the initial ubuntu splash screen. After several minutes without hard drive activity I just hard booted and reinstalled 2.4 driver in recovery mode. Luckily it still works, even with all the new packages from xorg-edgers.
That attempt didn't produce any Xorg.0.log file, nor did it leave any activity on syslog file.
> Would you mind prepending commands with LANG=en when uploading their outputs?
Didn't know how to switch to english output...
BTW, with sudo it works just LANG=en
Geir Ove Myhr (gomyhr) wrote : Re: [Bug 379157] Re: [i945G] Samsung TV not detected on VGA output (no screens) | #55 |
Did you use the 0ubuntu0sarvatt that I compiled or the one from the
PPA? I'm asking because I want to be sure it is the patch and not
anything else that accounts from the bad behaviour. To get a better
idea about what is going wrong, you can start ubuntu without the
splash screen by pressing Esc to get the Grub boot menu on startup, e
to edit the command line for the default menu item and then remove the
options splash and quit from the parameters.
What happens if you start with 0ubuntu0sarvatt, then sudo dpkg -i
...0ubuntu2gomyhr and sudo /etc/init.d/gdm restart?
In freedesktop.org Bugzilla #22002, Ling-ma (ling-ma) wrote : | #56 |
(In reply to comment #19)
> Created an attachment (id=26636) [details]
> please try the debug patch on your machine against lastest 2D driver, thanks.
ping ~
In freedesktop.org Bugzilla #22002, Geir Ove Myhr (gomyhr) wrote : | #57 |
Jordi reports downstream that when using the deb-package that I built with the patch, X does not even start and is not producing an Xorg.0.log. I didn't get more details or verification that the deb-package that I built without the patch worked normally (I like to build packages in pairs with and without patches so that I know that different behavior is not due to my build environment). Is there any specific information you want from the non-starting X-session?
https:/
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #58 |
When I reported this problem Geir, he asked me to do more tests, but I haven't had time to do it. I'll try to find some time and do it ASAP.
Thanks, Jordi.
In freedesktop.org Bugzilla #22002, Ling-ma (ling-ma) wrote : | #59 |
(In reply to comment #22)
> When I reported this problem Geir, he asked me to do more tests, but I haven't
> had time to do it. I'll try to find some time and do it ASAP.
> Thanks, Jordi.
ping ~
In freedesktop.org Bugzilla #22002, Geir Ove Myhr (gomyhr) wrote : | #60 |
The problems Jordi reported earlier with the patched version went away after a reboot (just installing the driver and restarting X was problematic). The patch in comment #19 didn't make any difference. The logs created with and without the patch are as equal as they can be (only the timestamp and a memory address in the backtrace differ).
Xorg.0.log with git-master without patch:
http://
Xorg.0.log with git-master with patch:
http://
Jordi Puigsegur (jordi-puigsegur) wrote : | #61 |
Hi Geir,
I am using the packages you placed on http://
I did as you asked me: Installed 0ubuntu0sarvatt, rebooted (X don't work), installed 0ubuntu2gomyhr and then I tried to restart gdm and the result is (copied from console):
$ /etc/init.d/gdm restart
* Stopping GNOME Display Manager... [ OK ]
* Starting GNOME Display Manager... [fail]
And no Xorg.0.log is produced. Then I reboot the computer and this time doesn't hang up. I attach both Xorg.0.log with mode debug activated.
Jordi Puigsegur (jordi-puigsegur) wrote : | #62 |
Jordi Puigsegur (jordi-puigsegur) wrote : | #63 |
- Xorg.0.log.ubuntu2gomyhr Edit (20.0 KiB, text/plain)
And here the second one.
Now I've been asked by Bryce Harrington to try a new release of ubuntu:
> A new major version of the -intel driver is now available in Karmic.
>
> This version includes a major reworking of the acceleration
> architecture, which resolves a huge number of issues. We do not know
> whether it resolves the issue you reported.
>
> Would you mind testing Karmic Alpha-2 and seeing if it is still a
> problem? CD ISO images are available here:
Isn't that the 2.7 I've been trying?
Geir Ove Myhr (gomyhr) wrote : | #64 |
Thank you. The two logs are about as equal as they can be. The only lines that differ are the timestamp and one memory address in the backtrace. Although you don't write it explicitly, I assume that after the reboot, the ubuntu2gomyhr version performed just the same as the ubuntu0sarvatt version. I see you haven't reported this upstream, so I'll do it in a minute.
The driver version in karmic alpha-2 is 2.7.99.1 and I think this is actually a little bit older than the one you have been testing (2.7.99 from early June). The main difference in Karmic is that it also has a newer linux kernel, and for some tasks that the kernel handles (typically accelerated stuff) the fix may actually be in the kernel. Actually, after alpha-2 was released kernel mode setting has been enabled in the newer Karmic. This means that the code responsible for detecting monitors is moved to the kernel (but it is ported from the -intel driver so this bug is probably present both places). If they find the underlying problem upstream, they can probably fix it in both places, but it would be nice if you could verify that after a fix is released.
Jordi Puigsegur (jordi-puigsegur) wrote : | #65 |
> Although you don't write it explicitly, I assume that after the reboot,
> the ubuntu2gomyhr version performed just the same as the
> ubuntu0sarvatt version.
Yes it did.
From your explanation I understand that I wait to test karmik until we get news from upstream.
In freedesktop.org Bugzilla #22002, Ling-ma (ling-ma) wrote : | #66 |
Created an attachment (id=28033)
please try the debug patch
In this patch against latest 2D driver I move load detect sequence to match environment of your successful detection, meanwhile dump register before and after load detect function. Please try it then upload your xorg file.
Thanks
Ma Ling
Jordi Puigsegur (jordi-puigsegur) wrote : | #67 |
Hi Geir,
Did you see the upstream new patch?
Recently after an update the Xserver didn't want to start (too much updates I guess) and I installed Hardy. The reason is because the video driver not only doesn't have this problem, but also because performance is much better. So if I test anything it would have to be on a live CD.
Jordi.
Geir Ove Myhr (gomyhr) wrote : | #68 |
Hi Jordi, I saw the path upstream. I am on a conference this week, so I'm not sure I will have time to follow up right now (but maybe).
It should be okay to test this with a LiveCD. I use a USB stick, so I don't have to burn CDs all the time. It also faster, since a CD is quite slow to read. With the USB Creator utility it is also really easy. I seems to be in intrepid and up by default, but has also been backported to hardy: http://
The latest patch will dump all driver registers to the log file before and after the load detection, and I hope that it should be enough for Ling to find out what is going wrong. Both you and I, and probably also Ling, has put so much time into getting this fixed that it would be a shame if it wasn't fixed.
In freedesktop.org Bugzilla #22002, Ling-ma (ling-ma) wrote : | #69 |
ping ~
Geir Ove Myhr (gomyhr) wrote : | #70 |
Jordi, I have made a PPA and built a package with the upstream patch there. This is the first time I build and publish using a PPA, so I'm not 100 % sure I did it correctly, but at least on the third attempt I didn't get any error messages, and on the fourth I'm pretty sure I got the patch in before it was built. https:/
In order to build the newest driver I had to make the PPA depend on the xorg-edgers PPA. This is because the newest driver will not build without limdrm-dev is >= 2.4.11 and the version in Jaunty is 2.4.5. In practice this means that you must use the xorg-edgers PPA and then replace xserver-
Try if this works for you first. Another option is to use a Karmic LiveCD with KMS turned off at boot, verify that the issue is present (there's no reason it shouldn't) and only install intel driver. That avoids using the xorg-edgers PPA, but I think I will have to rebuild for karmic then.
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #71 |
ping~
Geir Ove Myhr (gomyhr) wrote : | #72 |
Have you had the chance to get the logs with the package in the PPA yet?
Jordi Puigsegur (jordi-puigsegur) wrote : | #73 |
Last weekend I tried to set up a boot USB stick but was not successfull. Have to check the creating procedure (used my laptop's Jaunty app. to create it) and/or maybe update the BIOS of the computer. Haven't had time during the week.
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #74 |
Geir Ove Myhr , would you please help to ping Jordi to provide log after patch in comment# 25? thanks.
Geir Ove Myhr (gomyhr) wrote : | #75 |
Jordi, upstream is pinging you about this...
I have noticed that my old computer (Dell Inspiron 8200 from 2002, 845GM chipset) does not boot from USB sticks. If your computer cannot boot from USB sticks either, it may be easier to use a LiveCD. It should not be a problem to use the xorg-edgers PPA from a LiveCD instead of a USB stick. You just have to download http://
Bryce Harrington (bryce) wrote : | #76 |
Jordi, please test the patch upstream has produced for your bug and provide feedback on it. Geir's directions in the previous comment should help, but let us know if you have any difficulty doing this.
Jordi Puigsegur (jordi-puigsegur) wrote : | #77 |
I first tried to use a live CD but didn't know how to reboot after the changes so I tried to use a boot USB stick but was not successful.
Since it might be a while until I am able to have a working USB stick I'll use a live CD ,but here I have doubts. I understand how I can install the patch in a live CD but I don't know how to test that the patch works. Before formatting I could just reboot the computer after every xorg.conf change and test everything but in a live CD I cannot reboot ... how do I test that the new X configuration works after installing? And how do I go back to a working conf. to submit the files?
Thanks,
Jordi.
Geir Ove Myhr (gomyhr) wrote : | #78 |
With a LiveCD you lose all changes when you reboot, but you don't need to reboot to activate the changes[*]. It is sufficient to restart X, and you can do that by simply logging out (on a LiveCD you will be logged in again after 10 seconds IIRC). Alternatively, you can switch to a VT and do a `/etc/init.d/gdm restart`.
The easiest way to get the log files when your computer has a black screen is to ssh in from another computer. For that you need the computer to be connected via cable instead of wireless and you will need to `apt-get install openssh-server` and since it is a LiveCD you will need to set a password for the ubuntu user to be able to log in with `passwd`, or alternatively for the root user with `sudo passwd root`.
If you don't have another computer available to ssh from, you can also save the Xorg.0.log to a USB key. Before you restart X, insert the USB key and see where it gets mounted (should be /media/something). Then from a VT before you restart X, write `sleep 60; cp /var/log/Xorg.0.log /media/something` where you replace something with the appropriate directory. That should wait 60 seconds and copy the log file. If you restart X during those 60 seconds, a new Xorg.0.log will be created and despite your black screen you will get the log file on your USB stick.
[*] I remember you had some problems earlier that mysteriously went away when rebooting, but hopefully those won't show up now.
Michael Fu (michael-fu-intel) wrote : | #79 |
ping from upstream~. Is there any progress, Jordi?
Jordi Puigsegur (jordi-puigsegur) wrote : | #80 |
- Xorg.1.log Edit (176.5 KiB, text/plain)
Hi,
First of all my apologies for the delay. I am quite busy during summer and haven't had time to check on that. Also, I didn't see any notification of last Geir answer and was still waiting ... :-)
The good news is that after one hour of setting up the environment I could test the driver with the patch and it works. I attach the xorg.1.log file (it is 1 because somehow session number 0 got stuck and the new driver opened the session in number 1). And as I said, the patch works: It detects the screen correctly and gets the right resolution.
Jordi.
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #81 |
Hi,
First of all my apologies for the delay. I am quite busy during summer and haven't had time to check on that.
I tested the driver with the patch and it works. You can find the xorg.1.log file (it is 1 because somehow session number 0 got stuck and the new driver opened the session in number 1) at http://
And as I said, the patch works: It detects the screen correctly and gets the right resolution.
Jordi.
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #82 |
we've known that i830GetLoadDete
In freedesktop.org Bugzilla #22002, yakuizhao (yakui-zhao) wrote : | #83 |
Created an attachment (id=29031)
disable VGA plane before doing CRT hotplug
Will you please try the debug patch on the latest graphics driver and see whether the issue still exists?
Please try it on UMS mode.
Thanks.
Tormod Volden (tormodvolden) wrote : | #84 |
I added the patch from https:/
xserver-
Jordi Puigsegur (jordi-puigsegur) wrote : | #85 |
just departing on holidays now ... for 10 days. When I come back I wll test the new package.
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #86 |
ping~ Jordi
In freedesktop.org Bugzilla #22002, Geir Ove Myhr (gomyhr) wrote : | #87 |
(In reply to comment #32)
> ping~ Jordi
Jordi reported downstream that he is on holiday 10 days from Sept. 2.
Geir Ove Myhr (gomyhr) wrote : | #88 |
Hi Jordi,
Hope you had a nice holiday. In case you didn't get the xorg-edgers package with the patch applied, I copied it to http://
Jordi Puigsegur (jordi-puigsegur) wrote : | #89 |
Geir,
There is a problem with permissions ...
Forbidden
You don't have permission to access /LP379157/
Jordi.
Geir Ove Myhr (gomyhr) wrote : | #90 |
Sorry about that. I was in a hurry when I uploaded the file and didn't check the permissions. It should be fine now.
Geir Ove
Jordi Puigsegur (jordi-puigsegur) wrote : | #91 |
In freedesktop.org Bugzilla #22002, Geir Ove Myhr (gomyhr) wrote : | #92 |
Created an attachment (id=29504)
Xorg.0.log with the patch in comment #31
Here is the Xorg.0.log from Jordi downstream. He doesn't say whether it fixes the issue or not, but maybe it is obvious from the log or he can comment here.
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #93 |
(In reply to comment #34)
> Created an attachment (id=29504) [details]
> Xorg.0.log with the patch in comment #31
>
> Here is the Xorg.0.log from Jordi downstream. He doesn't say whether it fixes
> the issue or not, but maybe it is obvious from the log or he can comment here.
>
looks it's fixed...
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #94 |
(In reply to comment #35)
> (In reply to comment #34)
> > Created an attachment (id=29504) [details] [details]
> > Xorg.0.log with the patch in comment #31
> >
> > Here is the Xorg.0.log from Jordi downstream. He doesn't say whether it fixes
> > the issue or not, but maybe it is obvious from the log or he can comment here.
> >
>
> looks it's fixed...
>
No, it's not. I was in a rush and forgot to write it down. The screen went black (on power save).
In freedesktop.org Bugzilla #22002, yakuizhao (yakui-zhao) wrote : | #95 |
Created an attachment (id=29654)
disable VGA plane before doing CRT hotplug detect
Will you please try the updated debug patch and see whether the issue still exists?
Thanks.
Geir Ove Myhr (gomyhr) wrote : | #96 |
There's a new debug patch upstream. I have built the latest xorg-edgers package with the patch applied at https:/
I haven't figured out how the patch system is supposed to work yet, so in the end I had to apply the patch manually (well, quilt import and quilt push) to make it work.
Geir Ove Myhr (gomyhr) wrote : | #97 |
ping
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #98 |
Ping ~ Jordi
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #99 |
Created an attachment (id=29883)
xorg.1.log file after testing last patch
I tried the patch and didn't work. I get the "Ubuntu is running in low graphics mode" message. I attach the xorg log file.
Jordi Puigsegur (jordi-puigsegur) wrote : | #100 |
- Xorg.1.log Edit (19.8 KiB, text/plain)
Tried it and didn't work. I get the "Ubuntu is running in low graphics mode" message. I attach the xorg log file.
Alberto Milone (albertomilone) wrote : | #101 |
Please follow these steps:
1) set the driver to intel (instead of vesa)
2) reboot with the cable unplugged
3) Log in as usual
4) Connect the VGA cable, open the terminal and type:
xrandr
and attach the output of that command
Changed in xserver-xorg-video-intel (Ubuntu): | |
importance: | High → Medium |
importance: | Medium → High |
Jordi Puigsegur (jordi-puigsegur) wrote : | #102 |
The computer now runs Hardy and I am doing all tests related to this bug from a Jaunty live CD, so I don't know how to proceed.
Is it possible to do what you suggest from a Jaunty live CD ?
In freedesktop.org Bugzilla #22002, manu (eallaud-gmail) wrote : | #103 |
I would like to add my own experience here:I have a g33 based MB with the same problem on Karmic: actually it does not even boot correctly with KMS as it cannot find a screen as it thinks VGA is disconnected. All details (with a patch that forces ddc probing instead of hotplug detection) are here:https:/
Let me know if I can post some more logs to help.
In freedesktop.org Bugzilla #22002, Michael Fu (michael-fu-intel) wrote : | #104 |
diff --git a/drivers/
index 212e227..e505144 100644
--- a/drivers/
+++ b/drivers/
@@ -262,8 +262,8 @@ static bool intel_crt_
} while (time_after(
}
- if ((I915_
- CRT_HOTPLUG_
+ if ((I915_
+ CRT_HOTPLUG_
return true;
return false;
I post zhenyu's patch here that works for manu. Jordi, would you please have a try?
Note this is a patch against KMS driver, i.e. kernel.
Jordi Puigsegur (jordi-puigsegur) wrote : | #105 |
The bug upstream has a new patch to test. Should we test it?
Geir Ove Myhr (gomyhr) wrote : Re: [Bug 379157] Re: [i945G] Samsung TV not detected on VGA output (no screens) | #106 |
> The bug upstream has a new patch to test. Should we test it?
Yes, that would be nice. Note however that this is a patch to the
kernel and not the intel driver, since for a while now, screen
detection is done in the kernel. A kernel cannot be easily tested
using a LiveCD as far as I know, so you would have to have an
installed system, preferably Karmic or Lucid.
There are some instructions for how to test patches to the i915 kernel
module at https:/
Pitt's answer to the first question on that page.
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #107 |
I've been told that it is not possible to test a kernel patch using a live CD. The computer is now being used with a Ubuntu Hardy and I cannot format it. If there is no other way to test it I am afraid it won't be possible.
summary: |
- [i945G] Samsung TV not detected on VGA output (no screens) + [i945] [i945G] Samsung TV not detected on VGA output (no screens) |
summary: |
- [i945] [i945G] Samsung TV not detected on VGA output (no screens) + [i945G] Samsung TV not detected on VGA output (no screens) |
tags: | added: hardy |
In freedesktop.org Bugzilla #22002, Jesse Barnes (jbarnes-virtuousgeek) wrote : | #108 |
If we can't get testing, I guess we can't fix this one. Hopefully it got fixed anyway.
Geir Ove Myhr (gomyhr) wrote : | #109 |
Following upstream and closing since patches can't be tested.
Changed in xserver-xorg-video-intel (Ubuntu): | |
status: | Triaged → Invalid |
In freedesktop.org Bugzilla #22002, Jordi Puigsegur (jordi-puigsegur) wrote : | #110 |
I just tested a new Ubuntu 10.04 live CD and seems to work perfectly. So after all it seems it got solved.
Thanks,
Jordi.
Jordi Puigsegur (jordi-puigsegur) wrote : | #111 |
I just tested a new Ubuntu 10.04 live CD and seems to work perfectly.
Changed in xserver-xorg-video-intel: | |
importance: | Unknown → High |
status: | Confirmed → Invalid |
Changed in xserver-xorg-video-intel: | |
importance: | High → Unknown |
Changed in xserver-xorg-video-intel: | |
importance: | Unknown → High |
Thank you for taking the time to report this bug and helping to make Ubuntu better. The logs that were uploaded to this bug report are both for when you are using the VESA driver. Could you change the driver in xorg.conf to "intel" and upload the resulting Xorg.0.log (even though it crashes).