You are not logged in.

#1 2011-05-15 05:10:13

dgarcia
Member
From: Mexico City
Registered: 2011-05-15
Posts: 6

[SOLVED] I want to change my tty resolution

Just that, I want to change my console resolution (NOT the font size) cause it doesn't use my whole screen.

I've reading about KMS and i know there's incomplete documentation. I understand this

https://wiki.archlinux.org/index.php/KMS wrote:
The format is: video=<conn>:<xres>x<yres>[M][R][-<bpp>][@<refresh>][i][m][eDd]

<conn>: Connector, e.g. DVI-I-1, see your kernel log.

But where in my kernel i can see which connector. I'm using a laptop and would like to use a resolution 1680x800@60

Any idea on how to know this or how to solve my issue?

Thanks in advance

Last edited by dgarcia (2011-05-22 19:37:36)

Offline

#2 2011-05-15 05:40:04

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [SOLVED] I want to change my tty resolution

I think this is what you're looking for (unless I misunderstand your question).

Offline

#3 2011-05-15 05:53:25

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

Re: [SOLVED] I want to change my tty resolution

If you're using a video driver that needs KMS, you should have native resolution out of the box.
Which video driver are you using?

Offline

#4 2011-05-15 06:49:43

dgarcia
Member
From: Mexico City
Registered: 2011-05-15
Posts: 6

Re: [SOLVED] I want to change my tty resolution

JackH79 wrote:

I think this is what you're looking for (unless I misunderstand your question).

Well I've read that and i can't install lrmi and if i try hwinfo and type

# hwinfo --framebuffer

there's no output.

I can't know the correct code for my resolution (1280x800).

About my driver i'm using nouveau for my nvidia. This is the output from my lspci

00:12.0 VGA compatible controller: nVidia Corporation C67 [GeForce 7000M / nForce 610M] (rev a2)

Offline

#5 2011-05-15 07:10:37

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

Re: [SOLVED] I want to change my tty resolution

What about fbset?

Offline

#6 2011-05-15 07:17:00

dgarcia
Member
From: Mexico City
Registered: 2011-05-15
Posts: 6

Re: [SOLVED] I want to change my tty resolution

Yep, I tried that too.
there is the output

[root@chelsea dgarcia]# fbset

mode "720x576"
    geometry 720 576 1280 800 32
    timings 0 0 0 0 0 0 0
    accel true
    rgba 8/16,8/8,8/0,0/0
endmode

I didn't played with it cause I can see there my resolution. And I don't wanna mess my res at X, cause there's working just fine. Any advice ?

Offline

#7 2011-05-15 07:24:20

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

Re: [SOLVED] I want to change my tty resolution

I'm not an expert on LCD monitors' resolution, but 1680x800 is over 2:1 ratio - are you sure your LCD is capable of doing that?

Offline

#8 2011-05-15 07:25:30

dgarcia
Member
From: Mexico City
Registered: 2011-05-15
Posts: 6

Re: [SOLVED] I want to change my tty resolution

no sorry it's 1280 800, my mistake

Offline

#9 2011-05-15 07:32:30

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

Re: [SOLVED] I want to change my tty resolution

dgarcia wrote:

no sorry it's 1280 800, my mistake

With regard to where your kernel log is - it's in /var/log/kernel.log.

Try

fbset -g 1280 800 1280 800 32

Offline

#10 2011-05-15 07:36:48

AurosGamma
Member
From: San Cristobal,Venezuela
Registered: 2011-02-22
Posts: 132

Re: [SOLVED] I want to change my tty resolution

If you are using an open-source driver(e.g. nouveau) you should have a good tty resolution out of the box, if not, you can do this (i use this for my tty resolution):

pacman -S v86d

And then edit /etc/modprobe.d/uvesafb.conf

nano /etc/modprobe.f/uvesafb.conf

In the line that says "mode_option" set your resolution, e.g.

...
options uvesafb mode_option=1280x800-32 scroll=ywrap

Edit /etc/mkinitcpio.conf

nano /etc/mkinitcpio.conf

and add "v86d" to the hooks array after udev hook,e.g.

HOOKS="base udev v86d ..."

Finally rebuild the kernel image:

mkinitcpio -p kernel26

That's all...this is the preferred method for the framebuffer.
More information here:
https://wiki.archlinux.org/index.php/Uvesafb

Offline

#11 2011-05-16 00:30:01

dgarcia
Member
From: Mexico City
Registered: 2011-05-15
Posts: 6

Re: [SOLVED] I want to change my tty resolution

AurosGamma well i tried that one but my screen got black... i have to disable KMS for that and dunno how to do it...

Karol: That worked pretty well i just have to add it on a startup script for make that change persistent... any idea on how to do it ? thanks a lot for your solution.

Offline

#12 2011-05-16 00:33:04

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

Re: [SOLVED] I want to change my tty resolution

dgarcia wrote:

Karol: That worked pretty well i just have to add it on a startup script for make that change persistent... any idea on how to do it ? thanks a lot for your solution.

I keep things like that in /etc/rc.local.
https://wiki.archlinux.org/index.php/Arch_Boot_Process

Offline

#13 2011-05-16 01:24:13

pacifico
Member
Registered: 2011-05-12
Posts: 5

Re: [SOLVED] I want to change my tty resolution

Wow congratulations! this post was solved the same day!

but also is the same issue for my laptop Acer 4520 uses the same default resolution 1280 X 800 wich does not set proper resolution at boot giving garbled screen on boot, so I use 1024X760 and put video=1024x768 on menu.lst on grub.

Not good for me it does not work on my Acer 4520 with nvidia 7000M  sad

Regards

Last edited by pacifico (2011-05-16 02:06:37)


Acer 4520 Laptop - Arch Linux - XFCE4

Offline

#14 2011-05-22 04:06:47

joafigue
Member
Registered: 2011-05-17
Posts: 3

Re: [SOLVED] I want to change my tty resolution

Even more amazing this post not thread not only solved his problem, but also solved mine (in a different way)

With an almost clean arch install (just starting with my notebook XD)
nvidia driver (for nvidia card), Xorg used the method proposed by AurosGamma and got perfect resolution in TTY.

I believe that this info should be in the wiki (inside the nvidia article) as it might be a fairly common issue

Offline

#15 2011-05-22 19:37:03

dgarcia
Member
From: Mexico City
Registered: 2011-05-15
Posts: 6

Re: [SOLVED] I want to change my tty resolution

Sorry I was very busy at school. This problem is solved. Thanks to everyone. fbset works ^-^

Last edited by dgarcia (2011-05-22 19:48:40)

Offline

Board footer

Powered by FluxBB