Adding a resolution when using xorg-vesa.conf
Hi,
because of reasons, I need to use the vesa driver. So I copy the file /etc/X11/xorg.conf-vesa to /etc/X11/xorg.conf.d/myfile.conf and add my resolution to 24 and 32 bit depth modes like so (dont mind the wrong tabs) : Code:
Subsection "Display" here is a snippet of Xorg.0.log (no other EE tags): Code:
[ 1702.082] (II) VESA(0): Setting up VESA Mode 0x118 (1024x768) Code:
xrandr: Failed to get size of gamma for output default Code:
xdpyinfo I would like some help on how to make the additional resolution work please :) |
Please provide full ``Xorg.0.log`` it could be that vesa reports some more info.
Also, try the following: * Remove everything except "1280x800" from your modes section * Comment out "sync" sections in "Monitor" * Run your server * Check ``Xorg.0.log`` again: it should have some clues about why "1280x800" can't be ussed |
I'd like to suggest researching and using as much specific monitor capability as you can muster as well as the quality/validity of it's EDID. I'm think this due to the lines you're getting
Code:
|
edit mistake.
|
@IlyaK :
the file has only one HorizSync line and one vertrefresh one in the Monitor section. Following Xorg.log is with the changes you requested : https://pastebin.com/Grf76E36 it now says : Code:
[ 30897.439] (II) VESA(0): Not using mode "1280x800" (no mode of this name) https://pastebin.com/Jg8T8CL3 @enorbet : I use the runlevel 4. I tried init 3 > login as root > startx and i still only had 1024x768 listed in Settings > display of xfce. Therefore I do not see what it changes or how it is important. |
I am not Xorg expert. Experts are or here: https://lists.x.org/mailman/listinfo/xorg .You should ask them, they know better than me.
But here is what I see from your log: Code:
[ 30897.412] (II) VESA(0): Printing DDC gathered Modelines: Monitor returned EDID: data structure with information about resolutions and refresh rates. Monitor said that it likes "1280x800". So far, so good. But then Xorg asked your videocard about supported resolutions: Code:
[ 30897.412] (II) VESA(0): Searching for matching VESA mode(s): Your card doesn't have to support all resolutions in VESA mode: https://en.wikipedia.org/wiki/VESA_B...efined_by_VESA You see? Only resolutions up to 1024 are standard. All other are optional. Your card may support them, but only with driver, not with generic VESA api. Things to try: https://wiki.ubuntu.com/X/Config/Res...ed_video_cards 1. Add "VideoRam 10000", although "VESA VBE Total Mem: 7872 kB" (from your log) should be enough for 1200x800 ((1200*800*4)/1024 == 3750, which is less than 7872), so I do not believe it would help. 2. Use ``cvt`` to calculate modeline and add it explicitly via ``xrandr --newmode``: https://wiki.ubuntu.com/X/Config/Res...ed_resolutions But this must fix broken EDID, but your EDID contains information about 1200x800, so again: this one should not help (but still worth trying). Effect should be similar to providing modelines (refresh rates and resolutions) in "Monitor" sections. Nobody does it today because Xog uses DDC/EDID to fetch this information from monitor. 3. I see that you are using framebuffer, so kernel configures video mode for console: Code:
[ 30897.372] (**) | |-->Device "VESA Framebuffer" Please, boot into console (runlevel 3) and provide output of "fbset" to see which mode are you using in console. If mode is correct, you can try to use framebuffer X driver: https://www.x.org/releases/current/d.../fbdev.4.xhtml But it seems that vesafb (kernel driver) doesn't support resolutions more than 1024: http://lxr.linux.no/linux+v3.4.4/Doc.../fb/vesafb.txt So, it probably would not help:(( 4. You can try to disable framebuffer in your kernel by passing following params to the kernel (via lilo.conf) Code:
vga=normal --- It could be that you video card can't support other resolutions using vesa driver. In this case you only have to use native driver. |
Hi,
When the log says "searching for matching VESA mode", where can I see all the modes it goes through? 1 - I tried adding VideoRam 1000 to the Device section (the line was there and commented in slackware supplied file). It Didn't change anything. Besides the resulting Xorg.log still said VESA VBE Total Mem: 7872. I wonder if I edited the file correctly. 2 - I followed the steps you provided to add a new mode. Upon using the --mode option, xrandr says "configure crtc 0 failed". I checked the field CRTC using xrandr --verbose, and the field is indeed at 0. 3 - I do not know how to use 'fbset'. From my X session I did init 3 > fbset and it said /dev/fb0 does not exist. I do not have anything named "fb*" in /dev either. Can you help me there? 4 - I tried your options on my append line. Not sure of what should be different. PS : All my xrandr commands always say : "fauled to get size of gamma for output default". Maybe it's important, I dont know. Thanks for your help so far :) |
> /dev/fb0 does not exist.
oops, that means framebuffer is not used by kernel, so step "4" was useless anyway.. Have you tried https://lists.x.org/mailman/listinfo/xorg ? |
Quote:
|
@IlyaK I haven't tried yet, will do now.
Hi enorbet, thanks for the wish, I remember you from the first thread I posted here, you were very helpful :) |
All times are GMT -5. The time now is 03:00 AM. |