All of lore.kernel.org
 help / color / mirror / Atom feed
* custom edid mode 1920x1080 hsync out of range
@ 2015-04-15 15:49 z.coldplayer-/E1597aS9LT10XsdtD+oqA
  0 siblings, 0 replies; only message in thread
From: z.coldplayer-/E1597aS9LT10XsdtD+oqA @ 2015-04-15 15:49 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
  Cc: slackware-xGejAJT2w6wUICxRtmY4x7VCufUGDwFn,
	discuss-TgN+gDRVVxKqUSdgwYiq4A

Hi, 

I think this is a bug or what.

My Monitor and video card combination does not support DDC1/2 transfers. 
Due to this no EDID information is read and xorg has a limited vesa mode 
options. So I cannot use my monitor at Full-HD resolution. 


[CODE]
root@Omkara:~#  get-edid -b 0 |parse-edid 
0
This is read-edid version 3.0.1. Prepare for some fun.
Attempting to use i2c interface
No EDID on bus 1
No EDID on bus 2
No EDID on bus 3
No EDID on bus 4
No EDID on bus 5
No EDID on bus 6
No EDID on bus 7
No EDID on bus 9
No EDID on bus 10
No EDID on bus 11
No EDID on bus 12
2 potential busses found: 0 8
Only trying 0 as per your request.
Bus 0 doesn't really have an EDID...
Couldn't find an accessible EDID on this computer.
Attempting to use the classical VBE interface

        Performing real mode VBE call
        Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0
        Function supported
        Call successful

        VBE version 300
        VBE string at 0x11100 "NVIDIA"

VBE/DDC service about to be called
        Report DDC capabilities

        Performing real mode VBE call
        Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0
        Function supported
        Call successful

        Monitor and video card combination does not support DDC1 
transfers
        Monitor and video card combination does not support DDC2 
transfers
        0 seconds per 128 byte EDID block transfer
        Screen is not blanked during DDC transfer

Reading next EDID block

VBE/DDC service about to be called
        Read EDID

        Performing real mode VBE call
        Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0
        Function supported
        Call failed

The EDID data should not be trusted as the VBE call failed
Error: output block unchanged
Partial Read... Try again
I'm sorry nothing was successful. Maybe try some other arguments
if you played with them, or send an email to Matthew Kern 
<pyrophobicman@gmail.com>.
[/CODE]


But I created a custom EDID firmware using the one in the Linux kernel 
Documentaion/EDID/1920/1080.S, modified it and installed in 
/lib/modules/edid/1920x1080.bin

My /etc/X11/xorg.conf.d/files are populated with enough modelines. 

But xorg reject them as being hsync out of range.


[LOG]

[    34.521] (II) NOUVEAU(0): EDID for output VGA-1
[    34.521] (II) NOUVEAU(0): Manufacturer: LNX  Model: 0  Serial#: 0
[    34.521] (II) NOUVEAU(0): Year: 2012  Week: 5
[    34.521] (II) NOUVEAU(0): EDID Version: 1.3
[    34.521] (II) NOUVEAU(0): Analog Display Input,  Input Voltage 
Level: 0.700/0.700 V
[    34.521] (II) NOUVEAU(0): Sync:  Separate  CompositeSerration on. 
V.Sync Pulse req. if CompSync or SyncOnGreen
[    34.521] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 50  vert.: 28
[    34.521] (II) NOUVEAU(0): Gamma: 2.20
[    34.521] (II) NOUVEAU(0): DPMS capabilities: StandBy Suspend Off; 
RGB/Color Display
[    34.521] (II) NOUVEAU(0): First detailed timing is preferred mode
[    34.521] (II) NOUVEAU(0): redX: 0.642 redY: 0.349   greenX: 0.292 
greenY: 0.596
[    34.521] (II) NOUVEAU(0): blueX: 0.147 blueY: 0.125   whiteX: 0.312 
whiteY: 0.328
[    34.521] (II) NOUVEAU(0): Manufacturer's mask: 0
[    34.521] (II) NOUVEAU(0): Supported standard timings:
[    34.521] (II) NOUVEAU(0): #0: hsize: 1920  vsize 1080  refresh: 60 
 vid: 49361
