[Ubuntu-x-swat] [Bug 1752053] Re: nvidia-390 fails to boot graphical display

2018-05-10 Thread iuuuuan
Andreas, nvidia on my notebook is enabled and working properly. It is
not disabled.

Currently I only one option enabled for GRUB_CMDLINE_LINUX_DEFAULT in 
/etc/default/grub :
GRUB_CMDLINE_LINUX_DEFAULT="splash"

I do not have /etc/X11/xorg.conf file.

If you backup file /etc/X11/xorg.conf, remove it and reboot laptop, does
it help ?

I have disabled wayland in /etc/gdm3/custom.conf with option (uncomment option 
in file):
WaylandEnable=false

What is prime-select query output ? - on my notebook it returns nvidia
$ prime-select query
nvidia

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1752053

Title:
  nvidia-390 fails to boot graphical display

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1752053/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1752053] Re: nvidia-390 fails to boot graphical display

2018-05-09 Thread iuuuuan
I have finally getting to work my ubuntu 18.04 with drivers installed
from additional drivers.

After update from ubuntu 17.10 to 18.04 nvidia-390 drivers were
installed, nvidia-340 package was metapackage for nvidia-390.

Today I was able to install nvidia-340.106 driver directly from
additional drivers, but they unfortunately did not work.

I have described method how to compile nvidia-340.104 for kernel 4.15 in
#114 and this worked without problems.

I did comparison of nvidia-340.104 and nvidia-340.106 and found out that in 
nvidia-340.106 driver has fix for issue between the NVIDIA kernel driver's Page 
Attribute Table (PAT) support and the KPTI page table isolation.
no

After few tries with different kernel settings I have noticed that I
have nopat option enabled in grub kernel boot.

Simple fix for that was to remove nopat option in grub

1. Open grub configuration file /etc/default/grub
# sudo vi /etc/default/grub

or

# sudo nano /etc/default/grub

2. Remove nopat from GRUB_CMDLINE_LINUX_DEFAULT

My current options looks like this:
GRUB_CMDLINE_LINUX_DEFAULT="splash nomdmonddf nomdmonisw nomdmonddf nomdmonisw"

3. Save file and exit editor

4. Update grub configuration

# sudo update-grub2

5. Reboot
# sudo reboot

6. Install recommended drivers
# sudo ubuntu-drivers autoinstall

7. Reboot
# sudo reboot

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1752053

Title:
  nvidia-390 fails to boot graphical display

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1752053/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1752053] Re: nvidia-390 fails to boot graphical display

2018-05-03 Thread iuuuuan
I have managed to work nvidia binary drivers version 340.102 with kernel
4.15 with patch https://pastebin.com/raw/fVJVvQy7 , which is mentioned
on https://devtalk.nvidia.com/default/topic/1026911/linux/4-15-rc1
-patches-for-384-98-and-340-104.

My nvidia m720 graphics is working again on Ubuntu 18.04.

1. Install prerequisites
# apt-get install build-essential libc6:i386

2. Download nvidia binary drivers from http://www.nvidia.com/content
/DriverDownload-March2009/confirmation.php?url=/XFree86/Linux-
x86_64/340.104/NVIDIA-Linux-x86_64-340.104.run=us=TITAN

3. Download patch for nvidia binary drivers in same directory
# wget -O nv_patch_340.104_linux_kernel_4.15 https://pastebin.com/raw/fVJVvQy7

4. Boot ubuntu in single mode https://linuxconfig.org/how-to-boot-
ubuntu-18-04-into-emergency-and-rescue-mode (How to access
emergency.target at boot)

5. Enter root password

6. Unload nouveau driver
# rmmod nouveau

7. Blacklist nouveau driver
# echo "blacklist nouveau" > /etc/modprobe.d/blacklist-nouveau.conf
# echo "options nouveau modeset=0" >> /etc/modprobe.d/blacklist-nouveau.conf

File /etc/modprobe.d/blacklist-nouveau.conf should have following
entries:

blacklist nouveau
options nouveau modeset=0

8. Update initial ramdisk
# update-initramfs -u

9. Go to directory which contains downloaded nvidia-340 binary driver and set 
executable attribute
# chmod +x NVIDIA-Linux-x86_64-340.104.run

10. Apply the patch to driver (maybe this could be done after downloading 
kernel 4.15 patch - have not tried it ...) 
# ./NVIDIA-Linux-x86_64-340.104.run --apply-patch 
nv_patch_340.104_linux_kernel_4.15

This will build custom NVIDIA binary driver package with name NVIDIA-
Linux-x86_64-340.104-custom.run

11. Set executable attribute for custom driver package
# chmod +x NVIDIA-Linux-x86_64-340.104-custom.run

