## Nvidia 1070 on home built system wtih ubuntu Disco Dingo – Various problems

I started off trying to update my computer and this has been now a few weekends of hell. This is a self-built desktop with an Nvidia GEForce 1070 graphics card

Problem

(primary)-display manager will not load. Currently trying sddm, but basically the same symptoms with lightdm, gdm, and slim.

(secondary)- I have Nvidia in order to run with tensorflow, but I was only able to get that working without having display and have since removed those and am not without working nvidia or display.

(tertiary) – It never shows me the grub menu – I’d be willing to scrap this thing and reboot from USB, but I can’t figure it out. I can’t even get into my bios, which I’m not sure if that’s because I have an HDMI monitor, but it just shows blank.

• I have tried toggling wayland
• Installed/uninstalled nvidia drivers (430) from the repository or using their run libraries with ( I get an error: “unable to load nvidia-drm”)
• I actually upgraded from Bionic to Disco just to see if that would help
• I’ve moved display managers from sddm, lightdm, slim, and gdm3
• I realize that it keeps using nouveau and I have yet to get it to stop using nouveau despite adding to a blacklist, setting modeset=0 nomodeset=0, and nouveau.modeset=0

I would appreciate any and all help.

Hardware 7: PCI 100.0: 0300 VGA compatible controller (VGA) [Created at pci.386] <..removed for brevity.> Hardware Class: graphics card Model: “nVidia GP104 [GeForce GTX 1070]” Vendor: pci 0x10de “nVidia Corporation” Device: pci 0x1b81 “GP104 [GeForce GTX 1070]” <..removed for brevity.> Driver Info #0: Driver Status: nvidiafb is not active Driver Activation Cmd: “modprobe nvidiafb” Driver Info #1:

Driver Status: nouveau is not active Driver Activation Cmd: "modprobe nouveau" 

Driver Info #2:

Driver Status: nvidia_drm is not active Driver Activation Cmd: "modprobe nvidia_drm" 

Driver Info #3:

Driver Status: nvidia is not active Driver Activation Cmd: "modprobe nvidia" 

Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #13 (PCI bridge)

28: PCI 02.0: 0380 Display controller [Created at pci.386] Hardware Class: graphics card Device Name: “Onboard IGD” Model: “Intel UHD Graphics 630 (Desktop)” Vendor: pci 0x8086 “Intel Corporation” Device: pci 0x3e92 “UHD Graphics 630 (Desktop)” SubVendor: pci 0x1458 “Gigabyte Technology Co., Ltd” SubDevice: pci 0xd000 Driver: “i915” Driver Modules: “i915” <..removed for brevity.>

Driver Info #0:

Driver Status: i915 is active Driver Activation Cmd: "modprobe i915" 

Config Status: cfg=new, avail=yes, need=no, active=unknown

grub GRUB_DEFAULT=0 GRUB_TIMEOUT=12 GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian GRUB_CMDLINE_LINUX_DEFAULT=”nouveau.modeset=0″ GRUB_CMDLINE_LINUX=”nouveau.modeset=0″

**modprobe sddm ** (errors) sddm.service – Simple Desktop Display Manager Loaded: loaded (/lib/systemd/system/sddm.service; indirect; vendor preset: enabled) Active: failed (Result: core-dump) since Sun 2019-08-18 19:13:20 EDT; 20s ago Docs: man:sddm(1) man:sddm.conf(5) Process: 6080 ExecStartPre=/bin/sh -c [ “$(cat /etc/X11/default-display-manager 2>/dev/null)” = “/usr/bin/sddm” ] (code=exited, status=0/SUCCESS) Process: 6082 ExecStart=/usr/bin/sddm (code=dumped, signal=ABRT) Main PID: 6082 (code=dumped, signal=ABRT) Aug 18 19:13:18 dirac systemd[1]: sddm.service: Failed with result ‘core-dump’. Aug 18 19:13:20 dirac systemd[1]: sddm.service: Service RestartSec=1s expired, scheduling restart. Aug 18 19:13:20 dirac systemd[1]: sddm.service: Scheduled restart job, restart counter is at 5. Aug 18 19:13:20 dirac systemd[1]: Stopped Simple Desktop Display Manager. Aug 18 19:13:20 dirac systemd[1]: sddm.service: Start request repeated too quickly. Aug 18 19:13:20 dirac systemd[1]: sddm.service: Failed with result ‘core- dump’. Aug 18 19:13:20 dirac systemd[1]: Failed to start Simple Desktop Display Manager. Aug 18 19:13:20 dirac systemd[1]: sddm.service: Triggering OnFailure= dependencies. things I’ve read/tried/are reasonably close to issues I have https://bugzilla.redhat.com/show_bug.cgi?id=611427 https://devtalk.nvidia.com/default/topic/1049262/linux/unable-to-load-the-nvidia-drm-kernel-module-/ https://devtalk.nvidia.com/default/topic/1000340/cuda-setup-and-installation/-quot-nvidia-smi-has-failed-because-it-couldn-t-communicate-with-the-nvidia-driver-quot-ubuntu-16-04/ [How To] Install Latest NVIDIA Drivers In Linux https://forum.manjaro.org/t/failed-to-start-user-manager-for-uid-120/49202 https://forums.tomshardware.com/threads/gigabyte-mother-board-gtx750ti-no-bios-access-black-screen.1906908/ https://ubuntuforums.org/showthread.php?t=1306856 ## Powerfully built 3550 SEO Social Shares Signals for$1

Now, we back with our full Social signals Power, so you will get more fast delivery with quality service. So, order us & go to sleep, we will take the responsibility to promote your website for SEO Boost. You will get: fb 3100+twitter like 50twitter retweet 50pinterest repin 300 We accept all niche, website, youtube videos or anything you need to promote. It’s heavy , powerful seo boost, so make fast decision that will be best for you. Order with extras for more seo boost. & Contact us for any queries, info or need.

by: seoboy12
Created: —
Category: Social Networks
Viewed: 147

## Email template in an app built using PHP MVC pattern

I have an app built in PHP – MVC pattern. It has two email templates:[1] contact form and [2] confirmation email template.

My question is: where should i put those email templates? Should i hardcode them in two different variables and just call contact of confirmation(that seems like a very bad idea)?

## Game works perfectly in unity editor but is broken when built (android) [on hold]

So I have 21 scenes, 1 menu and 20 levels. All of this works perfectly in the editor, but when I built it to my android, it breaks completely. When built, the menu works fine, however when I load the first level, I get a black screen and only the ui shows. Also, one button in the gui is supposed to remove a certain part of the gui which doesnt happen. I also have a timer which just keeps adding numbers onto itself, rather than redraw it (Like if you just keep drawing 1,2,3,4 without erasing the previous ones).

On build, I get no errors and only a “Build completed with a result of ‘Succeeded'”. I have previously built games onto my phone without problems, but never with multiple scenes like this one has. I should also mention that all my levels have 3 canvases (which are fully functional in the editor).

Edit: It’s also broken if I start it directly into level1

Appreciate any suggestions to solve this.

## Installing QtWebengineView on Ubuntu: “A suitable version of dbus could not be found. QtWebEngine will not be built.”

I am trying to install QtWebEngineView on ubuntu with the proprietary codecs.

Running:

