LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-11-2017, 07:59 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,681

Rep: Reputation: 53
Enabling hardware acceleration.


Hi: some time ago I disabled hardware acceleration but now, having installed Dropline Gnome I see it has a problem starting because of that. I must reenable it, but I don't remember how to do it. I was about to document what I had done but after I forgot.

Either I edited a file or did it though the GUI, just don't remember. Can you tell me how to enable hardware acceleration? This is Slackware 14.1 and in case the GUI matters, I run Xfce.

This is what I got after changing to Gnome with xwmconfig and running startx.
Code:
Loading extension GLX
gnome-session-is-accelerated: No hardware 3D support.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-is-accelerated: No hardware 3D support.
gnome-session-check-accelerated: Helper exited with code 256

** (process:2168): WARNING **: software acceleration check failed: Child process exited with code 1

** (gnome-session-quit:2200): WARNING **: Failed to call logout: The name org.gnome.SessionManager was not provided by any .service files
error setting MTRR (base = 0x80000000, size = 0x007f0000, type = 1) Invalid argument (22)
(EE) Server terminated successfully (0). Closing log file.
xinit: connection to X server lost

Last edited by stf92; 12-11-2017 at 08:40 PM.
 
Old 12-12-2017, 09:34 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,785

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Check
  • you have kernel modesetting enabled
  • What your card is and tell us
  • what your drivers are and tell us also
  • what is the output of <glxinfo | grep render and tell us also
  • Have you any video modules blacklisted and tell us

As a general rule, people expected to come up with answers must be in possession of the facts.
 
Old 12-12-2017, 07:21 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,681

Original Poster
Rep: Reputation: 53
  • In /etc/lilo.conf:
    append="nomodeset vt.default_utf8=0"
    prompt
    Plus, in /var/log/dmsg search with "modeset" only matches above string.
  • Code:
    00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/
            Subsystem: Hewlett-Packard Company Device 3660
            Flags: bus master, fast devsel, latency 0, IRQ 45
            Memory at 98180000 (32-bit, non-prefetchable) [size=512K]
            I/O ports at 60c0 [size=8]
            Memory at 80000000 (32-bit, prefetchable) [size=256M]
            Memory at 98000000 (32-bit, non-prefetchable) [size=1M]
            Expansion ROM at <unassigned> [disabled]
            Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
            Capabilities: [d0] Power Management version 2
            Kernel modules: i915
    
    00:02.1 Display controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx In
            Subsystem: Hewlett-Packard Company Device 3660
            Flags: bus master, fast devsel, latency 0
            Memory at 98100000 (32-bit, non-prefetchable) [size=512K]
            Capabilities: [d0] Power Management version 2
    Code:
    root@darkstar:/etc# lsmod
    Module                  Size  Used by
    ipv6                  246794  20 
    cpufreq_ondemand        7199  2 
    speedstep_lib           2471  0 
    lp                      7199  0 
    ppdev                   4710  0 
    parport_pc             16728  0 
    parport                25305  3 lp,ppdev,parport_pc
    fuse                   65066  5 
    cp210x                  7706  0 
    btusb                  13948  0 
    usbserial              20597  1 cp210x
    bluetooth             192760  2 btusb
    uvcvideo               62606  0 
    videobuf2_vmalloc       2276  1 uvcvideo
    videobuf2_memops        1355  1 videobuf2_vmalloc
    videobuf2_core         24173  1 uvcvideo
    videodev               79509  2 uvcvideo,videobuf2_core
    rt2800pci               8834  0 
    rt2800lib              54922  1 rt2800pci
    rt2x00pci               2156  1 rt2800pci
    rt2x00mmio              2297  1 rt2800pci
    rt2x00lib              33211  4 rt2x00pci,rt2800lib,rt2800pci,rt2x00mmio
    eeprom_93cx6            1733  1 rt2800pci
    mac80211              373974  3 rt2x00lib,rt2x00pci,rt2800lib
    snd_hda_codec_idt      32383  1 
    i2c_dev                 4551  0 
    i915                  508710  0 
    cfg80211              321151  2 mac80211,rt2x00lib
    crc_ccitt               1087  1 rt2800lib
    drm_kms_helper         31358  1 i915
    drm                   186279  2 i915,drm_kms_helper
    i2c_algo_bit            4575  1 i915
    coretemp                4726  0 
    i2c_i801               12393  0 
    snd_hda_intel          29700  0 
    snd_hda_codec         123925  2 snd_hda_codec_idt,snd_hda_intel
    acpi_cpufreq            6310  0 
    mperf                    919  1 acpi_cpufreq
    hp_wmi                  6032  0 
    ehci_pci                2980  0 
    uhci_hcd               19872  0 
    processor              24543  1 acpi_cpufreq
    video                  10142  1 i915
    thermal                 7136  0 
    thermal_sys            19013  3 video,thermal,processor
    sparse_keymap           2542  1 hp_wmi
    rfkill                 12610  5 cfg80211,hp_wmi,bluetooth
    snd_hwdep               4738  1 snd_hda_codec
    snd_pcm                62870  2 snd_hda_codec,snd_hda_intel
    snd_page_alloc          6062  2 snd_pcm,snd_hda_intel
    snd_timer              14870  1 snd_pcm
    snd                    44159  6 snd_hwdep,snd_timer,snd_hda_codec_idt,snd_pcm,snd_hda_codec,snd_hda_intel
    ehci_hcd               34699  1 ehci_pci
    i2c_core               17388  7 drm,i915,i2c_i801,i2c_dev,drm_kms_helper,i2c_algo_bit,videodev
    soundcore               4318  1 snd
    r8169                  51572  0 
    psmouse                72582  0 
    intel_agp               8680  1 i915
    intel_gtt              10512  3 i915,intel_agp
    agpgart                22075  3 drm,intel_agp,intel_gtt
    lpc_ich                11413  0 
    mii                     3335  1 r8169
    serio_raw               3545  0 
    freq_table              2176  3 cpufreq_ondemand,acpi_cpufreq,thermal_sys
    hwmon                   1021  2 coretemp,thermal_sys
    microcode               8880  0 
    evdev                   7552  8 
    wmi                     7059  1 hp_wmi
    battery                 9591  0 
    ac                      3403  0 
    button                  3704  1 i915
    loop                   14786  0 
    root@darkstar:/etc#
  • Code:
    oot@darkstar:/etc# glxinfo|grep render
    direct rendering: Yes
    OpenGL renderer string: Software Rasterizer
        GL_NV_conditional_render, GL_NV_depth_clamp, 
    root@darkstar:/etc#
  • No video modules blacklisted.
bill@darkstar:/almacen/sma_/info/clear/cl1/correo/lq/gnome$

Last edited by stf92; 12-12-2017 at 07:23 PM.
 
Old 12-13-2017, 05:30 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,785

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
This looks easy.

You disabled modesetting by adding 'nomodeset' to lilo.conf. Remove it, run lilo again, and reboot. The screen starts up on a standard font and usually goes smaller when modes are set. That's how you'll know it's working.
 
Old 12-13-2017, 07:58 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,681

Original Poster
Rep: Reputation: 53
Not so easy. I commented out the nomodeset line, reran lilo, booted and...
Code:
Loading extension GLX
libGL error: failed to load driver: i915
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
gnome-session-is-accelerated: No hardware 3D support.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-is-accelerated: No hardware 3D support.
gnome-session-check-accelerated: Helper exited with code 256

** (process:825): WARNING **: software acceleration check failed: Child process exited with code 1

** (gnome-session-quit:857): WARNING **: Failed to call logout: The name org.gnome.SessionManager was not provided by any .service files
(II) AIGLX: Suspending AIGLX clients for VT switch
The output is identical with that in post #1 save for the two first lines. Anyway, as modesetting was your first concern, maybe it is still disabled. How do I know it is enabled?

EDIT: I would hate to diversify the contents of the thread but I wonder if it wouldn't be better to get a Gnome with sources and compile.

Last edited by stf92; 12-13-2017 at 08:25 PM.
 
Old 12-14-2017, 02:01 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 7,334
Blog Entries: 4

