mairetham |
|
Темы:
1
Сообщения:
4
Участник с: 07 сентября 2010
|
Так же легко, как и все остальное в dwm. Берем функцию drawbar и изменям:*** dwm.c 2011-12-19 20:02:46.000000000 +0500 --- dwm.c.new 2012-03-11 16:40:03.174730506 +0500 *************** *** 718,724 **** void drawbar(Monitor *m) { int x; ! unsigned int i, occ = 0, urg = 0; unsigned long *col; Client *c; --- 718,724 ---- void drawbar(Monitor *m) { int x; ! unsigned int i, occ = 0, urg = 0, ww; unsigned long *col; Client *c; *************** *** 740,756 **** drawtext(m->ltsymbol, dc.norm, False); dc.x += dc.w; x = dc.x; if(m == selmon) { /* status is only drawn on selected monitor */ dc.w = TEXTW(stext); ! dc.x = m->ww - dc.w; if(dc.x < x) { dc.x = x; ! dc.w = m->ww - x; } drawtext(stext, dc.norm, False); } else ! dc.x = m->ww; if((dc.w = dc.x - x) > bh) { dc.x = x; if(m->sel) { --- 740,757 ---- drawtext(m->ltsymbol, dc.norm, False); dc.x += dc.w; x = dc.x; + ww = m->ww - 120; if(m == selmon) { /* status is only drawn on selected monitor */ dc.w = TEXTW(stext); ! dc.x = ww - dc.w; if(dc.x < x) { dc.x = x; ! dc.w = ww - x; } drawtext(stext, dc.norm, False); } else ! dc.x = ww; if((dc.w = dc.x - x) > bh) { dc.x = x; if(m->sel) { *************** *** 761,767 **** else drawtext(NULL, dc.norm, False); } ! XCopyArea(dpy, dc.drawable, m->barwin, dc.gc, 0, 0, m->ww, bh, 0, 0); XSync(dpy, False); } --- 762,768 ---- else drawtext(NULL, dc.norm, False); } ! XCopyArea(dpy, dc.drawable, m->barwin, dc.gc, 0, 0, ww, bh, 0, 0); XSync(dpy, False); } |
mairetham |
|
Темы:
1
Сообщения:
4
Участник с: 07 сентября 2010
|
EDID считать не получилосьget-edid: get-edid version 2.0.0 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 supports 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 |
mairetham |
|
Темы:
1
Сообщения:
4
Участник с: 07 сентября 2010
|
К сожалению, в тулзе nvidia-settings нет никаких упоминаний про такие параметры, как “TvOutFormat” и “TVStandard”. А без их явного указания в xorg.conf максимально доступное разрешение через nvidia-settings для выхода TV - 1024x768. |
mairetham |
|
Темы:
1
Сообщения:
4
Участник с: 07 сентября 2010
|
Имеется карточка 7950GX2, к ней подключен телевизор через разъем YPrPb (Component). Если в xorg.conf в секции Screen указываю опцию “TVStandard” “HD1080i” - телевизор кажет, в Xorg.0.log: [ 71336.539] (**) NVIDIA(1): Enabling RENDER acceleration [ 71336.539] (**) NVIDIA(1): Forcing COMPONENT output [ 71336.539] (**) NVIDIA(1): TV Standard string: "HD1080i" [ 71336.539] (II) NVIDIA(1): NVIDIA GPU GeForce 7950 GX2 (G71) at PCI:4:0:0 (GPU-0) [ 71336.539] (--) NVIDIA(1): Memory: 524288 kBytes [ 71336.539] (--) NVIDIA(1): VideoBIOS: 05.71.22.33.10 [ 71336.539] (II) NVIDIA(1): Detected PCI Express Link width: 16X [ 71336.539] (--) NVIDIA(1): Interlaced video modes are supported on this GPU [ 71336.539] (--) NVIDIA(1): Connected display device(s) on GeForce 7950 GX2 at PCI:4:0:0: [ 71336.539] (--) NVIDIA(1): NVIDIA TV Encoder (TV-0) [ 71336.539] (--) NVIDIA(1): Samsung SyncMaster (DFP-0) [ 71336.539] (--) NVIDIA(1): NVIDIA TV Encoder (TV-0): 400.0 MHz maximum pixel clock [ 71336.539] (--) NVIDIA(1): TV encoder: NVIDIA [ 71336.539] (II) NVIDIA(1): Assigned Display Device: TV-0 [ 71336.539] (II) NVIDIA(1): Validated modes: [ 71336.539] (II) NVIDIA(1): "1920x1080" [ 71336.539] (II) NVIDIA(1): Virtual screen size determined to be 1920 x 1080 [ 71336.540] (**) NVIDIA(1): DPI set to (96, 96); computed from "DPI" X config option [ 71336.540] (==) NVIDIA(1): Enabling 32-bit ARGB GLX visuals. [ 71336.540] (--) Depth 24 pixmap format is 32 bpp [ 71143.663] (**) NVIDIA(1): Enabling RENDER acceleration [ 71143.663] (**) NVIDIA(1): Forcing COMPONENT output [ 71143.663] (**) NVIDIA(1): TV Standard string: "HD1080p" [ 71143.663] (II) NVIDIA(1): NVIDIA GPU GeForce 7950 GX2 (G71) at PCI:4:0:0 (GPU-0) [ 71143.663] (--) NVIDIA(1): Memory: 524288 kBytes [ 71143.663] (--) NVIDIA(1): VideoBIOS: 05.71.22.33.10 [ 71143.663] (II) NVIDIA(1): Detected PCI Express Link width: 16X [ 71143.663] (--) NVIDIA(1): Interlaced video modes are supported on this GPU [ 71143.663] (--) NVIDIA(1): Connected display device(s) on GeForce 7950 GX2 at PCI:4:0:0: [ 71143.663] (--) NVIDIA(1): NVIDIA TV Encoder (TV-0) [ 71143.663] (--) NVIDIA(1): Samsung SyncMaster (DFP-0) [ 71143.663] (--) NVIDIA(1): NVIDIA TV Encoder (TV-0): 400.0 MHz maximum pixel clock [ 71143.663] (--) NVIDIA(1): TV encoder: NVIDIA [ 71143.663] (II) NVIDIA(1): Assigned Display Device: TV-0 [ 71143.663] (WW) NVIDIA(1): No valid modes for "1920x1080"; removing. [ 71143.663] (WW) NVIDIA(1): [ 71143.663] (WW) NVIDIA(1): Unable to validate any modes; falling back to the default mode [ 71143.663] (WW) NVIDIA(1): "nvidia-auto-select". [ 71143.663] (WW) NVIDIA(1): [ 71143.663] (II) NVIDIA(1): Validated modes: [ 71143.663] (II) NVIDIA(1): "nvidia-auto-select" [ 71143.663] (II) NVIDIA(1): Virtual screen size determined to be 800 x 600 [ 71143.663] (**) NVIDIA(1): DPI set to (96, 96); computed from "DPI" X config option [ 71143.663] (==) NVIDIA(1): Enabling 32-bit ARGB GLX visuals. [ 71143.663] (--) Depth 24 pixmap format is 32 bpp Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" Above "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" Option "Xinerama" "0" EndSection Section "Files" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Samsung" ModelName "SyncMaster" HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 Option "DPMS" Option "DPI" "96 x 96" EndSection Section "Monitor" Identifier "Monitor1" VendorName "Sony Bravia" ModelName "KDL-40S4000" HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 Option "DPMS" Option "DPI" "96 x 96" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 7950 GX2" BusID "PCI:4:0:0" Screen 0 EndSection Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 7950 GX2" BusID "PCI:4:0:0" Screen 1 EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" Option "metamodes" "1680x1050" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Monitor1" Option "TvOutFormat" "Component" Option "TVStandard" "HD1080i" Option "metamodes" "1920x1080" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection Телевизор 1080p поддерживает (через этот же кабель, на этом же компе, но с виндой работает). Кто-нибудь сталкивался с таким? В чем может быть проблема? Куда копать? |