Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Grub2 and framebuffer
Re: Grub2 and framebuffer
Are you using them your self?
My graphics card is an nvidia 9300gs on a laptop.
My graphics card is an nvidia 9300gs on a laptop.
Debian Squeeze/Sid mixed system
2.6.32 amd64
2.6.32 amd64
Re: Grub2 and framebuffer
After a recent update to grub-pc [1.98-1] you can set the framebuffer resolution with the following option in:
/etc/default/grub:
Just use the resolution you will like to use of course, for example:
After editing, make sure to create a new /boot/grub/grub.cfg to use the option above:
So if you are using this version or newer, the previous steps are not needed any more. Just do the above.
/etc/default/grub:
Code: Select all
GRUB_GFXPAYLOAD_LINUX=tty/console-resolution
Code: Select all
# Set the framebuffer resolution; used on tty/console [text consoles]
GRUB_GFXPAYLOAD_LINUX=1920x1200
Code: Select all
# update-grub2
Re: Grub2 and framebuffer
When I used the nvidia driver, installed using the wiki instructions. I had to add the following to /etc/modules for framebuffer to work right:
I now use the nv driver and the above is still there, not sure if it's needed with nv. But I still have nvidiafb there and all works fine.
Code: Select all
nvidiafb
Re: Grub2 and framebuffer
I don't know other details of what you were doing - but this is just wrong. nvidiafb is incompatible with the nvidia driver so one or the other wasn't loading.m_l wrote:When I used the nvidia driver, installed using the wiki instructions. I had to add the following to /etc/modules for framebuffer to work right:
I now use the nv driver and the above is still there, not sure if it's needed with nv. But I still have nvidiafb there and all works fine.Code: Select all
nvidiafb
Re: Grub2 and framebuffer
I did nothing special just followed the wiki on using nvidia and was working fine. It just worked for my system using nvidiafb. Don't use nvidia driver anymore so I can't say what was the cause. Just reporting what worked for me.bugsbunny wrote:I don't know other details of what you were doing - but this is just wrong. nvidiafb is incompatible with the nvidia driver so one or the other wasn't loading.m_l wrote:When I used the nvidia driver, installed using the wiki instructions. I had to add the following to /etc/modules for framebuffer to work right:
I now use the nv driver and the above is still there, not sure if it's needed with nv. But I still have nvidiafb there and all works fine.Code: Select all
nvidiafb
Re: Grub2 and framebuffer
Well, turns out that my self compiled kernel was the culprit.llivv wrote:Yes I'm using them.
But I have older intel desktop hardware and even older intel laptop hardware....
So I'm only able to offer hints as to what might be going on with your nvidia setup...especially if you're using the nvidia kernel...
And updates are coming so fast that what I posted yesterday, might not be relevant today...
or for your hardware, as that data trickles in....
Just installed 2.6.23-3-amd64 Debian stock kernel and using
Code: Select all
GRUB_GFXPAYLOAD_LINUX=1680x1050
Thank you all for your help.
Debian Squeeze/Sid mixed system
2.6.32 amd64
2.6.32 amd64
Re: Grub2 and framebuffer
This doesn't work for me. Since the recent upgrade to 2.6.32.3-amd64 the framebuffer has been broken, I can't set anything except the default. The old method of setting it in /etc/grub.d/00_header & /etc/defaults/grub just leaves me with a blank screen, any workarounds would be appreciated. This is a very annoying issue.un1xer wrote:Well, turns out that my self compiled kernel was the culprit.llivv wrote:Yes I'm using them.
But I have older intel desktop hardware and even older intel laptop hardware....
So I'm only able to offer hints as to what might be going on with your nvidia setup...especially if you're using the nvidia kernel...
And updates are coming so fast that what I posted yesterday, might not be relevant today...
or for your hardware, as that data trickles in....
Just installed 2.6.23-3-amd64 Debian stock kernel and usingon /etc/default/grub, my tty frame buffer works as expected.Code: Select all
GRUB_GFXPAYLOAD_LINUX=1680x1050
Thank you all for your help.
Debian Squeeze + KDE 4.4.4 + AMD Athlon™ 64 X2 Dual Core Processor 6000 + nVidia GeForce 8600
Re: Grub2 and framebuffer
Have you tried to reinstall grub with all default config files and then useRaffles10 wrote: This doesn't work for me. Since the recent upgrade to 2.6.32.3-amd64 the framebuffer has been broken, I can't set anything except the default. The old method of setting it in /etc/grub.d/00_header & /etc/defaults/grub just leaves me with a blank screen, any workarounds would be appreciated. This is a very annoying issue.
Code: Select all
GRUB_GFXPAYLOAD_LINUX="resolution"
Debian Squeeze/Sid mixed system
2.6.32 amd64
2.6.32 amd64
Re: Grub2 and framebuffer
Yes. "GRUB_GFXPAYLOAD_LINUX=1440x900" Isn't recognized, I just get the default resolution.un1xer wrote:Have you tried to reinstall grub with all default config files and then usein /etc/default/grub?Code: Select all
GRUB_GFXPAYLOAD_LINUX="resolution"
bugsbunny wrote:try adding nomodeset to the kernel parameters
Err.....no. It's Squeeze.llivv wrote:Have you tried upgrading to the 2.6.32-4 kernel?
Yeah things have been moving around inside
xserver
grub-pc
kernel
libc
initramfs-tools
etc .....
it is sid, isn't it?
Debian Squeeze + KDE 4.4.4 + AMD Athlon™ 64 X2 Dual Core Processor 6000 + nVidia GeForce 8600
Re: Grub2 and framebuffer
I want to add that setting the line GRUB_GFXPAYLOAD_LINUX= in /etc/default/grub correctly sets the text console frame buffer (to one of those available in grub > vbeinfo) if the graphical terminal is in use. This is, the line GRUB_TERMINAL=console must be commented. It's contradictory that one must enable a graphical terminal to set a text terminal.
Anyway, I don't use this option because the supported resolutions don't have the same ratio of the X resolution, making the default one the most readable. Also, I seldom use virtual terminals (all bar one are disabled) and will use Plymouth as soon as it's available.
Anyway, I don't use this option because the supported resolutions don't have the same ratio of the X resolution, making the default one the most readable. Also, I seldom use virtual terminals (all bar one are disabled) and will use Plymouth as soon as it's available.
Re: Grub2 and framebuffer
I got the same problem with the gfxpayload set (resolution 1680x1050x32) and my self compiled kernel with new versions of grub2. After several compiled kernels (try and error) this works for me:
Setting to yes in kernel config
greetings
plnick
Setting
Code: Select all
CONFIG_FB_EFI
greetings
plnick
Re: Grub2 and framebuffer
For the record, I got a good resolution with
GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=1024x768
in /etc/default/grub ( and an update-grub )
the trick was to do
hwinfo --framebuffer
which revealed that I did not have 1280x800 as an option.
hth, --Japser.
GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=1024x768
in /etc/default/grub ( and an update-grub )
the trick was to do
hwinfo --framebuffer
which revealed that I did not have 1280x800 as an option.
hth, --Japser.
Re: Grub2 and framebuffer
Don't know if this helps, but here's what I've done in "testing" to get my personal background image to load and
it seems to be immune to all upgrades I seen so far (and I upgrade daily just for fun ), etc.:
I found that /etc/grub.d/05_debian_theme sources /usr/share/desktop-base/grub_background.sh (if it exists)
I created that file with the following:
it seems to be immune to all upgrades I seen so far (and I upgrade daily just for fun ), etc.:
I found that /etc/grub.d/05_debian_theme sources /usr/share/desktop-base/grub_background.sh (if it exists)
I created that file with the following:
Code: Select all
#! /bin/bash -e
#
# My /boot/grub.d/05_debian_theme extension
#
WALLPAPER="/boot/grub/sunset.png"
COLOR_NORMAL="black/black"
COLOR_HIGHLIGHT="magenta/black"
GRUB_TERMINAL_OUTPUT="gfxterm"
-
- Posts: 544
- Joined: 2008-10-25 12:00
- Location: Canada
Re: Grub2 and framebuffer
Gonna try this stuff later tonight, but I'm wondering if this allows us to set a image that is behind the boot messages for the duration of the boot. gfpayloadkeep passes the display settings, but will it also pass the background image to allow the boot messages to scroll over top?
I think the Debian logo with the text scrolling past would look rather nice on bootup.
I think the Debian logo with the text scrolling past would look rather nice on bootup.