You are not logged in.

#1 2012-02-08 19:36:19

raxbg
Member
Registered: 2011-04-05
Posts: 105

[SOLVED] Can't set propper resolution

Hi I've been fighting with this almost a week now and finally decided to look for help. I can't find a way to set 1024x768 resolution when I am using the nvidia driver, however both vesa and nouveau are able to get this resolution. I've been setting modelines and stuff but nothing works. I noticed that when I set HorizSync in xorg.conf X fails to start with message: (EE) NVIDIA(0): Failed to allocate/map the primary surface! However VertRefresh doesn't bother it. The horizsync and vertrefresh values I get from the monitor's manual.

Last edited by raxbg (2012-02-08 21:00:59)

Offline

#2 2012-02-08 19:41:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't set propper resolution

Can you post the output of 'xrandr' when using the nvidia driver? What card are you using?

Offline

#3 2012-02-08 19:46:31

raxbg
Member
Registered: 2011-04-05
Posts: 105

Re: [SOLVED] Can't set propper resolution

gives only 640x480 and 320x240 resolutions I tried importing a modeline and when trying to use it the screen just flashes and nothing changes. The card is nvidia MX 440

Offline

#4 2012-02-08 19:49:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't set propper resolution

It's a pretty old card, isn't it? Which driver are you using? nvidia, nvidia-173xx or ...? Can you post the name of the package?

Offline

#5 2012-02-08 19:58:13

raxbg
Member
Registered: 2011-04-05
Posts: 105

Re: [SOLVED] Can't set propper resolution

nvidia-96xx-all (from AUR to be able to run on my kernel) xorg-server is 1.10 because 1.11 can't run with this driver version. I just noticed that in the Xorg.0.log it says :
(WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-0

Offline

#6 2012-02-08 20:05:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't set propper resolution

'xrandr --prop' should print out EDID.
How are you sonnecting teh card to the monitor - via VGA cable?

Offline

#7 2012-02-08 20:08:06

raxbg
Member
Registered: 2011-04-05
Posts: 105

Re: [SOLVED] Can't set propper resolution

yes, could it be the problem? In fact the picture is not steady on the monitor its moving up and down very fast even if connected to my laptop.

Offline

#8 2012-02-08 20:10:21

raxbg
Member
Registered: 2011-04-05
Posts: 105

Re: [SOLVED] Can't set propper resolution

In fact the first line of xrandr is: Failed to get size of gamma for output default
and xrandr didn't show the EDID sad

Offline

#9 2012-02-08 20:24:31

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: [SOLVED] Can't set propper resolution

@raxbg quick googling direct to "nopat" boot option, did you try that?

Last edited by masteryod (2012-02-08 20:27:13)

Offline

#10 2012-02-08 20:38:51

raxbg
Member
Registered: 2011-04-05
Posts: 105

Re: [SOLVED] Can't set propper resolution

Hm EDID is still not recognized but this option fixed another issue with the performance smile

Offline

#11 2012-02-08 20:46:18

raxbg
Member
Registered: 2011-04-05
Posts: 105

Re: [SOLVED] Can't set propper resolution

Is there a way to get the EDID when using vesa for example?

Offline

#12 2012-02-08 20:46:34

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: [SOLVED] Can't set propper resolution

about EDID and NVIDIA there is a BUG: http://analogbit.com/fix_nvidia_edid  <- this one saved my life when I was struggling with hdtv setup - look at this

Offline

#13 2012-02-08 21:00:37

raxbg
Member
Registered: 2011-04-05
Posts: 105

Re: [SOLVED] Can't set propper resolution

I got the edid for the monitor on my laptop because it also supports 1024x768 and now its working with it smile so it's solved

Offline

#14 2012-02-08 21:10:25

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [SOLVED] Can't set propper resolution

raxbg wrote:

I got the edid for the monitor on my laptop because it also supports 1024x768 and now its working with it smile so it's solved

That actually worked? LOOOOL!

big_smile

Offline

#15 2012-02-08 21:16:15

raxbg
Member
Registered: 2011-04-05
Posts: 105

Re: [SOLVED] Can't set propper resolution

pretty strange huh, but I have set a modeline to set resolution to 1024x768 cause if I weren't it would probably try to set 1366x768 and could damage the monitor (this is my guess) and because 1024x768 is in the list for my monitor it is actually accepted and is working now smile thanks for the help

Offline

Board footer

Powered by FluxBB