[    34.521] (II) NOUVEAU(0): Supported detailed timing:
[    34.521] (II) NOUVEAU(0): clock: 148.5 MHz   Image Size:  500 x 281 
mm
[    34.521] (II) NOUVEAU(0): h_active: 1920  h_sync: 2008  h_sync_end 
2052 h_blank_end 2200 h_border: 0
[    34.521] (II) NOUVEAU(0): v_active: 1080  v_sync: 1084  v_sync_end 
1089 v_blanking: 1125 v_border: 0
[    34.521] (II) NOUVEAU(0): Serial No: Linux #0
[    34.521] (II) NOUVEAU(0): Ranges: V min: 59 V max: 61 Hz, H min: 66 
H max: 68 kHz, PixClock max 155 MHz
[    34.521] (II) NOUVEAU(0): Monitor name: Linux FHD
[    34.521] (II) NOUVEAU(0): EDID (in hex):
[    34.521] (II) NOUVEAU(0):   00ffffffffffff0031d8000000000000
[    34.521] (II) NOUVEAU(0):   051601036d321c78ea5ec0a4594a9825
[    34.521] (II) NOUVEAU(0):   205054000000d1c00101010101010101
[    34.521] (II) NOUVEAU(0):   010101010101023a801871382d40582c
[    34.521] (II) NOUVEAU(0):   4500f4191100001e000000ff004c696e
[    34.521] (II) NOUVEAU(0):   75782023300a20202020000000fd003b
[    34.521] (II) NOUVEAU(0):   3d42440f000a202020202020000000fc
[    34.521] (II) NOUVEAU(0):   004c696e7578204648440a2020200005
[    34.521] (II) NOUVEAU(0): Not using mode "1920x1080@60" (hsync out 
of range)
[    34.521] (II) NOUVEAU(0): Not using mode "1984x1080@60" (hsync out 
of range)
[    34.521] (II) NOUVEAU(0): Not using mode "1920x1080" (hsync out of 
range)
[    34.521] (II) NOUVEAU(0): Printing probed modes for output VGA-1
[    34.521] (II) NOUVEAU(0): Modeline "1280x800@60"x60.0   83.46  1280 
1344 1480 1680  800 801 804 828 -hsync +vsync (49.7 kHz)
[    34.521] (II) NOUVEAU(0): Modeline "1280x768@60"x60.0   80.14  1280 
1344 1480 1680  768 769 772 795 -hsync +vsync (47.7 kHz)
[    34.521] (II) NOUVEAU(0): Modeline "1280x720@60"x60.0   74.48  1280 
1336 1472 1664  720 721 724 746 -hsync +vsync (44.8 kHz)
[    34.521] (II) NOUVEAU(0): Modeline "1024x768@60"x60.0   65.00  1024 
1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz)
[    34.521] (II) NOUVEAU(0): Modeline "800x600@60"x60.3   40.00  800 
840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz)
[    34.521] (II) NOUVEAU(0): Modeline "800x600@56"x56.2   36.00  800 
824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz)
[    34.521] (II) NOUVEAU(0): Modeline "848x480@60"x60.0   33.75  848 
864 976 1088  480 486 494 517 +hsync +vsync (31.0 kHz)
[    34.521] (II) NOUVEAU(0): Modeline "640x480@59"x60.0   25.18  640 
656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz)
[    34.521] (II) NOUVEAU(0): Output DVI-I-1 disconnected
[    34.521] (II) NOUVEAU(0): Output HDMI-1 connected
[    34.521] (II) NOUVEAU(0): Output VGA-1 connected
[    34.521] (II) NOUVEAU(0): Using user preference for initial modes
[    34.521] (II) NOUVEAU(0): Output HDMI-1 using initial mode 1920x1080
[    34.521] (II) NOUVEAU(0): Output VGA-1 using initial mode 
1280x800@60

[/LOG]

But the code in ~/.xprofile does the job of restoring the FHD, but I have 
to set a higher resolution, ie 1984x1080, then reset to 1080p native 
resolution of the monitor.
This workaound resolves some hiccups of nouveau.

[CODE]

root@Omkara:~# cat ~/.xprofile 
#!/bin/sh

xrandr --output VGA-1 --newmode "1984x1080_60.00" 179.24 1984 2112 2328 
2672 1080 1081 1084 1118
xrandr --addmode VGA-1 "1984x1080_60.00" --output VGA-1 
xrandr --output VGA-1 --mode "1984x1080_60.00"

xrandr --output VGA-1 --newmode "1920x1080_60.00" 172.80 1920 2040 2248 
2576 1080 1081 1084 1118
xrandr --addmode VGA-1 "1920x1080_60.00" --output VGA-1 
xrandr --output VGA-1 --mode "1920x1080_60.00"  --pos 0x0  --output 
HDMI-1 --mode "1920x1080" --pos 1920x0

[/CODE]


If xrandr can set a native resolution on my monitor, then why does 
xorg/nouveau not do its job properly.


I will be testing on nvidia later since nvidia drivers could not set FHD 
at all . 


http://www.linuxquestions.org/questions/linux-hardware-18/custom-edid-mode-1920x1080%4060-hsync-out-of-range-4175539799/

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-15 15:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15 15:49 custom edid mode 1920x1080 hsync out of range z.coldplayer-/E1597aS9LT10XsdtD+oqA

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.