12. Install the driver with command
# ./NVIDIA-Linux-x86_64-340.104-custom.run

Ignore errors and enable DKMS

13. Reboot computer
# reboot

Nvidia driver 340.120 should be loaded now and graphics fully working.
This method is to complicated so I will also try methods mention in #112
and #113.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1752053

Title:
  nvidia-390 fails to boot graphical display

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1752053/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 1300669] Re: X Server fails to start with nvidia-331 in 14.04

2014-04-19 Thread iuuuuan
1.) Do you happen to have bumblebee installed ?

Try to remove bumblebee with purge option.
sudo apt-get remove --purge bumblebee*

If it is not install check in folder /etc/modprobe.d for file bumblebee.conf.
If exists delete it (contains blacklist option for nvidia)
rm -f  /etc/modprobe.d/bumblebee.conf 

Bumblebee blacklists nvidia driver.

After that install nvidia-331 driver and nvida-prime package: 
sudo apt-get install nvidia-331-updates nvidia-prime

Reboot

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1300669

Title:
  X Server fails to start with nvidia-331 in 14.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1300669/+subscriptions

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 451518] Re: [i945g] karmic: INFO: task i915/* blocked for more than 120 seconds.

2010-03-05 Thread iuuuuan
I am happy to report that issues with Dell Optiplex GX260 and Intel
Video Card has gone - all is working OK. I have upgraded to latest
kernel version and my xorg.conf is the same as it was on 2009-11-19.

-- 
[i945g] karmic: INFO: task i915/* blocked for more than 120 seconds.
https://bugs.launchpad.net/bugs/451518
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 451518] Re: [i945g] karmic: INFO: task i915/* blocked for more than 120 seconds.

2010-03-05 Thread iuuuuan
I have upgraded to latest kernel version and my xorg.conf is the same
as it was on 2009-11-19. - sorry that is not true - I am using intel
video driver.

-- 
[i945g] karmic: INFO: task i915/* blocked for more than 120 seconds.
https://bugs.launchpad.net/bugs/451518
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 451518] Re: [i945G] karmic: INFO: task i915/* blocked for more than 120 seconds.

2009-11-19 Thread iuuuuan
I have switch to vesa driver instead of intel driver and this is enough
for me. The intel graphics card on Dell GX260 in not very good at 3D
acceleration anyway. I have noticed that lsipci shows that my graphics
card has 128 MB of RAM which is not true - It has only 8 MB RAM (Region
0).

00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE 
Chipset Integrated Graphics Device (rev 01)
 Subsystem: Dell Device 0126
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR- INTx-
 Latency: 0
 Interrupt: pin A routed to IRQ 16
 Region 0: Memory at e800 (32-bit, prefetchable) [size=128M]
 Region 1: Memory at ff68 (32-bit, non-prefetchable) [size=512K]
 Capabilities: [d0] Power Management version 1
  Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 Kernel driver in use: i915
 Kernel modules: i915

I have changed the option Driver in Section Device from intel to vesa,
added VideoRam 7680 and disabled all the modules in Section Module . The
formula for determing VideoRam is (Video Memory)*1024 - (Region 1 size
from lspci).

My xorg.conf  looks like this :

Section Device
Identifier  Configured Video Device
Boardname   Intel 845
Busid   PCI:0:2:0
Driver  vesa
Screen  0
Vendorname  Intel
#Option AccelMethod uxa
VideoRam7680 
EndSection

Section Monitor
Identifier  Configured Monitor
Vendorname  Samsung
Modelname   Samsung SyncMaster 171S/175S/170S/CX175S-AZ/LX175S
Horizsync   30-81
Vertrefresh 56-85
  modeline  1280x1...@75 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync 
+vsync
Gamma   1.0
EndSection

Section Screen
Identifier  Default Screen
Device  Configured Video Device
Monitor Configured Monitor
Defaultdepth24
SubSection Display
Depth   24
Virtual 12801024
Modes   1280x1...@75  
EndSubSection
EndSection

Section ServerLayout
Identifier  Default Layout
  screen 0 Default Screen 0 0
EndSection
Section Module
#   Loadglx
#   LoadGLcore
#   Loaddri
#   Loadv4l
EndSection
Section ServerFlags
EndSection

-- 
[i945G] karmic: INFO: task i915/* blocked for more than 120 seconds.
https://bugs.launchpad.net/bugs/451518
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 451518] Re: [i945G] karmic: INFO: task i915/* blocked for more than 120 seconds.

2009-11-15 Thread iuuuuan
I have similar problems too. The computer is Dell Optiplex GX 260.  I
have disabled compiz, power saving options and updated BIOS to latest
version A09.

Intel graphics is :
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE 
Chipset Integrated Graphics Device (rev 01)
Subsystem: Dell Device 0126
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at e800 (32-bit, prefetchable) [size=128M]
Region 1: Memory at ff68 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 1
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: i915
Kernel modules: i915

Kernel panic section is :
[248401.076087] i915/0D c08145c0 0   253  2 0x
[248401.076097]  f6a2df04 0046 eaa56000 c08145c0 f6ac4df8 c08145c0 3a030219 
e1c7
[248401.076110]  c08145c0 c08145c0 f6ac4df8 c08145c0  e1c7 c08145c0 
f68b4e00
[248401.076122]  f6ac4b60 f68cac14 f68cac18  f6a2df30 c056f776 c0748e80 
f68cac1c
[248401.076133] Call Trace:
[248401.076157]  [c056f776] __mutex_lock_slowpath+0xc6/0x130
[248401.076163]  [c056f690] mutex_lock+0x20/0x40
[248401.076215]  [f8257c0a] i915_gem_retire_work_handler+0x2a/0x70 [i915]
[248401.076228]  [c0157a7e] run_workqueue+0x6e/0x140
[248401.076244]  [f8257be0] ? i915_gem_retire_work_handler+0x0/0x70 [i915]
[248401.076251]  [c0157bd8] worker_thread+0x88/0xe0
[248401.076258]  [c015c280] ? autoremove_wake_function+0x0/0x40
[248401.076264]  [c0157b50] ? worker_thread+0x0/0xe0
[248401.076270]  [c015bf8c] kthread+0x7c/0x90
[248401.076275]  [c015bf10] ? kthread+0x0/0x90
[248401.076283]  [c0104007] kernel_thread_helper+0x7/0x10

I have modified xorg.conf file - added AccelMethod uxa, put only one
resultion in screen section, disabled all the modules in section
Modules.

Section Device
Identifier  Configured Video Device
Boardname   Intel 845
Busid   PCI:0:2:0
Driver  intel
Screen  0
Vendorname  Intel
Option AccelMethod uxa
EndSection

Section Monitor
Identifier  Configured Monitor
Vendorname  Samsung
Modelname   Samsung SyncMaster 171S/175S/170S/CX175S-AZ/LX175S
Horizsync   30-81
Vertrefresh 56-85
  modeline  1280x1...@75 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync 
+vsync
Gamma   1.0
EndSection

Section Screen
Identifier  Default Screen
Device  Configured Video Device
Monitor Configured Monitor
Defaultdepth24
SubSection Display
Depth   24
Virtual 12801024
Modes   1280x1...@75  
EndSubSection
EndSection

Section ServerLayout
Identifier  Default Layout
  screen 0 Default Screen 0 0
EndSection
Section Module
#   Loadglx
#   LoadGLcore
#   Loaddri
#   Loadv4l
EndSection
Section ServerFlags
EndSection

Nothing helps :(

-- 
[i945G] karmic: INFO: task i915/* blocked for more than 120 seconds.
https://bugs.launchpad.net/bugs/451518
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 451518] Re: [i945G] karmic: INFO: task i915/* blocked for more than 120 seconds.

2009-11-15 Thread iuuuuan
Here is my attachment of Batchbuffer Dump.

** Attachment added: Batchduffer Dump
   http://launchpadlibrarian.net/35742065/dri_debug-20091116.tgz

-- 
[i945G] karmic: INFO: task i915/* blocked for more than 120 seconds.
https://bugs.launchpad.net/bugs/451518
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 384960] Re: Xorg driver locks up and screen goes blank (black) - i915_gem_retire_work_handler+0x2a/0x70

2009-11-01 Thread iuuuuan
I have similar issues on Dell Optiplex GX260. Ubuntu 9.10 is fully
updated. I have updated Bios from version A05 to A09  - this didn't
helped a lot.

lspci -vv shows :

00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE 
Chipset Integrated Graphics Device (rev 01)
Subsystem: Dell Device 0126
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
Region 0: Memory at e800 (32-bit, prefetchable) [size=128M]
Region 1: Memory at ff68 (32-bit, non-prefetchable) [size=512K]
Capabilities: access denied
Kernel driver in use: i915
Kernel modules: i915

I have added in /etc/X11/xorg.conf in section Device (don't know if
this has any effect) :

Option AccelMethod uxa

I have commented out in etc/X11/xorg.conf in section Module  :
#   Loadglx
#   LoadGLcore
#   Loaddri
#   Loadv4l

Currently it is working fine. I will report again if there will be any
new lockups.  I have attached my xorg.conf.

** Attachment added: xorg.conf file
   http://launchpadlibrarian.net/34931598/xorg.conf

-- 
Xorg driver locks up and screen goes blank (black) - 
i915_gem_retire_work_handler+0x2a/0x70
https://bugs.launchpad.net/bugs/384960
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-intel in ubuntu.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp