Author Topic: (SOLVED) Display driver issue in Openbox  (Read 4231 times)

Offline unist

  • Full Member
  • ***
  • Posts: 158
(SOLVED) Display driver issue in Openbox
« on: February 02, 2012, 08:02:40 PM »
I have PCLOS LXDE 2011-09 in HDD C: and PCLOS Openbox 2011-08 in HDD D:
I was using both without any problem for months. Doing things as usual with Openbox 2011-08, during a boot process it appeared the following:
"Display driver issue
The display driver currently configured required you to use "nokmsboot" boot option to prevent the KMS driver of the kernel from being loaded in the boot process. Startup of the X server may now fail as that option was not specified"

After accepting the message or leaving the system to continue, I notice the following:
1) Entire desktop appears not centered: Lower menu is partially cut down in the base line, and entire image is shifted left and down.
2) Using manual control for the monitor NEC LCD 1512 the horizontal adjustment gets corrected, but the vertical does not correct the lower border of the Openbox menu from being cut, although the monitor image is centered vertically.
3) There is a "blink" in the entire monitor image from time to time

Since my PCLOS LXDE is working fine, I conclude that the problem is caused by something that went wrong with the PCLOS Openbox installation.

If I can't solved it my plan is to install PCLOS Phinx 2011-08 (XFCE) in HDD D: since I had it before and ran well in my hardware, but then I will have to customize it again, loosing what I already have done so far with PCLOS Openbox. So, I prefer to correct the PCLOS Openbox instead, if possible.

Any suggestions are appreciated. Thank you.
« Last Edit: February 04, 2012, 03:05:01 PM by unist »
Registered Linux user #547260

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Display driver issue in Openbox
« Reply #1 on: February 02, 2012, 09:54:13 PM »
unist,

Have you recently changed to an nVidia video driver? That would explain the nokms message. It's just a matter of adding some parameters, (nokmsboot vmalloc=256M), to your GRUB boot stanzas. Please post the output from the following.

su -
cat /boot/grub/menu.lst
exit
exit


Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline melodie

  • Hero Member
  • *****
  • Posts: 5945
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: Display driver issue in Openbox
« Reply #2 on: February 03, 2012, 04:54:25 AM »
Hi,
I would also like to see the output of the command "grep Driver /etc/X11/xorg.conf". (Without the quotes)

and the content of the file ~/.xsession-errors just after you login into the X session.





« Last Edit: February 03, 2012, 04:56:04 AM by melodie »
melodie at #lpic-fr on irc.freenode.net

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Display driver issue in Openbox
« Reply #3 on: February 03, 2012, 07:36:30 PM »
su -
cat /boot/grub/menu.lst
exit
exit

This is the output:
[hugo@localhost ~]$ su
Password:
[root@localhost hugo]# cat /boot/grub/menu.lst
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd1,0)/boot/gfxmenu
default 0

title PCLinuxOS (PCLinuxOS)
root (hd0,4)
configfile /boot/grub/menu.lst

