Cobra Forum

Linux => Installation & Upgrades => Topic started by: pathra on Aug 04, 2023, 11:12 AM

Title: Graphics Resolution- Upgrade /Blank Screen after reboot
Post by: pathra on Aug 04, 2023, 11:12 AM
Quote Originally Posted by MAFoElffen View Post
The files are set to root previledges, so to edit them, you going to have to start a terminal:Code:
cd /boot/grub/grub.cfg
sudo gedit /boot/grub/grub.cfg
...If you remember to save a copy of it in your home directory somewhere, as everytime you ran update-grub (or any grub update) it would overwrite it.

So find "/etc/default/grub"
Code:
cd /etc/default/
sudo gedit grub
and edit the line:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vga=786"
Doing it this way will pick up the edits each time update-grub is run... So update the grub.cfg now via
Code:
sudo update-grub
to pick up these changes.

For trying new modes... you should be able to bring up the Grub menu by pressing the shift key a few times as it's booting up...
ok I did the edit to the grub file and it did change the resolution on the vga monitor, but did not help with s-video output. it's not actually outputting anything to s-video with vga plugged in, and with s-video only pluged in it gives a brief signal at the purple splash screen but I don't get the ubuntu logo and it stops any output again. now i did find out that if i hold shift on boot and select the previous version of linux it will output to s-video and vga at the same time just fine.
Advanced replyAdv Reply   Reply With QuoteReply With Quote
May 2nd, 2011#43MAFoElffen's AvatarMAFoElffen MAFoElffen is offline
Modules & Layers

Join Date
Mar 2010
Location
USA
Beans
Hidden!
Distro
Ubuntu Development Release
Re: Graphics Resolution- Upgrade /Blank Screen after reboot
Quote Originally Posted by neonman123 View Post
ok I did the edit to the grub file and it did change the resolution on the vga monitor, but did not help with s-video output. it's not actually outputting anything to s-video with vga plugged in, and with s-video only pluged in it gives a brief signal at the purple splash screen but I don't get the ubuntu logo and it stops any output again. now i did find out that if i hold shift on boot and select the previous version of linux it will output to s-video and vga at the same time just fine.
Hmm... So that may be related to a similar kernel problem that "taygan" was having here:
Quote Originally Posted by taygan View Post
First of all, THANK YOU SO MUCH for an excellent troubleshooting thread. It helped me isolate my problem.

Clean install Natty 11.02 on a Gateway M-1625 with a ATI Radeon x1270 (RS690M). Note that this Radeon is no longer supported by fglrx (ATI Catalyst). After pulling my hair out for 24 hours, and trying every combination on the grub menu, I finally fixed my "blinking cursor/blank screen/fixing recursive fault but reboot is required" by downgrading the kernel to 2.6.37

First, the USB stick live desktop i386 booted to Unity fine, but Unity won't run installed (no 3D graphics??) - guess that's another issue. Next I tried installing over my 10.10 partition. It booted to rescue (recovery?) and low graphics most of the time. I thought it was a bad install so I formatted the partition and did a CLEAN install of Natty 11.04.

Grub always boots fine, it was hanging/black screen/sometimes blinking cursor after selecting the kernel. I tried many many combinations on the kernel boot line (pressing e from the grub menu): deleting everything ("quiet" "splash" and the "vt...7" thing) on the line after "ro" and trying different options (I always used "nosplash" to see what was going on - remember don't use the " when using options - it's just for reading clarity)

"nosplash text" + "nomodeset" or "radeon.modeset=0" or "xforcevesa" would SOMETIMES work, but would often hang at "fixing recursive fault but restart is needed" Other times it would hang after 3 lines, or after a few screenfuls, depending on the options, and sometimes changing with the SAME options. Grrr...

Finally, it looks like acpi is mucking things up with the latest kernel for me: The options "ro acpi=off nosplash text" can consistently get me booted to a terminal. Then from the terminal "sudo service start gdm" gets to the gdm logon screen. On the logon screen I must choose "classic (no effects)" and then I can get to gnome.

From there I downloaded the older kernel and installed it from the .debs found in the Ubuntu Kernel Mainline PPA,