➜  qtwebengine git:(c3c37b4e) ✗ /usr/local/Qt-5.12.1/bin/qmake -r -Wall -- -proprietary-codecs -ffmpeg                                WARNING: /home/akiva/Programming/qt5/qtwebengine/configure.pri:94: Unescaped backslashes are deprecated WARNING: /home/akiva/Programming/qt5/qtwebengine/configure.pri:94: Unescaped backslashes are deprecated  Running configuration tests... Done running configuration tests.  Configure summary:  Qt WebEngine:   Embedded build ......................... no   Full debug information ................. no   Pepper Plugins ......................... yes   Printing and PDF ....................... yes   Proprietary Codecs ..................... yes   Spellchecker ........................... yes   Native Spellchecker .................... no   WebRTC ................................. yes   Use System Ninja ....................... yes   Geolocation ............................ yes   WebChannel support ..................... yes   Use v8 snapshot ........................ yes   Kerberos Authentication ................ no   Support qpa-xcb ........................ yes   Use ALSA ............................... yes   Use PulseAudio ......................... yes   Optional system libraries used:     re2 .................................. no     icu .................................. no     libwebp, libwebpmux and libwebpdemux . yes     opus ................................. yes     ffmpeg ............................... yes     libvpx ............................... no     snappy ............................... no     glib ................................. yes     zlib ................................. yes     minizip .............................. yes     libevent ............................. yes     jsoncpp .............................. yes     protobuf ............................. no     libxml2 and libxslt .................. no     lcms2 ................................ no     png .................................. no     JPEG ................................. no     harfbuzz ............................. yes     freetype ............................. no   Required system libraries:     fontconfig ........................... yes     dbus ................................. no     nss .................................. yes     khr .................................. yes     glibc ................................ yes   Required system libraries for qpa-xcb:     x11 .................................. yes     libdrm ............................... yes     xcomposite ........................... yes     xcursor .............................. yes     xi ................................... yes     xtst ................................. yes  Qt is now configured for building. Just run 'make'. Once everything is built, you must run 'make install'. Qt will be installed into '/usr/local/Qt-5.12.1'.  Prior to reconfiguration, make sure you remove any leftovers from the previous build.  WARNING: /usr/local/Qt-5.12.1/mkspecs/features/qt_parts.prf:17: Feature qt_build_config already included WARNING: /usr/local/Qt-5.12.1/mkspecs/features/configure.prf:5: Feature configure_base already included WARNING: /home/akiva/Programming/qt5/qtwebengine/mkspecs/features/configure.prf:3: Feature functions already included WARNING: /home/akiva/Programming/qt5/qtwebengine/mkspecs/features/platform.prf:32: Excess colon in front of opening brace. WARNING: /home/akiva/Programming/qt5/qtwebengine/mkspecs/features/platform.prf:56: Excess colon in front of opening brace. WARNING: /home/akiva/Programming/qt5/qtwebengine/mkspecs/features/platform.prf:168: Stray AND operator in front of AND operator.  A suitable version of dbus could not be found. QtWebEngine will not be built.  

Dbus is installed, but how do I get the required version? Do I need to update to 19.04?

## Get Premium GSA Search Ranker Projects & Data Built in 5 Minutes

GSA Search Engine Ranker is one of the best SEO software on the market today. It can build links to hundreds of platforms on autopilot, no wonder why thousands of Internet Marketers and Link Builders love it.

## Problem

The problem with SER is that it takes too long to build a brand new project. This literally puts many users off. Some outsource the task, only to end up in most cases with mediocre, bad work or nothing at all for their money. Other users, duplicate the same project over and over and over until a wide footprint is created for Google to start bitch slapping every site created using the project. Unfortunately, GSA SER gets the blame.

Using SER wisely still produces awesome results, even for the toughest niches out there. But how do you create a great campaign that has all the right data at the shortest possible time?

## Solved

Meet SoundSEO.com
After months of working on multiple and different complex moving parts, we have solved this problem. We created a platform where you only need URL(s) and 1 Keyword to get your complete GSA SER project data fully completed. The best part is that we do it all in 5 minutes using out automated backend. Building a GSA SER campaign has never been easier. Got a website to build links to? Great, enter the URL and one keyword and we will deliver a .SER file for you to easily import and start running in 5 minutes. Got a Tier 1, 2, 3, 4, 5 or any to build links to? 10, 100, 5000 links? No problem, enter the URLs and one keyword and we will have your project ready to boost your buffer while you wait. Note: We complete all the fields and data related the project. All project configurations are set to default. Feel free to change settings as needed.

## Here is What you Get with Every Premium Project:

• One or Multiple URLs:
• Whether you are building links to one site/property or up to 5000 links, we’ve got you covered. Enter the URL or URLs one per line in the order form (with http:// or https://) and we will include them in your SER project.

• Keyword Research:
• We use your provided keyword to get all the related keywords and the related keywords of each in level one. That’s related keywords 2 level deep to ensure diversity, natural anchor and ranking across a wide range of related keywords.

• 100 Spun Articles & Titles:
• 100 niche related articles spun at sentence and paragraph level. We also include hundreds of spun titles with each article for maximum uniqueness.

• 30 Emails with Anti-Spam Off:
• GSA SER best preforming emails with anti-spam turn off to ensure GSA SER can verify all the links and nothing gets missing in Junk / Spam folder. We always provide new, never used emails and track them with every order to ensure they are never shared.

• 35 Preview Images:
• Direct link to images related to your keyword to be used throughout the project.

• Custom PDF File with Links:
• Beautiful PDF file freshly created with an image (hyperlinked to your site) and anchor and naked URL added at the end of the document. Links inside PDF are crawled by search engines as the PDF file gets replicated across different sites. Your site gets the juice.

• Niche MP4 Video File:
• We provide a direct link to a related MP4 video file so you can submit it video sites for a link. Users rarely complete this field, but there are a lot of good sites that can provide a link for submitting a video file.

• We don’t just submit generic comments. We scrape comments related to your keyword and provide thousands of them per project. This will help make your link niche relevant and vastly increase the value of the link.

• Translated Fields to German & Polish:
• We use Google Translate API to translate niche related content to German and Polish, which will increase the stick rate of links submitted to these sites. Submitting English content to Polish and German sites is huge spam flag.

• Every Fields Completed & Spun:
• Every other field in the project is carefully completed and spun to provide a unique, niche related project with the highest possible success rates.

• 1-Click Easy Import for .SER File:
• No messing about with different sets of files to import. We provide one .SER file that you can easily restore and you are done.

• Delivered in around 5 Minutes:
• No waiting for hours, days or weeks for your project to be delivered. We produce awesome, unique and niche related GSA SER in under 5 minutes. 24 hours, 7 days a week. Be it weekend, national holiday or New Years day, thanks to our automated backend platform.

## How does this work?

Watch the animated GIF below

## Who is this for?

Anyone who:

• Uses GSA Search Engine Ranker
• Don’t have time to fill boring GSA SER fields, articles, emails…etc
• Values their time and money
• Needs tight niche relevancy in SER projects
• Wants to start promoting own and/or client sites in minutes, not hours or days

Dirt-cheap. $10 for a single project. ## Power User? I’m a power user and I need to pump out a lot of projects a day/week. What can you do for me? We have a monthly subscription plan where you can build unlimited projects at a very special launch price. If you plan on creating more than 10 projects a day/week, this will easily pay for itself in the first week. ## Review Copies? We have 30 FREE review copies on first come basis. Please post on the thread and I’ll PM you the coupon code to get 100% off. ## Randomly built binary search trees In Introduction to Algorithms (CLRS) 3rd Edition, page 299, the section attempts to prove: The expected height of a randomly built binary search tree on $$n$$ distinct keys is $$O(\lg n)$$. We define “randomly built binary search tree on $$n$$ keys” as: a binary search tree that arises from inserting the keys in random order into an initially empty tree, where each of the $$n!$$ permutations of the input keys is equally likely. In the proof, we defined some random variables: Let $$X_n$$ denotes the height of a randomly built binary search tree on $$n$$ keys and the exponential height $$Y_n = 2^{X_n}$$. Of the $$n$$ keys, we choose one key as the root of the tree, and we let $$R_n$$ denotes the random variable that holds the position that this key would occupy if the set of keys were sorted (also know as ‘rank’ in the text). If we know that $$R_n=i$$, it follows that $$Y_n=2\cdot max(Y_{i-1},Y_{n-1})$$. We also define indicator random variables $$Z_{n,1}, Z_{n,2}, …, Z_{n,n}$$, $$Z_{n,i} = I\{R_n=i\}$$. $$$$\begin{split} E[Y_n] & = E\Big[\sum_{i=1}^{n} Z_{n,i} (2\cdot max(Y_{i-1}, Y_{n-i}))\Big] \ & = \sum_{i=1}^{n} E[Z_{n,i} (2\cdot max(Y_{i-1}, Y_{n-i}))] && \text{(by linearity of expectation)}\ & = \sum_{i=1}^{n} E[Z_{n,i}] E[(2\cdot max(Y_{i-1}, Y_{n-i}))] && \text{(by independence)}\ \end{split}$$$$ I would like to ask why is the last equality correct? In other words, why can we assume independence of $$Z_{n,i}$$ and $$max(Y_{i-1},Y_{n-i})$$? In the proof, there was a brief explanation: Having chosen $$R_n = i$$, the left subtree (whose ranks are less than $$i$$. This subtree is just like any other randomly built binary search tree on $$i-1$$ keys. Other than the number of keys it contains, this subtree’s structure is not affected at all by the choice of $$R_n=i$$, and hence the random variables $$Y_{i-1}$$ and $$Z_{n,i}$$ are independent. Likewise, the right subtree, whose exponential height is $$Y_{n-i}$$, is randomly built on the $$n-i$$ keys whose ranks are greater than $$i$$. However, since $$R_n$$ does affect the number of keys $$Y_{i-1}$$ and $$Y_{n-i}$$ contain (as acknowledged by the explanation above), wouldn’t it mean that $$Y_{i-1}$$ and $$Y_{n-i}$$ are dependent on $$Z_{n,i}$$? A note regarding similar questions posted on CS stackexchange I have read the answers for the following questions which are very similar to mine: 1. Proof that a randomly built binary search tree has logarithmic height 2. Average height of a BST with n Nodes. 3. Randomized BST height analysis : How$ Z_{n,i}$and$ Y_{k-1}\$ are independent?

For 1 & 2, the question was a more general one which asked for an explanation for the entire proof. Also, the answer for both questions did not attempt to justify the independence and simply used the result.

For 3, the question was based on a MIT lecture, https://www.youtube.com/watch?v=vgELyZ9LXX4 and it lacked some of the details which I have included above. Also, the answer was also not clear.

## Shared library built on Ubuntu with -ljpeg doesn’t work on Debian

I am making a shared library using C language. This lib has a dependencies from libjpeg and X api. I am building it on Ubuntu 18.04 OS and to build it I use the following command: gcc mycode.c -o libname.so --shared -lX11 -lXss -lXExt -ljpeg -fPIC. I want to use this library on debian based operating systems, for example Debian OS. When I call functions of this library on Debian 9.9, I receive an exception Unable to load a file libname.so or one of it's dependencies. But when I build this C code with the same command on Debian and further use it – all is working. I assume that the problem is in libjpeg because on Ubuntu I use library called libjpeg but there is no library with the same name on Debian and I use libjpeg-turbo.
Help me please to realize how to build my library in Ubuntu and then use it on other Debian based systems. Also, I want to mention that I am don’t have a am not expert at Linux distributions and difference between them, and if things that I want to do are impossible, sorry for time wasting.

## is JFreeChart software built using CBSE principles? [on hold]

Is JFreeChart software built using CBSE principles? If yes, can the Java Files in it be called as software components?

## How do I force the built in webcam to capture images at a 160×120 resolution?

I have a Dell XPS 15 (model 9570) running Ubuntu 18.04. It has a built in webcam and I’d like to find a way to force it to capture images at a 160×120 resolution when doing video conferencing (any of Google Meetings, Google Hangouts or Jitsi). I think this probably means doing something at the driver or kernel level because the applications don’t have good enough options for this. Is this possible? How do I do it?

Background

I will shortly be working remotely and want to setup a really simple, really cheap video conferencing setup so I can speak to my children.

This suggests a Raspberry Pi running Chromium in kiosk. The problem is that the pi CPU maxes out trying to decode the high resolution image stream coming from my laptop. The resulting video has a 5-10s lag and skips horribly. They don’t need to see me in high resolution but if I’m to have any hope of capturing their attention it needs to be reasonably fluid and current!

I have also tried manually setting Google Meetings to 320×160 resolution. This still results in 2-4s lag on the pi, although the CPU load is permanently at 100% across all 4 cores.

Other experiments (https://raspberrypi.stackexchange.com/questions/99619/how-can-i-set-up-video-calling-with-out-the-video-lagging-3-5s-lag-is-local-to?noredirect=1#comment163528_99619) have shown that the pi’s camera doesn’t contribute to the lag and also that it is not the pi CPU being throttled due to heat. I’m open to other solutions but I think that the best path is to reduce the load on the pi imposed by the remote party in the call (my laptop).