[opensuse] Manual Xorg configuration help on 12.2
I am trying to use an LG TV as my monitor in an HTC env. The PC used is an Intel based PC with DVI, HDMI, and some other video port I'm not familiar with. In any case, this particular TV is NOT providing its EDID information to the PC. At least that is what the kernel people are telling me. I have obtained the EDID information from the service manual and have a binary blob that contains it. Using the parse-edid pgm in the read-edid package (Not SuSE provided) I have the info. markh@harley:/local/dnld/import/inst/read-edid-2.0.0> ./parse-edid /lib/firmware/edid/lg42lb9df_dvi.bin ./parse-edid: parse-edid version 2.0.0 ./parse-edid: EDID checksum passed. # EDID version 1 revision 3 Section "Monitor" # Block type: 2:0 3:fd # Block type: 2:0 3:fc Identifier "LG TV" VendorName "GSM" ModelName "LG TV" # Block type: 2:0 3:fd HorizSync 31-68 VertRefresh 56-75 # Max dot clock (video bandwidth) 150 MHz # Block type: 2:0 3:fc # DPMS capabilities: Active off:no Suspend:no Standby:no Mode "1920x1080" # vfreq 60.000Hz, hfreq 67.500kHz DotClock 148.500000 HTimings 1920 2008 2052 2200 VTimings 1080 1084 1089 1125 Flags "+HSync" "+VSync" EndMode Mode "1360x768" # vfreq 60.015Hz, hfreq 47.712kHz DotClock 85.500000 HTimings 1360 1424 1536 1792 VTimings 768 771 777 795 Flags "+HSync" "+VSync" EndMode # Block type: 2:0 3:fd # Block type: 2:0 3:fc EndSection As you can see it provides what looks like xorg.conf or XF86Config file entries from this binary edid file. Can some one point me as to how to provide this information to Xorg via the /etc/X11/xorg.conf.d directory so I can force X to use it? It looks like I need to modify the 50-monitor.conf, 50-screen.conf, and maybe 50-device.conf files but I don't know the proper syntax for adding this info to these empty files. Is X still manually configurable using these files? I know about the kernels drm_kms_helper module but it is borked with this particular hardware. Thanks in advance Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2012-10-23 08:27 (GMT-0400) Mark Hounschell composed:
I am trying to use an LG TV as my monitor in an HTC env. The PC used is an Intel based PC with DVI, HDMI, and some other video port I'm not familiar with. In any case, this particular TV is NOT providing its EDID information to the PC. At least that is what the kernel people are telling me. I have obtained the EDID information from the service manual and have a binary blob that contains it. Using the parse-edid pgm in the read-edid package (Not SuSE provided) I have the info.
markh@harley:/local/dnld/import/inst/read-edid-2.0.0> ./parse-edid /lib/firmware/edid/lg42lb9df_dvi.bin ./parse-edid: parse-edid version 2.0.0 ./parse-edid: EDID checksum passed.
# EDID version 1 revision 3 Section "Monitor" # Block type: 2:0 3:fd # Block type: 2:0 3:fc Identifier "LG TV" VendorName "GSM" ModelName "LG TV" # Block type: 2:0 3:fd HorizSync 31-68 VertRefresh 56-75 # Max dot clock (video bandwidth) 150 MHz # Block type: 2:0 3:fc # DPMS capabilities: Active off:no Suspend:no Standby:no
Mode "1920x1080" # vfreq 60.000Hz, hfreq 67.500kHz DotClock 148.500000 HTimings 1920 2008 2052 2200 VTimings 1080 1084 1089 1125 Flags "+HSync" "+VSync" EndMode Mode "1360x768" # vfreq 60.015Hz, hfreq 47.712kHz DotClock 85.500000 HTimings 1360 1424 1536 1792 VTimings 768 771 777 795 Flags "+HSync" "+VSync" EndMode # Block type: 2:0 3:fd # Block type: 2:0 3:fc EndSection
As you can see it provides what looks like xorg.conf or XF86Config file
What it contains looks like entirely generic HDTV (1920x1080) data.
entries from this binary edid file. Can some one point me as to how to provide this information to Xorg via the /etc/X11/xorg.conf.d directory so I can force X to use it?
It looks like I need to modify the 50-monitor.conf, 50-screen.conf, and maybe 50-device.conf files but I don't know the proper syntax for adding this info to these empty files.
50-device.conf needs 3 lines uncommented: http://fm.no-ip.com/Tmp/Linux/Xorg/50-device.conf 50-screen.conf needs 5 lines uncommented: http://fm.no-ip.com/Tmp/Linux/Xorg/50-screen.conf 50-monitor is where all the work is done. To start it needs the same 3 lines uncommented as 50-device.conf. The example http://fm.no-ip.com/Tmp/Linux/Xorg/50-monitor.conf has two additional lines to cause deviation from what automagic would do by default. I would start by substituting 'Option "PreferredMode" "1920x1080"' for 'Option "PreferredMode" "1600x1200"' and giving X a try before adding any of the rest from your EDID read. If it doesn't work, then try adding HorizSync and VertRefresh lines and try X again. By now I expect it should be working, but if not, try adding properly formatted modelines generated using xmode or gtf or cvt as spelled out on http://en.gentoo-wiki.com/wiki/X.Org/Modelines.
Is X still manually configurable using these files?
You have your choice between using those, or an xorg.conf file that contains exactly the same content combined into one file as those three files need to contain.
I know about the kernels drm_kms_helper module but it is borked with this particular hardware.
If the LG is still within the vendor's free return period, use it. What model number is on the sticker? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/23/2012 10:35 AM, Felix Miata wrote:
On 2012-10-23 08:27 (GMT-0400) Mark Hounschell composed:
I am trying to use an LG TV as my monitor in an HTC env. The PC used is an Intel based PC with DVI, HDMI, and some other video port I'm not familiar with. In any case, this particular TV is NOT providing its EDID information to the PC. At least that is what the kernel people are telling me. I have obtained the EDID information from the service manual and have a binary blob that contains it. Using the parse-edid pgm in the read-edid package (Not SuSE provided) I have the info.
markh@harley:/local/dnld/import/inst/read-edid-2.0.0> ./parse-edid /lib/firmware/edid/lg42lb9df_dvi.bin ./parse-edid: parse-edid version 2.0.0 ./parse-edid: EDID checksum passed.
# EDID version 1 revision 3 Section "Monitor" # Block type: 2:0 3:fd # Block type: 2:0 3:fc Identifier "LG TV" VendorName "GSM" ModelName "LG TV" # Block type: 2:0 3:fd HorizSync 31-68 VertRefresh 56-75 # Max dot clock (video bandwidth) 150 MHz # Block type: 2:0 3:fc # DPMS capabilities: Active off:no Suspend:no Standby:no
Mode "1920x1080" # vfreq 60.000Hz, hfreq 67.500kHz DotClock 148.500000 HTimings 1920 2008 2052 2200 VTimings 1080 1084 1089 1125 Flags "+HSync" "+VSync" EndMode Mode "1360x768" # vfreq 60.015Hz, hfreq 47.712kHz DotClock 85.500000 HTimings 1360 1424 1536 1792 VTimings 768 771 777 795 Flags "+HSync" "+VSync" EndMode # Block type: 2:0 3:fd # Block type: 2:0 3:fc EndSection
As you can see it provides what looks like xorg.conf or XF86Config file
What it contains looks like entirely generic HDTV (1920x1080) data.
entries from this binary edid file. Can some one point me as to how to provide this information to Xorg via the /etc/X11/xorg.conf.d directory so I can force X to use it?
It looks like I need to modify the 50-monitor.conf, 50-screen.conf, and maybe 50-device.conf files but I don't know the proper syntax for adding this info to these empty files.
50-device.conf needs 3 lines uncommented: http://fm.no-ip.com/Tmp/Linux/Xorg/50-device.conf
50-screen.conf needs 5 lines uncommented: http://fm.no-ip.com/Tmp/Linux/Xorg/50-screen.conf
50-monitor is where all the work is done. To start it needs the same 3 lines uncommented as 50-device.conf. The example http://fm.no-ip.com/Tmp/Linux/Xorg/50-monitor.conf has two additional lines to cause deviation from what automagic would do by default. I would start by substituting 'Option "PreferredMode" "1920x1080"' for 'Option "PreferredMode" "1600x1200"' and giving X a try before adding any of the rest from your EDID read. If it doesn't work, then try adding HorizSync and VertRefresh lines and try X again. By now I expect it should be working, but if not, try adding properly formatted modelines generated using xmode or gtf or cvt as spelled out on http://en.gentoo-wiki.com/wiki/X.Org/Modelines.
Is X still manually configurable using these files?
You have your choice between using those, or an xorg.conf file that contains exactly the same content combined into one file as those three files need to contain.
I know about the kernels drm_kms_helper module but it is borked with this particular hardware.
If the LG is still within the vendor's free return period, use it. What model number is on the sticker?
Thanks for this info. The TV was purchased long ago, back in 2006 or so, or I would return it. It is an LG-42lb9df. This might keep me from having to purchase a new one. You refer to getting proper mode lines using gtf or cvt. Are there not proper mode lines in the EDID info parse-edid gave me above from parsing my binary EDID blob? I'm not sure gtf or cvt will be able to give them to me. Don't they attempt to read the EDID info from the TV? Regards Mark -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2012-10-23 11:02 (GMT-0400) Mark Hounschell composed:
The TV was purchased long ago, back in 2006 or so, or I would return it. It is an LG-42lb9df. This might keep me from having to purchase a new one.
You refer to getting proper mode lines using gtf or cvt. Are there not proper mode lines in the EDID info parse-edid gave me above from parsing my binary EDID blob?
The EDID info may well be correct, but it's not in the proper format for placement as a modeline in a config file. A student of modes may well be able to use that EDID data to make one manually, assuming it isn't broken.
I'm not sure gtf or cvt will be able to give them to me. Don't they attempt to read the EDID info from the TV?
I don't know how they work. I do doubt they're actually relevant. I've never since the migration from XFree86 to Xorg found it necessary to provide a modeline via a config file to get desired results. I've always found Xorg smart enough to use PreferredMode in conjunction with HorizSync and VertRefresh to autogenerate what it needs in cases where EDID is insufficient, broken or missing entirelly. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 23-10-12 21:01, Felix Miata wrote:
I don't know how they work. I do doubt they're actually relevant. I've never since the migration from XFree86 to Xorg found it necessary to provide a modeline via a config file to get desired results. I've always found Xorg smart enough to use PreferredMode in conjunction with HorizSync and VertRefresh to autogenerate what it needs in cases where EDID is insufficient, broken or missing entirelly.
Xorg is not that smart. In another post, I asked for help to configure my laptop to use an external Displayport-monitor. That's because Xorg is not smart enough to configure it right. In KDE's program to configure the monitors, the two monitors are seen, but I can't get it to really use the external monitor. And resolution configurations I set for the external monitor are applied to the laptop's screen. So Xorg of OS 12.2 may be smart, but not smart enough to let me set up my hardware. Old Ubuntu 10.04 has no problem with it though. I really don't like Ubuntu, but I can't use OpenSuse because of my display-problems. My frustrated 2 cents, Koenraad Lelong. P.S. just saw I finally had a reply, after about two weeks ! I'm going to try when I get my Opensuse to boot again. Now it fails, because of my messing with the display-settings. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Xorg is not that smart. In another post, I asked for help to configure my laptop to use an external Displayport-monitor. That's because Xorg is not smart enough to configure it right. In KDE's program to configure the monitors, the two monitors are seen, but I can't get it to really use the external monitor. And resolution configurations I set for the external monitor are applied to the laptop's screen.
So Xorg of OS 12.2 may be smart, but not smart enough to let me set up my hardware. Old Ubuntu 10.04 has no problem with it though. I really don't like Ubuntu, but I can't use OpenSuse because of my display-problems.
My frustrated 2 cents,
Koenraad Lelong.
P.S. just saw I finally had a reply, after about two weeks ! I'm going to try when I get my Opensuse to boot again. Now it fails, because of my messing with the display-settings.
An update. I managed to repair my Suse. With sax3 I made extra conf-files for Xorg. I removed those, then my Suse could boot again. I also tried with a VGA-cable on the same external monitor. Then I did have an active second screen. Displayport still does not work though. With Ubuntu it does work, so no hardware faults. Still open for suggestions what to do next to get the displayport working. Regards, Koenraad Lelong. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2012-10-24 11:33 (GMT+0200) Koenraad Lelong composed:
Xorg is not that smart. In another post, I asked for help to configure my laptop to use an external Displayport-monitor. That's because Xorg is not smart enough to configure it right. In KDE's program to configure the monitors, the two monitors are seen, but I can't get it to really use the external monitor. And resolution configurations I set for the external monitor are applied to the laptop's screen.
So Xorg of OS 12.2 may be smart, but not smart enough to let me set up my hardware. Old Ubuntu 10.04 has no problem with it though. I really don't like Ubuntu, but I can't use OpenSuse because of my display-problems.
I managed to repair my Suse. With sax3 I made extra conf-files for Xorg. I removed those, then my Suse could boot again. I also tried with a VGA-cable on the same external monitor. Then I did have an active second screen. Displayport still does not work though. With Ubuntu it does work, so no hardware faults.
Still open for suggestions what to do next to get the displayport working.
Either create a multiboot configuration on your existing system, or get a second machine to experiment with[1]. Then install Factory on it, and subscribe to the opensuse-factory and opensuse-xorg mailing lists. Developers are thin on the ability to test what they call "edge cases", of which yours would qualify. They don't test on hardware they don't have. If edge case users don't speak up by filing bugs when things that used to work break, they don't know and thus don't undo the damage done by the evolutionary process of "improving" software to support new hardware and features. This needs doing in development versions, not after release when the only bugs that get fixed are security-related or are low risk for creating consequent bugs. Occasionally, used to work but not any more problems exposed on the opensuse-factory list can bring results that can be backported to an existing release. For Xorg problems substitute or add the opensuse-xorg list. Also add the xorg@lists.x.org and/or xorg-devel@lists.x.org upstream list(s) so that your "edge case" predicament gets wider exposure. Asking on the xorg@lists.x.org list may actually get a solution to what you asked here in the first place. If it doesn't, there's a strong likelihood your problem is not limited to openSUSE 12.2. *buntu 10.04 is 30 months old, which in the FOSS world is ancient. [1] Many use a virtual machine to test development, but for your particular Xorg problem I suspect it wouldn't be a viable option. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 24-10-12 13:09, Felix Miata wrote:
Either create a multiboot configuration on your existing system, or get a second machine to experiment with[1]. Then install Factory on it, and subscribe to the opensuse-factory and opensuse-xorg mailing lists. Developers are thin on the ability to test what they call "edge cases", of which yours would qualify. They don't test on hardware they don't have. If edge case users don't speak up by filing bugs when things that used to work break, they don't know and thus don't undo the damage done by the evolutionary process of "improving" software to support new hardware and features. This needs doing in development versions, not after release when the only bugs that get fixed are security-related or are low risk for creating consequent bugs.
Occasionally, used to work but not any more problems exposed on the opensuse-factory list can bring results that can be backported to an existing release. For Xorg problems substitute or add the opensuse-xorg list. Also add the xorg@lists.x.org and/or xorg-devel@lists.x.org upstream list(s) so that your "edge case" predicament gets wider exposure. Asking on the xorg@lists.x.org list may actually get a solution to what you asked here in the first place. If it doesn't, there's a strong likelihood your problem is not limited to openSUSE 12.2. *buntu 10.04 is 30 months old, which in the FOSS world is ancient.
Felix, It's a dual boot machine, with Ubuntu10.04 LTS on it, and now OS 12.2. No place anymore for another operating system. I could use an external disk, but I hesitate because I don't know Grub2 enough to restore my system should grub be screwed up. I just tried the live-CD of Ubuntu 12.04 and there all works fine, I can configure to have two working displays. Does this mean OpenSuse is the culprit ? I looked at the archives of opensuse.xorg, but that's an extremely low-trafic list, only a few posts per month. But I'll try anyway. Thanks for your input. Regards, Koenraad Lelong -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2012-10-26 08:42 (GMT+0200) Koenraad Lelong composed:
It's a dual boot machine, with Ubuntu10.04 LTS on it, and now OS 12.2. No place anymore for another operating system.
That's usually not true. Something can be resized to make space for a third or more for testing unless your HD is tiny. Most of my test partitions are 4.8G, some only 4.0G. Test partitions don't need to be kitchen sink installations or have separate partitions for /home or anything else, and they reuse existing swapper. OTOH, should you choose to repartition, I suggest to consider also to create a small primary of 80G to 400G to use just for a master bootloader that only you configure (manually). That way, installers and updaters shouldn't have opportunity to cause you to need to repair other installations.
I could use an external disk, but I hesitate because I don't know Grub2 enough to restore my system should grub be screwed up.
Install *buntu's Grub2 to its root partition, then make 12.2's Grub Legacy your master bootloader. Absent need to boot LVM or RAID or EFI BIOS, there's no need to complicate your openSUSE life with Grub 2. After installing Grub Legacy, remove Grub 2, as in openSUSE it can confuse by the allowed co-existence of both on a system, and by that I don't mean just you. Zypper will leave some Grub 2 files behind that you may want to remove manually to leave your system cleaner. See also: http://old-en.opensuse.org/Bugs/grub#How_does_a_PC_boot_.2F_How_can_I_set_up...
I just tried the live-CD of Ubuntu 12.04 and there all works fine, I can configure to have two working displays. Does this mean OpenSuse is the culprit ?
Quite likely. openSUSE does a lot of custom patching.
I looked at the archives of opensuse.xorg, but that's an extremely low-trafic list, only a few posts per month. But I'll try anyway. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Felix Miata
-
Koenraad Lelong
-
Mark Hounschell