Rep: Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769Reputation: 1769
Quote:
Originally Posted by stf92 View Post
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/
sounds like something i have in an old (2010) 32 bit netbook. correct?
if so, i'd been having hardware accel difficulties with it, too, and i think running the newest software is part of the problem.
i didn't solve it, but if i were you i'd try an extremely conservative distro or one specifically made to run on matured laptops (antiX?).
 
1 members found this post helpful.
Old 12-14-2017, 04:43 PM   #7
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,681

Original Poster
Rep: Reputation: 53
Wink

You nailed it! It was manufactured in 2010.
 
Old 12-15-2017, 04:14 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,785

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Gnome is just a bloated window manager - like a fat lady sitting on top of a sprinter. If this is a 2010 netbook running on an Intel Atom, you have no business running gnome, but want a low overhead window manager.

To get an intel driver doing drm, you need
1. A suitable kernel module.
2. A suitable Mesa version, along with libdrm & pixman, and xorg-server.
3. An intel driver for X.

These are not necessarily the latest, as people may have dropped support for old cards that they now find embarrassingly slow. Remember you didn't buy that netbook because it would be a good performer 7 years into the future. You bought it because it was portable and worked. Expect the same from it as you would a tablet. Run 'lspci -n' and look your video device up here http://www.thinkwiki.org/wiki/Intel_HD_Graphics That seems to be Intel's first real attempt to make a GPU,(Arrandale) and they found they had a lot of catching up to do :-/. I have Ivy Bridge(Which sucks); Before that was Sandy Bridge (Which sucked even more); Before that was Arrandale :-o.

I still own a 2007 HP laptop that refuses to die and be buried, with primitive Radeon graphics. I even compiled LLVM for it because it has no vertex shader (whatever that is). LLVM improves video but slows the cpu, so net improvement is zero. It never did lip synch on a full screen video. You're about at that level graphics wise. Get a low load window manager, and forget gnome. Who needs bells & whistles? You're running trailing edge hardware - these are essential economies you can make.
 
Old 12-15-2017, 06:39 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,681

Original Poster
Rep: Reputation: 53
"Who needs bells & whistles"? Certainly not me. I was looking for a browser downloading HTML files into only one disk file. I had thought of periodically running some program to make tarballs of every html file, and its associated files, on the disk. Then Wikipedia showed me Gnome Web did the former. At the same time I was getting tired of Firefox/Xfce4. The rest you know it. Only I forgot there is hardware behind all that.

I suppose I shall continue using Firefox/Xfce4 with the extensions that allow saving as mht. I did not do it before because these are going to be no longer supported. Talking about bells and whistles:
Quote:
Without a doubt, KolibriOS wins the award for the most ambitious project in this feature. It's a fully fledged OS written entirely in assembly language. The KolibriOS team has managed to squeeze pre-emptive multitasking, a graphical desktop, TCP/IP networking, USB support, media playback and many other features onto a 1.44MB floppy disk.

Booting 'kolibri.img' brings you to the desktop in just a couple of seconds. There's a Windows-like Start menu and taskbar along the bottom of the screen, and the desktop is littered with small utilities.

It's all tremendously impressive, and while KolibriOS will never challenge the main OS trio's desktop supremacy, it shows what can be achieved with careful coding, especially as we're so used to bloatware nowadays.
http://www.techradar.com/news/softwa...rd-of-657469/2

Last edited by stf92; 12-15-2017 at 07:13 PM.
 
Old 12-15-2017, 07:10 PM   #10
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,681

Original Poster
Rep: Reputation: 53
[Intentionally left blank.]

Last edited by stf92; 12-15-2017 at 07:12 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Enabling 3D and hardware acceleration on Vmware Windows Guests dobradude45 SUSE / openSUSE 1 06-22-2014 06:37 AM
enabling hardware acceleration PennyroyalFrog Linux - Newbie 5 02-26-2010 12:21 PM
Enabling Hardware Acceleration duryodhan Slackware 1 10-25-2006 03:05 AM
enabling 3d hardware acceleration with knoppix bucovaina78 Linux - Hardware 1 03-14-2006 04:52 PM
Problem Enabling 3D Hardware acceleration. mir_sheely Linux - Hardware 0 06-14-2004 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration