no X screen after kernel upgrades

Use this forum for questions related to graphics, sound or desktop environments.

Re: no X screen after kernel upgrades

Postby Monsie » August 1st, 2016, 6:26 pm

leaveone wrote:
My question is this.. why did it stop working for my older 4.2 kernel when I upgrade to 4.6? As of now, I can't login to an X session on either kernel.

There could be many reasons: for instance, you may need to edit old grub entries and update grub at the terminal after reverting to the older kernel. Downgrading can be tricky, and, as far as I know, it is not officially supported in debian.

Cynwulf is correct in stating that things can break in testing... BTW: the minimalist xorg configuration that Cynwulf provided is what the nvidia-xconfig package should do for you as well, so, your choice.

As for nouveau, I believe this is what your system should install by default. Just make sure that the proprietary driver and related files are completely removed from your system first before making the switch.

Monsie
My username is pronounced: "Munsee" and is based on my nick name in High School.
Monsie
 
Posts: 70
Joined: January 17th, 2016, 11:11 pm

Re: no X screen after kernel upgrades

Postby cynwulf » August 2nd, 2016, 8:25 am

leaveone wrote:I will try the minimalist Xorg config file approach when I get home later. The nvidia module is registered with dkms and when a kernel is upgraded it does auto rebuild. My question is this.. why did it stop working for my older 4.2 kernel when I upgrade to 4.6? As of now, I can't login to an X session on either kernel.

It's years since I've used it, but I believe the driver only builds for one kernel.

leaveone wrote:If i want to try the nouveau driver, what package(s) do I need to install? Then just configure Xorg to load nouveau driver instead of nvidia?

Purge all the nvidia stuff, remove xorg.conf completely and reboot. As you're running testing this is the best approach as you will be using and testing the latest free and open source driver, instead of a closed source binary blob.
"What, are you... uh... undercover or something?"
"No, I'm underpaid."
User avatar
cynwulf
 
Posts: 2381
Joined: April 26th, 2011, 2:46 pm

Re: no X screen after kernel upgrades

Postby leaveone » August 2nd, 2016, 10:52 pm

okay so i removed all nvidia stuff and blew away my xorg.conf rebooted. i did get into X windows this system but my resolution was stuck at 800x600 and i tried to use gnome-settings-manager to change display settings and it said there was no device listed. Also, at this point was i using nouveau, even though i never configured xorg to load it?

after that experiment i reinstalled nvidia legacy driver stuff and then ran nvidia-xconfig and rebooted. Now i can't get into X windows, and again there are no errors (EE) in the Xorg.0.log file, just a few warnings.. does this have anything to do with my issue?

[ 118.151] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 118.151] (**) NVIDIA(0): device Ancor Communications Inc VK246 (DFP-0) (Using EDID
[ 118.151] (**) NVIDIA(0): frequencies has been enabled on all display devices.)
[ 118.151] (==) NVIDIA(0):
[ 118.151] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 118.151] (==) NVIDIA(0): will be used as the requested mode.
[ 118.151] (==) NVIDIA(0):
[ 118.151] (II) NVIDIA(0): Validated MetaModes:
[ 118.151] (II) NVIDIA(0): "DFP-0:nvidia-auto-select"
[ 118.151] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[ 118.155] (WW) NVIDIA(0): Unable to support custom viewPortOut 1920 x 1080 +0 +0
[ 118.155] (--) NVIDIA(0): DPI set to (92, 91); computed from "UseEdidDpi" X config
[ 118.155] (--) NVIDIA(0): option
[ 118.155] (--) Depth 24 pixmap format is 32 bpp
[ 118.163] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
leaveone
 
Posts: 13
Joined: July 28th, 2016, 9:34 pm

Re: no X screen after kernel upgrades

Postby Monsie » August 3rd, 2016, 4:52 am

Hi leavone,

From what I can tell, your Xorg.0.log file indicates the optimal resolution for your display is 1920 x 1080 but for unknown reasons is unable to support it. Since the hardware is set to auto-select the optimal display only, it fails, and renders a blank screen. My thoughts are that this is probably a bug with the driver. At the very least, one would hope and/or expect that the driver would "fallback" (so-to-speak) to a lower resolution such as: 1280 x 720 or another compatible mode in the event the optimal display is currently unavailable.

At this time, I believe your best bet is to go with the nouveau driver if you want to continue with debian testing. If your display is "stuck" at 800 x 600 then you can use the xrandr utility to find and then to set a better resolution: http://linux.die.net/man/1/xrandr

Hope this helps,
Monsie
My username is pronounced: "Munsee" and is based on my nick name in High School.
Monsie
 
Posts: 70
Joined: January 17th, 2016, 11:11 pm

Re: no X screen after kernel upgrades

Postby leaveone » September 21st, 2016, 7:55 pm

so after doing quite a bit of troubleshooting i still don't have any answers. i swapped out the video card for another nvidia card i had laying around. it was slightly newer and used the nvidia-legacy-340xx driver rather than the 304xx version but i have the same problem. using the nouveau driver gives me 1280x1024 resolution at best, using my dvi port. the monitor has an hdmi port that i'd like to try so my question is this.. what is a linux friendly graphics card with an hdmi port? i dont do any gaming, but just need better resolution. also, is it possible that the monitor is starting to die and can no longer support 1920x1080? I think i prob had 1600x1200 at best when everything seemed to be working fine. any ideas from the gurus?
leaveone
 
Posts: 13
Joined: July 28th, 2016, 9:34 pm

Re: no X screen after kernel upgrades

Postby cynwulf » September 22nd, 2016, 1:18 pm

If it's a TFT monitor, it will support the native resolution regardless of age or condition. Any other resolutions displayed on a TFT monitor are simple scaled to fit.

Some of the older Nvidia graphics chips had problems with EDID, where they could not recognise the monitor's native resolution properly. You could configure X.org manually (use your config on the first page of this thread as a base) to set the resolution you want to use, but with the nouveau driver rather than the nvidia blob? If it doesn't you will just have a blank screen and will need to switch back to a console and kill X and try something else.
"What, are you... uh... undercover or something?"
"No, I'm underpaid."
User avatar
cynwulf
 
Posts: 2381
Joined: April 26th, 2011, 2:46 pm

Re: no X screen after kernel upgrades

Postby leaveone » September 22nd, 2016, 9:04 pm

here's what appears in the error log when i try to use the xorg.conf on the first page and load the nouveau driver instead of nvidia.. any ideas??


[ 1881.933] (II) LoadModule: "glx"
[ 1881.933] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 1881.933] (II) Module glx: vendor="X.Org Foundation"
[ 1881.933] compiled for 1.18.4, module version = 1.0.0
[ 1881.933] ABI class: X.Org Server Extension, version 9.0
[ 1881.933] (==) AIGLX enabled
[ 1881.937] (II) LoadModule: "nouveau"
[ 1881.937] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 1881.937] (II) Module nouveau: vendor="X.Org Foundation"
[ 1881.937] compiled for 1.18.3, module version = 1.0.12
[ 1881.937] Module class: X.Org Video Driver
[ 1881.937] ABI class: X.Org Video Driver, version 20.0
[ 1881.937] (II) NOUVEAU driver Date: Tue Dec 8 15:52:25 2015 +1000
[ 1881.937] (II) NOUVEAU driver for NVIDIA chipset families :
[ 1881.937] RIVA TNT (NV04)
[ 1881.937] RIVA TNT2 (NV05)
[ 1881.937] GeForce 256 (NV10)
[ 1881.937] GeForce 2 (NV11, NV15)
[ 1881.937] GeForce 4MX (NV17, NV18)
[ 1881.937] GeForce 3 (NV20)
[ 1881.937] GeForce 4Ti (NV25, NV28)
[ 1881.937] GeForce FX (NV3x)
[ 1881.937] GeForce 6 (NV4x)
[ 1881.937] GeForce 7 (G7x)
[ 1881.937] GeForce 8 (G8x)
[ 1881.937] GeForce GTX 200 (NVA0)
[ 1881.937] GeForce GTX 400 (NVC0)
[ 1888.537] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -19
[ 1888.537] (EE) No devices detected.
[ 1888.537] (EE)
Fatal server error:
[ 1888.537] (EE) no screens found(EE)
[ 1888.537] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1888.537] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 1888.537] (EE)


and here is what the new video card is..
02:00.0 VGA compatible controller: NVIDIA Corporation G98 [GeForce 8400 GS Rev. 2] (rev a1)
leaveone
 
Posts: 13
Joined: July 28th, 2016, 9:34 pm

Re: no X screen after kernel upgrades

Postby cynwulf » September 23rd, 2016, 12:36 pm

If this is a new graphics card, was the old one an integrated graphics?

Can you comment out the busid line and try again?

Failing that: is the nouveau kernel module blacklisted?

When running testing, it's best to use the free X.org drivers.

If you want to use the blob, then it's best to stick to the stable release of Debian.

You will need to stop installing nvidia blob drivers if this doesn't work and instead persevere. You should get this working, as that is an old GPU and is supported, but you will come undone quickly if you keep reverting to trying to install the nvidia blob.

(also on old 7xxx and 8xxx chipsets, the nvidia blob can perform horribly in 2D)
"What, are you... uh... undercover or something?"
"No, I'm underpaid."
User avatar
cynwulf
 
Posts: 2381
Joined: April 26th, 2011, 2:46 pm

Re: no X screen after kernel upgrades

Postby leaveone » September 23rd, 2016, 1:23 pm

the old graphics card was a GeForce 7200, so I took that out and replaced it with a "newer" GeForce 8400 that I had. I don't know how to tell if the nouveau module is blacklisted, but I assume it isn't since the Xorg.0.log file indicated that nouveau was loaded successfully. I can remove the busid line when I get home from work and reboot. I'll post an update later. When you talk about the nvidia blob, are you talking about the Nvidia binary from Nvidia (which I can't seem to install anyways because of a missing version.h file in my kernel sources), or are you talking about the legacy-340xx-dkms package that I have been installing/uninstalling?
leaveone
 
Posts: 13
Joined: July 28th, 2016, 9:34 pm

Re: no X screen after kernel upgrades

Postby leaveone » September 23rd, 2016, 7:40 pm

after removing the BusID line I still get the following error from before..

[ 1888.537] (EE) [drm] Failed to open DRM device for pci:0000:02:00.0: -19
[ 1888.537] (EE) No devices detected.
[ 1888.537] (EE)
Fatal server error:
[ 1888.537] (EE) no screens found(EE)
[ 1888.537] (EE)


nouveau still loaded successfully.
leaveone
 
Posts: 13
Joined: July 28th, 2016, 9:34 pm

PreviousNext

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 1 guest

x