title linux
kernel (hd1,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=68cb828f-58d5-4792-b357-fbf58664247a quiet vmalloc=256M acpi=on resume=UUID=23f9911f-800c-4b4c-8122-fdef39c9d9f4 splash=silent vga=788
initrd (hd1,0)/boot/initrd.img

title linux-nonfb
kernel (hd1,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=68cb828f-58d5-4792-b357-fbf58664247a quiet vmalloc=256M acpi=on resume=UUID=23f9911f-800c-4b4c-8122-fdef39c9d9f4
initrd (hd1,0)/boot/initrd.img

title failsafe
kernel (hd1,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=68cb828f-58d5-4792-b357-fbf58664247a quiet nokmsboot failsafe vmalloc=256M acpi=on
initrd (hd1,0)/boot/initrd.img
Registered Linux user #547260

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Display driver issue in Openbox
« Reply #4 on: February 03, 2012, 07:47:21 PM »
Okay, nokmsboot is missing from a couple of lines. However,


Have you recently changed to an nVidia video driver?


Also,


I would also like to see the output of the command "grep Driver /etc/X11/xorg.conf". (Without the quotes)

and the content of the file ~/.xsession-errors just after you login into the X session.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Display driver issue in Openbox
« Reply #5 on: February 03, 2012, 07:48:55 PM »
I would also like to see the output of the command "grep Driver /etc/X11/xorg.conf". (Without the quotes)
Well, I don't get anything as output  ???
Registered Linux user #547260

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Display driver issue in Openbox
« Reply #6 on: February 03, 2012, 08:17:25 PM »
and the content of the file ~/.xsession-errors just after you login into the X session.
I rebooted and obtained this output just after login into X session:

[root@localhost hugo]# ~/.xsession - errors
Obt-Message: Xinerama extension is not present on the server
Openbox-Message: Un gestor de ventanas ya esta corriendo en la pantalla 0

The last line that is in Spanish, says in English:
Openbox-Message: A window manager is already running on screen 0

Do I have a syntax error with:  ~/.xsession - errors ?
Registered Linux user #547260

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Display driver issue in Openbox
« Reply #7 on: February 03, 2012, 08:34:12 PM »

[root@localhost hugo]# ~/.xsession - errors
Obt-Message: Xinerama extension is not present on the server
Openbox-Message: Un gestor de ventanas ya esta corriendo en la pantalla 0

The last line that is in Spanish, says in English:
Openbox-Message: A window manager is already running on screen 0

Do I have a syntax error with:  ~/.xsession - errors ?

Yes, that should be

cat ~/.xsession-errors

Post the output. And, have you recently changed the video driver?

EDIT:
I would also like to see the output of the command "grep Driver /etc/X11/xorg.conf". (Without the quotes)
Well, I don't get anything as output  ???

You get nothing at all? What is the result of this in a terminal?

ls /etc/X11/xorg.conf
« Last Edit: February 03, 2012, 08:37:39 PM by djohnston »
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Display driver issue in Openbox
« Reply #8 on: February 03, 2012, 08:45:34 PM »
Have you recently changed to an nVidia video driver? That would explain the nokms message. It's just a matter of adding some parameters, (nokmsboot vmalloc=256M), to your GRUB boot stanzas.

Since I don't have the problem when I run PLCOS LXDE I verified with Hardware Info within LXDE and then rebooted to Openbox and verified Hardware Info again. I obtained the following:

Hardware report using PCLOS LXDE:

XVideo
XVideo-MotionCompensation
-OpenGL-
Vendor      : NVIDIA Corporation
Renderer      : GeForce4 MX Integrated GPU/AGP/SSE/3DNOW!
Version      : 1.5.8 NVIDIA 96.43.20
Direct Rendering      : Yes

Hardware report using PCLOS Openbox:

XVideo
-OpenGL-
Vendor      : Mesa Project
Renderer      : Software Rasterizer
Version      : 2.1 Mesa 7.11.2
Direct Rendering      : Yes

Maybe this difference is part of the explanation.
Registered Linux user #547260

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Display driver issue in Openbox
« Reply #9 on: February 03, 2012, 08:57:58 PM »
cat ~/.xsession-errors
Post the output. And, have you recently changed the video driver?
Output for cat ~/.xsession-errors is:

[hugo@localhost ~]$ cat ~/.xsession-errors
/etc/X11/gdm/Xsession: Beginning session setup...
/etc/X11/gdm/Xsession: Setup done, will execute: /usr/bin/ssh-agent -- /usr/share/X11/xdm/Xsession default
/home/hugo/.Xresources:1: warning: End of input with no newline, supplemented newline
    Xft.lcdfilter: lcddefault
Failed to connect to the VirtualBox kernel service
Failed to connect to the VirtualBox kernel service
Failed to connect to the VirtualBox kernel service
Failed to connect to the VirtualBox kernel service
localhost being added to access control list
hotkeys: You must set the keyboard type, use hotkeys -t <type> to set it.
s2u: symbol lookup error: /usr/lib/libnotify.so.1: undefined symbol: gtk_status_icon_get_geometry
Obt-Message: Xinerama extension is not present on the server
which: no hsetroot in (/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/home/hugo/bin)
which: no esetroot in (/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/home/hugo/bin)

** (parcellite:3513): WARNING **: Binding '<Ctrl><Alt>A' failed!

Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x8ba8e00)" of type `GString'
** (pcmanfm:3497): DEBUG: line = /home/hugo
** (pcmanfm:3497): DEBUG: line = 0
** (pcmanfm:3497): DEBUG: line = --show-pref
** (pcmanfm:3497): DEBUG: line = 0
** (pcmanfm:3497): DEBUG: FmJob error: No existe el fichero o el directorio
** (pcmanfm:3497): DEBUG: unable to load icon . GThemedIcon application-octet-stream gnome-mime-application-octet-stream application-x-generic
** (pcmanfm:3497): DEBUG: FmJob error: No existe el fichero o el directorio
** (pcmanfm:3497): DEBUG: FmJob error: No existe el fichero o el directorio
** (pcmanfm:3497): DEBUG: launch command: <gedit 'file:///home/hugo/Documents/hardinfo_report.txt' >
** (pcmanfm:3497): DEBUG: sn_id = pcmanfm-3497-localhost-gedit-0_TIME199306
** (pcmanfm:3497): DEBUG: vol-changed
** (pcmanfm:3497): DEBUG: vol-changed
** (pcmanfm:3497): DEBUG: on_mount_action_finished
** (pcmanfm:3497): DEBUG: mount path: disk
** (pcmanfm:3497): DEBUG: launch command: <libreoffice3.4 --writer 'file:///media/disk/home/hugo/Documents/Problema%20Video%20Openbox.doc' >
** (pcmanfm:3497): DEBUG: sn_id = pcmanfm-3497-localhost-libreoffice3.4-1_TIME253067
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0xb186a840)" of type `GString'
[hugo@localhost ~]$

Translation for "No existe el fichero o el directorio" is "File or Directory does not exist"

Also, I haven't changed video driver.
Registered Linux user #547260

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Display driver issue in Openbox
« Reply #10 on: February 03, 2012, 09:17:54 PM »
I used PCManFM and went to /etc/X11/xorg.conf Then I opened xorg.conf with Geany and Gedit and Nothing is there.

I also noticed that there is a file: xorg.conf.old

I opened it with Geany and the output is:

# File generated by XFdrake (rev 262502)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerFlags"
    Option "DontZap" "False" # disable <Ctrl><Alt><BS> (server abort)
    AllowMouseOpenFail # allows the server to start up even if the mouse does not work
    #DontZoom # disable <Ctrl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
    Load "v4l" # Video for Linux
EndSection

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "NEC LCD1512"
    HorizSync 30-61
    VertRefresh 55-76
   
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630
   
    # 768x576 @ 100 Hz, 61.6 kHz hsync
    ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
    Identifier "device1"
    VendorName "nVidia Corporation"
    BoardName "NVIDIA GeForce 2 MX to GeForce 4"
    Driver "nvidia"
    Option "DPMS"
    Option "RenderAccel" "false"
    Option "DynamicTwinView" "false"
    Option "AddARGBGLXVisuals"
    Option "UseEDID" "0"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
   
    Subsection "Display"
        Depth 8
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
   
    Subsection "Display"
        Depth 15
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
   
    Subsection "Display"
        Depth 16
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
   
    Subsection "Display"
        Depth 24
        Modes "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier "layout1"
    Screen "screen1"
EndSection

There is also a file xorg.conf.pclos.1326941421 I opened it with Geany and Nothing is there.
Registered Linux user #547260

Offline unist

  • Full Member
  • ***
  • Posts: 158
Re: Display driver issue in Openbox
« Reply #11 on: February 03, 2012, 09:40:05 PM »

You get nothing at all? What is the result of this in a terminal?

ls /etc/X11/xorg.conf


I get this:

[hugo@localhost ~]$ ls /etc/X11/xorg.conf
/etc/X11/xorg.conf
[hugo@localhost ~]$
Registered Linux user #547260

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Display driver issue in Openbox
« Reply #12 on: February 03, 2012, 10:21:29 PM »
Okay, just so I understand:

1. You have two separate installations? One is LXDE and one is Openbox?
2. You reboot to change from one desktop to the other?
3. Do you have two separate home directories?
4. Is anything you've posted so far from the LXDE installation, or is it all from the Openbox one?

If all your problems are from Openbox. please do this in a terminal:

su -
cd /etc/X11
mv xorg.conf xorg.conf-bad
XFdrake
exit
exit


XFdrake will run the videocard setup. Accept the default nVidia driver highlighted. It should be the nVidia one. After saving the changes and closing the terminal and any running programs, reboot.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline melodie

  • Hero Member
  • *****
  • Posts: 5945
  • Internet Relay Chat sur Freenode
    • PCLinuxOS Fr
Re: Display driver issue in Openbox
« Reply #13 on: February 04, 2012, 07:36:15 AM »
Hi,
The solution is very simple. In Openbox, get sure you have the nvidia driver installed. Get sure you remove the driver having for name nouveau (sometimes it does bad tricks). Remove any xorg.conf you have in Openbox. Copy your Lxde xorg.conf to Openbox. Reboot to Openbox.

I could try to understand closer what happened in your Openbox install, but the above solution is for me the simplest way to fix it.

The solution provided by djohnston will work too. In that solution you can even purely erase the bad xorg.conf. Choose your method, any of the two should fix the problem.

Regards,
Mélodie

« Last Edit: February 04, 2012, 07:38:14 AM by melodie »
melodie at #lpic-fr on irc.freenode.net

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6224
  • I don't do Windows
Re: Display driver issue in Openbox
« Reply #14 on: February 04, 2012, 09:14:20 AM »
Hi,
The solution is very simple. In Openbox, get sure you have the nvidia driver installed. Get sure you remove the driver having for name nouveau (sometimes it does bad tricks). Remove any xorg.conf you have in Openbox. Copy your Lxde xorg.conf to Openbox. Reboot to Openbox.

I could try to understand closer what happened in your Openbox install, but the above solution is for me the simplest way to fix it.

The solution provided by djohnston will work too. In that solution you can even purely erase the bad xorg.conf. Choose your method, any of the two should fix the problem.

Regards,
Mélodie



Thanks, Melodie. Four eyes are much better than two.  ;)
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378