Page 6 of 20

Re: Device Driver Manager (DDM) - help needed

Posted: 09 Jun 2013 14:04
by cwwgateway
Oh wait, found something. Is it normal to have an Xorg.8.log? Here's what I found:

Code: Select all

christopher@chris-laptop:~$ cat /var/log/Xorg.8.log | grep framebuffer
[    75.549] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
christopher@chris-laptop:~$ cat /var/log/Xorg.8.log | grep Depth
[    75.549] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    76.856] (--) Depth 24 pixmap format is 32 bpp
The file is attached.

Re: Device Driver Manager (DDM) - help needed

Posted: 09 Jun 2013 15:28
by Arjen Balfoort
Okay, if I understand correctly: Nvidia/Intel hybrid cards ALWAYS have Intel loaded, until you run primusrun, then you have Nvidia loaded. Correct?

Re: Device Driver Manager (DDM) - help needed

Posted: 09 Jun 2013 18:04
by cwwgateway
Schoelje wrote:Okay, if I understand correctly: Nvidia/Intel hybrid cards ALWAYS have Intel loaded, until you run primusrun, then you have Nvidia loaded. Correct?
Correct. Intel is loaded even when primusrun is used (both drivers run at the same time)

Re: Device Driver Manager (DDM) - help needed

Posted: 12 Jun 2013 07:52
by Arjen Balfoort
@cww
Could you also attach /etc/X11/xorg.conf?

Re: Device Driver Manager (DDM) - help needed

Posted: 12 Jun 2013 10:40
by cwwgateway
Schoelje wrote:@cww
Could you also attach /etc/X11/xorg.conf?
I don't have one (checked all of my installs running bumblebee)

Re: Device Driver Manager (DDM) - help needed

Posted: 12 Jun 2013 13:02
by Arjen Balfoort
Alrighty then!
I have just uploaded version 0.8.0 to testing.
This version should support hybrid cards (Nvidia/Intel and ATI/Intel).

However (and this is a very big "however"). I have no way of testing this myself. So if you're going to test this, be aware of the following things:
  • Start DDM in debug mode:

    Code: Select all

    ddm -d
    This generates the log file ~/ddm.log in your home directory. Attach that file in your post.
  • Also attach /etc/X11/xorg.conf and /var/log/Xorg.0.log to your post.
  • Check manually if the install went as you would have done manually (the right packages, user belongs to group, you know...).
Only do the following when the recommended driver installed and tested successfully!
  • Try to switch driver
  • Check /etc/X11/xorg.conf if the right driver is going to be loaded (not for Intel or bumblebee)
  • If you can't get X after reboot (the dreaded black screen): go into recovery mode, login as root, remove /etc/X11/xorg.conf, and reboot.

Re: Device Driver Manager (DDM) - help needed

Posted: 12 Jun 2013 21:58
by cwwgateway
Ok, I'm going to do a fresh install and try this out. Will post back when I'm done.

Re: Device Driver Manager (DDM) - help needed

Posted: 12 Jun 2013 23:26
by cwwgateway
Ok, got a problem:

Code: Select all

christopher@chris-solydx:~$ apt policy ddm
ddm:
  Installed: 0.8.0
  Candidate: 0.8.0
  Version table:
 *** 0.8.0 0
        700 http://packages.solydxk.com/ solydxk/testing amd64 Packages
        100 /var/lib/dpkg/status
     0.7.5 0
        700 http://packages.solydxk.com/ solydxk/main amd64 Packages
Latest ISO (2013.06 RC2), first boot on a fresh install, upgraded to Testing.
I get this error (and I'm completely sure I'm not running live):

Code: Select all

christopher@chris-solydx:~$ ddm -d
INFO      Write debug information to file: /home/christopher/ddm.log
INFO      Machine info: Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-15) ) #1 SMP Debian 3.2.41-2
INFO      DDM version: 0.8.0
WARNING   DDM cannot run in a live environment

To force start, use the --force argument
Will reboot and try again.

Edit: DDM still says this after reboot; will try using --force.

Re: Device Driver Manager (DDM) - help needed

Posted: 12 Jun 2013 23:58
by cwwgateway
It's working :D :

Code: Select all

christopher@chris-solydx:~$ primusrun glxgears -info
GL_RENDERER   = GeForce GT 540M/PCIe/SSE2
GL_VERSION    = 4.2.0 NVIDIA 304.88
GL_VENDOR     = NVIDIA Corporation
Groups seem to be in order:

Code: Select all

christopher@chris-solydx:~$ groups
christopher sys adm lp dialout cdrom floppy sudo audio dip video plugdev sambashare lpadmin bumblebee
As far as I can see all the correct packages are installed (including the 32-bit primus libs which I forgot about).

There's no xorg.conf

Code: Select all

christopher@chris-solydx:~$ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: No such file or directory
ddm.log and Xorg.0.log are attached (I can attach Xorg.8.log too if you want it).

Re: Device Driver Manager (DDM) - help needed

Posted: 13 Jun 2013 00:26
by cwwgateway
Switched to fbdev. It has bad multi-monitor support, but it's working. Primusrun seg faults (which I think is kind of expected):

Code: Select all

christopher@chris-solydx:~$ primusrun glxgears -info
Segmentation fault
xorg.conf is correct I believe:

Code: Select all

christopher@chris-solydx:~$ cat /etc/X11/xorg.conf 
Section "Device"
  Identifier   "Device0"
  Driver       "fbdev"
EndSection

Re: Device Driver Manager (DDM) - help needed

Posted: 13 Jun 2013 00:43
by jsalpha2
Running SolydX 32bit with the new UP. /etc/apt/sources.list: includes testing
trying to help. http://pastebin.com/download.php?i=K4Uk3ZqT
"Unknown driver found.
Please remove before installing drivers with DDM."
The only driver I had is the default nouveau video driver.
Nvidia GK107 (GT 630)
I don't know what the unknown driver is. I ignored the message and installed the NVidia driver successfully.
I've never used pastebin before. If you have any questions let me know. This is a desktop, no wireless drivers.
Update my video card has audio built in, even though I don't use it, this might be the unknown driver.
Also there is some doubt as to whether PAE is installed. One spot says it is, another says its not.

Re: Device Driver Manager (DDM) - help needed

Posted: 13 Jun 2013 05:17
by Arjen Balfoort
Live-installer has also a bug, which results in the message that you can only start DDM with the --force argument.
Purge anything related with the live packages:

Code: Select all

apt-get remove --purge --yes --force-yes live-boot live-boot-initramfs-tools live-config live-config-sysvinit live-installer live-tools
This is resolved with the new live-installer.

I've found another bug: if you also have Broadcom wireless, it tries to load the info together with the video card info, resulting in an error that an unknown driver was found.

Will work on these this morning.

Re: Device Driver Manager (DDM) - help needed

Posted: 13 Jun 2013 09:19
by Arjen Balfoort
I've adapted the code that shows the drivers in the list.
You can now install DDM 0.8.1 from testing.

For instructions: http://forums.solydxk.nl/viewtopic.php?p=8102#p8102

Re: Device Driver Manager (DDM) - help needed

Posted: 13 Jun 2013 20:20
by jsalpha2
looks like I've destroyed another install. After installing DDM 0.8.1 from testing and running it, I was offered to update the kernel to one with PAE support. Now I can not make it to the desktop.
startpar: service(s) returned failure: plymouth ...failed
I think I need to get rid of Mint 14 Xfce because grub 2 must be getting confused. I log into mint and grub 2 has 4 entries for SolydX 1 says 486, 1 says 486 recovery, 1 says 686, 1 says 686 recovery, none work. One of the reasons I came here was because I could never get the NVidia drivers installed in Mint 14 and Mint 15 does not have an Xfce version yet. I think Grub 2 is getting confused with what goes where. I might be better off with just SolydX and Windows, and probably should try the 64 bit version. If I can get to any log files I will try to post them for you.

Re: Device Driver Manager (DDM) - help needed

Posted: 14 Jun 2013 12:31
by zerozero
can you please share the output of (from mint, because i assume you cant get into solydx)

Code: Select all

sudo fdisk -l
and also a shot of the hdd(s) from gparted (assuming that you have more than one hdd in that setup)
(we might have to move these posts later)

Re: Device Driver Manager (DDM) - help needed

Posted: 15 Jun 2013 10:56
by Arjen Balfoort
If there are no issues with the latest DDM (http://forums.solydxk.nl/viewtopic.php?p=8160#p8160), I will add it to the new iso's which I'm going to build tomorrow.

Activating fglrx-driver

Posted: 23 Jun 2013 05:25
by Deleted User 2763
Hi guys,
I've tried installing the recommended ati drivers through ddm, but it doesn't seem to want to change from xserver-xorg-video-radeon to fglrx-driver (recommended)
Am I missing something?
I'm pretty sure I can desintall xserver-xorg-video-radeon and install fglrx-driver, but that's "brute force" and I'm sure there's a better way?
Thanks.
-Hinto

Re: Activating fglrx-driver

Posted: 23 Jun 2013 08:06
by Arjen Balfoort
hinto wrote:Hi guys,
I've tried installing the recommended ati drivers through ddm, but it doesn't seem to want to change from xserver-xorg-video-radeon to fglrx-driver (recommended)
Am I missing something?
I'm pretty sure I can desintall xserver-xorg-video-radeon and install fglrx-driver, but that's "brute force" and I'm sure there's a better way?
Thanks.
-Hinto
Moved your post to the DDM topic.

Can you run DDM from termianl:

Code: Select all

ddm -d
This creates a log file in your home directory: ~/ddm.log
Rename that to ddm.txt and attach it to your next post.

Re: Device Driver Manager (DDM) - help needed

Posted: 23 Jun 2013 21:24
by Deleted User 2763
inxi -Gu yields:
Graphics: Card Advanced Micro Devices [AMD] nee ATI BeaverCreek [Radeon HD 6520G] X.Org 1.12.4 Res: 1366x768@0.0hz
GLX Renderer N/A GLX Version N/A
According to what I've read, it's supposed to be supported by fglrx-driver.
Attaching the output of ddm -d

-Hinto

Edit:
I'm rebooting now, but it hasn't "stuck" the other times I've done it. ddm has the video-radeon enabled.
Edit:
After rebooting, I'm presented with a black screen. removing xorg.conf lets me back in, but xserver-org-video-fbdev is enabled.

Re: Device Driver Manager (DDM) - help needed

Posted: 24 Jun 2013 06:58
by Arjen Balfoort
Essentially DDM does install the following packages:

Code: Select all

sudo apt-get install linux-headers-$(uname -r) build-essential module-assistant fglrx-driver fglrx-modules-dkms libgl1-fglrx-glx glx-alternative-fglrx fglrx-control
After wich your xorg.conf is configured with:

Code: Select all

sudo aticonfig --initial -f
All that's done on your system according to the log file you provided :? .

What if you run the above commands manually?
Before reboot, check /etc/X11/xorg.conf if all looks alright and the fglrx driver is set.