If I select "older Linux Kernels" (I think that's what it says) from the grub menu and boot to 2.6.37 everything seems to work fine.

Older debs found here:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37.6-natty/

for 32-bit i386 download and install in this order:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37.6-natty/linux-headers-2.6.37-02063706_2.6.37-02063706.201103281005_all.deb
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37.6-natty/linux-headers-2.6.37-02063706-generic_2.6.37-02063706.201103281005_i386.deb
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37.6-natty/linux-image-2.6.37-02063706-generic_2.6.37-02063706.201103281005_i386.deb

if you're running amd64, be sure to download the headers-all, headers-amd64, and image-amd64 - but I don't know if this workaround is needed with the 64-bit kernel.

Be sure to install (click on) the .debs in order: headers-all, headers-i386(amd64), and image-i386(amd64)!

Thanks to this blog post for the inspiration:

http://www.khattam.info/howto-instal...010-11-13.html
So Installing an earliar version of the kernel as he described (above) my help you... If you need the debs for the AMD64 / 64bit kernel debs... let me now and I'll post them.
Last edited by MAFoElffen; May 2nd, 2011 at 01:11 AM.
Concurrent coexistance of Windows, Linux and UNIX...
Ubuntu user # 33563, Linux user # 533637
Sticky: [all variants] Graphics Resolution- Upgrade /Blank Screen after reboot
UbuntuForums system-info Script
Advanced replyAdv Reply   Reply With QuoteReply With Quote
May 2nd, 2011#44emerick7's Avataremerick7 emerick7 is offline
A Carafe of Ubuntu

Join Date
Dec 2005
Beans
106
Distro
Ubuntu 10.10 Maverick Meerkat
Re: Graphics Resolution- Upgrade /Blank Screen after reboot
Unfortunately, vmalloc=192MB didn't work.
Advanced replyAdv Reply   Reply With QuoteReply With Quote
May 2nd, 2011#45pssturges pssturges is offline
Frothy Coffee!

Join Date
Jun 2007
Beans
213
Re: Graphics Resolution- Upgrade /Blank Screen after reboot
Quote Originally Posted by MAFoElffen View Post
LOL- Okay... I'll edit the first post today. Look for those additions/changes there fist post.

I will add some more "basic" explanations and examples. Someone told me it was on the verge of a geek-alert... Mmeaning it was fine as a highly technical article, but the technical level was in reality, a bit high for a new comer.. I'll try to broaden that level.
Most of it ws fine for me just a few clarrifications needed here and there.

After struggling with this for the best part of 2 days, I've finally made some progress, however small.

Even with the revised changes to the kernel boot line you suggested, I couldn't even get into text mode. This particular system is a laptop with nvidia 8600m GS graphics. I eventually booted it with an external monitor connected and it boots into a console pretty much whatever I put in grub. The output is displayed on the laptop screen only. It just seems to need be connected to a monitor to force it into some other mode or something.

Anyhow, nvidia-current is already installed and I have created an xorg.conf. When I try to start gdm i get "gdm start/running, process 2591" then it quickly returns to the command prompt.

Below is the output from "hwinfo --framebuffer":

Code:
02: None 00.0: 11001 VESA Framebuffer
  [Created at bios.464]
  Unique ID: rdCR.04O_qA0Mq31
  Hardware Class: framebuffer
  Model: "NVIDIA G86 Board - e416h01 "
  Vendor: "NVIDIA Corporation"
  Device: "G86 Board - e416h01 "
  SubVendor: "NVIDIA"
  SubDevice:
  Revision: "Chip Rev"
  Memory Size: 14 MB
  Memory Range: 0xcd000000-0xcddfffff (rw)
  Mode 0x0300: 640x400 (+640), 8 bits
  Mode 0x0301: 640x480 (+640), 8 bits
  Mode 0x0303: 800x600 (+800), 8 bits
  Mode 0x0305: 1024x768 (+1024), 8 bits
  Mode 0x0307: 1280x1024 (+1280), 8 bits
  Mode 0x030e: 320x200 (+640), 16 bits
  Mode 0x030f: 320x200 (+1280), 24 bits
  Mode 0x0311: 640x480 (+1280), 16 bits
  Mode 0x0312: 640x480 (+2560), 24 bits
  Mode 0x0314: 800x600 (+1600), 16 bits
  Mode 0x0315: 800x600 (+3200), 24 bits
  Mode 0x0317: 1024x768 (+2048), 16 bits
  Mode 0x0318: 1024x768 (+4096), 24 bits
  Mode 0x031a: 1280x1024 (+2560), 16 bits
  Mode 0x031b: 1280x1024 (+5120), 24 bits
  Mode 0x0330: 320x200 (+320), 8 bits
  Mode 0x0331: 320x400 (+320), 8 bits
  Mode 0x0332: 320x400 (+640), 16 bits
  Mode 0x0333: 320x400 (+1280), 24 bits
  Mode 0x0334: 320x240 (+320), 8 bits
  Mode 0x0335: 320x240 (+640), 16 bits
  Mode 0x0336: 320x240 (+1280), 24 bits
  Mode 0x033d: 640x400 (+1280), 16 bits
  Mode 0x033e: 640x400 (+2560), 24 bits
  Mode 0x0345: 1600x1200 (+1600), 8 bits
  Mode 0x0346: 1600x1200 (+3200), 16 bits
  Mode 0x0347: 1400x1050 (+1400), 8 bits
  Mode 0x0348: 1400x1050 (+2800), 16 bits
  Mode 0x0349: 1400x1050 (+5600), 24 bits
  Mode 0x034a: 1600x1200 (+6400), 24 bits
  Mode 0x0352: 2048x1536 (+8192), 24 bits
  Mode 0x0360: 1280x800 (+1280), 8 bits
  Mode 0x0361: 1280x800 (+5120), 24 bits
  Mode 0x0362: 768x480 (+768), 8 bits
  Mode 0x0364: 1440x900 (+1440), 8 bits
  Mode 0x0365: 1440x900 (+5760), 24 bits
  Mode 0x0368: 1680x1050 (+1680), 8 bits
  Mode 0x0369: 1680x1050 (+6720), 24 bits
  Mode 0x037c: 1920x1200 (+1920), 8 bits
  Mode 0x037d: 1920x1200 (+7680), 24 bits
  Config Status: cfg=new, avail=yes, need=no, active=unknown
I'm not really sure where to go from here.
Any help would be much appreciated.

Thanks
phil
Advanced replyAdv Reply   Reply With QuoteReply With Quote
May 2nd, 2011#46neonman123 neonman123 is offline
First Cup of Ubuntu

Join Date
Jan 2011
Beans
7
Re: Graphics Resolution- Upgrade /Blank Screen after reboot
Quote Originally Posted by MAFoElffen View Post
Hmm... So that may be related to a similar kernel problem that "taygan" was having here:

So Installing an earliar version of the kernel as he described (above) my help you... If you need the debs for the AMD64 / 64bit kernel debs... let me now and I'll post them.
I'm experiencing the same issue with that earlier version as well, the kernel that does work for me is 2.6.35-28 is there a way to just make that load by default for right now?
Advanced replyAdv Reply   Reply With QuoteReply With Quote
May 2nd, 2011#47drymnfr drymnfr is offline
First Cup of Ubuntu

Join Date
Jan 2007
Beans
9
Re: Graphics Resolution- Upgrade /Blank Screen after reboot
Upgraded from 10.10 to 11.04 on Friday. Screen went black on reboot.

Previous versions(for example: 2.6.35-28 ) would boot up fine.

Dell Latitude D630
Graphics card: NVIDIA Quadro NVS 135M

Thanks to all the suggestions, after 2 days of trying different things suggested in this thread, I finally got my system to boot with 2.6.38-8.

1) changed /etc/default/grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="acpi=off splash"
and subsequently ran
Code:
sudo update-grub
I haven't checked Unity desktop yet, but Gnome desktop is working normally as before.
Advanced replyAdv Reply   Reply With QuoteReply With Quote
May 2nd, 2011#48danealle danealle is offline
First Cup of Ubuntu

Join Date
May 2011
Beans
4
Re: Graphics Resolution- Upgrade /Blank Screen after reboot
i cannot even go to grub menu.. my screen just flicker switching from terminal to blank each seconds.. what to do.?
the only key combination it recognises is <ctrl>+<alt>+<del>
my laptop (vaio E series) uses ATI radeon which works previously on 10.10, with 4 Gb of ram..
using i5..
i uses ubuntu, like 2 month maybe..
Advanced replyAdv Reply   Reply With QuoteReply With Quote
May 2nd, 2011#49itsbatmansilly itsbatmansilly is offline
First Cup of Ubuntu

Join Date
Dec 2010
Beans
4
Re: Graphics Resolution- Upgrade /Blank Screen after reboot
so i tried to upgrade from the last version to the current 11.04

made a live usb, and it worked flawlessly whilst booting from usb

install seemed to go well

now when i boot from HDD i get splash screen, log in to my user account as usual, then all hell breaks loose

generic ubuntu background occasinally interupted with flashing boxes of text, that seem to be various upgrade requests, etc but no desktop, nothing as far as hot keys working blah

again, running 11.04 off of live usb is working fine.

wtf? lol any ideas for this total idiot?
Advanced replyAdv Reply   Reply With QuoteReply With Quote
May 2nd, 2011#50MAFoElffen's AvatarMAFoElffen MAFoElffen is offline
Modules & Layers

Join Date
Mar 2010
Location
USA
Beans
Hidden!
Distro
Ubuntu Development Release
Re: Graphics Resolution- Upgrade /Blank Screen after reboot
Quote Originally Posted by pssturges View Post
Most of it ws fine for me just a few clarrifications needed here and there.

After struggling with this for the best part of 2 days, I've finally made some progress, however small.

Even with the revised changes to the kernel boot line you suggested, I couldn't even get into text mode. This particular system is a laptop with nvidia 8600m GS graphics. I eventually booted it with an external monitor connected and it boots into a console pretty much whatever I put in grub. The output is displayed on the laptop screen only. It just seems to need be connected to a monitor to force it into some other mode or something.

Anyhow, nvidia-current is already installed and I have created an xorg.conf. When I try to start gdm i get "gdm start/running, process 2591" then it quickly returns to the command prompt.

Below is the output from "hwinfo --framebuffer":

Code:
02: None 00.0: 11001 VESA Framebuffer
  [Created at bios.464]
  Unique ID: rdCR.04O_qA0Mq31
  Hardware Class: framebuffer
  Model: "NVIDIA G86 Board - e416h01 "
  Vendor: "NVIDIA Corporation"
  Device: "G86 Board - e416h01 "
  SubVendor: "NVIDIA"
  SubDevice:
  Revision: "Chip Rev"
  Memory Size: 14 MB
  Memory Range: 0xcd000000-0xcddfffff (rw)
  Mode 0x0300: 640x400 (+640), 8 bits
  Mode 0x0301: 640x480 (+640), 8 bits
  Mode 0x0303: 800x600 (+800), 8 bits
  Mode 0x0305: 1024x768 (+1024), 8 bits
  Mode 0x0307: 1280x1024 (+1280), 8 bits
  Mode 0x030e: 320x200 (+640), 16 bits
  Mode 0x030f: 320x200 (+1280), 24 bits
  Mode 0x0311: 640x480 (+1280), 16 bits
  Mode 0x0312: 640x480 (+2560), 24 bits
  Mode 0x0314: 800x600 (+1600), 16 bits
  Mode 0x0315: 800x600 (+3200), 24 bits
  Mode 0x0317: 1024x768 (+2048), 16 bits
  Mode 0x0318: 1024x768 (+4096), 24 bits
  Mode 0x031a: 1280x1024 (+2560), 16 bits
  Mode 0x031b: 1280x1024 (+5120), 24 bits
  Mode 0x0330: 320x200 (+320), 8 bits
  Mode 0x0331: 320x400 (+320), 8 bits
  Mode 0x0332: 320x400 (+640), 16 bits
  Mode 0x0333: 320x400 (+1280), 24 bits
  Mode 0x0334: 320x240 (+320), 8 bits
  Mode 0x0335: 320x240 (+640), 16 bits
  Mode 0x0336: 320x240 (+1280), 24 bits
  Mode 0x033d: 640x400 (+1280), 16 bits
  Mode 0x033e: 640x400 (+2560), 24 bits
  Mode 0x0345: 1600x1200 (+1600), 8 bits
  Mode 0x0346: 1600x1200 (+3200), 16 bits
  Mode 0x0347: 1400x1050 (+1400), 8 bits
  Mode 0x0348: 1400x1050 (+2800), 16 bits
  Mode 0x0349: 1400x1050 (+5600), 24 bits
  Mode 0x034a: 1600x1200 (+6400), 24 bits
  Mode 0x0352: 2048x1536 (+8192), 24 bits
  Mode 0x0360: 1280x800 (+1280), 8 bits
  Mode 0x0361: 1280x800 (+5120), 24 bits
  Mode 0x0362: 768x480 (+768), 8 bits
  Mode 0x0364: 1440x900 (+1440), 8 bits
  Mode 0x0365: 1440x900 (+5760), 24 bits
  Mode 0x0368: 1680x1050 (+1680), 8 bits
  Mode 0x0369: 1680x1050 (+6720), 24 bits
  Mode 0x037c: 1920x1200 (+1920), 8 bits
  Mode 0x037d: 1920x1200 (+7680), 24 bits
  Config Status: cfg=new, avail=yes, need=no, active=unknown
I'm not really sure where to go from here.
Any help would be much appreciated.

Thanks
phil
Hmm. I know this chip was Ubuntu challenged until about a little over a year ago when they made some driver changes, but has been fine since then, through the 195 series of drivers.

NVidia 8600 graphics on which/what kind of laptop? Laptop's add a few more variables such as "backlighting." I have quite a few various nvidia cards here and I've always had a liking for their chipdets. What I've noticed on them is that from the start "nomodeset" usually turns off KVM long enough to get the nVidia drvers loaded...

Please post your xorg.conf and your ~/.xsession.errors and we'll see what may be going on.